Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1066 closed defect (worksforme)

ProRes Scaling using the "-vf scale" filter produces a green output

Reported by: dfred Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: prores
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Objective: To scale a 2048x854 ProRes422HQ video to a half-size ProRes422Proxy

Problem: Output comes out all green.

Notes:
1) When I don't scale, the ProRes422Proxy comes out fine using "avcodec copy".
2) If I start with a ProRes422Proxy at half-size it works if I just do "-avcodec copy" with no scaling. So, it seems to be the scaling filter that causes a problem.
3) Even if I try to scale using the same ProRes? codec the output comes out green.

Command Line:

ffmpeg -i cockpit_ProResHQ_2048x854.mov -vcodec prores -profile 0 -vf scale=iw/2:-1 -acodec copy cockpit_ProResProxy_1024x427.mov

OS Report: Using ffmpeg-devel from MacPorts? on Mac OS 10.6.8

Report Output:

ffmpeg version 0.8.5.git, Copyright (c) 2000-2011 the FFmpeg developers

built on Mar 13 2012 23:10:56 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
configuration: --prefix=/opt/local --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libxvid --enable-libx264 --enable-libvpx --enable-libspeex --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/gcc-4.2 --enable-nonfree --enable-libfaac --arch=x86_64 --enable-yasm
libavutil 51. 23. 0 / 51. 23. 0
libavcodec 53. 27. 0 / 53. 27. 0
libavformat 53. 18. 0 / 53. 18. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 45. 3 / 2. 45. 3
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200ee00] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200ee00] ISO: File Type Major Brand: qt
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200ee00] Unimplemented container channel layout.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200ee00] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[prores @ 0x10200fa00] err{or,}_recognition separate: 1; 1
[prores @ 0x10200fa00] err{or,}_recognition combined: 1; 1
[pcm_s32be @ 0x102071200] err{or,}_recognition separate: 1; 1
[pcm_s32be @ 0x102071200] err{or,}_recognition combined: 1; 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200ee00] Probe buffer size limit 5000000 reached

Seems stream 0 codec frame rate differs from container frame rate: 23976.00 (23976/1) -> 23.98 (2997/125)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'HiRes?/cockpit_ProResHQ_2048x854.mov':

Metadata:

major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2012-03-07 21:39:19

Duration: 00:00:00.41, start: 0.000000, bitrate: 169288 kb/s

Stream #0:0(eng), 6, 1/23976: Video: prores (apch / 0x68637061), yuv422p10le, 2048x854, 1/23976, 167638 kb/s, 23.98 fps, 23.98 tbr, 23976 tbn, 23976 tbc
Metadata:

creation_time : 2012-03-07 21:39:19
handler_name : ?Apple Alias Data Handler

Stream #0:1(eng), 0, 1/48000: Audio: pcm_s32be (lpcm / 0x6D63706C), 48000 Hz, 1 channels, s32, 1536 kb/s
Metadata:

creation_time : 2012-03-07 21:39:19
handler_name : ?Apple Alias Data Handler

Stream #0:2(eng), 0, 1/23976: Data: none (tmcd / 0x64636D74)
Metadata:

creation_time : 2012-03-07 21:39:19
handler_name : ?Apple Alias Data Handler

At least one output file must be specified

Attachments (2)

cockpit_ProResHQ_2048x854_sample.mov (925.0 KB) - added by dfred 4 years ago.
cockpit_ProResProxy_1024x427_GreenOutput_sample.mov (47.3 KB) - added by dfred 4 years ago.
This is the green proxy output of the high-resolution "cockpit" file.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by dfred

Changed 4 years ago by dfred

This is the green proxy output of the high-resolution "cockpit" file.

comment:1 in reply to: ↑ description Changed 4 years ago by cehoyos

  • Keywords ffmpeg macports mac scale vf mov quicktime proxy removed

Replying to dfred:

ffmpeg version 0.8.5.git, Copyright (c) 2000-2011 the FFmpeg developers

This looks old, please try current git head.

comment:2 Changed 4 years ago by cehoyos

  • Resolution set to worksforme
  • Status changed from new to closed

Please reopen if this problem is reproducible with a current FFmpeg version.

comment:3 Changed 4 years ago by dfred

It seems to be working with the new MacPorts? update:

ffmpeg version 0.9.1.git-69174fa Copyright (c) 2000-2012 the FFmpeg developers

built on Mar 26 2012 16:23:24 with clang 2.0 (tags/Apple/clang-138)
configuration: --prefix=/opt/local --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libxvid --enable-libx264 --enable-libvpx --enable-libspeex --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-nonfree --enable-libfaac
libavutil 51. 42.100 / 51. 42.100
libavcodec 54. 10.100 / 54. 10.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 65.100 / 2. 65.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100

Thanks.

Note: See TracTickets for help on using tickets.