Opened 14 years ago

Closed 14 years ago

#191 closed defect (fixed)

yuv422p10le ffv1 is misidentified as yuv422p16le

Reported by: dave rice Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

After losslessly encoding 10 bit video to ffv1, the resulting file is interpreted as 16 bit.

ffmpeg -i v210.mov -vcodec ffv1 -coder 1 -an v210_2_ffv1.mov
ffmpeg version git-N-29812-g0f6bbc5, Copyright (c) 2000-2011 the FFmpeg developers
  built on May 11 2011 11:04:16 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --enable-libopenjpeg --enable-gpl --enable-libfreetype --enable-frei0r --enable-libx264 --enable-shared
  libavutil    51.  2. 1 / 51.  2. 1
  libavcodec   53.  5. 0 / 53.  5. 0
  libavformat  53.  0. 3 / 53.  0. 3
  libavdevice  53.  0. 0 / 53.  0. 0
  libavfilter   2.  5. 0 /  2.  5. 0
  libswscale    0. 14. 0 /  0. 14. 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x101012400] Unimplemented container channel layout.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x101012400] 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.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x101012400] Unimplemented container channel layout.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x101012400] 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.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x101012400] Unimplemented container channel layout.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x101012400] 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.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x101012400] Unimplemented container channel layout.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x101012400] 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.

Seems stream 0 codec frame rate differs from container frame rate: 2997.00 (2997/1) -> 29.97 (2997/100)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'v210.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2011-05-03 02:12:03
  Duration: 00:00:06.43, start: 0.005005, bitrate: 228341 kb/s
    Stream #0.0(eng): Video: v210, yuv422p10le, 720x486, 223724 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc
    Metadata:
      creation_time   : 2011-05-03 02:12:03
    Stream #0.1(eng): Data: c608 / 0x38303663, 4 kb/s
    Metadata:
      creation_time   : 2011-05-03 02:12:03
    Stream #0.2(eng): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Metadata:
      creation_time   : 2011-05-03 02:12:03
    Stream #0.3(eng): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Metadata:
      creation_time   : 2011-05-03 02:12:03
    Stream #0.4(eng): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Metadata:
      creation_time   : 2011-05-03 02:12:03
    Stream #0.5(eng): Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Metadata:
      creation_time   : 2011-05-03 02:12:03
[buffer @ 0x100f08680] w:720 h:486 pixfmt:yuv422p10le tb:1/1000000 sar:0/1
[mov @ 0x101031600] Warning, using MS style video codec tag, the file may be unplayable!
Output #0, mov, to 'v210_2_ffv1.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2011-05-03 02:12:03
    encoder         : Lavf53.0.3
    Stream #0.0(eng): Video: ffv1, yuv422p10le, 720x486, q=2-31, 200 kb/s, 2997 tbn, 29.97 tbc
    Metadata:
      creation_time   : 2011-05-03 02:12:03
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=  193 fps= 17 q=0.0 Lsize=   67020kB time=6.44 bitrate=85255.9kbits/s    
video:67018kB audio:0kB global headers:0kB muxing overhead 0.003353%
ffmpeg -i v210_2_ffv1.mov
ffmpeg version git-N-29812-g0f6bbc5, Copyright (c) 2000-2011 the FFmpeg developers
  built on May 11 2011 11:04:16 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --enable-libopenjpeg --enable-gpl --enable-libfreetype --enable-frei0r --enable-libx264 --enable-shared
  libavutil    51.  2. 1 / 51.  2. 1
  libavcodec   53.  5. 0 / 53.  5. 0
  libavformat  53.  0. 3 / 53.  0. 3
  libavdevice  53.  0. 0 / 53.  0. 0
  libavfilter   2.  5. 0 /  2.  5. 0
  libswscale    0. 14. 0 /  0. 14. 0

Seems stream 0 codec frame rate differs from container frame rate: 2997.00 (2997/1) -> 29.97 (2997/100)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'v210_2_ffv1.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    creation_time   : 1970-01-01 00:00:00
    encoder         : Lavf53.0.3
  Duration: 00:00:06.43, start: 0.000000, bitrate: 85255 kb/s
    Stream #0.0(eng): Video: ffv1, yuv422p16le, 720x486, 85253 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00

Change History (1)

comment:1 by Michael Niedermayer, 14 years ago

Component: undeterminedavcodec
Reproduced by developer: set
Resolution: fixed
Status: newclosed
Version: unspecifiedgit-master
Note: See TracTickets for help on using tickets.