libtiff 4.7.0 and libtheora 1.2.0?
noted that termux moved to it ... https://libtiff.gitlab.io/libtiff/ I have local patch for building 4.7.0 instead of 4.6.0t but I rarely use tiff output ..... Another possible library update is libtheora 1.2.0 https://www.theora.org/downloads/ http://downloads.xiph.org/releases/theora/libtheora-1.2.0.tar.gz https://www.phoronix.com/news/Theora-1.2-Released
Put up the patch I'll try it. Tiff is important for those who use image sequences.
but you need to put src tarball manually (it weight a bit more than I comfortably can attach here, 2286220 bytes according to ls) thirdparty/src/tiff-4.7.0.tar.xz пт, 11 апр. 2025 г., 11:18 Andrea paz <[email protected]>:
Put up the patch I'll try it. Tiff is important for those who use image sequences.
Found no issues with libtheora 1.2 or tiff 4.7 updates/builds. Tested by rendering to native ogg and tiff sequence. Then tested by loading older videos using native and then with ffmpeg with no problems. Will check into Git after Andrea finishes testing and reports no issues. On Thu, Apr 10, 2025 at 6:05 PM Andrew Randrianasulu < [email protected]> wrote:
noted that termux moved to it ...
https://libtiff.gitlab.io/libtiff/
I have local patch for building 4.7.0 instead of 4.6.0t but I rarely use tiff output .....
Another possible library update is libtheora 1.2.0
https://www.theora.org/downloads/ http://downloads.xiph.org/releases/theora/libtheora-1.2.0.tar.gz
Tomorrow I will recompile with internal ffmpeg, because now I have ffmpeg.git. I'll let you know the results, but since these are libraries, I think it's sufficed to have no problems at compile time. For libtheora should I download the tarball?
Andrea, I was only concerned about Tiff so you do not need to bother to download libtheora 1.2.0 tarball as I did a cursory check already and that should be sufficient. On Sat, Apr 12, 2025 at 2:52 PM Andrea paz <[email protected]> wrote:
Tomorrow I will recompile with internal ffmpeg, because now I have ffmpeg.git. I'll let you know the results, but since these are libraries, I think it's sufficed to have no problems at compile time. For libtheora should I download the tarball?
Unfortunately, libtheora 1.12.0 is not working with CinGG correctly -- I was mistakenly testing using ffmpeg to load so when I switch to loading with native libtheora, there are green tilted lines throughout the video and when using the standard TV bars, the extra lines are there + it is all tilted. On Sat, Apr 12, 2025 at 3:05 PM Phyllis Smith <[email protected]> wrote:
Andrea, I was only concerned about Tiff so you do not need to bother to download libtheora 1.2.0 tarball as I did a cursory check already and that should be sufficient.
On Sat, Apr 12, 2025 at 2:52 PM Andrea paz <[email protected]> wrote:
Tomorrow I will recompile with internal ffmpeg, because now I have ffmpeg.git. I'll let you know the results, but since these are libraries, I think it's sufficed to have no problems at compile time. For libtheora should I download the tarball?
вс, 13 апр. 2025 г., 20:36 Phyllis Smith <[email protected]>:
Unfortunately, libtheora 1.12.0 is not working with CinGG correctly -- I was mistakenly testing using ffmpeg to load so when I switch to loading with native libtheora, there are green tilted lines throughout the video and when using the standard TV bars, the extra lines are there + it is all tilted.
Strange, on termux/aarch64 image is fine (in cinelerra-gg itself). Did you used specific test file, or just encoded something with cingg? Did you use external player or let cingg decode it (via native decoder this time)? Just trying to figure out where bug might be, in decode or in encode ..... Encode of 1440*1080 m2ts file was running at like ~1.5 fps here, so I guess even theora 1.2.0 is not speediest codec (probably due to not multhithreaded encoder?)
On Sat, Apr 12, 2025 at 3:05 PM Phyllis Smith <[email protected]> wrote:
Andrea, I was only concerned about Tiff so you do not need to bother to download libtheora 1.2.0 tarball as I did a cursory check already and that should be sufficient.
On Sat, Apr 12, 2025 at 2:52 PM Andrea paz <[email protected]> wrote:
Tomorrow I will recompile with internal ffmpeg, because now I have ffmpeg.git. I'll let you know the results, but since these are libraries, I think it's sufficed to have no problems at compile time. For libtheora should I download the tarball?
TV bars showing problem with libtheora 1..12.0. On Sun, Apr 13, 2025 at 4:52 PM Andrew Randrianasulu < [email protected]> wrote:
вс, 13 апр. 2025 г., 20:36 Phyllis Smith <[email protected]>:
Unfortunately, libtheora 1.12.0 is not working with CinGG correctly -- I was mistakenly testing using ffmpeg to load so when I switch to loading with native libtheora, there are green tilted lines throughout the video and when using the standard TV bars, the extra lines are there + it is all tilted.
Strange, on termux/aarch64 image is fine (in cinelerra-gg itself).
Did you used specific test file, or just encoded something with cingg? Did you use external player or let cingg decode it (via native decoder this time)?
Just trying to figure out where bug might be, in decode or in encode .....
Encode of 1440*1080 m2ts file was running at like ~1.5 fps here, so I guess even theora 1.2.0 is not speediest codec (probably due to not multhithreaded encoder?)
On Sat, Apr 12, 2025 at 3:05 PM Phyllis Smith <[email protected]> wrote:
Andrea, I was only concerned about Tiff so you do not need to bother to download libtheora 1.2.0 tarball as I did a cursory check already and that should be sufficient.
On Sat, Apr 12, 2025 at 2:52 PM Andrea paz <[email protected]> wrote:
Tomorrow I will recompile with internal ffmpeg, because now I have ffmpeg.git. I'll let you know the results, but since these are libraries, I think it's sufficed to have no problems at compile time. For libtheora should I download the tarball?
can you check attached patch? it enables libtheora postprocessing like in official player example. seems to fix both examples for me (but at cost of speed) пн, 14 апр. 2025 г., 02:57 Phyllis Smith <[email protected]>:
TV bars showing problem with libtheora 1..12.0.
On Sun, Apr 13, 2025 at 4:52 PM Andrew Randrianasulu < [email protected]> wrote:
вс, 13 апр. 2025 г., 20:36 Phyllis Smith <[email protected]>:
Unfortunately, libtheora 1.12.0 is not working with CinGG correctly -- I was mistakenly testing using ffmpeg to load so when I switch to loading with native libtheora, there are green tilted lines throughout the video and when using the standard TV bars, the extra lines are there + it is all tilted.
Strange, on termux/aarch64 image is fine (in cinelerra-gg itself).
Did you used specific test file, or just encoded something with cingg? Did you use external player or let cingg decode it (via native decoder this time)?
Just trying to figure out where bug might be, in decode or in encode .....
Encode of 1440*1080 m2ts file was running at like ~1.5 fps here, so I guess even theora 1.2.0 is not speediest codec (probably due to not multhithreaded encoder?)
On Sat, Apr 12, 2025 at 3:05 PM Phyllis Smith <[email protected]> wrote:
Andrea, I was only concerned about Tiff so you do not need to bother to download libtheora 1.2.0 tarball as I did a cursory check already and that should be sufficient.
On Sat, Apr 12, 2025 at 2:52 PM Andrea paz <[email protected]> wrote:
Tomorrow I will recompile with internal ffmpeg, because now I have ffmpeg.git. I'll let you know the results, but since these are libraries, I think it's sufficed to have no problems at compile time. For libtheora should I download the tarball?
Andrew, had to reboot so took a few minutes. It does seem to fix the problem in those 2 files at least. Let me do much more testing tomorrow along with timing. On Sun, Apr 13, 2025 at 7:09 PM Andrew Randrianasulu < [email protected]> wrote:
can you check attached patch?
it enables libtheora postprocessing like in official player example.
seems to fix both examples for me (but at cost of speed)
пн, 14 апр. 2025 г., 02:57 Phyllis Smith <[email protected]>:
TV bars showing problem with libtheora 1..12.0.
On Sun, Apr 13, 2025 at 4:52 PM Andrew Randrianasulu < [email protected]> wrote:
вс, 13 апр. 2025 г., 20:36 Phyllis Smith <[email protected]>:
Unfortunately, libtheora 1.12.0 is not working with CinGG correctly -- I was mistakenly testing using ffmpeg to load so when I switch to loading with native libtheora, there are green tilted lines throughout the video and when using the standard TV bars, the extra lines are there + it is all tilted.
Strange, on termux/aarch64 image is fine (in cinelerra-gg itself).
Did you used specific test file, or just encoded something with cingg? Did you use external player or let cingg decode it (via native decoder this time)?
Just trying to figure out where bug might be, in decode or in encode .....
Encode of 1440*1080 m2ts file was running at like ~1.5 fps here, so I guess even theora 1.2.0 is not speediest codec (probably due to not multhithreaded encoder?)
On Sat, Apr 12, 2025 at 3:05 PM Phyllis Smith <[email protected]> wrote:
Andrea, I was only concerned about Tiff so you do not need to bother to download libtheora 1.2.0 tarball as I did a cursory check already and that should be sufficient.
On Sat, Apr 12, 2025 at 2:52 PM Andrea paz < [email protected]> wrote:
Tomorrow I will recompile with internal ffmpeg, because now I have ffmpeg.git. I'll let you know the results, but since these are libraries, I think it's sufficed to have no problems at compile time. For libtheora should I download the tarball?
пн, 14 апр. 2025 г., 04:58 Phyllis Smith <[email protected]>:
Andrew, had to reboot so took a few minutes. It does seem to fix the problem in those 2 files at least. Let me do much more testing tomorrow along with timing.
ok. so far I hanged this issue to theora's bugtracker: https://gitlab.xiph.org/xiph/theora/-/issues/2341 may be we better wait for 1.2.1 or something ?
On Sun, Apr 13, 2025 at 7:09 PM Andrew Randrianasulu < [email protected]> wrote:
can you check attached patch?
it enables libtheora postprocessing like in official player example.
seems to fix both examples for me (but at cost of speed)
пн, 14 апр. 2025 г., 02:57 Phyllis Smith <[email protected]>:
TV bars showing problem with libtheora 1..12.0.
On Sun, Apr 13, 2025 at 4:52 PM Andrew Randrianasulu < [email protected]> wrote:
вс, 13 апр. 2025 г., 20:36 Phyllis Smith <[email protected]>:
Unfortunately, libtheora 1.12.0 is not working with CinGG correctly -- I was mistakenly testing using ffmpeg to load so when I switch to loading with native libtheora, there are green tilted lines throughout the video and when using the standard TV bars, the extra lines are there + it is all tilted.
Strange, on termux/aarch64 image is fine (in cinelerra-gg itself).
Did you used specific test file, or just encoded something with cingg? Did you use external player or let cingg decode it (via native decoder this time)?
Just trying to figure out where bug might be, in decode or in encode .....
Encode of 1440*1080 m2ts file was running at like ~1.5 fps here, so I guess even theora 1.2.0 is not speediest codec (probably due to not multhithreaded encoder?)
On Sat, Apr 12, 2025 at 3:05 PM Phyllis Smith <[email protected]> wrote:
Andrea, I was only concerned about Tiff so you do not need to bother to download libtheora 1.2.0 tarball as I did a cursory check already and that should be sufficient.
On Sat, Apr 12, 2025 at 2:52 PM Andrea paz < [email protected]> wrote:
> Tomorrow I will recompile with internal ffmpeg, because now I have > ffmpeg.git. I'll let you know the results, but since these are > libraries, I think it's sufficed to have no problems at compile time. > For libtheora should I download the tarball? >
I think I found my problem: if I compile without any patch and without the libtheora tarball everything works OK. If I compile without any patch but with the tarball then I have a crash. I attach the cin5.log. I do not find the error in the log and in addition to you the compilation with libtheora works and only after that you have problems. Arch hasn't updated to version 1.2.0 yet, but that shouldn't have anything to do with it.
пн, 14 апр. 2025 г., 15:35 Andrea paz <[email protected]>:
I think I found my problem: if I compile without any patch and without the libtheora tarball everything works OK. If I compile without any patch but with the tarball then I have a crash. I attach the cin5.log.
I do not find the error in the log and in addition to you the compilation with libtheora works and only after that you have problems.
look at thirdparty/ffmpeg-7.0/ffbuild/config log as it says at very end of log. May be you forgot to re-run ./autogen.sh again after changing libtheora-1.2.0 entry in configure.ac back to libtheora-1.1.1 ? Or you still testing with 1.2.0?
Arch hasn't updated to version 1.2.0 yet, but that shouldn't have anything to do with it.
Checked TIff 4.7.0 into source GIT. Libtheora 1.2.0 is on hold. I think I am caught up on checkins, but if I missed something, please remind me. Now will test ffmpeg 7.1 git with Andrew's patches. On Thu, Apr 10, 2025 at 6:05 PM Andrew Randrianasulu < [email protected]> wrote:
noted that termux moved to it ...
https://libtiff.gitlab.io/libtiff/
I have local patch for building 4.7.0 instead of 4.6.0t but I rarely use tiff output .....
Another possible library update is libtheora 1.2.0
https://www.theora.org/downloads/ http://downloads.xiph.org/releases/theora/libtheora-1.2.0.tar.gz
Of course, I had forgotten to edit the config.ac... The build worked. I have problems with rendering both Theora ("FFVideoConvert::convert_picture_frame: sws_getCachedContext() failed") and tiff sequence (see attached image), but I need to do more testing.
Andrea, have you had time to test the Tiff sequence at 4.7.0? I already checked it into GIT but can revert if necessary. I did not see any problems with it. Thanks. On Mon, Apr 14, 2025 at 12:49 PM Andrea paz <[email protected]> wrote:
Of course, I had forgotten to edit the config.ac... The build worked. I have problems with rendering both Theora ("FFVideoConvert::convert_picture_frame: sws_getCachedContext() failed") and tiff sequence (see attached image), but I need to do more testing.
Andrea, have you had time to test the Tiff sequence at 4.7.0? I already checked it into GIT but can revert if necessary. I did not see any problems with it. Thanks.
Only by using problematic tiff images with various non-std resolutions do I get a rendering with artifacts. In all other cases everything is fine and the renderings are fast. I would leave 4.7.0 in git.
вт, 15 апр. 2025 г., 23:42 Andrea paz <[email protected]>:
Andrea, have you had time to test the Tiff sequence at 4.7.0? I already checked it into GIT but can revert if necessary. I did not see any problems with it. Thanks.
Only by using problematic tiff images with various non-std resolutions do I get a rendering with artifacts. In all other cases everything is fine and the renderings are fast. I would leave 4.7.0 in git.
By non-standart resolutions you mean bits per pixel? Or image dimensions? I do not think any reasonable sized tiff can fail .... If it fail now and was ok with 4.6.0t then we better to revert!
With Cin-appimage (tiff 4.6.0) it is worse, test.tif and test_color.tif are not even displayed in the timeline (no problem with file_example_TIFF_5MB.tiff): FVideoConvert::convert_picture_frame: sws_getCachedContext() failed Instead with the build with 4.7.0 the problems arise only in rendering. I put the link to the 3 files, if you want to test; but I am convinced that it is not a problem of CinGG or libtiff, but only of the 2 images. https://limewire.com/d/TMVWo#i2k1uHwWFN Continuing to test, varying the names and bringing the extension from tif to tiff, using one file instead of the 3 concatenated ones, etc., I always have different behaviors. Probably the cause is "me + the two problematic images"!
In testing Andrea's 3 tiff files, I found no differences between Tiff 4.1.0 compiled CinGG of April 24, 2020 with Tiff 4.1.7 compiled today. The test images, according to mediainfo, came from Adobe Photoshop 22.5 (Macintosh) and when loaded look reasonable at the top and then fuzzy towards the bottom. Interestingly, I could not get them to load images using ffmpeg - either current 7.0 or 4.2 of April 2020. TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag
ignored -- with April 2020 and FFVideoConvert::convert_picture_frame: sws_getCachedContext() failed -- with April 2025.
But the newly rendered images would load with either native Tiff or ffmpeg. So bottom line is that the 4.7.0 Tiff is OK to be installed. On Wed, Apr 16, 2025 at 1:19 AM Andrea paz <[email protected]> wrote:
With Cin-appimage (tiff 4.6.0) it is worse, test.tif and test_color.tif are not even displayed in the timeline (no problem with file_example_TIFF_5MB.tiff): FVideoConvert::convert_picture_frame: sws_getCachedContext() failed Instead with the build with 4.7.0 the problems arise only in rendering. I put the link to the 3 files, if you want to test; but I am convinced that it is not a problem of CinGG or libtiff, but only of the 2 images.
https://limewire.com/d/TMVWo#i2k1uHwWFN
Continuing to test, varying the names and bringing the extension from tif to tiff, using one file instead of the 3 concatenated ones, etc., I always have different behaviors. Probably the cause is "me + the two problematic images"!
participants (3)
-
Andrea paz -
Andrew Randrianasulu -
Phyllis Smith