On Tue, Oct 06, 2015 at 10:50:30 -0400, compn wrote:
> this works for me:
> 
> ffmpeg -i http://samples.ffmpeg.org/V-codecs/sn40sample.avi -i 
> http://samples.ffmpeg.org/V-codecs/sn40sample.avi -f sdl out.mp4 

But it ignores the second input file (what was that good for?)

> is there a way to just use a single input to dump 1 file and display 1
> sdl output? hmm, probably.

This isn't the ffmpeg-user list, but:
Sure, ffmpeg supports multiple outputs.

$ ffmpeg -i http://samples.ffmpeg.org/V-codecs/sn40sample.avi out.mp4 -f sdl bla

And I believe the restriction of ffmpeg (vs. ffplay) of not being able
to control the output, e.g. by skipping backwards or forwards, is quite
practical, as you don't want to do that while actually trying to dump
the same file. So ffmpeg remains the optimal solution for this, not an
ffplay hack, IMHO.

So, for the original "poster" [what do we call them on a mailing
list?]:

$ ffmpeg -i 
'rtsp://192.168.178.80:554/user=admin_password=PASSWORD_channel=1_stream=0.sdp?real_stream?tcp'
 -c copy dump.mkv -f sdl bla

Moritz
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to