[Ffmpeg-devel] [PATCH] mov.c useless code removal

Baptiste COUDURIER baptiste.coudurier
Sun Feb 12 18:49:06 CET 2006


Hi,

Here is a patch to remove now useless code.

Btw. I just checked the last fix for Video006.3gp and assert error
occurs later in demuxing :

FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --cc=distcc gcc-3.4 --enable-gpl --enable-pthreads
--enable-faac --enable-xvid --enable-dts --enable-a52 --enable-x264
--enable-faad --disable-ffserver --disable-network
  libavutil version: 49.0.0
  libavcodec version: 51.4.0
  libavformat version: 50.2.1
  built on Feb 12 2006 14:47:55, gcc: 3.4.6 20060122 (prerelease)
(Debian 3.4.5-2)

Seems that stream 0 comes from film source: 15750.00 (15750/1) -> 6.50
(13/2)
Input #0, mov,mp4,m4a,3gp,3g2, from 'Video006.3gp':
  Duration: 00:00:20.3, start: 0.000000, bitrate: 41 kb/s
  Stream #0.0(eng),  6.50 fps(r): Video: h263, yuv420p, 128x96
  Stream #0.1(eng): Audio: samr / 0x726D6173, 8000 Hz, mono
File 'test.mpg' already exists. Overwrite ? [y/N] y
Output #0, mpeg, to 'test.mpg':
  Stream #0.0, 25.00 fps(c): Video: mpeg1video, yuv420p, 128x96, q=2-31,
200 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
ffmpeg: mov.c:1946: mov_read_packet: Assertion `pts % st->time_base.num
== 0' failed.

I was wondering also if ffplay was to be considered as a proof of
failure, when playout is bugged ?

Thanks a lot.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mov_useless_code_removal.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060212/090abd8a/attachment.asc>



More information about the ffmpeg-devel mailing list