GNOME Bugzilla – Bug 684030
typefinding: mp4 with video and dts ES detected as DTS audio
Last modified: 2014-06-28 08:32:58 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
$ 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
Created attachment 224343 [details] GST_DEBUG=*type*:9 gst-typefind-0.10 CamouflageLiveInDresden-8_DTS.m4v >684030.log 2>&1
Created attachment 224348 [details] [review] typefindfunctions: raise video/quicktime (mov container) rank to primary
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
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?
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
Thanks. Still present in master. Will take a look.
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.