GNOME Bugzilla – Bug 581295
mp4mux: Add support for embedded subtitles
Last modified: 2014-09-28 12:04:34 UTC
Seems the PS3 supports playing back MP4 files with embedded subtitles. Here is an example of such files: http://samples.mplayerhq.hu/MPEG-4/embedded_subs/
Talking to others in #gstreamer I found out that sparse streams (like subtitles) can't be muxed by current muxers that use GstCollectPads. GstCollectPads2 will be able to handle this, but it is not in core yet.
mp4mux in -good nowadays.
This bug has an assigned developer but has not received activity in almost a year. Is the assigned person still working on this ?
Thiago any chance you get to take a look at this? Or should we reset it to 'new' and unassigned?
Sorry for the delay, taking a look at this again
Fixed by these commits but neither the original nor the remuxed show subtitles on the PS3, only the audio and video. commit 99e966e2e15c62608b742a1e6011d31b88358f20 Author: Thiago Santos <ts.santos@sisa.samsung.com> Date: Thu Feb 6 12:15:22 2014 -0300 qtmux: add support for text/x-raw subtitles Adds it to mp4mux, qtmux and gppmux. Buffers need to be prefixed with 2 bytes for the text length before being muxed. https://bugzilla.gnome.org/show_bug.cgi?id=581295 commit d644cda79b2e2419a294942761c1090d3d66be27 Author: Thiago Santos <ts.santos@sisa.samsung.com> Date: Thu Feb 6 12:09:01 2014 -0300 qtmux: add support for the TX3G atoms Adds functions for creating and setting values related to the tx3g atom for raw text subtitle support. QTFF spec has information on those atoms https://bugzilla.gnome.org/show_bug.cgi?id=581295 commit 2ae18972734cba00a3dc3559c5affbef8ba4f714 Author: Thiago Santos <ts.santos@sisa.samsung.com> Date: Wed Feb 5 10:27:54 2014 -0300 qtmux: add subtitle support to qtmuxmap structures adds basic stubs for subtitle support around the qtmux and qtmuxmap structures. Still no real subtitle implemented, but basic functions in place https://bugzilla.gnome.org/show_bug.cgi?id=581295
If there is any sample that has subtitles on ps3 we can try and see if remuxing it works or if it needs support to another subtitle format. (On a separate bug, hopefully)
I'm a bit curious why you implemented this from scratch since there are working patches at #696437 Anyway, does your implementation handle overlapping buffers?
*** Bug 696437 has been marked as a duplicate of this bug. ***