[FFmpeg-user] to make ffv1 from uncompressed 10 bit avi ( decklink capture )

Jim Shupert jshupert at pps-inc.com
Tue Jun 14 19:54:27 CEST 2011


friends,

I have a ubuntu 10.04 64 bit machine  with a blackmagic decklink card
I am capturing a 10 bit uncompressed avi [ v210 ] using mediaexpress.
that i wish to transcode into several things - one being a ffv1 file w pcm audio.

i get an error of
*Error while opening encoder for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height*

below please find the ffmpeg command   and then some mediainfo details on the source file.

Maybe i need to tell ffmpeg something about the input file ( 005-10bit.avi )

I would be grateful for any good advice .

Thanks

-j

ss at aldrin:~$ ffmpeg -i /media/data/cap/005-10bit.avi -vcodec ffv1
-acodec pcm_s16le /media/data/cap/005_ffv1.mov

ffmpeg version git-N-30697-g36204ed, Copyright (c) 2000-2011 the FFmpeg
developers
   built on Jun 13 2011 12:00:18 with gcc 4.4.3
   configuration: --enable-gpl --enable-version3 --enable-nonfree
--enable-postproc --enable-libfaac --enable-libx264 --enable-libxvid
--enable-x11grab --enable-libmp3lame --enable-libvpx --arch=x86_64
   libavutil    51.  8. 0 / 51.  8. 0
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  3. 0 / 53.  3. 0
   libavdevice  53.  1. 1 / 53.  1. 1
   libavfilter   2. 15. 0 /  2. 15. 0
   libswscale    0. 14. 1 /  0. 14. 1
   libpostproc  51.  2. 0 / 51.  2. 0
Input #0, avi, from '/media/data/cap/005-10bit.avi':
   Duration: 00:00:18.35, start: 0.000000, bitrate: 226597 kb/s
     Stream #0.0: Video: v210, yuv422p10le, 720x486, 29.97 fps, 29.97 tbr,
29.97 tbn, 29.97 tbc
     Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
File '/media/data/cap/005_ffv1.mov' already exists. Overwrite ? [y/N] y
[buffer @ 0x1c646c0] w:720 h:486 pixfmt:yuv422p10le tb:1/1000000 sar:0/1
sws_param:
[ffv1 @ 0x1c62e60] bits_per_raw_sample of more than 8 needs -coder 1
currently
Output #0, mov, to '/media/data/cap/005_ffv1.mov':
     Stream #0.0: Video: ffv1, yuv422p10le, 720x486, q=2-31, 200 kb/s, 90k
tbn, 29.97 tbc
     Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Stream mapping:
   Stream #0.0 ->  #0.0
   Stream #0.1 ->  #0.1
Error while opening encoder for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height
ss at aldrin:~$


ubuntu 10.04 64bit

blackmagic decklink sdi  media express

mediainfo on the 10 bit uncompressed avi

ss at aldrin:~$ mediainfo /media/data/cap/005-10bit.avi
General
Complete name                    : /media/data/cap/005-10bit.avi
Format                           : AVI
Format/Info                      : Audio Video Interleave
File size                        : 496 MiB
Duration                         : 18s 352ms
Overall bit rate                 : 227 Mbps

Video
ID                               : 0
Format                           : v210
Codec ID                         : v210
Duration                         : 18s 352ms
Bit rate                         : 224 Mbps
Width                            : 720 pixels
Height                           : 486 pixels
Display aspect ratio             : 3:2
Frame rate                       : 29.970 fps
Standard                         : NTSC
Bit depth                        : 10 bits
Bits/(Pixel*Frame)               : 21.333
Stream size                      : 489 MiB (99%)

Audio
ID                               : 1
Format                           : PCM
Format settings, Endianness      : Little
Format settings, Sign            : Signed
Codec ID                         : 1
Codec ID/Hint                    : Microsoft
Duration                         : 18s 352ms
Bit rate mode                    : Constant
Bit rate                         : 1 536 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Stream size                      : 3.36 MiB (1%)
Interleave, duration             : 1020 ms (30.56 video frames)

thanks

j



More information about the ffmpeg-user mailing list