Opened 10 years ago

Closed 9 years ago

#3521 closed defect (fixed)

asf demuxing problem

Reported by: Carl Eugen Hoyos Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: asf
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

http://samples.ffmpeg.org/A-codecs/VoxWare/Lucky.asf
The file shows artefacts and prints errors after seven seconds with FFmpeg (and mplayer -demuxer lavf) but plays fine with mplayer -demuxer asf.

$ ffmpeg -i Lucky.asf -qscale 2 -t 20 out.avi
ffmpeg version N-62040-gcecb6d6 Copyright (c) 2000-2014 the FFmpeg developers
  built on Apr  2 2014 10:30:18 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 71.100 / 52. 71.100
  libavcodec     55. 56.107 / 55. 56.107
  libavformat    55. 36.100 / 55. 36.100
  libavdevice    55. 11.100 / 55. 11.100
  libavfilter     4.  3.100 /  4.  3.100
  libswscale      2.  5.102 /  2.  5.102
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
[asf @ 0x37c5900] Estimating duration from bitrate, this may be inaccurate
Input #0, asf, from 'Lucky.asf':
  Duration: 00:05:27.68, start: 0.000000, bitrate: 16 kb/s
    Stream #0:0: Audio: metasound (u[0][0][0] / 0x0075), 16000 Hz, mono, fltp, 16 kb/s
    Stream #0:1: Video: msmpeg4v2 (MP42 / 0x3234504D), yuv420p, 240x176, 15 tbr, 1k tbn, 1k tbc
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf55.36.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 240x176, q=2-31, 200 kb/s, 15 tbn, 15 tbc
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 16000 Hz, mono, fltp, 96 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (msmpeg4v2 -> mpeg4)
  Stream #0:0 -> #0:1 (metasound -> ac3)
Press [q] to stop, [?] for help
[asf @ 0x37c5900] packet_obj_size invalid
[asf @ 0x37c5900] ff asf skip 0 (unknown stream)
[asf @ 0x37c5900] ff asf bad header 0  at:110003
[asf @ 0x37c5900] ff asf skip 780 (unknown stream)
[asf @ 0x37c5900] ff asf bad header d9  at:110810
[asf @ 0x37c5900] invalid padsize 226944923 at:110815
[asf @ 0x37c5900] ff asf bad header 4a  at:110858
[asf @ 0x37c5900] unexpected packet_replic_size of 4
[asf @ 0x37c5900] packet_obj_size invalid
    Last message repeated 7 times
[asf @ 0x37c5900] ff asf skip 56938 (unknown stream)
[asf @ 0x37c5900] ff asf bad header 13  at:168156
[asf @ 0x37c5900] invalid padsize 29851 at:168158
[asf @ 0x37c5900] freeing incomplete packet size 1645, new 648
frame=  218 fps=0.0 q=2.0 Lsize=     772kB time=00:00:20.06 bitrate= 315.4kbits/s
video:573kB audio:178kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.891387%

Change History (1)

comment:1 by Michael Niedermayer, 9 years ago

Reproduced by developer: set
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.