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 655244 - encodebin has to provide the downstream possible caps to h264parse
encodebin has to provide the downstream possible caps to h264parse
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.36
Other Linux
: Normal normal
: 0.10.36
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 650652
Blocks:
 
 
Reported: 2011-07-25 09:25 UTC by Christian Fredrik Kalager Schaller
Modified: 2011-10-06 09:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test case using encodebin (3.37 KB, text/plain)
2011-09-15 15:54 UTC, Christian Fredrik Kalager Schaller
Details

Description Christian Fredrik Kalager Schaller 2011-07-25 09:25:39 UTC
I am trying to remux a matroska file with H264 to MPEG TS, this fails due to not being able to create the video pad, since without a H264 parser, encodebin can not create a h264 pad which has stream-format=avc
Comment 1 David Schleef 2011-07-27 05:07:04 UTC
Presumably you want encodebin to plug parsers if it's not encoding?
Comment 2 Christian Fredrik Kalager Schaller 2011-07-27 08:27:50 UTC
Yes, exactly. I think it might do so in general with the parsing code enabled, but it seems encodebin doesn't know how to handle the case of plugging a parser to handle a different stream-format.
Comment 3 Christian Fredrik Kalager Schaller 2011-09-07 14:05:52 UTC
Debugged issue with Slomo today,and bug conclusion is that encodebin has to provide the downstream possible caps to h264parse
Comment 4 Sebastian Dröge (slomo) 2011-09-07 14:07:57 UTC
In decodebin2 this is done by creating a capsfilter with the union of all decoder factory caps. Something similar with the encoders should be possible in encodebin.

It's important that h264parse has a peer and gets the correct constraints from that peer before it negotiates (i.e. handles the first buffer).
Comment 5 Vincent Penquerc'h 2011-09-15 15:39:14 UTC
Would you have a test pipeline for this using encodebin ?
Comment 6 Christian Fredrik Kalager Schaller 2011-09-15 15:54:53 UTC
Created attachment 196649 [details]
Test case using encodebin

Added a simple test case. Transmageddon git master also reproduce this easily, and it includes automatic dotfile generation.
Comment 7 Christian Fredrik Kalager Schaller 2011-10-06 09:21:56 UTC
This is fixed now in git. Not sure what changed, but it could have been the new baseclass based elements forwarding things properly. Closing