خرید بک لینک

I am tying to record video and audio using openRTSP and ffmpeg. The below command record video but the it doesn't contain audio.

openRTSP -D 10 -v -t -c -b 800000 rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBuy_115k.mov | ./ffmpeg -r 15 -i - -codec copy -hls_list_size 65535 -hls_time 2 "./1/live.m3u8"

I have checked the stream using ffplay whether it's contain audio using below command,

./ffplay openRTSP -D 10 -v -t -c -b 800000 rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBuy_115k.mov | ./ffmpeg -r 15 -i - -codec copy -hls_list_size 65535 -hls_time 2 "./1/live.m3u8"

and which works fine.

So in above command does -codec copy stands for both audio and video or only for video?

and I can here audio in that

برچسب: نویسنده: استخدام کار تاريخ: شنبه 29 اسفند 1394 ساعت: 12:32

صفحه بندی