Re: [FFmpeg-user] Video lose quality after insert overlay images on video..
On Wed, Sep 23, 2015 at 02:20:15 -0700, ankur456799 wrote: > quality.. Means its not so much bad quality, but it's not as original > video... You are very vague, we can't see HOW much loss in quality you are observing. > -c:v libx264 -crf 18 output.mp4 You are using a lossy codec, so you will _always_ have some quality degredation - there is by definition no way you can achieve the identical quality as the original. You can only ever achieve _nearly_ the same quality, albeit possibly very close to the original. As Paul wrote, we need to see the command line and complete, uncut console output. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] Problem in compiling ffmpeg
Good day! I kept on encountering an error, whenever I try to compile ffmpeg. It keeps notifying: cl is unable to create an executable file. C compiler test failed. Can you help me in solving this? Your help will be pretty much appreciated. Included in this mail is the log file "config.log" Thanks for reading this. Hopefully you answer as soon as possible. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] Video lose quality after insert overlay images on video..
Hi, I am using the overlay functionality after complete process its lose some quality.. Means its not so much bad quality, but it's not as original video... i am using this. -i input.mp4 -shortest -loop 1 -i 57982344.png -filter_complex "[1:v]fade=t=in:st=5:d=1,fade=t=out:st=10:d=1[over];[0:v][over]overlay=0:0 " -c:v libx264 -crf 18 output.mp4 i need a way where after overlay video quality as same as original video -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Video-lose-quality-after-insert-overlay-images-on-video-tp4672520.html Sent from the FFmpeg-users mailing list archive at Nabble.com. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Video lose quality after insert overlay images on video..
On 9/23/15, ankur456799wrote: > Hi, I am using the overlay functionality after complete process its lose > some > quality.. Means its not so much bad quality, but it's not as original > video... > > i am using this. > > -i input.mp4 -shortest -loop 1 -i 57982344.png -filter_complex > "[1:v]fade=t=in:st=5:d=1,fade=t=out:st=10:d=1[over];[0:v][over]overlay=0:0 " > -c:v libx264 -crf 18 output.mp4 > > > i need a way where after overlay video quality as same as original video > Full ffmpeg output missing. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] Decklink input buffer overrun
Hi, I need to stream the 2 inputs from a DeckLink Duo card in FHD. So far I could compile ffmpeg with decklink support and capture one input at a time without problems. When I try to capture from the 2 inputs I start getting the following message repeatedly on both terminals: [decklink @ 0x32287e0] Decklink input buffer overrun! I use these commands in the terminals: /opt/ffmpeg_build/bin/ffmpeg -f decklink -re -i 'DeckLink SDI (1)@7' -g 90 -s hd1080 -profile:v baseline -pix_fmt yuv420p -preset veryfast -c:v libx264 -b:v 2000k -bufsize 1400k -minrate 2000k -maxrate 2000k -c:a libfdk_aac -b:a 96k -threads 4 -f flv rtmp://10.12.20.62/myapp/tvines /opt/ffmpeg_build/bin/ffmpeg -f decklink -re -i 'DeckLink SDI (2)@7' -g 90 -s hd1080 -profile:v baseline -pix_fmt yuv420p -preset veryfast -c:v libx264 -b:v 2000k -bufsize 1400k -minrate 2000k -maxrate 2000k -c:a libfdk_aac -b:a 96k -threads 4 -f flv rtmp://10.12.20.62/myapp/tvescola I tried many combinations but couldn't get it to work. I wonder if the input buffer is shared between the 2 inputs. Is there any way to set an input buffer size independently for each command? Thx in advance! Flávio. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Decklink input buffer overrun
On Wed, Sep 23, 2015 at 12:47 PM, Flávio Ponteswrote: > Hi, > > I need to stream the 2 inputs from a DeckLink Duo card in FHD. > So far I could compile ffmpeg with decklink support and capture one input > at a time without problems. > > When I try to capture from the 2 inputs I start getting the following > message repeatedly on both terminals: > [decklink @ 0x32287e0] Decklink input buffer overrun! > > I use these commands in the terminals: > > /opt/ffmpeg_build/bin/ffmpeg -f decklink -re -i 'DeckLink SDI (1)@7' -g 90 > -s hd1080 -profile:v baseline -pix_fmt yuv420p -preset veryfast -c:v > libx264 -b:v 2000k -bufsize 1400k -minrate 2000k -maxrate 2000k -c:a > libfdk_aac -b:a 96k -threads 4 -f flv rtmp://10.12.20.62/myapp/tvines > > /opt/ffmpeg_build/bin/ffmpeg -f decklink -re -i 'DeckLink SDI (2)@7' -g 90 > -s hd1080 -profile:v baseline -pix_fmt yuv420p -preset veryfast -c:v > libx264 -b:v 2000k -bufsize 1400k -minrate 2000k -maxrate 2000k -c:a > libfdk_aac -b:a 96k -threads 4 -f flv rtmp://10.12.20.62/myapp/tvescola > > I tried many combinations but couldn't get it to work. > I wonder if the input buffer is shared between the 2 inputs. > Is there any way to set an input buffer size independently for each > command? > > Thx in advance! > Flávio. > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > Hi Flávio, I'm not sure if this directly addresses your problem, but have you tried using the -thread_queue_size parameter? I believe having a deeper queue might help, the default value is only 8. I've used much larger values, even 2048 for example. Granted, I think 2048 is overkill but I don't see any problem in setting up larger queues. Ricardo ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Decklink input buffer overrun
On 9/23/15 1:47 PM, Flávio Pontes wrote: Hi, I need to stream the 2 inputs from a DeckLink Duo card in FHD. So far I could compile ffmpeg with decklink support and capture one input at a time without problems. When I try to capture from the 2 inputs I start getting the following message repeatedly on both terminals: [decklink @ 0x32287e0] Decklink input buffer overrun! I use these commands in the terminals: /opt/ffmpeg_build/bin/ffmpeg -f decklink -re -i 'DeckLink SDI (1)@7' -g 90 -s hd1080 -profile:v baseline -pix_fmt yuv420p -preset veryfast -c:v libx264 -b:v 2000k -bufsize 1400k -minrate 2000k -maxrate 2000k -c:a libfdk_aac -b:a 96k -threads 4 -f flv rtmp://10.12.20.62/myapp/tvines /opt/ffmpeg_build/bin/ffmpeg -f decklink -re -i 'DeckLink SDI (2)@7' -g 90 -s hd1080 -profile:v baseline -pix_fmt yuv420p -preset veryfast -c:v libx264 -b:v 2000k -bufsize 1400k -minrate 2000k -maxrate 2000k -c:a libfdk_aac -b:a 96k -threads 4 -f flv rtmp://10.12.20.62/myapp/tvescola I tried many combinations but couldn't get it to work. I wonder if the input buffer is shared between the 2 inputs. Is there any way to set an input buffer size independently for each command? Thx in advance! Flávio. My first thought was you are simply not keeping up. Are you positive your computer can process these two streams at the same time? I've not tried to capture from a Duo, but I've captured two streams simultaneously from a Quad using other software. Since you are running two independent copies of ffmpeg, I don't think there is a shared internal buffer to increase. Hopefully you will get some more useful advice from others. Deron ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Decklink input buffer overrun
On Wed, 23 Sep 2015, Ricardo Kleemann wrote: On Wed, Sep 23, 2015 at 12:47 PM, Flávio Ponteswrote: Hi, I need to stream the 2 inputs from a DeckLink Duo card in FHD. So far I could compile ffmpeg with decklink support and capture one input at a time without problems. When I try to capture from the 2 inputs I start getting the following message repeatedly on both terminals: [decklink @ 0x32287e0] Decklink input buffer overrun! I use these commands in the terminals: /opt/ffmpeg_build/bin/ffmpeg -f decklink -re -i 'DeckLink SDI (1)@7' -g 90 -s hd1080 -profile:v baseline -pix_fmt yuv420p -preset veryfast -c:v libx264 -b:v 2000k -bufsize 1400k -minrate 2000k -maxrate 2000k -c:a libfdk_aac -b:a 96k -threads 4 -f flv rtmp://10.12.20.62/myapp/tvines /opt/ffmpeg_build/bin/ffmpeg -f decklink -re -i 'DeckLink SDI (2)@7' -g 90 -s hd1080 -profile:v baseline -pix_fmt yuv420p -preset veryfast -c:v libx264 -b:v 2000k -bufsize 1400k -minrate 2000k -maxrate 2000k -c:a libfdk_aac -b:a 96k -threads 4 -f flv rtmp://10.12.20.62/myapp/tvescola I tried many combinations but couldn't get it to work. I wonder if the input buffer is shared between the 2 inputs. Is there any way to set an input buffer size independently for each command? Thx in advance! Flávio. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user Hi Flávio, I'm not sure if this directly addresses your problem, but have you tried using the -thread_queue_size parameter? I believe having a deeper queue might help, the default value is only 8. I've used much larger values, even 2048 for example. Thread queue size only has an effect if multiple input sources are used. If a single input is used then reading from it is not threaded in the current ffmpeg.c implementation. Regards, Marton ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] MPEG-DASH video with Subtitles
Hello, I am trying to take a video with subtitles, run it through ffmpeg with the “dash” output format and get ffmpeg to output the subtitles. Steps that I’ve taken: 1. I took this video: https://www.youtube.com/watch?v=QF8pM4wiLaY and downloaded the mp4 and srt files 2. I combined them with this command: bin\ffmpeg.exe -i "Prime Minister's Questions_ 25 March 2015\Prime Minister's Questions_ 25 March 2015 (480p).mp4" -sub_charenc UTF-8 -i "Prime Minister's Questions_ 25 March 2015\Prime Minister's Questions_ 25 March 2015 (480p).English.srt" -vcodec copy -acodec copy -scodec mov_text -metadata:s:s:0 lang=eng "Prime Minister's Questions_ 25 March 2015.mp4" 3. I then tried to dash the video with this command: bin\ffmpeg.exe -i "Prime Minister's Questions_ 25 March 2015.mp4" -vcodec copy -acodec copy -scodec copy -f dash out.mpd ffmpeg finds the subtitle track in the video: Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 854x480 [SAR 1:1 DAR 427:240], q=2-31, 659 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default) Metadata: handler_name: VideoHandler Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo, 253 kb/s (default) Metadata: handler_name: SoundHandler Stream #0:2(und): Subtitle: mov_text ([8][0][0][0] / 0x0008), 0 kb/s (default) Metadata: handler_name: SubtitleHandler But the subtitles do not appear as a track in the resulting out.mpd file or segment files. I tried using the –adaptation_sets option to force it but it didn’t seem to do anything. Are subtitles supported in the “dash” output format? Am I doing something wrong? Thanks, Nate ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user