[FFmpeg-user] Captured video is not smooth (Help Please)

mohamed hefny m.hefny at nilesat.com.eg
Sat Feb 2 10:26:10 CET 2013


Dear All,
 
I managed successfully to capture SDI input a Decklink card using the following command:
 
ffmpeg -f dshow -i video="Decklink Video Capture (2)":audio="Decklink Audio Capture (2)" -y -s 720x576 -r 25 -aspect "4:3" -pix_fmt yuv420p -flags +cgop+ildct+ilme -top 1 -sc_threshold 1000000000 -g 12 -bf 2 -flags2 +sgop -vcodec mpeg2video -b:v 2800K -maxrate 2800K -minrate 2800K -bufsize 2000k -crf 23 -acodec mp2 -ab 128K -metadata service_provider="MHEFNY" "c:\\outx.m2t" 
 
And I have to adhere with above MPEG format since the file will be ingested to an MPEG playout server.
 
The problem I am facing now is, when there is fast movments (or sudden change) in input video signal. Which are not smooth (looks like fading or shadwos exist) in the captured video.
 
* Here is a link to a sample capture file: https://www.dropbox.com/s/csq85qf8x23w439/outx.m2t
 
 
* Full  log file is attached above
 
* And this is the first output lines:
 
ffmpeg version N-49044-g89afa63 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 19 2013 20:36:06 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib --enable-filter=frei0r
  libavutil      52. 15.100 / 52. 15.100
  libavcodec     54. 89.100 / 54. 89.100
  libavformat    54. 61.101 / 54. 61.101
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.101 /  3. 32.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[dshow @ 003ebd40] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, dshow, from 'video=Decklink Video Capture (2):audio=Decklink Audio Capture (2)':
  Duration: N/A, start: 0.059901, bitrate: 1536 kb/s
    Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 720x576, 25 tbr, 10000k tbn, 25 tbc
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Output #0, mpegts, to 'c:\\outx.m2t':
  Metadata:
    service_provider: MHEFNY
    encoder         : Lavf54.61.101
    Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 2800 kb/s, 90k tbn, 25 tbc
    Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> mpeg2video)
  Stream #0:1 -> #0:1 (pcm_s16le -> mp2)
Press [q] to stop, [?] for help
frame=   12 fps=0.0 q=2.5 size=     261kB time=00:00:00.47 bitrate=4462.1kbits/s    
frame=   25 fps= 25 q=4.7 size=     435kB time=00:00:00.98 bitrate=3622.5kbits/s    
real-time buffer 82% full! frame dropped!
[dshow @ 003ebd40] real-time buffer 82% full! frame dropped!
[dshow @ 003ebd40] real-time buffer 83% full! frame dropped!
frame=   35 fps= 22 q=7.3 size=     583kB time=00:00:01.39 bitrate=3429.4kbits/s
frame=   51 fps= 24 q=6.6 size=     859kB time=00:00:02.10 bitrate=3344.0kbits/s    
frame=   63 fps= 24 q=6.5 size=    1031kB time=00:00:02.58 bitrate=3267.6kbits/s    
frame=   76 fps= 24 q=8.1 size=    1231kB time=00:00:03.11 bitrate=3241.5kbits/s
 
 
 
Thank you in advance.
 
Mohamed Hefny

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: out.txt
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20130202/9e9dd9d8/attachment.txt>


More information about the ffmpeg-user mailing list