Hi, I am trying to integrate mencoder with another application that would allow it to rip DVDs to MPEG4s. I also want to make the subtitles available. I want to capture all subtitles available on the disc.
From the documentation I see you can capture a couple of subtitles while doing 2 pass encoding, but that leaves out the rest of the subtitles.
Thanks
Two separate questions regarding x264 encoding in mencoder: 1) does setting frameref to something other than 1 make a difference if there are no bframes? I've read the relevant section in the manuals and am still unclear. 2) This message has been a very long standing feature of Mencoder:
** MUXER_LAVF ***************************************************************** REMEMBER: MEncoder's libavformat muxing is presently broken and can generate INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer will play these INCORRECT files as if nothing were wrong! ******************************************************************************* Is this going to be resolved? - i.e. will Mencoder ever be able to mux to an .mp4 container with a video stream that contains b-frames?
On Mon, Nov 05, 2007 at 08:37:32PM -0600, James Hastings-Trew wrote:
Two separate questions regarding x264 encoding in mencoder:
1) does setting frameref to something other than 1 make a difference if there are no bframes? I've read the relevant section in the manuals and am still unclear.
2) This message has been a very long standing feature of Mencoder:
** MUXER_LAVF ***************************************************************** REMEMBER: MEncoder's libavformat muxing is presently broken and can generate INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer will play these INCORRECT files as if nothing were wrong! ******************************************************************************* Is this going to be resolved? - i.e. will Mencoder ever be able to mux to an .mp4 container with a video stream that contains b-frames?
Basically no one is working on mencoder and it's so broken that few of us are interested in it unless it's greatly overhauled. I would recommend just using it to do the video stream if you need the powerful filtering it provides, then using the ffmpeg program for the muxing and anything else. Rich
Rich Felker wrote:
Basically no one is working on mencoder and it's so broken that few of us are interested in it unless it's greatly overhauled. I would recommend just using it to do the video stream if you need the powerful filtering it provides, then using the ffmpeg program for the muxing and anything else. Ooookay..... anyone else?
Hello, On Mon, Nov 05, 2007 at 10:22:28PM -0500, Rich Felker wrote:
On Mon, Nov 05, 2007 at 08:37:32PM -0600, James Hastings-Trew wrote:
Two separate questions regarding x264 encoding in mencoder:
1) does setting frameref to something other than 1 make a difference if there are no bframes? I've read the relevant section in the manuals and am still unclear.
2) This message has been a very long standing feature of Mencoder:
** MUXER_LAVF ***************************************************************** REMEMBER: MEncoder's libavformat muxing is presently broken and can generate INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer will play these INCORRECT files as if nothing were wrong! ******************************************************************************* Is this going to be resolved? - i.e. will Mencoder ever be able to mux to an .mp4 container with a video stream that contains b-frames?
Basically no one is working on mencoder and it's so broken that few of us are interested in it unless it's greatly overhauled. I would recommend just using it to do the video stream if you need the powerful filtering it provides, then using the ffmpeg program for the muxing and anything else.
Regardless of this, are you sure the message above still applies? At least the i_certify_... option was removed so I assumed it was at least mostly fixed. Greetings, Reimar Döffinger
On Tue, Nov 06, 2007 at 09:14:32AM +0100, Reimar Döffinger wrote:
Hello, On Mon, Nov 05, 2007 at 10:22:28PM -0500, Rich Felker wrote:
On Mon, Nov 05, 2007 at 08:37:32PM -0600, James Hastings-Trew wrote:
Two separate questions regarding x264 encoding in mencoder:
1) does setting frameref to something other than 1 make a difference if there are no bframes? I've read the relevant section in the manuals and am still unclear.
2) This message has been a very long standing feature of Mencoder:
** MUXER_LAVF ***************************************************************** REMEMBER: MEncoder's libavformat muxing is presently broken and can generate INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer will play these INCORRECT files as if nothing were wrong! ******************************************************************************* Is this going to be resolved? - i.e. will Mencoder ever be able to mux to an .mp4 container with a video stream that contains b-frames?
Basically no one is working on mencoder and it's so broken that few of us are interested in it unless it's greatly overhauled. I would recommend just using it to do the video stream if you need the powerful filtering it provides, then using the ffmpeg program for the muxing and anything else.
Regardless of this, are you sure the message above still applies? At least the i_certify_... option was removed so I assumed it was at least mostly fixed.
Nope, nothing was fixed. The files will still be horribly broken. Someone just removed that option without asking me while I was away over the summer and replaced it with the above warning banner... :( Rich
On Tue, 6 Nov 2007 13:50:25 -0500 Rich Felker <dalias@aerifal.cx> wrote:
Nope, nothing was fixed. The files will still be horribly broken. Someone just removed that option without asking me while I was away
------------------------------------------------------------------------ r23976 | michael | 2007-07-31 10:28:47 -0700 (Tue, 31 Jul 2007) | 5 lines get rid of this idiotic i_certify_that_my_video_stream_does_not_use_b_frames muxer_lavf can now generate correct files with b frames as long as the timestamps provided to it are correct (they should be with lavc encoding, expect trouble with stream copy though) ------------------------------------------------------------------------
On Tue, Nov 06, 2007 at 11:01:40AM -0800, RC wrote:
On Tue, 6 Nov 2007 13:50:25 -0500 Rich Felker <dalias@aerifal.cx> wrote:
Nope, nothing was fixed. The files will still be horribly broken. Someone just removed that option without asking me while I was away
------------------------------------------------------------------------ r23976 | michael | 2007-07-31 10:28:47 -0700 (Tue, 31 Jul 2007) | 5 lines
get rid of this idiotic i_certify_that_my_video_stream_does_not_use_b_frames muxer_lavf can now generate correct files with b frames as long as the timestamps provided to it are correct (they should be with lavc encoding, expect trouble with stream copy though)
Hmm, since when does mencoder use the timestamps at all??? AFAIK it does not... Can anyone confirm that this works? If so then mencoder is nowhere near as broken as we expect it to be, but I'm quite doubtful... Rich
On Tue, 6 Nov 2007, Rich Felker wrote:
On Tue, Nov 06, 2007 at 11:01:40AM -0800, RC wrote:
On Tue, 6 Nov 2007 13:50:25 -0500 Rich Felker <dalias@aerifal.cx> wrote:
Nope, nothing was fixed. The files will still be horribly broken. Someone just removed that option without asking me while I was away
------------------------------------------------------------------------ r23976 | michael | 2007-07-31 10:28:47 -0700 (Tue, 31 Jul 2007) | 5 lines
get rid of this idiotic i_certify_that_my_video_stream_does_not_use_b_frames muxer_lavf can now generate correct files with b frames as long as the timestamps provided to it are correct (they should be with lavc encoding, expect trouble with stream copy though)
Hmm, since when does mencoder use the timestamps at all??? AFAIK it does not... Can anyone confirm that this works? If so then mencoder is nowhere near as broken as we expect it to be, but I'm quite doubtful...
~> mencoder -ovc lavc -of lavf -lavfopts format=mp4 in.avi -o out.mp4 Works. ~> mencoder -ovc lavc -lavcopts vmax_b_frames=1 -of lavf -lavfopts format=mp4 in.avi -o out.mp4 Horribly broken. mplayer -demuxer mp4 can't even decode it, let alone check timestamps. -demuxer lavf and ffplay work. MP4Box can't parse it. ~> mencoder -ovc lavc -lavcopts vmax_b_frames=1 -of lavf -lavfopts format=mkv in.avi -o out.mkv Works, including correct timestamps. ~> mencoder -ovc x264 -x264encopts qp=20:bframes=1 -of lavf -lavfopts format=mp4 in.avi -o out.mp4 Wrong timestamps. mplayer plays it anyway. ~> mencoder -ovc x264 -x264encopts qp=20:bframes=1 -of lavf -lavfopts format=mkv in.avi -o out.mkv Wrong timestamps. mplayer plays it anyway. --Loren Merritt
On Wed, Nov 07, 2007 at 05:54:21PM -0700, Loren Merritt wrote:
On Tue, 6 Nov 2007, Rich Felker wrote:
On Tue, Nov 06, 2007 at 11:01:40AM -0800, RC wrote:
On Tue, 6 Nov 2007 13:50:25 -0500 Rich Felker <dalias@aerifal.cx> wrote:
Nope, nothing was fixed. The files will still be horribly broken. Someone just removed that option without asking me while I was away
------------------------------------------------------------------------ r23976 | michael | 2007-07-31 10:28:47 -0700 (Tue, 31 Jul 2007) | 5 lines
get rid of this idiotic i_certify_that_my_video_stream_does_not_use_b_frames muxer_lavf can now generate correct files with b frames as long as the timestamps provided to it are correct (they should be with lavc encoding, expect trouble with stream copy though)
Hmm, since when does mencoder use the timestamps at all??? AFAIK it does not... Can anyone confirm that this works? If so then mencoder is nowhere near as broken as we expect it to be, but I'm quite doubtful...
~> mencoder -ovc lavc -of lavf -lavfopts format=mp4 in.avi -o out.mp4 Works.
~> mencoder -ovc lavc -lavcopts vmax_b_frames=1 -of lavf -lavfopts format=mp4 in.avi -o out.mp4 Horribly broken. mplayer -demuxer mp4 can't even decode it, let alone check timestamps. -demuxer lavf and ffplay work. MP4Box can't parse it.
~> mencoder -ovc lavc -lavcopts vmax_b_frames=1 -of lavf -lavfopts format=mkv in.avi -o out.mkv Works, including correct timestamps.
~> mencoder -ovc x264 -x264encopts qp=20:bframes=1 -of lavf -lavfopts format=mp4 in.avi -o out.mp4 Wrong timestamps. mplayer plays it anyway.
~> mencoder -ovc x264 -x264encopts qp=20:bframes=1 -of lavf -lavfopts format=mkv in.avi -o out.mkv Wrong timestamps. mplayer plays it anyway.
With mkv output, I found that the output of the first pass plays ok in vlc. But now that I've tried it again, it doesn't seem to be working for me. Output of second (and later) passes play with the frames in the wrong order, so everything jitters back and forth. This is like what you get with raw .264 output played back by mplayer. The first pass plays smoothly, but later passes play out of order. I'm going to try using mkvextract to get raw .264, then MP4Box -new -flat ... mkvmerge ... This might finally be a reliable way to keep A/V sync. I've never been happy with A/V sync from encoding separately, because with x264 bframes=16:b_pyramid the decoding delay is 2 frames. Writing to a raw .264 file, mencoder seems to think it has to drop or add 2 framesat the beginning (don't remember which) because it doesn't have anywhere to pass on the 2 frame time offset information. If you iterate an encode, it gets more and more out of sync, and loses a couple frames each time. I've tried messing around with -delay $((fps * 2)) or stuff like that on the mencoder -of rawvideo, but I feel I have to check the A/V sync by eye to make sure it worked right. And that is very hard to do. I usually try to find a section of silence followed by a sharp sound, usually something hitting something else in the video. mplayer's a/v sync isn't designed for repeatability, which is a big problem with this method. Another thing I've tried is playing back the source video and my encoded video at the same time, and trying to sync their sounds, then comparing the video. My eyes just aren't fast enough to see if one is one frame ahead or not. (And it takes a long time to get two soundtracks synced by slowing one of them with [ followed by backspace.) -- #define X(x,y) x##y Peter Cordes ; e-mail: X(peter@cor , des.ca) "The gods confound the man who first found out how to distinguish the hours! Confound him, too, who in this place set up a sundial, to cut and hack my day so wretchedly into small pieces!" -- Plautus, 200 BC
On Sat, Nov 24, 2007 at 04:19:23PM -0400, Peter Cordes wrote:
On Wed, Nov 07, 2007 at 05:54:21PM -0700, Loren Merritt wrote:
On Tue, 6 Nov 2007, Rich Felker wrote:
On Tue, Nov 06, 2007 at 11:01:40AM -0800, RC wrote:
On Tue, 6 Nov 2007 13:50:25 -0500 Rich Felker <dalias@aerifal.cx> wrote:
Nope, nothing was fixed. The files will still be horribly broken. Someone just removed that option without asking me while I was away
------------------------------------------------------------------------ r23976 | michael | 2007-07-31 10:28:47 -0700 (Tue, 31 Jul 2007) | 5 lines
get rid of this idiotic i_certify_that_my_video_stream_does_not_use_b_frames muxer_lavf can now generate correct files with b frames as long as the timestamps provided to it are correct (they should be with lavc encoding, expect trouble with stream copy though)
Hmm, since when does mencoder use the timestamps at all??? AFAIK it does not... Can anyone confirm that this works? If so then mencoder is nowhere near as broken as we expect it to be, but I'm quite doubtful...
~> mencoder -ovc lavc -of lavf -lavfopts format=mp4 in.avi -o out.mp4 Works.
~> mencoder -ovc lavc -lavcopts vmax_b_frames=1 -of lavf -lavfopts format=mp4 in.avi -o out.mp4 Horribly broken. mplayer -demuxer mp4 can't even decode it, let alone check timestamps. -demuxer lavf and ffplay work. MP4Box can't parse it.
~> mencoder -ovc lavc -lavcopts vmax_b_frames=1 -of lavf -lavfopts format=mkv in.avi -o out.mkv Works, including correct timestamps.
~> mencoder -ovc x264 -x264encopts qp=20:bframes=1 -of lavf -lavfopts format=mp4 in.avi -o out.mp4 Wrong timestamps. mplayer plays it anyway.
~> mencoder -ovc x264 -x264encopts qp=20:bframes=1 -of lavf -lavfopts format=mkv in.avi -o out.mkv Wrong timestamps. mplayer plays it anyway.
With mkv output, I found that the output of the first pass plays ok in vlc. But now that I've tried it again, it doesn't seem to be working for me.
Output of second (and later) passes play with the frames in the wrong order, so everything jitters back and forth. This is like what you get with raw .264 output played back by mplayer. The first pass plays smoothly, but later passes play out of order.
I'm going to try using mkvextract to get raw .264, then MP4Box -new -flat ... mkvmerge ...
It works, but you have to use --raw, otherwise mkvextract says: mkvextract tracks ../foo.pass2.mkv 1:foo.264 2:foo.ac3 Error: Track 1 with the CodecID 'V_MPEG4/ISO/AVC' is missing the "codec private" element and cannot be extracted. What's in the CodecPrivate, anyway? The frame rate, the PAR? mkvextract tracks ../s2d3e2.try3.pass2.mkv --raw 1:foo.264 2:foo.ac3 Extracting track 1 with the CodecID 'V_MPEG4/ISO/AVC' to the file 'foo.264'. Container format: raw data Extracting track 2 with the CodecID 'A_AC3' to the file 'foo.ac3'. Container format: Dolby Digital (AC3) MP4Box -new -flat -fps 23.976023976 -add foo.264 foo.mp4 AVC-H264 import - frame size 608 x 400 at 23.9760 FPS Import results: 66464 samples - Slices: 881 I 22741 P 42842 B - 1 SEI - 835 IDR Stream uses B-slice references - max frame delay 2 Saving foo.mp4: Flat storage # I could have taken the ac3 from the mplayer output mkv, and avoided # mkvextracting it, since in this example I'm not transcoding it. mkvmerge foo.mp4 foo.ac3 -o foo.mkv foo.mkv seems to be ok. vlc plays it ok, except with noticeably worse quality than when mplayer or xine plays it. There is blockiness that jumps flickers around. Like maybe frames aren't using the right reference frames. Hmmm. totem/gstreamer plays it all jerky, like only every 2nd or third frame is displayed at all. Maybe it's not decoding b frames. Maybe the frames it skips are the same ones that vlc decodes with the wrong reference frame. So -of lavf -o foo.mkv is a total washout for mencoder with x264 and bframes with b_pyramid. Maybe mp4 will work better... -- #define X(x,y) x##y Peter Cordes ; e-mail: X(peter@cor , des.ca) "The gods confound the man who first found out how to distinguish the hours! Confound him, too, who in this place set up a sundial, to cut and hack my day so wretchedly into small pieces!" -- Plautus, 200 BC
On Sat, 24 Nov 2007, Peter Cordes wrote:
Output of second (and later) passes play with the frames in the wrong order, so everything jitters back and forth. This is like what you get with raw .264 output played back by mplayer. The first pass plays smoothly, but later passes play out of order.
Huh? Raw .264 files play perfectly in mplayer. And ratecontrol (2pass or otherwise) can't possibly affect timestamps or frame order.
I've never been happy with A/V sync from encoding separately, because with x264 bframes=16:b_pyramid the decoding delay is 2 frames. Writing to a raw .264 file, mencoder seems to think it has to drop or add 2 framesat the beginning (don't remember which) because it doesn't have anywhere to pass on the 2 frame time offset information. If you iterate an encode, it gets more and more out of sync, and loses a couple frames each time.
If the *input* to mencoder has B-frames, then it will add dummy frames at the beginning and drop frames at the end. This isn't specific to h264, other than that B-pyramid has a delay of 2 while conventional B-frames have a delay of 1. It doesn't matter what container the input is, nor does it matter what container or codec you output to. And you really shouldn't iterate the encode: this problem occurs only with B-frames, and B-frames exist only in lossy codecs, and iterated lossy compression is bad. --Loren Merritt
Hi, I'm encounting the same problem with 2 pass vp6 encoding. Did you find any solution? Thanks
Hi I'm not sure about the correct method for doing two pass encoding.
I am running mplayer and mencode in Linux. After following these instructions, http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-video-for-windows.html I am finally able to do single pass encoding with something like this:
"mencoder mymovie.avi -o personal.flv -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=onepass.mcf -nosound -vf yadif,scale=320:240,flip -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames"
It works!!! Yeah mencoder! I know I shouldn't be greedy but the site also says you can do 2 pass encoding. I used vfw2menc to create firstpass.mcf and seconfpass.mcf and then tried running the same command twice:
"mencoder mymovie.avi -o personal.flv -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=firstpass.mcf -nosound -vf yadif,scale=320:240,flip -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames"
"mencoder mymovie.avi -o personal.flv -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=secondpass.mcf -nosound -vf yadif,scale=320:240,flip -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames"
On the second pass the terminal freezes up before beginning to encode. Can anyone tell me what I'm doing wrong?
Thanks.
MEncoder-users mailing list MEncoder-users@mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
It seems that no log file is created. I'm creating mcf file with cygwin (win xp). Is there another parameter for the log file? Thanks -----Message d'origine----- De : mencoder-users-bounces@mplayerhq.hu [mailto:mencoder-users-bounces@mplayerhq.hu] De la part de Lionel Gattegno Envoyé : vendredi 30 novembre 2007 11:38 À : MEncoder usage discussions Objet : Re: [MEncoder-users] 2 pass encoding with vp6vfw.dll? Hi, I'm encounting the same problem with 2 pass vp6 encoding. Did you find any solution? Thanks
Hi I'm not sure about the correct method for doing two pass encoding.
I am running mplayer and mencode in Linux. After following these instructions, http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-video-for-windows.html I am finally able to do single pass encoding with something like this:
"mencoder mymovie.avi -o personal.flv -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=onepass.mcf -nosound -vf yadif,scale=320:240,flip -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames"
It works!!! Yeah mencoder! I know I shouldn't be greedy but the site also says you can do 2 pass encoding. I used vfw2menc to create firstpass.mcf and seconfpass.mcf and then tried running the same command twice:
"mencoder mymovie.avi -o personal.flv -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=firstpass.mcf -nosound -vf yadif,scale=320:240,flip -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames"
"mencoder mymovie.avi -o personal.flv -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=secondpass.mcf -nosound -vf yadif,scale=320:240,flip -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames"
On the second pass the terminal freezes up before beginning to encode. Can anyone tell me what I'm doing wrong?
Thanks.
MEncoder-users mailing list MEncoder-users@mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users _______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
Rich Felker wrote:
I would recommend just using it to do the video stream if you need the powerful filtering it provides, then using the ffmpeg program for the muxing and anything else.
Lets say I've used mencoder to produce a valid x264 video stream and aac audio stream, but in an .avi container (since the presence of b-frames isn't an issue with avi muxing.) What command line would I use with ffmpeg to re-mux this .avi file into a valid .mp4 file that would work, say, with the appletv or iPod ? Is there a guide on how to do this?
James Hastings-Trew wrote:
Two separate questions regarding x264 encoding in mencoder:
1) does setting frameref to something other than 1 make a difference if there are no bframes? I've read the relevant section in the manuals and am still unclear.
Does anyone have an answer for this question?
On Tue, 06 Nov 2007 07:11:47 -0600 James Hastings-Trew <jimht@shaw.ca> wrote:
James Hastings-Trew wrote:
Two separate questions regarding x264 encoding in mencoder:
1) does setting frameref to something other than 1 make a difference if there are no bframes? I've read the relevant section in the manuals and am still unclear.
Does anyone have an answer for this question?
frameref is used for both B _and_ P frames, so it should be pretty obvious that it will still do something without B-frames.
Hi, On 11/5/07, Gustavo Tenrreiro <gustavo@tenrreiro.com> wrote:
Hi,
I am trying to integrate mencoder with another application that would allow it to rip DVDs to MPEG4s. I also want to make the subtitles available. I want to capture all subtitles available on the disc.
From the documentation I see you can capture a couple of subtitles while doing 2 pass encoding, but that leaves out the rest of the subtitles.
There's no problem with ripping multiple subtitles. The method given in the doc with rip one subtitles track at once. If you want to rip them all, you just need to repeat the process on each subtitle track. That'll give you a big .sub file that will contain all the subtitles that you extracted, playable with -vobsub option. Guillaume -- A soldier will fight long and hard for a bit of colored ribbon. -- Napoleon Bonaparte
Yeah I saw what the documentation suggests ( it gives an example of 2pass encoding ), which would extract 2 different subtitles ( i.e, en and fr ). For the 2 pass example that's fine because you'll likely want to encode your video that way anyway; however, a third pass would take as long as the other two just for the purpose of extracting another subtitle. The time required to extract just the third subtitle seems excesive. If I want more subtitles, well I would have to keep making passes. So just to confirm, what you are saying is that in order to extract just one subtitle you have to encode the whole video, even if you already have a video produced by previous passes ? and there is no alternative to this scenario. Thanks On 11/6/07, Guillaume POIRIER <poirierg@gmail.com> wrote:
Hi,
On 11/5/07, Gustavo Tenrreiro <gustavo@tenrreiro.com> wrote:
Hi,
I am trying to integrate mencoder with another application that would allow it to rip DVDs to MPEG4s. I also want to make the subtitles available. I want to capture all subtitles available on the disc.
From the documentation I see you can capture a couple of subtitles while doing 2 pass encoding, but that leaves out the rest of the subtitles.
There's no problem with ripping multiple subtitles. The method given in the doc with rip one subtitles track at once. If you want to rip them all, you just need to repeat the process on each subtitle track. That'll give you a big .sub file that will contain all the subtitles that you extracted, playable with -vobsub option.
Guillaume
-- A soldier will fight long and hard for a bit of colored ribbon. -- Napoleon Bonaparte _______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
On Tue, 6 Nov 2007 16:25:49 -0600 "Gustavo Tenrreiro" <gustavo@tenrreiro.com> wrote:
Yeah I saw what the documentation suggests ( it gives an example of 2pass encoding ), which would extract 2 different subtitles ( i.e, en and fr ).
You should have look just below that...
So just to confirm, what you are saying is that in order to extract just one subtitle you have to encode the whole video, even if you already have a video produced by previous passes ? and there is no alternative to this scenario.
No and no. And please don't top-post in the future.
You should have look just below that...
Just to make sure we are all referring to the same "Documentation" section My Previous reference was to this: ( from http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-extractsub.html ) ** *Example 13.5. Copying two subtitles from a DVD while doing two pass encoding* rm *subtitles.idx* *subtitles.sub* mencoder dvd://1 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 \ -vobsubout *subtitles* -vobsuboutindex 0 -sid 2 mencoder dvd://1 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:vpass=2 \ -vobsubout *subtitles* -vobsuboutindex 1 -sid 5 "Below that" is this: *Example 13.6. Copying a French subtitle from an MPEG file* rm *subtitles.idx* *subtitles.sub* mencoder *movie.mpg* -ifo *movie.ifo* -vobsubout *subtitles* -vobsuboutindex 0 \ -vobsuboutid fr -sid 1 -nosound -ovc copy Is Example 13.6 the section you are referring to? if not what are you referring to? Thanks
On Tue, 6 Nov 2007 17:32:10 -0600 "Gustavo Tenrreiro" <gustavo@tenrreiro.com> wrote:
Is Example 13.6 the section you are referring to?
Yes. Though it's done from files on the hard drive rather than directly from the DVD, note that there is no need to encode the video to extract the subs.
Yes thanks, now I see that clearly.
participants (9)
-
Guillaume POIRIER -
Gustavo Tenrreiro -
James Hastings-Trew -
Lionel Gattegno -
Loren Merritt -
Peter Cordes -
RC -
Reimar Döffinger -
Rich Felker