Opened 10 years ago

Closed 10 years ago

#3555 closed defect (fixed)

asf interleaving regression

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

Description

http://thread.gmane.org/gmane.comp.video.ffmpeg.user/51175

Muxing rawvideo and rawaudio into asf works badly since 3adb5f8d

$ ffmpeg -i intermission.wmv -vcodec rawvideo -acodec pcm_s16le out.asf
ffmpeg version N-62427-gca6dd53 Copyright (c) 2000-2014 the FFmpeg developers
  built on Apr 13 2014 16:32:08 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 76.100 / 52. 76.100
  libavcodec     55. 58.103 / 55. 58.103
  libavformat    55. 37.100 / 55. 37.100
  libavdevice    55. 13.100 / 55. 13.100
  libavfilter     4.  4.100 /  4.  4.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, asf, from 'intermission.wmv':
  Metadata:
    WMFSDKNeeded    : 0.0.0.0000
    DeviceConformanceTemplate: MP@LL
    WM/WMADRCPeakReference: 32767
    WM/WMADRCAverageReference: 6698
    WMFSDKVersion   : 9.00.00.2925
    IsVBR           : 0
  Duration: 00:00:40.00, start: 0.000000, bitrate: 229 kb/s
    Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, stereo, fltp, 64 kb/s
    Stream #0:1(eng): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 320x240, 300 kb/s, 30 tbr, 1k tbn, 1k tbc
Output #0, asf, to 'out.asf':
  Metadata:
    WMFSDKNeeded    : 0.0.0.0000
    DeviceConformanceTemplate: MP@LL
    WM/WMADRCPeakReference: 32767
    WM/WMADRCAverageReference: 6698
    WMFSDKVersion   : 9.00.00.2925
    IsVBR           : 0
    WM/EncodingSettings: Lavf55.37.100
    Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240, q=2-31, 200 kb/s, 1k tbn, 30 tbc
    Stream #0:1(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (wmv3 -> rawvideo)
  Stream #0:0 -> #0:1 (wmav2 -> pcm_s16le)
Press [q] to stop, [?] for help
[wmav2 @ 0x2cb6ba0] nb_frames is 0
Error while decoding stream #0:0: Invalid data found when processing input
frame= 1200 fps=0.0 q=0.0 Lsize=  144086kB time=00:00:40.01 bitrate=29496.2kbits/s dup=1 drop=0  
video:135000kB audio:7512kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.104240%

The output file plays very badly with ffplay, it has A/V sync issues with vlc, current MPlayer plays no audio, older MPlayer and current MPlayer with -demuxer lavf report after ~23 seconds:

Too many video packets in the buffer: (292 in 33638400 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.

Attachments (1)

intermission.wmv (1.1 MB ) - added by Carl Eugen Hoyos 10 years ago.

Download all attachments as: .zip

Change History (2)

by Carl Eugen Hoyos, 10 years ago

Attachment: intermission.wmv added

comment:1 by Michael Niedermayer, 10 years ago

Reproduced by developer: set
Resolution: fixed
Status: newclosed

this seems to have been fixed
id guess it was 369cdf917aaa5d7fbc61d57f87e638772e806716 but didnt double check

Note: See TracTickets for help on using tickets.