[FFmpeg-user] Capture Video from Decklink Video Render

Andrew Sinclair ajsinclair at gmail.com
Tue Dec 11 23:03:10 CET 2012


You may want to try some different codec/container combos for import to
Avid or FCP as DV in MXF is a little unusual.

Have a look at the ffmbc branch for some pro video combos that may suit
e.g. ProRes 422/MOV for FCP or DNxHD/MXF for Avid.


On 11 December 2012 22:39, Yugant Khanna <yugant at gmail.com> wrote:

> Carl .,  i just meant it is throwing an exception didn't mean that it is an
> issue with FFMPEG .. I am too Pro FFMPEG  FAN :)
>
> now I am using the below mentioned command to capture DV in .MXF format.
>
>
> D:\SOFTWARE\ffmpeg\bin>ffmpeg -f dshow -i video="Decklink Video
> Capture":audio="
> Decklink Audio Capture" -vcodec dvvideo -pix_fmt yuv411p -t 10 -metadata
> creatio
> n_time="2012-12-11 11:00:00"  -f mxf -y output.mxf
> ffmpeg version N-45279-g1a104bf Copyright (c) 2000-2012 the FFmpeg
> developers
>   built on Oct 10 2012 19:19:16 with gcc 4.7.2 (GCC)
>   configuration: --enable-gpl --enable-version3 --disable-pthreads
> --enable-runt
> ime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
> --enable-libass -
> -enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-l
> ibfreetype --enable-libgsm --enable-libmp3lame --enable-libnut
> --enable-libopenj
> peg --enable-librtmp --enable-libschroedinger --enable-libspeex
> --enable-libtheo
> ra --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc
> --enable-li
> bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
> --ena
> ble-zlib
>   libavutil      51. 74.100 / 51. 74.100
>   libavcodec     54. 65.100 / 54. 65.100
>   libavformat    54. 31.100 / 54. 31.100
>   libavdevice    54.  3.100 / 54.  3.100
>   libavfilter     3. 19.102 /  3. 19.102
>   libswscale      2.  1.101 /  2.  1.101
>   libswresample   0. 16.100 /  0. 16.100
>   libpostproc    52.  1.100 / 52.  1.100
> [dshow @ 003cb280] 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:audio=Decklink Audio
> Capture
> ':
>   Duration: N/A, start: 2695.931000, 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, mxf, to 'output.mxf':
>   Metadata:
>     creation_time   : 2012-12-11 11:00:00
>     encoder         : Lavf54.31.100
>     Stream #0:0: Video: dvvideo, yuv411p, 720x576, q=2-31, 200 kb/s, 25
> tbn, 25
> tbc
>     Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
> Stream mapping:
>   Stream #0:0 -> #0:0 (rawvideo -> dvvideo)
>   Stream #0:1 -> #0:1 (pcm_s16le -> pcm_s16le)
> Press [q] to stop, [?] for help
> frame=   17 fps=0.0 q=0.0 size=    2098kB time=00:00:00.68
> bitrate=25275.0kbits/
> frame=   30 fps= 30 q=0.0 size=    3892kB time=00:00:01.20
> bitrate=26569.5kbits/
> frame=   42 fps= 28 q=0.0 size=    5985kB time=00:00:01.68
> bitrate=29184.1kbits/
> frame=   55 fps= 27 q=0.0 size=    7779kB time=00:00:02.20
> bitrate=28966.2kbits/
> frame=   68 fps= 27 q=0.0 size=    9573kB time=00:00:02.72
> bitrate=28831.7kbits/
> frame=   80 fps= 26 q=0.0 size=   11517kB time=00:00:03.20
> bitrate=29482.3kbits/
> frame=   93 fps= 26 q=0.0 size=   13311kB time=00:00:03.72
> bitrate=29311.8kbits/
> frame=  105 fps= 26 q=0.0 size=   15404kB time=00:00:04.20
> bitrate=30044.2kbits/
> frame=  118 fps= 26 q=0.0 size=   17198kB time=00:00:04.72
> bitrate=29847.9kbits/
> frame=  131 fps= 26 q=0.0 size=   18992kB time=00:00:05.24
> bitrate=29690.6kbits/
> frame=  143 fps= 26 q=0.0 size=   20935kB time=00:00:05.72
> bitrate=29982.5kbits/
> frame=  156 fps= 26 q=0.0 size=   22879kB time=00:00:06.24
> bitrate=30035.4kbits/
> frame=  169 fps= 26 q=0.0 size=   24673kB time=00:00:06.76
> bitrate=29899.0kbits/
> frame=  181 fps= 26 q=0.0 size=   26616kB time=00:00:07.24
> bitrate=30115.8kbits/
> frame=  194 fps= 26 q=0.0 size=   28560kB time=00:00:07.76
> bitrate=30149.4kbits/
> frame=  206 fps= 26 q=0.0 size=   30354kB time=00:00:08.24
> bitrate=30176.7kbits/
> frame=  219 fps= 26 q=0.0 size=   32297kB time=00:00:08.76
> bitrate=30202.9kbits/
> frame=  232 fps= 26 q=0.0 size=   34241kB time=00:00:09.28
> bitrate=30226.1kbits/
> frame=  244 fps= 25 q=0.0 size=   36035kB time=00:00:09.76
> bitrate=30245.4kbits/
> frame=  250 fps= 25 q=0.0 Lsize=   37381kB time=00:00:10.00
> bitrate=30622.6kbits
> /s dup=3 drop=0
> video:35156kB audio:1875kB subtitle:0 global headers:0kB muxing overhead
> 0.94459
> 1%
>
> i assume i am still missing something because the output.mxf has stokes /
> jitter issue. Also possibly 1 or 2 frames audio / Video Sync out issue . my
> editor is loading the file in Avid to check the output on the broadcast
> monitor.
>
> Regards
>
>
> On Tue, Dec 11, 2012 at 3:34 PM, Carl Eugen Hoyos <cehoyos at ag.or.at>
> wrote:
>
> > Yugant Khanna <yugant <at> gmail.com> writes:
> >
> > > D:\SOFTWARE\ffmpeg\bin>ffmpeg -ss 20 -t 15 -i
> > > "C:\Users\Developer\Documents\Untitled 01.avi"
> > > -vcodec copy -acodec copy -y testMjpeg.avi
> >
> > Note that -t is not an input option.
> >
> > [...]
> >
> > > C:\Users\Developer\Documents\Untitled 01.avi: Permission denied.
> >
> > If there is any software that reads your file
> > but FFmpeg does not, please provide the sample.
> >
> > Please do not top-post on this mailing list,
> > it is considered rude.
> >
> > Carl Eugen
> >
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list