I was testing our libtheora encoder/muxer after updating to libtheora 1.2.0
and noticed that ffmpeg complains about "(non)keyframe not correctly marked"

~/cinelerra/cinelerra-5.1 $ ffmpeg -i  ~/svt_t.ogg -f  null /dev/null

ffmpeg version 7.1.1 Copyright (c) 2000-2025 the FFmpeg developers

built with Android (12470979, +pgo, +bolt, +lto, +mlgo, based on r522817c)
clang version 18.0.3 (
https://android.googlesource.com/toolchain/llvm-project
d8003a456d14a3deb8054cdaa529ffbf02d9b262)    configuration: --arch=aarch64
--as=aarch64-linux-android-clang --cc=aarch64-linux-android-clang
--cxx=aarch64-linux-android-clang++ --nm=llvm-nm --ar=llvm-ar
--ranlib=llvm-ranlib
--pkg-config=/home/builder/.termux-build/_cache/android-r27c-api-24-v1/bin/pkg-config
--strip=llvm-strip --cross-prefix=aarch64-linux-android- --disable-indevs
--disable-outdevs --enable-indev=lavfi --disable-static --disable-symver
--enable-cross-compile --enable-gnutls --enable-gpl --enable-version3
--enable-jni --enable-lcms2 --enable-libaom --enable-libass
--enable-libbluray --enable-libdav1d --enable-libfontconfig
--enable-libfreetype --enable-libfribidi --enable-libgme
--enable-libharfbuzz --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenmpt --enable-libopus
--enable-librav1e --enable-librubberband --enable-libsoxr --enable-libsrt
--enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2
--enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg
--enable-libzmq --enable-mediacodec --enable-opencl --enable-shared
--prefix=/data/data/com.termux/files/usr --target-os=android
--extra-libs=-landroid-glob --disable-vulkan --enable-neon
--disable-libfdk-aac                                            libavutil
    59. 39.100 / 59. 39.100

libavcodec     61. 19.101 / 61. 19.101

libavformat    61.  7.100 / 61.  7.100

libavdevice    61.  3.100 / 61.  3.100

libavfilter    10.  4.100 / 10.  4.100

libswscale      8.  3.100 /  8.  3.100

libswresample   5.  3.100 /  5.  3.100

libpostproc    58.  3.100 / 58.  3.100

 [ogg @ 0xb40000710c40f4d0] Broken file, keyframe not correctly marked.

 Input #0, ogg, from '/data/data/com.termux/files/home/svt_t.ogg':

Duration: 00:00:13.44, start: 0.000000, bitrate: 658 kb/s

Stream #0:0: Video: theora, yuv420p(bt470bg/bt470bg/bt709), 1440x1080 [SAR
1333333:1000000 DAR 888894:500003], 25 tbr, 25 tbn
                                                   Metadata:

ENCODER         : Cinelerra Infinity

Stream mapping:
                          Stream #0:0 -> #0:0 (theora (native) ->
wrapped_avframe (native))
Press [q] to stop, [?] for help

Output #0, null, to '/dev/null':

Metadata:
                          encoder         : Lavf61.7.100

Stream #0:0: Video: wrapped_avframe, yuv420p(bt470bg/bt470bg/bt709,
progressive), 1440x1080 [SAR 1333333:1000000 DAR 888894:500003], q=2-31,
200 kb/s, 25 fps, 25 tbn
Metadata:
                          encoder         : Lavc61.19.101 wrapped_avframe

[ogg @ 0xb40000710c40f4d0] Broken file, keyframe not correctly marked.

[ogg @ 0xb40000710c40f4d0] Broken file, keyframe not correctly
marked.=8.24x
Last message repeated 1 times

[ogg @ 0xb40000710c40f4d0] Broken file, non-keyframe not correctly marked.

Last message repeated 36 times

[ogg @ 0xb40000710c40f4d0] Broken file, non-keyframe not correctly
marked.9x
Last message repeated 58 times

 [out#0/null @ 0xb4000070bc40f7f0] video:144KiB audio:0KiB subtitle:0KiB
other streams:0KiB global headers:0KiB muxing overhead: unknown

frame=  336 fps=264 q=-0.0 Lsize=N/A time=00:00:13.44 bitrate=N/A
speed=10.6x

I found this recent bug on libtheora gitlab, not sure if last comment is
true or misses something when it comes to ffmpeg?

https://gitlab.xiph.org/xiph/theora/-/issues/2311

some other search hits:

https://progress.opensuse.org/issues/42047

https://github.com/Enselic/recordmydesktop/issues/23
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to