[MPlayer-users] Using mplayer as a MPEG-TS cutter
Reimar.Doeffinger at gmx.de
Thu Apr 28 19:54:41 CEST 2011
On Thu, Apr 28, 2011 at 09:27:41AM +0200, Ptitboul Ptitboul wrote:
> 2011/4/25 Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> > Bind a key to
> > osd_show_property_text stream_pos
> Could you describe precisely how strem_pos is computed?
stream_pos gives the position after the bytes MPlayer has processed
at that point.
I would have expected it to be at most a few frames ahead of the
current position, at least if audio and video play in sync.
ffprobe from FFmpeg might help you in making the exact cuts.
If you use it with -show_packets you'll get output like
Which means that at offset pos=62042068
there is a keyframe (I/IDR, flags=K) of
More information about the MPlayer-users