Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
ffmpeg forward stream have 3 seconds delay
28 janvier 2016, par lovedboyI am using nginx with module nginx-rtmp-module as a live server.
here is the sample config.
application src { live on; exec /usr/bin/ffmpeg -re -i rtmp://localhost/src/$name -acodec copy -vcodec copy -f flv rtmp://localhost/hls/$name } application hls { live on; hls on; hls_path /tmp/hls; hls_fragment 2s; hls_playlist_length 8s;
I use ffmpeg forward stream and it has about 3 seconds delay between
src
channel andhls
channel.The reason of delay seems to be ffmpeg itself.
Are there any methods to reduce the delay when using ffmpeg forward stream?
Any idea about it? Thanks.
-
generate streams at different bitrates using same libx265 codec in ffmpeg
28 janvier 2016, par sudheer babuUsing ffmpeg command " ffmpeg.exe -f rawvideo -vcodec rawvideo -s 1920x1080 -r 25 -pix_fmt yuv420p -i crowd_run_1080p25.yuv -c:v libx265 -preset ultrafast -b:v 5000K crowd1080p5.265 -s 1920x1080 -b:v 3000K crowd1080p5_1.265 " ,in this way ffmpeg use 2 times libx265 codec for giving streams. it means the way is like two instants. But i want it in single instant. Using libx265 codec only 1 time, i need 2 outputs of different bitrates mentioned . Is there any way ?
Please respond if any one have idea on this ...
I need to interface my company version codec with ffmpeg ; As My hevc codec version giving 4 different streams at single instant with different bitrates by taking single input. So i need to understand whther its possible in ffmpeg using libx265 codec. if u know any information regarding this,pls share.
-
Anyone can help me in installing FFMPEG to generate thumbnail from video file on virtual hosting
28 janvier 2016, par yuvraj thakurPlease help me in installing FFMPEG in virtual private hosting in Godaddy.
-
Keep FFMPEG running and waiting for new image files to encode and stream
28 janvier 2016, par user2165039I am converting TIFF images to HTTP Live Stream. The images are being continuously streamed by a camera and saved to hard drive. FFMPEG is then converting the files to MPEG transport stream (.ts) and segmenting them. However, as soon as FFMPEG runs out of currently saved images to disk, it ends the conversion. Is there a way how I could keep FFMPEG running and waiting for new images to be saved to disk and converting them?
This is what I am using:
ffmpeg -f image2 -r 10/1 -i MMseries_%3d.jpg -c:v libx264 -r 30 -b:v 256000 -flags -global_header -map 0 -f segment -segment_time 4 -segment_list_size 0 -segment_list demo_list.m3u8 -segment_format mpegts video_seg_%05d.ts
-
How to merge four videos on one screen with ffmpeg
28 janvier 2016, par Andrey ProkhorenkoI have a video test.mp4, and I need to make it appear four times at once on a screen. Here I found a command that makes two videos appear at a time
ffmpeg -i input0.avi -vf "movie=input1.avi [in1]; [in]pad=640*2:352[in0]; [in0][in1] overlay=640:0 [out]" out.avi
But it doesn't work with mp4 videos, and I need four videos at a time. Thank you in advance