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 556521 - [PATCH] typefind: improved MPEG4 start code recognition
[PATCH] typefind: improved MPEG4 start code recognition
Status: RESOLVED DUPLICATE of bug 556537
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other All
: Normal minor
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-16 10:03 UTC by Arnout Vandecappelle
Modified: 2008-10-19 11:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix the issue (1.52 KB, patch)
2008-10-16 10:04 UTC, Arnout Vandecappelle
none Details | Review

Description Arnout Vandecappelle 2008-10-16 10:03:45 UTC
Please describe the problem:
I have a camera that specifies a YUV clamping section in the visual object header.  However, mpeg4_video_type_find always assumes a 5-byte visual_object_start_code.  The attached patch allows start codes up to 10 bytes (the maximum according to http://xhelmboyx.tripod.com/formats/mpeg-layout.txt ).

Note, I'm going to make a more extended patch with more functionality in a separate bug report.  However, I wanted to submit this already in case the other patch isn't accepted.

Steps to reproduce:
gst-launch souphttpsrc location=<JVC camera MPEG4 stream> ! typefind ! fakesink

Actual results:
ERROR: from element /pipeline0/typefindelement0: Could not determine type of stream.


Expected results:
video/mpeg stream recognized

Does this happen every time?
Yes

Other information:
Comment 1 Arnout Vandecappelle 2008-10-16 10:04:38 UTC
Created attachment 120702 [details] [review]
Patch to fix the issue
Comment 2 Sebastian Dröge (slomo) 2008-10-19 11:52:17 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 556537 ***