[Bug 728771] Mp4 files created are not in playable format

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Apr 23 00:14:32 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=728771
  GStreamer | gst-plugins-good | 0.10.0

Sebastian Dröge (slomo) <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |slomo at coaxion.net
         Resolution|                            |NOTABUG

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-04-23 07:14:30 UTC ---
multifilesink and mp4mux won't work together this way. MP4 files can't just be
cut in the middle, the two resulting files won't be playable on their own...
and also mp4mux needs to finalise files after writing before they're actually
usable (i.e. after receiving the EOS event mp4mux is going to rewrite headers
of the file).


For what you want to do you'll have to create a new mp4mux and filesink for
every file part yourself, and before switching from one part to another you
need to send an EOS event to the old part and wait until you get the EOS
message from the filesink before shutting it down. Re-linking pads during
PLAYING requires you to use blocking pad probes on the srcpad in front of the
muxer.


Also for all of this it's much easier to use 1.x than 0.10.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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