#5771(undetermined:new): avi with defect header won't work
#5771: avi with defect header won't work -------------------------------------+------------------------------------- Reporter: the_gamer | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Summary of the bug: I can't ffmpeg get to cooperate with any videos created with the catcam http://www.mr-lee-catcam.de/ Videos work in vlc, windows media player, mplayer and mencoder can convert them. But ffmpeg won't do anything. How to reproduce: $ ffmpeg -c:v avrn -loglevel trace -an -r:v 30 -i PICT0001.AVI -vf scale=640:480 -an katze.mpg ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 6.1.1 (GCC) 20160707 configuration: --prefix=/usr --disable-debug --disable-static --disable- stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable- libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable- libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable- libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable- libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf --enable-shared --enable-version3 --enable-x11grab libavutil 55. 28.100 / 55. 28.100 libavcodec 57. 48.101 / 57. 48.101 libavformat 57. 41.100 / 57. 41.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 47.100 / 6. 47.100 libavresample 3. 0. 0 / 3. 0. 0 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 1.100 / 2. 1.100 libpostproc 54. 0.100 / 54. 0.100 Splitting the commandline. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'avrn'. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'trace'. Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'. Reading option '-r:v' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '30'. Reading option '-i' ... matched as input file with argument 'PICT0001.AVI'. Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'scale=640:480'. Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'. Reading option 'katze.mpg' ... matched as output file. Finished splitting the commandline. Parsing a group of options: global . Applying option loglevel (set logging level) with argument trace. Successfully parsed a group of options. Parsing a group of options: input file PICT0001.AVI. Applying option c:v (codec name) with argument avrn. Applying option an (disable audio) with argument 1. Applying option r:v (set frame rate (Hz value, fraction or abbreviation)) with argument 30. Successfully parsed a group of options. Opening an input file: PICT0001.AVI. [file @ 0x55e8ab72c060] Setting default whitelist 'file,crypto' Probing avi score:100 size:2048 [avi @ 0x55e8ab72b820] Format avi probed with size=2048 and score=100 [avi @ 0x55e8ab72bf80] use odml:1 pos:14 tag: tag=LIST size=0x154 pos:18 list: tag=hdrl size=0x0 pos:20 tag: tag=avih size=0x38 pos:60 tag: tag=LIST size=0xa4 pos:64 list: tag=strl size=0x0 pos:6C tag: tag=strh size=0x38 pos:74 strh: tag=vids size=0xffffffff [avi @ 0x55e8ab72b820] 1000000 33333 0 pos:AC tag: tag=strf size=0x28 pos:D4 video: tag=MJPG size=0x0 pos:DC tag: tag=strd size=0x28 pos:10C tag: tag=LIST size=0x5c pos:110 list: tag=strl size=0x0 pos:118 tag: tag=strh size=0x38 pos:120 strh: tag=auds size=0xffffffff [avi @ 0x55e8ab72b820] scale/rate is 1/0 which is invalid. (This file has been generated by broken software.) [avi @ 0x55e8ab72b820] 1000000 33333 1 pos:158 tag: tag=strf size=0x10 [avi @ 0x55e8ab72b820] Invalid sample rate: 0 [AVIOContext @ 0x55e8ab7343a0] Statistics: 32768 bytes read, 0 seeks PICT0001.AVI: Invalid data found when processing input -- Ticket URL: <https://trac.ffmpeg.org/ticket/5771> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5771: avi with defect header won't work -------------------------------------+------------------------------------ Reporter: the_gamer | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: avi | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by cehoyos): * keywords: => avi * component: undetermined => avformat Comment: Please provide a sample video. -- Ticket URL: <https://trac.ffmpeg.org/ticket/5771#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5771: avi with defect header won't work -------------------------------------+------------------------------------ Reporter: the_gamer | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: unspecified | Resolution: Keywords: avi | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by the_gamer): I can only provide temporaly but here is a sample: https://drive.google.com/file/d/0B2OzieSeNyaYdW5LdkxYQk9aVHc/view?usp=sharin... -- Ticket URL: <https://trac.ffmpeg.org/ticket/5771#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5771: avi with defect header won't work -------------------------------------+------------------------------------- Reporter: the_gamer | Owner: Type: defect | Status: open Priority: important | Component: avformat Version: git-master | Resolution: Keywords: avi | Blocked By: regression | Reproduced by developer: 1 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: avi => avi regression * priority: normal => important * version: unspecified => git-master * status: new => open * reproduced: 0 => 1 Comment: Regression since 5badcfe2 / d07aa3f0 -- Ticket URL: <https://trac.ffmpeg.org/ticket/5771#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5771: avi with defect header won't work -------------------------------------+------------------------------------- Reporter: the_gamer | Owner: Type: enhancement | Status: open Priority: minor | Component: avformat Version: git-master | Resolution: Keywords: avi | Blocked By: regression | Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by robijn): * priority: important => minor * type: defect => enhancement Comment: VLC also tells me the header is defective. This is a bug in catcam, not in ffmpeg. Send them a bug report. -- Ticket URL: <https://trac.ffmpeg.org/ticket/5771#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5771: avi with defect header won't work -------------------------------------+------------------------------------- Reporter: the_gamer | Owner: Type: enhancement | Status: open Priority: important | Component: avformat Version: git-master | Resolution: Keywords: avi | Blocked By: regression | Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * priority: minor => important -- Ticket URL: <https://trac.ffmpeg.org/ticket/5771#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5771: avi with defect header won't work -------------------------------------+------------------------------------- Reporter: the_gamer | Owner: Type: defect | Status: open Priority: important | Component: avformat Version: git-master | Resolution: Keywords: avi | Blocked By: regression | Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * type: enhancement => defect -- Ticket URL: <https://trac.ffmpeg.org/ticket/5771#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5771: avi with defect header won't work -------------------------------------+------------------------------------- Reporter: the_gamer | Owner: (none) Type: defect | Status: open Priority: important | Component: avformat Version: git-master | Resolution: Keywords: avi | Blocked By: regression | Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Bonesy): Replying to [comment:4 robijn]:
VLC also tells me the header is defective. This is a bug in catcam, not in ffmpeg. Send them a bug report.
That may be so, but the beauty of ffmpeg is that it can usually handle these situations. And an example was attached so that devs can figure out how exactly to handle this since playback works fine. A warning message would be nice, but if processing can still occur that would be ideal. Sometimes you just want to get it away from the avi format and into something else that doesn't have errors. -- Ticket URL: <https://trac.ffmpeg.org/ticket/5771#comment:7> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg