Blank video (swscaler error) on ProRes 422 HQ input files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ffmpeg2theora |
New
|
Undecided
|
Unassigned |
Bug Description
The ffmpeg2theora command line client on OS X fails when using ProRes 422 (HQ) video files as input. ffmpeg parses the incoming file and interprets and reports all its streams properly, but I get an swscaler error (at different hex addresses) during the actual encode process (regardless of whether I'm scaling the video or not).
Command line is as follows:
ffmpeg2theora -V 2850 --two-pass --optimize -x 920 -y 518 --aspect 16:9 -K 120 -A 128 -c 2 -H 48000 -o Output.ogv -i Input.mov
Where Input.mov is a QuickTime ProRes 422 (HQ) file output from Final Cut Pro. The encoder reports the following:
Input #0, mov,mp4,
Metadata:
major_brand : qt
minor_version : 537199360
compatible_
creation_time : 2012-02-02 02:17:14
Duration: 00:02:53.70, start: 0.000000, bitrate: 183004 kb/s
Stream #0.0(eng): Video: Apple ProRes 422 (HQ), 1280x720, 180665 kb/s, PAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr, 5994 tbn, 5994 tbc
Metadata:
creation_time : 2012-02-02 02:17:14
Stream #0.1(eng): Audio: pcm_s24le, 48000 Hz, 2 channels, s32, 2304 kb/s
Metadata:
creation_time : 2012-02-02 02:17:14
Stream #0.2(eng): Data: tmcd / 0x64636D74
Metadata:
creation_time : 2012-02-02 02:20:42
Pixel Aspect Ratio: 1.00/1 Frame Aspect Ratio: 1.78/1
Then I get the following error:
[swscaler @ 0x1894600] (null) is not supported as input pixel format
The encoder then starts the first pass, but reports the error again.
Scanning first pass pos: 0:02:53.70 ET: 00:00:00 [swscaler @ 0x1892c00] (null) is not supported as input pixel format
And the encoder will finish the encode, but the result is a blank file (all black) with audio and no picture.
I have a similar problem trying to convert ProRes422 MOV files to OGV with ffmpeg2theora-0.28 on MacOS 10.6.8: ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= == ColorReel_ v10a_2011Jan17_ Superless. mov m4a,3gp, 3g2,mj2, from 'JohnPilgrim_ ColorReel_ v10a_2011Jan17_ Superless. mov': brands: qt
=======
Prompt $ ffmpeg2theora --videoquality 8 JohnPilgrim_
Input #0, mov,mp4,
Metadata:
major_brand : qt
minor_version : 537199360
compatible_
creation_time : 2011-01-18 03:00:54
Duration: 00:03:00.18, start: 0.000000, bitrate: 102480 kb/s
Stream #0.0(eng): Video: Apple ProRes 422, 1920x1080, 100153 kb/s, PAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 23976 tbn, 23976 tbc
Metadata:
creation_time : 2011-01-18 03:00:54
Stream #0.1(eng): Audio: pcm_s24le, 48000 Hz, 2 channels, s32, 2304 kb/s
Metadata:
creation_time : 2011-01-18 03:00:54
Stream #0.2(eng): Data: tmcd / 0x64636D74
Metadata:
creation_time : 2011-01-18 03:03:41
Pixel Aspect Ratio: 1.00/1 Frame Aspect Ratio: 1.78/1
[swscaler @ 0x18c6800] (null) is not supported as input pixel format
0:03:00.17 audio: 80kbps video: 0kbps, ET: 00:00:00, est. size: 1.7 MB ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==
0:03:00.18 audio: 80kbps video: 0kbps, time elapsed: 00:00:08
=======
ProRes is a very common intermediate and mastering codec in Mac video post-production workflows,
and really needs to work with ffmpeg2theora.