[FFmpeg-user] ffmpeg how to output multiple file
Huang Soho
soho123.2012 at gmail.com
Mon Oct 14 11:10:04 CEST 2013
2013/10/10 Jason Runta <jrunta at gmail.com>
> It can. See this article for more information:
> http://ffmpeg.org/trac/ffmpeg/wiki/Creating%20multiple%20outputs
>
> The important part is the tee command and getting the mappings correct.
> Here's an example I was using to test:
>
> ffmpeg -y -f dshow -s 640x480 -r 29.97 -i video="Microsoft LifeCam
> Cinema":audio="Desktop Microphone (Cinema - Mi" -c:v libx264 -preset
> ultrafast -b:v 800k -c:a aac -strict experimental -ar 44100 -b:a 56k -f tee
> -map 0:0 -map 0:1 "[f=rtsp] -rtscp_transport tcp
> rtsp://localhost:1234/live.sdp|C:\\users\\jasonr\\mymovie.mkv"
>
> and then using ffplay I could watch my stream using:
> ffplay -rtsp_flags listen rtsp://localhost:1234/live.sdp
>
>
ffmpeg -sn -f video4linux2 -r 30 -s 1280x720 -input_format h264 -i
/dev/video1 -vcodec copy http://localhost:8090/feed2.ffm -vcodec copy
/var/tmp/usb/sda1/test.ts
the command I used to test, I have enable mpegts muxer when I make ffmpeg,
but the output file test.ts can not be play when I try to VLC to open
test.ts.
Do you have any idea?
>
>
> --
> *-_-=Jason Runta=-_-*
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
More information about the ffmpeg-user
mailing list