Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] Libtheora encoder/cingg <->ffmpeg interop?
@ 2025-04-13 23:52 Andrew Randrianasulu
  2025-04-13 23:55 ` James Almer
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Randrianasulu @ 2025-04-13 23:52 UTC (permalink / raw)
  To: Cinelerra.GG, FFmpeg development discussions and patches

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-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [FFmpeg-devel] Libtheora encoder/cingg <->ffmpeg interop?
  2025-04-13 23:52 [FFmpeg-devel] Libtheora encoder/cingg <->ffmpeg interop? Andrew Randrianasulu
@ 2025-04-13 23:55 ` James Almer
  0 siblings, 0 replies; 2+ messages in thread
From: James Almer @ 2025-04-13 23:55 UTC (permalink / raw)
  To: ffmpeg-devel


[-- Attachment #1.1.1: Type: text/plain, Size: 310 bytes --]

On 4/13/2025 8:52 PM, Andrew Randrianasulu wrote:
> 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"

Backporting commit 22aa71d4da37a4ad2b0d28deeace64b57aa2ef50 to the 7.1 
branch should fix it.


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-13 23:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-13 23:52 [FFmpeg-devel] Libtheora encoder/cingg <->ffmpeg interop? Andrew Randrianasulu
2025-04-13 23:55 ` James Almer

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git