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 684030 - typefinding: mp4 with video and dts ES detected as DTS audio
typefinding: mp4 with video and dts ES detected as DTS audio
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other All
: Normal major
: 1.3.90
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-14 15:09 UTC by Andreas Frisch
Modified: 2014-06-28 08:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GST_DEBUG=*type*:9 gst-typefind-0.10 CamouflageLiveInDresden-8_DTS.m4v >684030.log 2>&1 (85.64 KB, text/x-log)
2012-09-14 16:15 UTC, Andreas Frisch
  Details
typefindfunctions: raise video/quicktime (mov container) rank to primary (1.11 KB, patch)
2012-09-14 16:25 UTC, Andreas Frisch
none Details | Review

Description Andreas Frisch 2012-09-14 15:09:17 UTC
this file:
http://www.nhancer.com/downloads/CamouflageLiveInDresden-8_DTS.m4v
only plays the audio stream with playbin in 1.0 master
according to wtay, because typefind thinks it's DTS

gst-launch-1.0 filesrc location=CamouflageLiveInDresden-8_DTS.m4v ! qtdemux name=d d. ! video/x-h264 ! avdec_h264 ! autovideosink

plays the video ES correctly
Comment 1 Andreas Frisch 2012-09-14 16:14:52 UTC
$ gst-typefind-0.10 CamouflageLiveInDresden-8_Stereo_AC3.m4v
CamouflageLiveInDresden-8_Stereo_AC3.m4v - video/quicktime, variant=(string)iso

$ gst-typefind-0.10 CamouflageLiveInDresden-8_DTS.m4v 
CamouflageLiveInDresden-8_DTS.m4v - audio/x-dts, rate=(int)48000, channels=(int)6, depth=(int)16, endianness=(int)4321, framed=(boolean)false
Comment 2 Andreas Frisch 2012-09-14 16:15:36 UTC
Created attachment 224343 [details]
GST_DEBUG=*type*:9 gst-typefind-0.10 CamouflageLiveInDresden-8_DTS.m4v >684030.log 2>&1
Comment 3 Andreas Frisch 2012-09-14 16:25:48 UTC
Created attachment 224348 [details] [review]
typefindfunctions: raise video/quicktime (mov container) rank to primary
Comment 4 Andreas Frisch 2012-09-14 16:33:04 UTC
Comment on attachment 224348 [details] [review]
typefindfunctions: raise video/quicktime (mov container) rank to primary

okay this is useless... now it detects the DTS elementary stream as: 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:src_1: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, rate=(int)48000, channels=(int)6
Comment 5 Reynaldo H. Verdejo Pinochet 2013-11-14 16:28:45 UTC
Thanks for your report and sorry for the awfully
delayed answer.

Dunno if this problem is still present but the
sample file is no longer available. Would it be
possible for you to attach enough of it here so
I can try to reproduce?
Comment 6 Andreas Frisch 2013-11-18 09:30:17 UTC
Don't worry about it Reynaldo :)
The issue persists, I just checked with 1.2.0 typefind from 2013-09-24 and it's still found as DTS only.

here's the file:
https://www.dropbox.com/s/ne3kjpldiwi3gd8/CamouflageLiveInDresden-8_DTS.m4v
Comment 7 Reynaldo H. Verdejo Pinochet 2013-11-18 15:57:02 UTC
Thanks. Still present in master. Will take a look.
Comment 8 Jan Schmidt 2014-06-26 10:28:45 UTC
I just encountered and fixed this one separately:

commit 4d076b060aabf0ffd5b3c7a64db3f849a1290d44
Author: Jan Schmidt <jan@centricular.com>
Date:   Thu Jun 26 04:27:31 2014 +1000

    typefind: Bump iso mp4 typefinder to PRIMARY. Add mp4 extension hint.
    
    Fixes a problem with at least one file being detected incorrectly as
    DTS because there's DTS packets early enough in the file.