[FFmpeg-cvslog] r13969 - trunk/libavformat/utils.c
Baptiste Coudurier
baptiste.coudurier
Fri Jun 27 20:57:56 CEST 2008
Hi Michael,
michael wrote:
> Author: michael
> Date: Wed Jun 25 20:15:04 2008
> New Revision: 13969
>
> Log:
> We cannot calculate the duration of vorbis packets even if we do know the
> "minimal" frame_size.
I dunno why yet, but this broke our ogg with vorbis, ffplay play them
very slowly, vlc stop playing them.
ffmpeg -i <file> -vcodec vorbis test.ogg
av_write_frame: pts2:0 dts2:0
[vorbis @ 0x85a4450]av_write_frame: pts:-9223372036854775808
dts:-9223372036854775808 cur_dts:0 b:0 size:207 st:0
av_write_frame: pts2:0 dts2:0
[vorbis @ 0x85a4450]av_write_frame: pts:-9223372036854775808
dts:-9223372036854775808 cur_dts:0 b:0 size:219 st:0
av_write_frame: pts2:0 dts2:0
[vorbis @ 0x85a4450]av_write_frame: pts:-9223372036854775808
dts:-9223372036854775808 cur_dts:0 b:0 size:213 st:0
av_write_frame: pts2:0 dts2:0
[vorbis @ 0x85a4450]av_write_frame: pts:-9223372036854775808
dts:-9223372036854775808 cur_dts:0 b:0 size:223 st:0
av_write_frame: pts2:0 dts2:0
[vorbis @ 0x85a4450]av_write_frame: pts:-9223372036854775808
dts:-9223372036854775808 cur_dts:0 b:0 size:235 st:0
av_write_frame: pts2:0 dts2:0
[vorbis @ 0x85a4450]av_write_frame: pts:-9223372036854775808
dts:-9223372036854775808 cur_dts:0 b:0 size:245 st:0
av_write_frame: pts2:0 dts2:0
It seems pts nor dts are set anymore.
Before:
[vorbis @ 0x85a4490]av_write_frame: pts:-9223372036854775808
dts:-9223372036854775808 cur_dts:319488 b:0 size:226 st:0
av_write_frame: pts2:320512 dts2:320512
[vorbis @ 0x85a4490]av_write_frame: pts:-9223372036854775808
dts:-9223372036854775808 cur_dts:320512 b:0 size:206 st:0
av_write_frame: pts2:321536 dts2:321536
[vorbis @ 0x85a4490]av_write_frame: pts:-9223372036854775808
dts:-9223372036854775808 cur_dts:321536 b:0 size:227 st:0
av_write_frame: pts2:322560 dts2:322560
[vorbis @ 0x85a4490]av_write_frame: pts:-9223372036854775808
dts:-9223372036854775808 cur_dts:322560 b:0 size:227 st:0
av_write_frame: pts2:323584 dts2:323584
[vorbis @ 0x85a4490]av_write_frame: pts:-9223372036854775808
dts:-9223372036854775808 cur_dts:323584 b:0 size:240 st:0
av_write_frame: pts2:324608 dts2:324608
[vorbis @ 0x85a4490]av_write_frame: pts:-9223372036854775808
dts:-9223372036854775808 cur_dts:324608 b:0 size:229 st:0
[...]
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
Smartjog USA Inc. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
More information about the ffmpeg-cvslog
mailing list