MEncoder

„MEncoder is a free command line video decoding, encoding and filtering tool released under the GNU General Public License. It is a close sibling to MPlayer and can convert all the formats that MPlayer understands into a variety of compressed and uncompressed formats using different codecs.“

MEncoder. (2008, February 23). In Wikipedia, The Free Encyclopedia. Retrieved 18:57, April 5, 2008, from
http://en.wikipedia.org/w/index.php?title=MEncoder&oldid=193447614


My Blog List

Monday, May 19, 2008

Re: [MEncoder-users] extracting mpeg2 stream from dvd

On Mon, 19 May 2008, James Hastings-Trew wrote:

> Wes Morgan wrote:
>> I want to dump each title on a DVD to a single mpeg2 stream... If I use
>> the simple "mplayer -dumpstream" option, I end up with what seems to be
>> multiple mpeg2 streams concatenated (each title of the dvd). This plays
>> hell with my media player when it starts a new stream (yes, that means the
>> player is probably broken -- but mplayer knows there is something weird
>> about it as well).
>>
>> Trying to use "-oac copy -ovc copy -of mpeg2 -mpegopts format=dvd" results
>> in a file whose playback is "jerky", most likely because of the hundreds
>> of skipped frames... However, throwing in "-noskip" dies with the dreaded
>> "too many audio packets in the buffer" error. Using "-mc 0" and harddup
>> (in many combinations) kills the audio sync. I don't think it will work
>> without -noskip.
>>
>> The source is full of mixed progressive and telecined (or possibly
>> interlaced) content. Setting -ofps, -fps, nothing seems to work correctly.
>> All I need to do is make a single working mpeg2 stream from a dvd, seems
>> like it should be simple... I'm hoping there is a command-line solution,
>> as this needs to be done to about 50 discs with 4 titles each.
>>
>> Anyone have any suggestions?
>> ______________________________________________
>>
> This always works for me, regardless of content:
>
> mplayer dvd://$title -dumpstream -dumpfile $title.vob
>
> You'll have to do a bit of work to make a script that reads the DVD, and
> extracts each title.
>
> mplayer dvd:// -identify -frames 0 | grep LENGTH

I wish it was that simple, but the problem is that the vob produced by
dumpstream has some kind of internal "break" at each chapter interval
(start of a new mpeg-ps stream, I believe) that plays hell with my settop
media player, and even mplayer has problems calculating the total length
and seeking.
_______________________________________________
MEncoder-users mailing list
MEncoder-users@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users

No comments:

PCBs

Links

Forex brokers, Forex online


Privacy Policy