Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1005 closed enhancement (fixed)

cdxl: audio/video is out of sync

Reported by: ami_stuff Owned by:
Priority: wish Component: avformat
Version: git-master Keywords:
Cc: onemda@gmail.com Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

plays in sync with cdxlplay

http://aminet.net/pix/anim/AminetEarthXL.lha

C:\>ffmpeg -i AminetEarth.CDXL out.avi
ffmpeg version N-37998-g57182b9 Copyright (c) 2000-2012 the FFmpeg developers
  built on Feb 19 2012 02:24:39 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc
14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapshots/buil
d/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/snapshots/b
uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --enable-n
onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-libopencor
e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 39.100 / 51. 39.100
  libavcodec     54.  3.100 / 54.  3.100
  libavformat    54.  1.100 / 54.  1.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 62.101 /  2. 62.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
[cdxl @ 0x1d69bc0] max_analyze_duration 5000000 reached at 5000000
[cdxl @ 0x1d69bc0] Estimating duration from bitrate, this may be inaccurate
Input #0, cdxl, from 'AminetEarth.CDXL':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: cdxl, bgr24, 162x130, 10 fps, 10 tbr, 10 tbn
    Stream #0:1: Audio: pcm_s8, 11025 Hz, 1 channels, u8, 88 kb/s
Incompatible pixel format 'bgr24' for codec 'mpeg4', auto-selecting format 'yuv4
20p'
[buffer @ 0x1d75800] w:162 h:130 pixfmt:bgr24 tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 0x1d75a80] auto-inserting filter 'auto-inserted scale 0' between t
he filter 'src' and the filter 'out'
[scale @ 0x1d75f00] w:162 h:130 fmt:bgr24 -> w:162 h:130 fmt:yuv420p flags:0x4
Incompatible sample format 'u8' for codec 'libmp3lame', auto-selecting format 's
16'
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.1.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 162x130, q=2-31, 200
 kb/s, 10 tbn, 10 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 11025 Hz, 1 channels, s16, 12
8 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (cdxl -> mpeg4)
  Stream #0:1 -> #0:1 (pcm_s8 -> libmp3lame)
Press [q] to stop, [?] for help
frame=  150 fps=  0 q=2.7 size=     353kB time=00:00:08.35 bitrate= 345.6kbits/s
frame=  185 fps=  0 q=2.7 Lsize=     613kB time=00:00:10.65 bitrate= 471.3kbits/
s
video:511kB audio:83kB global headers:0kB muxing overhead 3.180297%

Change History (2)

comment:1 by Elon Musk, 12 years ago

Analyzed by developer: set
Cc: onemda@gmail.com added
Component: undeterminedavformat
Priority: normalwish
Reproduced by developer: set
Resolution: wontfix
Status: newclosed
Type: defectenhancement
Version: unspecifiedgit-master

There is reason why there is framerate and sample_rate option for cdxl demuxer.

cdxlplay just use hack(which does not always work) i'm not interested in porting.

comment:2 by Elon Musk, 12 years ago

Resolution: wontfixfixed

fixed localy.

Note: See TracTickets for help on using tickets.