[FFmpeg-devel] modify ffplay for dumpstream in rtsp?
Moritz Barsnick
barsnick at gmx.net
Tue Oct 6 17:18:49 CEST 2015
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
More information about the ffmpeg-devel
mailing list