[FFmpeg-user] Capture Video from Decklink Video Render
Roger Pack
rogerdpack2 at gmail.com
Mon Dec 17 17:24:15 CET 2012
On 12/16/12, Yugant Khanna <yugant at gmail.com> wrote:
> .. some advancement:
>
> managed to solve the second step , i.e. importing the file to Avid .
>
> *Step 1 *
> I created an MJPEG file using FFMPEG using the following command
> ffmpeg -f dshow -i video="Decklink Video Capture":audio="Decklink Audio
> Capture" -t 30 -r 25 -vcodec mjpeg -qscale 1 -acodec copy -f avi -y aa.avi
Do you want -vcodec copy here? Or does it already skip transcoding?
>
> *Step 2*
> Used the following FFMBC command to create an MXF:
>
> ffmbc.exe -i "aa.avi" -threads 1 -y -tff -flags +alt+ilme+ildct -vf
> format=bgr24,scale=720:575:interl=1,pad=720:576:0:1:black,fieldorder=bff
> -aspect 4:3 -vcodec dvvideo -vtag dvsd -pix_fmt yuv420p -acodec pcm_s16le
> -ar 48000 -ac 2 "anotherTest.mxf"
>
>
>
> the only thing which is left is the segmentation is how to create segments
> i.e. aa001.avi , aa002.avi
> .i need to create a new file every 10 Seconds in step 1 . i even tried a
> small segment command , but doesn't work
>
> D:\SOFTWARE\ffmpeg\bin>ffmpeg -f dshow -i video="Decklink Video
> Capture":audio=
> "Decklink Audio Capture" -t 30 -r 25 -vcodec mjpeg -qscale 1 -acodec copy
> -f seg
> ment -segment_list playlist.m3u8 -segment_list_flags +live -segment_time 10
> out%
> 03d.avi
> 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 @ 021bf020] 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: 5966.172000, 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
> Please use -q:a or -q:v, -qscale is ambiguous
> Output #0, segment, to 'out%03d.avi':
> Output file #0 does not contain any stream
your ffmpeg is a tidge old...
But I'm not sure why it's saying "Output file #0 does not contain any stream"
...
=r
More information about the ffmpeg-user
mailing list