Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#3046 closed defect (fixed)

H.264 in avi: unknown codec

Reported by: llogan Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: h264 avi umsv
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

$ ffmpeg -probesize 2G -analyzeduration 2G -i unknown_codec_h264.avi 
ffmpeg version N-57073-gfd54f70 Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 12 2013 12:58:49 with gcc 4.8.1 (GCC) 20130725 (prerelease)
  configuration: --enable-gpl
  libavutil      52. 46.101 / 52. 46.101
  libavcodec     55. 35.100 / 55. 35.100
  libavformat    55. 19.100 / 55. 19.100
  libavdevice    55.  4.100 / 55.  4.100
  libavfilter     3. 88.101 /  3. 88.101
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
[avi @ 0x222c300] Could not find codec parameters for stream 0 (Video: none (UMSV / 0x56534D55), 352x240): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Guessed Channel Layout for  Input Stream #0.1 : mono
Input #0, avi, from 'unknown_codec_h264.avi':
  Duration: 00:00:48.47, start: 0.000000, bitrate: 845 kb/s
    Stream #0:0: Video: none (UMSV / 0x56534D55), 352x240, 30 fps, 30 tbr, 30 tbn, 30 tbc
    Stream #0:1: Audio: pcm_mulaw ([7][0][0][0] / 0x0007), 8000 Hz, mono, s16, 64 kb/s
At least one output file must be specified
$ ffmpeg -vcodec h264 -i unknown_codec_h264.avi 
ffmpeg version N-57073-gfd54f70 Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 12 2013 12:58:49 with gcc 4.8.1 (GCC) 20130725 (prerelease)
  configuration: --enable-gpl
  libavutil      52. 46.101 / 52. 46.101
  libavcodec     55. 35.100 / 55. 35.100
  libavformat    55. 19.100 / 55. 19.100
  libavdevice    55.  4.100 / 55.  4.100
  libavfilter     3. 88.101 /  3. 88.101
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.1 : mono
Input #0, avi, from 'unknown_codec_h264.avi':
  Duration: 00:00:48.47, start: 0.000000, bitrate: 845 kb/s
    Stream #0:0: Video: h264 (Constrained Baseline) (UMSV / 0x56534D55), yuv420p, 352x240, 30 fps, 30 tbr, 30 tbn, 60 tbc
    Stream #0:1: Audio: pcm_mulaw ([7][0][0][0] / 0x0007), 8000 Hz, mono, s16, 64 kb/s
At least one output file must be specified

Attachments (1)

unknown_codec_h264.avi (2.2 MB) - added by llogan 6 years ago.

Change History (5)

Changed 6 years ago by llogan

comment:1 Changed 6 years ago by cehoyos

  • Component changed from undetermined to avformat
  • Reproduced by developer set
  • Status changed from new to open

Do you know what produced this sample? This would allow a useful comment in riff.c.

comment:2 Changed 6 years ago by llogan

Not at the moment and I haven't heard back from the user that provided the file, but I'll leave a comment when or if I do get more information.

comment:3 Changed 6 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from open to closed

Fixed in f7ed044ee.

comment:4 Changed 6 years ago by compn

http://www.cacaotools.com/board_view.php?kind=qna&ind=8027
mentions 'CCTV Yong'

so i assume it to be yet another chinese cctv dvr camera hardware fourcc.

Note: See TracTickets for help on using tickets.