GNOME Bugzilla – Bug 674069
Finds H264 in a DVD ISO
Last modified: 2012-06-12 09:55:59 UTC
Somewhat currentish GStreamer $ gst-typefind "/run/user/hadess/gvfs/hadess em facile.local./Messages à Caractère Informatif.iso" /run/user/hadess/gvfs/hadess em facile.local./Messages à Caractère Informatif.iso - video/x-h264, stream-format=(string)byte-stream Let me know how many bytes you need from that.
For a typefind test, 64 KB ought to be enough. If not, we can always ask for more :)
Created attachment 215976 [details] not-h264-really-but-an-iso.bin
Created attachment 216090 [details] [review] typefind: probe for DVD ISO files, to avoid matching H.264
Created attachment 216091 [details] [review] h264parser: do not assert on data input, just return
commit 3a58c9ac6110b78ffa2a3268d3e10f929792829f Author: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> Date: Mon Jun 11 11:09:24 2012 +0100 typefind: probe for DVD ISO files, to avoid matching H.264 https://bugzilla.gnome.org/show_bug.cgi?id=674069
Isn't there some mime/media type we can use or make up for this? Like video/dvdiso (or what does gvfs use)? That way the app can redirect to a dvd:// URI, or we can have a little element that posts a redirect message on the bus.
I don't know of any existing, so I put a comment about it that we may need to typefind some more to find a more useful type. This is totally independent of whatever gvfs does though, doesn't it, as we're using internal types ?
(In reply to comment #6) > Isn't there some mime/media type we can use or make up for this? Like > video/dvdiso (or what does gvfs use)? shared-mime-info uses application/x-cd-image for ISO images, x-content/video-dvd if you're certain it's a DVD image, and not something else. > That way the app can redirect to a dvd:// URI, or we can have a little element > that posts a redirect message on the bus. The application should probably have handled it before passing it to GStreamer I would think.