José María Infanzón
2018-11-13 13:07:48 UTC
Hi All,
I've have an udp input (live chanel I obtain from an encoder) and I
transrate it into multiple bitrates. The command I use is:
ffmpeg -loglevel error -threads 0 -y -i $1 -filter_complex
streaming, I'm behind live time for about 10 mins. If I remove bufsize and
maxrate as in the following command:
/root/ffmpeg_sources/ffmpeg/ffmpeg -loglevel error -y -i $1 -filter_complex
The only issue is that the bitrate is no longer accurate and insted of 1,5M
for 854*480 It might have 800kbps.
Any ideas of what I'm missing?
Thanks indeed
I've have an udp input (live chanel I obtain from an encoder) and I
transrate it into multiple bitrates. The command I use is:
ffmpeg -loglevel error -threads 0 -y -i $1 -filter_complex
'[0:v]yadif=0:-1:1,split=3[out1][out2][out3]' -map '[out1]' -map '[out2]'
-map '[out3]' -map 0:a -acodec aac -b:a 64k -vcodec libx264 -tune
zerolatency -s:v:0 854x480 -bitrate 1500k -bufsize:v:0 1800k -s:v:1 640x360
-bitrate 1M -bufsize:v:1 1200k -s:v:2 426x240 -bitrate 700k -bufsize:v:2
840k -f mpegts -
The main issue I'm experiencing, is that after a 24 hs of continuously-map '[out3]' -map 0:a -acodec aac -b:a 64k -vcodec libx264 -tune
zerolatency -s:v:0 854x480 -bitrate 1500k -bufsize:v:0 1800k -s:v:1 640x360
-bitrate 1M -bufsize:v:1 1200k -s:v:2 426x240 -bitrate 700k -bufsize:v:2
840k -f mpegts -
streaming, I'm behind live time for about 10 mins. If I remove bufsize and
maxrate as in the following command:
/root/ffmpeg_sources/ffmpeg/ffmpeg -loglevel error -y -i $1 -filter_complex
'[0:v]yadif=0:-1:1,split=3[out1][out2][out3]' -map '[out1]' -map '[out2]'
-map '[out3]' -map 0:a -acodec aac -b:a 64k -vcodec libx264 -s:v:0 854x480
-bitrate 1500k -s:v:1 640x360 -bitrate 1000k -s:v:2 426x240 -bitrate 500k
-f mpegts -
After 24 hours, I'm pretty close to live time, and I no longer experience.-map '[out3]' -map 0:a -acodec aac -b:a 64k -vcodec libx264 -s:v:0 854x480
-bitrate 1500k -s:v:1 640x360 -bitrate 1000k -s:v:2 426x240 -bitrate 500k
-f mpegts -
The only issue is that the bitrate is no longer accurate and insted of 1,5M
for 854*480 It might have 800kbps.
Any ideas of what I'm missing?
Thanks indeed
--
José María Infanzón
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-re
José María Infanzón
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-re