After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 670137 - [0.11] encodebin issue with theora?
[0.11] encodebin issue with theora?
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.11.x
Other Linux
: Normal normal
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-02-15 14:15 UTC by Christian Fredrik Kalager Schaller
Modified: 2012-02-20 13:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
png of hanging pipeline (479.90 KB, image/png)
2012-02-15 14:15 UTC, Christian Fredrik Kalager Schaller
Details

Description Christian Fredrik Kalager Schaller 2012-02-15 14:15:40 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.
Comment 1 Christian Fredrik Kalager Schaller 2012-02-15 14:21:41 UTC
Debug log available here:
http://www.linuxrising.org/files/misc/theoradebug.txt.bz2
Comment 2 Wim Taymans 2012-02-20 10:48:00 UTC
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
Comment 3 Wim Taymans 2012-02-20 11:40:32 UTC
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.
Comment 4 Christian Fredrik Kalager Schaller 2012-02-20 13:44:44 UTC
Confirmed, this works fine now, thanks Wim.