[MPlayer-users] Cutting DVD video with the '-sb' and '-endpos' options

andrew at WARnux.com andrew at WARnux.com
Mon Mar 23 22:32:34 CET 2009


belcampo wrote:
> Krzysztof Duchnowski wrote:
>> Jonathan Busby pisze:
>>
>>> Hello. I have been trying to find a way to cut, with single frame 
>>> accuracy,
>>> an MPEG-2 PS stream from a DVD. The problem is that the source DVD 
>>> stream
>>> is a mix of hard-telecined, interlaced, and progressive content. This
>>> means, unfortunately, that I can't use my usual cutting tool, Avidemux,
>>> because of it's horribly broken MPEG (de)muxer ie. horrible A/V
>>> desynch when the portion of the video stream selected for cutting is
>>> saved.
>>
>>> So, I thought I could get around this using something like :
>>
>>> 'mplayer dvd://2 -sb x -endpos y -dumpstream'
> I'm looking for something similar, edit out certain fragments with edl
> mplayer -edl fragments.edl source.mpg -dumpstream
> but with this I get the WHOLE stream.
> Without -dumpstream an older mplayer version plays what I would like 
> to have in 1 file.
> I've been reading on stdout and named-pipes, but I don't get it.:-(
> Someone any idea howto accomplish this ?
>
> Regards
>
> Belcampo
>>
>>> The above though is predicated on a certain behavior,
>>> namely that when I play the video and use '.' to frame-step,
>>> Mplayer should output the byte position of the current frame
>>> to the console. Unfortunately I haven't found a way to do this as even
>>> using the option 'msglevel all=9' does not seem to produce the required
>>> information, unless I'm misinterpreting/misunderstanding the output
>>> which I hope *is* the case.
>>
>>
>>> Does anyone know how to accomplish what I've described above?
>>
>>
>> Frame accuracy? wine + avs + avs2yuv
>>
> Use ffmpeg if you want frame accuracy.  That is what I ended up doing.
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
>


More information about the MPlayer-users mailing list