Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5723 closed defect (fixed)

Regression, decoding FFV1 in mov broken

Reported by: rmk Owned by:
Priority: important Component: avformat
Version: git-master Keywords: mov ffv1 regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

./ffmpeg -f lavfi -i "nullsrc=s=256x256:d=1" -c:v ffv1 ffv1.mov
ffmpeg version N-81043-ga49ed9e Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 7.0.2 (clang-700.1.81)
  configuration: 
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 50.100 / 57. 50.100
  libavformat    57. 42.100 / 57. 42.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
Input #0, lavfi, from 'nullsrc=s=256x256:d=1':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 256x256 [SAR 1:1 DAR 1:1], 25 tbr, 25 tbn, 25 tbc
[mov @ 0x7fc6d1001c00] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[mov @ 0x7fc6d1001c00] Using MS style video codec tag, the file may be unplayable!
Output #0, mov, to 'ffv1.mov':
  Metadata:
    encoder         : Lavf57.42.100
    Stream #0:0: Video: ffv1, yuv420p, 256x256 [SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.50.100 ffv1
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> ffv1 (native))
Press [q] to stop, [?] for help
frame=   25 fps=0.0 q=-0.0 Lsize=       3kB time=00:00:00.96 bitrate=  23.0kbits/s speed=42.2x    
video:2kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 44.852940%
krueger@Roberts-MacBook-Pro ~/eclipse-workspaces/lp/c/ffmpeg (master)*$ ./ffmpeg -i ffv1.mov 
ffmpeg version N-81043-ga49ed9e Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 7.0.2 (clang-700.1.81)
  configuration: 
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 50.100 / 57. 50.100
  libavformat    57. 42.100 / 57. 42.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
[ffv1 @ 0x7f824081fa00] Invalid version in global header
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f824080da00] Failed to open codec in av_find_stream_info
[ffv1 @ 0x7f824081fa00] Invalid version in global header
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ffv1.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    encoder         : Lavf57.42.100
  Duration: 00:00:01.00, start: 0.000000, bitrate: 22 kb/s
    Stream #0:0(eng): Video: ffv1 (FFV1 / 0x31564646), none, 256x256, 15 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
    Metadata:
      handler_name    : DataHandler
      encoder         : Lavc57.50.100 ffv1
At least one output file must be specified

Seems to be a regression since 3c058f570128dcfa3a68f0860e2be7f098e8d6e1

Change History (4)

comment:1 by Carl Eugen Hoyos, 8 years ago

Keywords: mov ffv1 regression added

comment:2 by Carl Eugen Hoyos, 8 years ago

Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

comment:3 by Michael Niedermayer, 8 years ago

Resolution: fixed
Status: openclosed

comment:4 by rmk, 8 years ago

Thanks a lot!

Note: See TracTickets for help on using tickets.