New submission from Deyan <dchepis...@gmail.com>: Hello,
I am trying to convert to theora/vorbis in OGG container. However I am getting the following effect: When the picture is fading-in (ie from dark to bright) I always get something like a little pause which is sometimes 2 secs long and is noticeable and the impresison which is left is that cpu is overloaded, but this is not the case. The problem also ocurs and when there is no audio stream. The effect is happening ONLY when I use OGG container. If I use matroska container this does not happen. If I try with ffmpeg2theora, there is no such problem. I have had a chat in the IRC channel #theora which is published on http://xiph.org/contact/, they made me test with different container and after I said this is not happening with mkv, they adviced me to file a ffmpeg bug report. The guys also noted, that this is not happening with ffmpeg2theora, because it uses different muxer than ffmpeg. I found one mailing list post, which most likely have the same problem as me: http://comments.gmane.org/gmane.comp.multimedia.ogg.theora.devel/3096 I am sending a little fraction of the movie, the problem is most noticeable at second 2 (00:00:02) and second 20 (00:00:20), but you can see it elsewhere too. The versions of the libs are as follows: libogg-1.2.1 libtheora-1.1.1 libvorbis-1.3.2 x264 0.110.1804 e89c4cf configuration: --bit-depth=8 Here are the command lines used to produce the output movie: ffmpeg -i ../2012-tlr2_h.640.mov -an -vcodec libtheora -b 1024k -bt 1024k -pass 1 -f ogg 1024k.ogg ffmpeg -i ../2012-tlr2_h.640.mov -acodec libvorbis -ab 128k -vcodec libtheora -b 1024k -bt 1024k -pass 2 -f ogg 1024k.ogg Here is also the verbose output from ffmpeg, regarding the input movie: [r...@spare ~]# ffmpeg -v 9 -loglevel 99 -i ../2012-tlr2_h.640.mov FFmpeg version SVN-r25860, Copyright (c) 2000-2010 the FFmpeg developers built on Dec 2 2010 16:22:29 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48) configuration: --prefix=/usr/local/ffmpeg --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --enable-nonfree --enable-libtheora --enable-swscale --enable-doc libavutil 50.33. 0 / 50.33. 0 libavcore 0.14. 0 / 0.14. 0 libavcodec 52.97. 2 / 52.97. 2 libavformat 52.87. 1 / 52.87. 1 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter 1.66. 0 / 1.66. 0 libswscale 0.12. 0 / 0.12. 0 libpostproc 51. 2. 0 / 51. 2. 0 [NULL @ 0x3cef510] Probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x3cef510] ISO: File Type Major Brand: qt [h264 @ 0x3cf2820] no picture [mov,mp4,m4a,3gp,3g2,mj2 @ 0x3cef510] max_analyze_duration reached Seems stream 0 codec frame rate differs from container frame rate: 5994.00 (5994/1) -> 23.98 (2997/125) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../2012-tlr2_h.640.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2009-07-06 12:32:36 comment : Encoded and delivered by apple.com/trailers/ comment-eng : Encoded and delivered by apple.com/trailers/ copyright : © 2009 Sony Pictures Classics. All Rights Reserved copyright-eng : © 2009 Sony Pictures Classics. All Rights Reserved title : 2012 title-eng : 2012 Duration: 00:02:48.22, start: 0.000000, bitrate: 1361 kb/s Stream #0.0(eng), 108, 1/2997: Video: h264, yuv420p, 640x272, 1/5994, 1256 kb/s, 23.98 fps, 23.98 tbr, 2997 tbn, 5994 tbc Metadata: creation_time : 2009-07-06 12:32:36 Stream #0.1(eng), 218, 1/44100: Audio: aac, 44100 Hz, stereo, s16, 99 kb/s Metadata: creation_time : 2009-07-06 12:32:36 Stream #0.2(eng), 1, 1/2997: Data: tmcd / 0x64636D74 Metadata: creation_time : 2009-07-06 12:32:36 At least one output file must be specified Thank you in advance Regards, Deyan File 'fade-in-freeze.ogg' not attached - you can download it from https://roundup.ffmpeg.org/file1200. ---------- files: fade-in-freeze.ogg messages: 12765 priority: normal status: new substatus: new title: fade-in freeze with libtheora and OGG container type: bug ________________________________________________ FFmpeg issue tracker <iss...@roundup.ffmpeg.org> <https://roundup.ffmpeg.org/issue2398> ________________________________________________