[FFmpeg-user] Capture and RTMP
Yugant Khanna
yugant at gmail.com
Tue Jul 30 13:32:39 CEST 2013
Hi , currently i am capturing Video in segments with my capture Card using
the following ffmpeg command line :
ffmpeg -f dshow -i video="Video Capture":audio="Audio Capture" -an -c:v
libx264 -b:v 128k -flags -global_header -map 0 -f segment -segment_time 4
-segment_list test.m3u8 -segment_format mpegts stream%05d.ts
I need to also add user preview to my capture application. Using the
following command line i could through output to the AMS5 server :
ffmpeg -rtbufsize 702000k -f dshow -r 25 -i video="Video
Capture":audio="Audio Capture" -crf 30 -preset ultrafast -acodec aac
-strict experimental -ar 44100 -ac 2 -b:a 96k -vcodec libx264 -r 25 -b:v
500k -f flv rtmp://192.168.36.251/live/streamName
Can i combine the above 2 commands to Capture and stream simultaneously ?
regards
More information about the ffmpeg-user
mailing list