Please login or register. November 13, 2018, 03:47:57 PM

Author Topic: Uncooperative codecs  (Read 6178 times)

hdvprojection

  • Full Member
  • ****
  • Posts: 218
    • View Profile
Uncooperative codecs
« on: January 22, 2013, 06:33:07 AM »
I didn't see a sticky for just this issue, and maybe it deserves it, maybe not, but I definitely need help with this right now.

I'm trying to extract frames from an Apple Quicktime MOV ProRes with a rather problematic codec, at least for someone who does not work on Apple anything: m2v1. My Ubuntu system identifies it as x-gst-fourcc-ap4h, but whatever it's called, it's producing some truly odd tiffs. When I run ffmpeg, the resulting frames look great, so long as there is no red in the picture; if any red is present there is major pixelation around it. And I mean major, like blocks of eight-by-eight pixels, or even bigger.

Alternately, I tried extracting the frames with Adobe Media Encoder from CS5. Here the reds show what look like interlacing artifacts during scenes with movement, but again it only seems to be obvious with the reds. The whole thing is obscenely annoying, and I'd appreciate help getting the right results.

I'll be trying to fix this tomorrow at work with my Adobe CS6, toying with some progressive scan features. In the meantime, has anyone had any luck on Linux encoding proprietary Apple stuff? Thanks in advance.

mytbyte

  • New Member
  • **
  • Posts: 32
    • View Profile
Re: Uncooperative codecs
« Reply #1 on: February 16, 2013, 05:59:05 AM »
please can you run the .mov through this software: http://mediainfo.sourceforge.net/en/Download an report back the text listing of everything it reports (except title if not appropriate)..pixlelation at the boundaries of broad areas of red could be the chroma subsampling error: http://en.wikipedia.org/wiki/Chroma_subsampling that your decoder (ffmpeg) doesn't cope with very well...welcome to the wonderful world of 4:2:0 chroma resolution mess...

hdvprojection

  • Full Member
  • ****
  • Posts: 218
    • View Profile
Re: Uncooperative codecs
« Reply #2 on: February 19, 2013, 07:02:23 AM »
General
Complete name                            : /home/hdv/Videos/Work/DCPs/B&A/011513_MASTER_v2_prores.mov
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt 
File size                                : 42.2 GiB
Duration                                 : 19mn 41s
Overall bit rate mode                    : Variable
Overall bit rate                         : 307 Mbps
Encoded date                             : UTC 2013-01-15 22:13:17
Tagged date                              : UTC 2013-01-15 22:29:49
Writing library                          : Apple QuickTime
Media/UUID                               : 6165BA82-BAC1-444C-B3EB-FC22DC58FDA9

Video
ID                                       : 1
Format                                   : ProRes
Format version                           : Version 1
Codec ID                                 : ap4h
Duration                                 : 19mn 41s
Bit rate mode                            : Variable
Bit rate                                 : 305 Mbps
Width                                    : 1 888 pixels
Original width                           : 1 920 pixels
Height                                   : 1 062 pixels
Original height                          : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 29.970 fps
Color space                              : YUV
Chroma subsampling                       : 4:4:4
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 5.078
Stream size                              : 42.0 GiB (99%)
Writing library                          : Apple
Language                                 : English
Encoded date                             : UTC 2013-01-15 22:13:17
Tagged date                              : UTC 2013-01-15 22:29:49
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : PCM
Format settings, Endianness              : Little
Format settings, Sign                    : Signed
Codec ID                                 : sowt
Duration                                 : 19mn 41s
Bit rate mode                            : Constant
Bit rate                                 : 1 536 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Stream size                              : 216 MiB (1%)
Language                                 : English
Encoded date                             : UTC 2013-01-15 22:13:17
Tagged date                              : UTC 2013-01-15 22:29:49

Menu
ID                                       : 3
Duration                                 : 19mn 41s
Language                                 : English
Encoded date                             : UTC 2013-01-15 22:29:49
Tagged date                              : UTC 2013-01-15 22:29:49


hdvprojection

  • Full Member
  • ****
  • Posts: 218
    • View Profile
Re: Uncooperative codecs
« Reply #3 on: February 22, 2013, 06:44:17 AM »
I'm pretty sure this is nothing more than an Apple-only codec that does not play well with others.

mytbyte

  • New Member
  • **
  • Posts: 32
    • View Profile
Re: Uncooperative codecs
« Reply #4 on: February 24, 2013, 02:18:33 PM »
agreed, there is nothing to indicate problems with compression, it's 4:4:4 so no problem there...it should be checked on a Windows or Mac...the only cause in my mind could be that this footage was captured on an inferior camera with 4:2:0 subsampling in interlace or PsF mode and later edited to ProRes...of cousre, any inferiorites of the source just get conserved but not eliinated when upgraded to a superior (!) codec like ProRes...

hdvprojection

  • Full Member
  • ****
  • Posts: 218
    • View Profile
Re: Uncooperative codecs
« Reply #5 on: February 24, 2013, 05:39:26 PM »
Won't render properly on Windows nor on Linux. Perfect on Mac. It's proprietary high-jacking, pure and simple.
« Last Edit: February 24, 2013, 10:01:27 PM by hdvprojection »

mytbyte

  • New Member
  • **
  • Posts: 32
    • View Profile
Re: Uncooperative codecs
« Reply #6 on: February 25, 2013, 05:56:48 AM »
Oooh...so that's the case after all..I don't work with Prores almost at all, and I think I will not accept it in future if Windows don't work well with it...

dcinemaforum.com

Re: Uncooperative codecs
« Reply #6 on: February 25, 2013, 05:56:48 AM »