GNOME Bugzilla – Bug 670137
[0.11] encodebin issue with theora?
Last modified: 2012-02-20 13:44:44 UTC
Created attachment 207654 [details] png of hanging pipeline I am trying to re-encode an Ogg file with Vorbis and Theora to an Ogg file with Vorbis and Theora. It just seems to stall. Looking at the dot file dump it seems something strange is happening with the Theora stream inside encodebin, as it ends up with caps ANY for the last leg of the pipeline. Attached Png showing situation. As a test I transcoded an mp4 file into Ogg and that worked fine. But trying to re-encode the resulting Ogg file to Ogg again just stalls. If I choose to drop the video, then it works fine, so it is definitely related to Theora. Attached png image, only thing I am wondering if is wrong in it, is that the caps inside encodebin for theora seems to get set to ANY at some point.
Debug log available here: http://www.linuxrising.org/files/misc/theoradebug.txt.bz2
I think it is caused by this bug now fixed in git: commit 810e67900b84016521837bec59b57880231ef1b6 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Mon Feb 20 11:46:36 2012 +0100 basetransform: copy metadata when using a pool also copy the metadata when we allocated a new buffer from a pool
Also a performance improvement: commit 6678c531e0e8a78e208d91200df5a3701dc82d22 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Mon Feb 20 12:36:02 2012 +0100 videoconvert: try to preserver colorimetry and chroma-site Try to preserve the original chroma-site and colorimetry when nothing else was negotiated.
Confirmed, this works fine now, thanks Wim.