[MPlayer-users] mplayer -sb and -endpos with -dumpstream

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Apr 3 13:53:58 CEST 2013


On Wed, Apr 03, 2013 at 12:17:18PM +0200, lynx.abraxas at freenet.de wrote:
> Hello!
> 
> 
> I'm trying to cut a DVB-T stream dumped with -dumpstream to a ts-file. 
> 
> The ts-file was created with (stopped with  kill $mplayer-PID):
> mplayer -dumpfile test.ts -dumpstream dvb://
> 
> I added to .mplayer/input.conf to get stream pos reported:
> 
> #print stream pos to console
> P get_property stream_pos
> 
> With this I get 370735812 for starting pos and 473272892 for ending pos.
> 
> This works fine if I run:
> mplayer test.ts -sb 370735812 -endpos 473272892b 
> 
> But if I try to dump again to a stream it ignores -endpos:
> mplayer test.ts -sb 370735812 -endpos 473272892b -dumpfile test_cut.ts -dumpstream 
> 
> What am I doing wrong?

Well, you probably should be using a tool intended for this purpose like
dd.
Otherwise the answer is that this feature isn't implemented for the
-dump* options.
Or rather was, I added it in r36136, but it obviously is not yet
well-tested.


More information about the MPlayer-users mailing list