[Bug 774716] New: vlc does not play mp4 file that was merged using splitmuxsrc and splitmuxsink

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Nov 19 13:43:15 UTC 2016


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

            Bug ID: 774716
           Summary: vlc does not play mp4 file that was merged using
                    splitmuxsrc and splitmuxsink
    Classification: Platform
           Product: GStreamer
           Version: 1.10.x
                OS: Linux
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: sonntex at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 340305
  --> https://bugzilla.gnome.org/attachment.cgi?id=340305&action=edit
2nd video chunk

I have two or more correct mp4 files that were grabbed from usb video camera
using splitmuxsink with mp4mux muxer. 

sonntex at home ~/video1 $ ls -l
total 132
-rw-r--r-- 1 sonntex sonntex 67913 Nov 18 17:32 video-chunk-00.mp4
-rw-r--r-- 1 sonntex sonntex 62051 Nov 18 17:32 video-chunk-01.mp4

sonntex at home ~/video1 $ ffprobe -show_packets video-chunk-01.mp4 2>&1 | tail -n
30
[PACKET]
codec_type=video
stream_index=0
pts=145692
pts_time=14.569200
dts=145692
dts_time=14.569200
duration=130
duration_time=0.013000
convergence_duration=N/A
convergence_duration_time=N/A
size=12
pos=54537
flags=_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=145822
pts_time=14.582200
dts=145822
dts_time=14.582200
duration=1
duration_time=0.000100
convergence_duration=N/A
convergence_duration_time=N/A
size=12
pos=54549
flags=_
[/PACKET]

As you can see dts, dts_time, pts, pts_time, duration and duration_time are
correct.

sonntex at home ~/video1 $ gst-launch-1.0 -qe splitmuxsrc
location="video-chunk-*.mp4" ! splitmuxsink location="video.mp4"

sonntex at home ~/video1 $ ls -l
total 260
-rw-r--r-- 1 sonntex sonntex  67913 Nov 18 17:32 video-chunk-00.mp4
-rw-r--r-- 1 sonntex sonntex  62051 Nov 18 17:32 video-chunk-01.mp4
-rw-r--r-- 1 sonntex sonntex 130286 Nov 19 16:33 video.mp4
sonntex at home ~/video1 $ ffprobe -show_packets video.mp4 2>&1 | tail -n 30
[PACKET]
codec_type=video
stream_index=0
pts=-161503839
pts_time=-140438.120870
dts=-161503839
dts_time=-140438.120870
duration=1
duration_time=0.000870
convergence_duration=N/A
convergence_duration_time=N/A
size=12
pos=114820
flags=_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=-161503775
pts_time=-140438.065217
dts=-161503775
dts_time=-140438.065217
duration=1
duration_time=0.000870
convergence_duration=N/A
convergence_duration_time=N/A
size=12
pos=114832
flags=_
[/PACKET]

Result of the merge has incorrect dts, pts and duration. So, I can not play
this mp4 file using vlc.

-- 
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