[Bug 782697] discoverer: mp4 track count is wrong

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 18 07:53:52 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=782697

--- Comment #5 from Florian Zwoch <fzwoch at gmail.com> ---
Created attachment 352073
  --> https://bugzilla.gnome.org/attachment.cgi?id=352073&action=edit
Test file

Here is a small test file. Not sure if I'm the right guy to spot errors in the
code in that area.. :-)

Bitstream generated with:

"gst-launch-1.0 videotestsrc num-buffers=100 ! x265enc ! h265parse !
video/x-h265, format=bytestream ! filesink location=out.265"

MP4 file generated with:
"MP4Box -add "out.265":forcesync out.mp4"


Here are the differences between the version from a simple discoverer call. The
1.12 version shows another sub track(?) for some reason.

1.12:
Analyzing file:///c:/users/fzwoc/Desktop/out.mp4
Done discovering file:///c:/users/fzwoc/Desktop/out.mp4

Topology:
  container: Quicktime
    video: H.265 (Main Profile)
      video: H.265 (Main Profile) <-- ??

Properties:
  Duration: 0:00:03.333333333
  Seekable: yes
  Tags:
      video codec: H.265 / HEVC
      bitrate: 1290674
      datetime: 2017-05-18T07:27:24Z
      container format: ISO MP4/M4A




1.10:
Analyzing file:///home/fzwoch/code/VisionPlay/out.mp4
Done discovering file:///home/fzwoch/code/VisionPlay/out.mp4

Topology:
container: Quicktime
  video: H.265 (Main Profile)

Properties:
Duration: 0:00:03.333333333
Seekable: yes
Tags: 
    video codec: H.265 / HEVC
    bitrate: 1290674
    datetime: 2017-05-18T07:27:24Z
    container format: ISO MP4/M4A




MP4Box -info:
    * Movie Info *
        Timescale 600 - Duration 00:00:03.333
        1 track(s)
        Fragmented File: no
        File suitable for progressive download (moov before mdat)
        File Brand iso4 - version 1
        Created: GMT Thu May 18 07:27:24 2017
        Modified: GMT Thu May 18 07:27:24 2017

    File has no MPEG4 IOD/OD

    Track # 1 Info - TrackID 1 - TimeScale 30 - Media Duration 00:00:03.333
    Track has 1 edit lists: track duration is 00:00:03.333
    Media Info: Language "und (und)" - Type "vide:hvc1" - 100 samples
    Visual Track layout: x=0 y=0 width=320 height=240
    MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x23
    HEVC Video - Visual Size 320 x 240
        HEVC Info: Profile Main @ Level 2.1 - Chroma Format 1
        NAL Unit length bits: 32 - general profile compatibility 0x60000000
        Parameter Sets: 1 VPS 1 SPS 1 PPS 
        SPS resolution 320x240 - Pixel Aspect Ratio 1:1 - Indicated track size
320 x 240
        Bit Depth luma 8 - Chroma 8 - 1 temporal layers
        VPS#1 hash: F13C834A71EF1DB55ED73D7323EB4828D1D872F4
        SPS#1 hash: 343144344C9BD4477C6A223D5927513754E92722
        PPS#1 hash: 476CC254A14C7C38F1EC443B8C1E3E48B9736FDF

    Self-synchronized
        RFC6381 Codec Parameters: hvc1.1.6.L63.90
        Average GOP length: 100 samples

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list