Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th January 2017, 18:12   #5241  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
Quote:
Originally Posted by bxyhxyh View Post
Yes.
And with --input-csp rgb --output-csp rgb options, it works without converting it.
But avs4x26x doesn't support it, so it converts it to YUV, makes end result wrong.
With older versions, I just unchecked x64 support. It feeds to x264 32bit directly.
There are at least two options what you can do/try:
- raise a feature request towards avs4x26x to support RGB
- use the MeGUI x64 build (or a 32bit OS) as in that case no avs4x26x is used

I will think about an option to disable all 64 bit packages on 64bit OS with MeGUI 32bit. Only to do that for x264 would make no sense as then once again a special handling for one package only would be added.
Zathor is offline   Reply With Quote
Old 4th January 2017, 19:25   #5242  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
Quote:
Originally Posted by Zathor View Post
No, pgcdemux will only be used when either a multi-pgc or multi-angle structure is found in the IFO of the corresponding VOB files. This is necessary to avoid a/v/s sync issues or unwanted content.
I know very little about the DVD structure but it appears to me pcgdemux is used somewhat more enthusiastically than that. It's definitely being told to extract the video from the vob files in this case.

I ripped the DVD with DVDShrink in Re-Author mode by dragging just the movie title to DVDShrink's left pane and using the backup function. That's how I've being ripping for years.

Quote:
-[Information] FileIndexer
--[Information] [05/01/17 4:52:59 AM] MediaInfo
---[Information] [05/01/17 4:52:59 AM] File: E:\Test\VTS_01_0.IFO
---[Information] General
----[Information] Format: DVD Video
----[Information] FormatString: DVD Video
----[Information] FileSize: 49152
----[Information] PlayTime: 01:46:35.080
----[Information] PGCCount: 1
----[Information] PGCNumber: 1
---[Information] Video
----[Information] ID: 224
----[Information] StreamOrder:
----[Information] Width: 720
----[Information] Height: 576
----[Information] FrameCount: 159877
----[Information] FrameRate: 25.000
----[Information] FrameRateOriginal:
----[Information] FrameRateMode:
----[Information] ScanType:
----[Information] Codec: MPEG-2V
----[Information] CodecString: MPEG-2 Video
----[Information] Bits Depth:
----[Information] Format: MPEG Video
----[Information] AspectRatio: 1.333
----[Information] AspectRatioString: 4:3
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 128 (0x80)
----[Information] StreamOrder:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode:
----[Information] Delay:
----[Information] Title:
----[Information] Language: en
----[Information] LanguageString: English
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] Log for job33 (ext, VTS_01_0.IFO -> Test_VTS_01_1_1.VOB)
--[Information] [05/01/17 5:07:04 AM] Started handling job
--[Information] [05/01/17 5:07:04 AM] Preprocessing
--[Information] [05/01/17 5:07:04 AM] Job command line: "C:\Program Files\MeGUI\tools\pgcdemux\pgcdemux.exe" -pgc 1 -noaud -nosub -customvob n,v,a,s,l "E:\Test\VTS_01_0.IFO" "D:\Test_VTS_01_1"
--[Information] [05/01/17 5:07:04 AM] Process started
--[Information] [05/01/17 5:07:04 AM] Standard output stream
--[Information] [05/01/17 5:07:04 AM] Standard error stream
--[Information] [05/01/17 5:07:44 AM] VOB file created: D:\Test_VTS_01_1_1.VOB
--[Information] [05/01/17 5:07:44 AM] VOB file created: D:\Test_VTS_01_1_2.VOB
--[Information] [05/01/17 5:07:44 AM] VOB file created: D:\Test_VTS_01_1_3.VOB
If it helps, here's what Handbrake makes of the ripped DVD folder.

Quote:
[05:09:26] scan: DVD has 1 title(s)
[05:09:26] scan: scanning title 1
[05:09:26] scan: opening IFO for VTS 1
[05:09:26] scan: duration is 01:46:35 (6395080 ms)
[05:09:26] pgc_id: 1, pgn: 1: pgc: 01B03080
[05:09:26] scan: vts=1, ttn=1, cells=0->15, blocks=0->2557729, 2557730 blocks
[05:09:26] scan: checking audio 1
[05:09:26] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0
[05:09:26] scan: title 1 has 15 chapters
[05:09:26] scan: chap 1 c=0->0, b=0->56977 (56978), 126053 ms
[05:09:26] scan: chap 2 c=1->1, b=56978->223141 (166164), 394188 ms
[05:09:26] scan: chap 3 c=2->2, b=223142->476483 (253342), 595454 ms
[05:09:26] scan: chap 4 c=3->3, b=476484->617464 (140981), 369367 ms
[05:09:26] scan: chap 5 c=4->4, b=617465->766302 (148838), 391367 ms
[05:09:26] scan: chap 6 c=5->5, b=766303->895243 (128941), 338154 ms
[05:09:26] scan: chap 7 c=6->6, b=895244->1135434 (240191), 588251 ms
[05:09:26] scan: chap 8 c=7->7, b=1135435->1322396 (186962), 462197 ms
[05:09:26] scan: chap 9 c=8->9, b=1322397->1526597 (204201), 551455 ms
[05:09:26] scan: chap 10 c=10->10, b=1526598->1787531 (260934), 700298 ms
[05:09:26] scan: chap 11 c=11->11, b=1787532->2026189 (238658), 597455 ms
[05:09:26] scan: chap 12 c=12->12, b=2026190->2224881 (198692), 466208 ms
[05:09:26] scan: chap 13 c=13->13, b=2224882->2259598 (34717), 84035 ms
[05:09:26] scan: chap 14 c=14->14, b=2259599->2542745 (283147), 692295 ms
[05:09:26] scan: chap 15 c=15->15, b=2542746->2557729 (14984), 38296 ms
[05:09:26] scan: aspect = 1.33333
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
ERROR: dvdnav: Can not set dvd menu, No such menu or menu not reachable.
[05:09:26] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00c00000. Regions: 1 2 3 4 5 6
[05:09:26] scan: title angle(s) 1
[05:09:26] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (Dolby Surround)
[05:09:26] libhb: scan thread found 1 valid title(s)
+ title 1:
+ vts 1, ttn 1, cells 0->15 (2557730 blocks)
+ duration: 01:46:35
+ size: 720x576, pixel aspect: 16/15, display aspect: 1.33, 25.000 fps
+ autocrop: 0/0/10/8
+ chapters:
+ 1: cells 0->0, 56978 blocks, duration 00:02:06
+ 2: cells 1->1, 166164 blocks, duration 00:06:34
+ 3: cells 2->2, 253342 blocks, duration 00:09:55
+ 4: cells 3->3, 140981 blocks, duration 00:06:09
+ 5: cells 4->4, 148838 blocks, duration 00:06:31
+ 6: cells 5->5, 128941 blocks, duration 00:05:38
+ 7: cells 6->6, 240191 blocks, duration 00:09:48
+ 8: cells 7->7, 186962 blocks, duration 00:07:42
+ 9: cells 8->9, 204201 blocks, duration 00:09:11
+ 10: cells 10->10, 260934 blocks, duration 00:11:40
+ 11: cells 11->11, 238658 blocks, duration 00:09:57
+ 12: cells 12->12, 198692 blocks, duration 00:07:46
+ 13: cells 13->13, 34717 blocks, duration 00:01:24
+ 14: cells 14->14, 283147 blocks, duration 00:11:32
+ 15: cells 15->15, 14984 blocks, duration 00:00:38
+ audio tracks:
+ 1, English (AC3) (Dolby Surround) (iso639-2: eng), 48000Hz, 448000bps
+ subtitle tracks:
HandBrake has exited.
I let DVDShrink rip the DVD as a single large vob file rather than splitting it. I don't think that makes a difference but I'll try another DVD. The one above didn't have subtitles so I'll rip one that does, then I can return later and complain about the subtitle handling in an accurate way.

Thanks.

Last edited by hello_hello; 4th January 2017 at 19:42.
hello_hello is offline   Reply With Quote
Old 4th January 2017, 19:58   #5243  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
Quote:
Originally Posted by hello_hello View Post
I know very little about the DVD structure but it appears to me pcgdemux is used somewhat more enthusiastically than that. It's definitely being told to extract the video from the vob files in this case.
Yes, my bad. In the FileIndexer it uses pgcdemux when the pgc count is > 0 (so for all DVD sources - should have been > 1). OneClick does it correct and that is the tool I always use for my use daily use cases so this went unnoticed by me. Thank you very much for pointing this out with the log.

Update will be available shortly (2700 )

EDIT: 2700 is online

Last edited by Zathor; 4th January 2017 at 20:10.
Zathor is offline   Reply With Quote
Old 4th January 2017, 20:10   #5244  |  Link
mini-moose
Registered User
 
Join Date: Oct 2007
Posts: 385
Quote:
Originally Posted by Zathor View Post
No, pgcdemux will only be used when either a multi-pgc or multi-angle structure is found in the IFO of the corresponding VOB files. This is necessary to avoid a/v/s sync issues or unwanted content.
A lot of VTS sets have extra 0:00 PGCs in addition to the main feature, e.g:

Code:
VTS_01 PGC 01 - 01:32:12.010 - (19 chapters)
VTS_01 PGC 02 - 00:00:00.500 - (1 chapters)
VTS_01 PGC 03 - 00:00:00.500 - (1 chapters)
VTS_01 PGC 04 - 00:00:15.500 - (4 chapters)
last one here has 100ms of what appears to be spanish dub credits. I also do it when there are multiple videos on the same VTS.
I can do the same using pgcdemux, but I'm used to do it on my own I guess with the older versions I could just load the vob and index it, now it will load the ifo and try to resplit it.

Quote:
Originally Posted by Zathor View Post
How do you do that? If you tool also adjusts the IFO file everything is fine, if it is a 1:1 copy (waht I assume based on your description below), it must of course fail.
Good ole dvddecrypter does it for example.

Quote:
Originally Posted by Zathor View Post
Remove/rename the IFO, then the PGC/Angle (and also language) information is not available anymore - or adjust your ripping process
Yeah, I know I can do that though it's a bit of a pain as I still need the ifo for extracting the subs.
I can change my routine but you get used to certain ones.

Last edited by mini-moose; 4th January 2017 at 20:23.
mini-moose is offline   Reply With Quote
Old 4th January 2017, 20:18   #5245  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
Quote:
Originally Posted by mini-moose View Post
A lot of VTS sets have extra 0:00 PGCs in addition to the main feature, e.g:

Code:
VTS_01 PGC 01 - 01:32:12.010 - (19 chapters)
VTS_01 PGC 02 - 00:00:00.500 - (1 chapters)
VTS_01 PGC 03 - 00:00:00.500 - (1 chapters)
VTS_01 PGC 04 - 00:00:15.500 - (4 chapters)
In some cases it may also be the other way around and the main movie is in the middle or end. Also series are often in multi-pgcs on the discs.

Sadly there is no way to detect if the source has already been preprocessed in a not correct way. If it would have been correctly processed the IFO should not contain more than one PGC or only the tracks which are really available in the VOBs.

EDIT: While thinking about it... I may disable the PGC/Angle detection if VOB files > 1024 MB are found. Would that help?
Zathor is offline   Reply With Quote
Old 4th January 2017, 20:55   #5246  |  Link
mini-moose
Registered User
 
Join Date: Oct 2007
Posts: 385
Quote:
Originally Posted by Zathor View Post
Sadly there is no way to detect if the source has already been preprocessed in a not correct way. If it would have been correctly processed the IFO should not contain more than one PGC or only the tracks which are really available in the VOBs.
Not sure about that. I believe the IFO itself doesn't get re-authored, so it will still have all the PGCs info on it.
The pgcdemux routine doesn't extract an ifo to the working directory so I can't say if pgcedit does it differently.

Part of reason of doing it like I do, is so I can sort it into a working dir/s, and then I can do the indexing and sub extracting all from there. While if I extract it with pgcdemux, I would have to go back to source files to reload the ifo to extract the subs. It can also be a pain if source is on an iso, as the default working path is same as source files.

I've tested with OCE now. It seems to be able to do all those functions at once. But only added the first 2 subs to the mux. I assume it's cause my setup is defaults to English and therefore the English subs were added?
If I want all of them I need to manually add any others. I don't always mux the subs into the container either, and that seems unavoidable with OCE if I want the subs extracted.


Quote:
Originally Posted by Zathor View Post
EDIT: While thinking about it... I may disable the PGC/Angle detection if VOB files > 1024 MB are found. Would that help?
I suppose it can make it easier for me. I output the vobs to one big file rather than multiple 1024mb files (others might do it differently though). Of course with mutlti angle/video/episodes, they could be under 1024mb too.

Last edited by mini-moose; 4th January 2017 at 21:08.
mini-moose is offline   Reply With Quote
Old 4th January 2017, 21:02   #5247  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
Quote:
Originally Posted by mini-moose View Post
One-Click encoder seems to be able to do all those functions at once. But only adds the first 2 subs to the mux. If I want all of them I need to manually add any others.
For me it adds all the subs for the languages I have enabled in the OneClick profile. Can you reproduce that and give me more information about your source & OneClick configuration?

Quote:
Originally Posted by mini-moose View Post
I don't always mux the subs into the container either and that seems unavoidable with One-Click.
Maybe I do not get the point, but you can create also a configuration where no subtitle tracks are added at all. Also you can manually remove any subtitles you do not want (right click on the tab header).

Last edited by Zathor; 4th January 2017 at 21:05.
Zathor is offline   Reply With Quote
Old 4th January 2017, 21:24   #5248  |  Link
mini-moose
Registered User
 
Join Date: Oct 2007
Posts: 385
Quote:
Originally Posted by Zathor View Post
For me it adds all the subs for the languages I have enabled in the OneClick profile. Can you reproduce that and give me more information about your source & OneClick configuration?

Maybe I do not get the point, but you can create also a configuration where no subtitle tracks are added at all. Also you can manually remove any subtitles you do not want (right click on the tab header).
Sorry if I'm being confusing. I often post and then edit while you might be looking at the unedited post :s
I've not used OCE for subextracting before so I might need to tweak profiles I did use. I did realize after posting that I can set to none.

The point is, that if I want the subs to be extracted in OCE, I would have to set them to be muxed. So it's either:

1) File indexer (load source ifo-->pgcdemux-->indexing), then go back to source, load ifo again and run vobsubber.

2) Use OCE to do all the above in one go but will have to mux the subs.

Code:
2699 [VobSubber]            added option to extract forced subtitles in dedicated file(s)
Thanks for that one, Zathor!

Last edited by mini-moose; 4th January 2017 at 21:27.
mini-moose is offline   Reply With Quote
Old 4th January 2017, 21:33   #5249  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
When I ripped the folowing DVD a week ago and extracted the subtitles, MeGUI extracted them three times. Today it's only extracting them twice (I guess the subtitle handling has changed a little with version 2699), unless I check the "extract forced subtitles separately" option in Vobsubber, in which case I end up with the same files as before.

Test_VTS_01_1.idx
Test_VTS_01_1.sub
Test_VTS_01_1_0_English.idx
Test_VTS_01_1_0_English.sub
Test_VTS_01_1_forced.idx
Test_VTS_01_1_forced.sub

The first and second pair appear to be identical copies, while the "forced" subtitles are empty ("Test_VTS_01_1_forced.sub" is zero bytes in size). Vobsubber only shows a single subtitle stream. Is extracting it twice necessary and is there a way for MeGUI to check if forced subtitles exist before attempting to extract them?

The next problem is not MeGUI's fault as it happens when I extract the subtitles with vsrip myself, but after extracting them from the extras on the DVD I used for testing, they look like this. I re-authored a single DVD extra with DVDShrink so there's just a couple of ifo files and a vob file in the folder.



The video itself is less than twelve minutes long. When I convert it to an MKV with Handbrake and get Handbrake to mux the subtitles into an MKV, they look like this after I extract them:



Which is correct. Subtitle Edit also rips them correctly from the ifo file. The only clue I have so far is MPC-HC displays 20 minutes as the duration of the video when opening the ifo or vob file, when it should be about twelve.
MPC-BE and VLC both display the correct duration when opening the ifo file, but they both display a 20 min duration when opening the vob file. Logically it appears the subtitle timing must be stored in two places and in this case one them is wrong, but does anyone know how I can investigate this further, or should I just file it under "one of those things"?

Thanks.

Last edited by hello_hello; 4th January 2017 at 21:49.
hello_hello is offline   Reply With Quote
Old 4th January 2017, 21:39   #5250  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
Quote:
Originally Posted by hello_hello View Post
When I ripped this DVD a week ago and extracted the subtitles, MeGUI extracted them three times. Today it's only extracting them twice (I guess the subtitle handling has changed a little), unless I check the "extract forced subtitles separately" option in the file indexer, in which case I end up with the following files:

Toast1_VTS_01_1.idx
Toast1_VTS_01_1.sub
Toast1_VTS_01_1_0_English.idx
Toast1_VTS_01_1_0_English.sub
Toast1_VTS_01_1_forced.idx
Toast1_VTS_01_1_forced.sub

The first and second pair appear to be identical copies, while the "forced" subtitles are empty. The file indexer only shows a single subtitle stream but I don't know if extracting them twice is necessary.
MeGUI runs vsrip at maximum twice. Once for the normal extraction and once for the forced subtitle extraction which you now have to enable in VobSubber manually.

As you do not have enabled the "single output file" option, the files Toast1_VTS_01_1.* are not needed. I assume they have not been deleted as you have not enabled the option to remove intermediate files, correct?

Quote:
Originally Posted by hello_hello View Post
There are no forced subtitles in the DVD in question. Is there any way for MeGUI to check if they exist before attempting to extract them?
No, I have to use vsrip for that. Could you please share the files with me so that I can check why they are shown? If they are empty (= no timestamps) MeGUI should delete them.
Zathor is offline   Reply With Quote
Old 4th January 2017, 21:54   #5251  |  Link
mini-moose
Registered User
 
Join Date: Oct 2007
Posts: 385
Quote:
Originally Posted by hello_hello View Post

The next problem is not MeGUI's fault as it happens when I extract the subtitles with vsrip myself, but after extracting subtitles from the extras on the DVD I used for testing they look like this. I re-authored a single DVD extra with DVDShrink so there's just a couple of ifo files and a vob file in the folder.

You must have not chosen the correct PGC when you ran VSRip on your own. Judging by the 12mins start timecode, it appears you may have used the "play all" pgc, which led to your subs starting in the wrong time.

Quote:
Originally Posted by hello_hello View Post
The video itself is less than twelve minutes long. When I convert it to an MKV with Handbrake and get Handbrake to mux the subtitles into an MKV, they look like this after I extract them:



Which is correct. Subtitle Edit also rips them correctly from the ifo file. The only clue I have so far is MPC-HC displays 20 minutes as the duration of the video when opening the ifo or vob file, when it should be about twelve.
MPC-BE and VLC both display the correct duration when opening the ifo file, but they both display a 20 min duration when opening the vob file. Logically it appears the subtitle timing must be stored in two places and in this case one them is wrong, but does anyone know how I can investigate this further, or should I just file it under "one of those things"?
There might be some 15milisecond chapter at the end of the vob, I'm not entirely sure what those are for but they are very common. They could sometimes cause the video to appear longer than it is.
If you play it though with mpc, what happens after 12mins? does it keep playing or stops?

Last edited by mini-moose; 4th January 2017 at 22:03.
mini-moose is offline   Reply With Quote
Old 4th January 2017, 22:03   #5252  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
Zathor, I mentioned this in the text file included with the samples I uploaded here for you, but in case you didn't get to that yet.....

I extract the audio from this MKV:

Quote:
General
Unique ID : 207719713466905909570113506023949172250 (0x9C455C9329FE9F47B982E81989237E1A)
Complete name : E:\test.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 550 MiB
Duration : 45 min
Overall bit rate : 1 703 kb/s
Encoded date : UTC 2017-01-01 20:17:11
Writing application : mkvmerge v9.7.1 ('Pandemonium') 32bit
Writing library : libebml v1.3.4 + libmatroska v1.4.5

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 9 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 45 min
Bit rate : 1 254 kb/s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.151
Stream size : 394 MiB (72%)
Writing library : x264 core 104 r1681 84a051f
Encoding settings : cabac=1 / ref=9 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=64 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=9 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=1254 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.601 NTSC
Transfer characteristics : BT.709
Matrix coefficients : BT.601

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 45 min
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 spf)
Compression mode : Lossy
Stream size : 145 MiB (26%)
Language : English
Default : Yes
Forced : No

Text
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English
Default : No
Forced : No
MeGUI gives it the following file name:

Test - [0] English.ac3

Is the number in the name [0] supposed to indicate the number of the audio stream in the MKV?
When I extract audio from an MKV with 2 audio streams, the file indexer shows them as stream numbers 2 and 3, but they're extracted as streams 0 and 1. Is that expected behaviour?

Cheers.
hello_hello is offline   Reply With Quote
Old 4th January 2017, 22:15   #5253  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
Quote:
Originally Posted by mini-moose View Post
You must have not chosen the correct PGC when you ran VSRip on your own. Judging by the 12mins start timecode, it appears you may have used the "play all" pgc, which led to your subs starting in the wrong time.
After I re-authored with DVDShrink there was definitely only one PGC.

Quote:
Originally Posted by mini-moose View Post
There might be some 15milisecond chapter at the end of the vob, I'm not entirely sure what those are for but they are very common. They could sometimes cause the video to appear longer than it is.
If you play it though with mpc, what happens after 12mins? does it keep playing or stops?
The video is exactly 12 minutes and 13 seconds long (I opened it with DGIndex to check) and the last chapter is at 00:12:12.520. Aside from being annoying, that's not caused a playback problem before.
When playing the vob file with MPC-HC it jumps straight from 12 minutes 13 seconds to the "end" at about the 20 minute mark.
hello_hello is offline   Reply With Quote
Old 4th January 2017, 22:19   #5254  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
Quote:
Originally Posted by mini-moose View Post
The point is, that if I want the subs to be extracted in OCE, I would have to set them to be muxed. So it's either:

1) File indexer (load source ifo-->pgcdemux-->indexing), then go back to source, load ifo again and run vobsubber.

2) Use OCE to do all the above in one go but will have to mux the subs.
Sorry, I still do not get it Why do you have to mux the subtitles manually in 2)? They will be automatically muxed by OCE into the output file. Please explain in more detail what 2) is about.

Quote:
Originally Posted by hello_hello View Post
MeGUI gives it the following file name:

Test - [0] English.ac3

Is the number in the name [0] supposed to indicate the number of the audio stream in the MKV?
When I extract audio from an MKV with 2 audio streams, the file indexer shows them as stream numbers 2 and 3, but they're extracted as streams 0 and 1. Is that expected behaviour?
[0] is the track number. Depending on the tool it may be the overall track number (then usually video comes first, then audio then subtitles) or the number of the individual type only (e.g. audio) - also it can happen that the index starts at 0 or 1.
So yes, this is expected and should not cause any issues.
Zathor is offline   Reply With Quote
Old 4th January 2017, 22:21   #5255  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
Quote:
Originally Posted by hello_hello View Post
After I re-authored with DVDShrink there was definitely only one PGC.
Out of interest could you try it please directly with the DVD source (not shrinked, remuxed, stripped, ...)? I would like to know if then the same (wrong) timestamps will appear.
Zathor is offline   Reply With Quote
Old 4th January 2017, 22:23   #5256  |  Link
mini-moose
Registered User
 
Join Date: Oct 2007
Posts: 385
Quote:
Originally Posted by hello_hello View Post
The video is exactly 12 minutes and 13 seconds long (I opened it with DGIndex to check) and the last chapter is at 00:12:12.520. Aside from being annoying, that's not caused a playback problem before.
When playing the vob file with MPC-HC it jumps straight from 12 minutes 13 seconds to the "end" at about the 20 minute mark.
Best bet would be what I mentioned about the extra chapter at the end. Looks like this:

https://s24.postimg.org/e8929lac5/cell.png

Last edited by mini-moose; 4th January 2017 at 22:27.
mini-moose is offline   Reply With Quote
Old 4th January 2017, 22:34   #5257  |  Link
mini-moose
Registered User
 
Join Date: Oct 2007
Posts: 385
Quote:
Originally Posted by Zathor View Post
Sorry, I still do not get it Why do you have to mux the subtitles manually in 2)? They will be automatically muxed by OCE into the output file. Please explain in more detail what 2) is about.
I don't want to mux them (at least not always).
What I meant is if I want to do the indexing and subextracting in one go, I could then use OCE, but in order to extract them with it, they must be set to be muxed.

Many thanks for your patience. I'm just used to my old routine. It's possible I'm the only one bothered with those changes.

Last edited by mini-moose; 4th January 2017 at 22:37.
mini-moose is offline   Reply With Quote
Old 4th January 2017, 22:42   #5258  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
Quote:
Originally Posted by Zathor View Post
As you do not have enabled the "single output file" option, the files Toast1_VTS_01_1.* are not needed. I assume they have not been deleted as you have not enabled the option to remove intermediate files, correct?
Yes, the option is disabled. It's not possible to extract them with the correct name in the first place and avoid the intermediate copy? It's no big deal. I just wondered why it was happening.

Quote:
Originally Posted by Zathor View Post
No, I have to use vsrip for that. Could you please share the files with me so that I can check why they are shown? If they are empty (= no timestamps) MeGUI should delete them.
I'll have to do it a bit later (the real world calls) but did you want the extracted idx/sub files or the original ifo/vob files?

They certainly appear to be empty. I opened the extracted idx file with subresync and it didn't display anything. When I open the original ifo/vob files with Subtitle Edit, the option to only show forced subtitles is unavailable, so it doesn't think there are any.

Actually, looking at the log file again, MeGUI agrees, but they're not being deleted. Are the empty forced subtitles counted as intermediate files?

Quote:
-[Information] Log for job33 (sub, VTS_01_0.IFO -> Test2_VTS_01_1.idx)
--[Information] [05/01/17 8:38:45 AM] Started handling job
--[Information] [05/01/17 8:38:45 AM] Preprocessing
--[Information] [05/01/17 8:38:45 AM] VobSub configuration file
---[NoImage] E:\Test2\VTS_01_0.IFO
---[NoImage] D:\Test2_VTS_01_1
---[NoImage] 1
---[NoImage] 1
---[NoImage] 0
---[NoImage] RESETTIME
---[NoImage] CLOSEIGNOREERRORS
---[NoImage] CLOSE
--[Information] [05/01/17 8:38:45 AM] Job command line: "C:\Program Files\MeGUI\tools\vsrip\vsrip.exe" "D:\Test2_VTS_01_1.vobsub"
--[Information] [05/01/17 8:38:45 AM] Process started
--[Information] [05/01/17 8:38:45 AM] Standard output stream
--[Information] [05/01/17 8:38:45 AM] Standard error stream
--[Information] [05/01/17 8:38:50 AM] Subtitle file created: Test2_VTS_01_1_0_English.sub
--[Information] [05/01/17 8:38:50 AM] VobSub configuration file
---[NoImage] E:\Test2\VTS_01_0.IFO
---[NoImage] D:\Test2_VTS_01_1_forced
---[NoImage] 1
---[NoImage] 1
---[NoImage] 0
---[NoImage] FORCEDONLY
---[NoImage] RESETTIME
---[NoImage] CLOSEIGNOREERRORS
---[NoImage] CLOSE
--[Information] [05/01/17 8:38:50 AM] Job command line: "C:\Program Files\MeGUI\tools\vsrip\vsrip.exe" "D:\Test2_VTS_01_1.vobsub"
--[Information] [05/01/17 8:38:50 AM] Process started
--[Information] [05/01/17 8:38:50 AM] Standard output stream
--[Information] [05/01/17 8:38:50 AM] Standard error stream
--[Information] [05/01/17 8:38:54 AM] no forced subtitles found
--[Information] [05/01/17 8:38:54 AM] MediaInfo
---[Information] [05/01/17 8:38:54 AM] File: D:\Test2_VTS_01_1.idx
---[Information] General
----[Information] Format:
----[Information] FormatString:
----[Information] FileSize: 13719
----[Information] PlayTime:
--[Information] [05/01/17 8:38:55 AM] Postprocessing
--[Information] [05/01/17 8:38:55 AM] Job completed
hello_hello is offline   Reply With Quote
Old 4th January 2017, 22:56   #5259  |  Link
mini-moose
Registered User
 
Join Date: Oct 2007
Posts: 385
Quote:
Originally Posted by hello_hello View Post
Yes, the option is disabled. It's not possible to extract them with the correct name in the first place and avoid the intermediate copy?
I don't love deleting working files either, as I believe this also deletes video-only encoded files (the video.mkv/mp4 that was encoded and then muxed). Sometimes one would want to remux for some reason but files are gone.

Quote:
Originally Posted by hello_hello View Post
They certainly appear to be empty. I opened the extracted idx file with subresync and it didn't display anything. When I open the original ifo/vob files with Subtitle Edit, the option to only show forced subtitles is unavailable, so it doesn't think there are any.

Actually, looking at the log file again, MeGUI agrees, but they're not being deleted. Are the empty forced subtitles counted as intermediate files?
Empty subs are deleted for me.
Keep in mind that Forced subs could be for any of the languages. It might appear empty when you view the first stream on idx, but there could be forced for another language.

Last edited by mini-moose; 4th January 2017 at 23:08.
mini-moose is offline   Reply With Quote
Old 4th January 2017, 23:28   #5260  |  Link
Zetti
Registered User
 
Join Date: Dec 2015
Posts: 305
FLAC v1.3.2 is released.

https://xiph.org/flac/changelog.html
Zetti is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:56.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.