[Ffmpeg-devel] ffmpeg: mov.c:1823: mov_read_packet: Assertion `pts % st->time_base.num == 0' failed.

Martin MOKREJŠ mmokrejs
Mon Apr 3 22:10:07 CEST 2006


Hi,
   I am using on Gentoo linux media-video/ffmpeg-0.4.9_p20060302. I 
have the follwoing problem:

$ ffmpeg -i testcase.3gp -r 25 -an MOV00006.mpeg
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
   configuration:  --prefix=/usr --mandir=/usr/share/man 
--disable-static --enable-shared --cc=i686-pc-linux-gnu-gcc 
--extra-ldflags= --disable-altivec --disable-debug --disable-dv1394 
--disable-opts --enable-mp3lame --enable-pthreads --enable-xvid 
--enable-libogg --enable-vorbis --enable-theora --enable-faad 
--enable-faac --enable-gpl --enable-pp --disable-strip
   libavutil version: 49.0.0
   libavcodec version: 51.7.0
   libavformat version: 50.3.0
   built on Mar 27 2006 13:24:52, gcc: 3.4.6 (Gentoo 3.4.6, 
ssp-3.4.5-1.0, pie-8.7.9)
ffmpeg: mov.c:1823: mov_read_packet: Assertion `pts % 
st->time_base.num == 0' failed.
Aborted
$



On the other hand, mplayer works fine:

$ mplayer testcase.3gp
MPlayer dev-CVS-060302-15:36-3.4.5 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium 4/Celeron 4 Northwood; Pentium 4 EE/Xeon 
Prestonia,Gallatin (Family: 15, Stepping: 7)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.


91 audio & 206 video codecs
Playing testcase.3gp.
ISO: File Type Major Brand: 3GPP Profile 5
Quicktime/MOV file format detected.
--------------
MOV track #0: 113 chunks, 1122 samples
MOV: Found H.263 decoder atom d263 (31)!
MOV: Vendor: EMP  H.263 level: 0 H.263 profile: 10
Image size: 176 x 144 (24 bpp)
Display size: 176 x 144
Fourcc: s263  Codec: ''
--------------
MOV track #1: 113 chunks, 0 samples
Audio bits: 8  chans: 1  rate: 8000
MOV: unknown sound atom version (1122304); may not work!
Fourcc: samr
--------------
MOV: longest streams: A: #1 (113 samples)  V: #0 (1122 samples)
VIDEO:  [s263]  176x144  24bpp  1.497 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Cannot find codec 'amr_nb' in libavcodec...
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x726D6173.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh263] vfm: ffmpeg (FFmpeg H.263+ decoder)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 176 x 144 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 176x144 => 192x144 Planar YV12
V:  32.7 322/322  0%  0%  0.0% 0 0
Exiting... (Quit)
$


Can you fix this without testcase? I am not sure I can give the file 
away, sorry.
Martin





More information about the ffmpeg-devel mailing list