Has anyone gotten multifilesink with h.264 in an mpeg.ts to work playback in iOS? Single mp4s work but multiple or single mpeg.ts doesn't. Any tips on how to make compatible multifilesink .ts files for iOS? |
If I understand correctly you want to create multiple files from a single h.264 stream in iOS. Mike Mitchell On Sun, Oct 7, 2012 at 12:24 AM, dean <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Thanks. I've the splitting working for mp4 files and video splits nicely but audio has a pop/click when you try to join them together because the audio buffers don't seem to line up nicely. I'm not sure how to get around this yet. (maybe decode just the audio and reencode?) Mpeg ts files still seem to be an issue though as even a single ts doesn't want to be read by ios devices. Is there some setting I'm missing? Thanks, Dean |
Dont' know what you are doing... but ts is supported in iOS (and actually preferred, as part of the HTML5, ie Pantos spec... see www.ioncannon.net for details.
On Thu, Oct 11, 2012 at 11:37 AM, dean <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Another note, there is a bug in the existing ffmpeg libs (which some parts of gstreamer are built upon) which don't handle ts mux'ing of MP4 main profile from mp4 muxed content. There are many folks aware of this and I tried to get one of my clients (a Hollywood studio) to pay for the fix, but the project went on hold prior to funding. This is however, probably unrelated to your specific issue (doubt you are working with main profile).
On Thu, Oct 11, 2012 at 10:56 PM, Brian Quandt <[hidden email]> wrote: Dont' know what you are doing... but ts is supported in iOS (and actually preferred, as part of the HTML5, ie Pantos spec... see www.ioncannon.net for details. _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I can get ts files working on IOS fine but just not the gstreamer ones so far. I'm doing something like this: gst-launch-1.0 -e rtspsrc location=rtsp://10.10.10.10 latency=100 ! rtph264depay ! capsfilter caps="video/x-h264,width=720,height=480,framerate=(fraction)30/1" ! mpegtsmux ! filesink location=file.ts It's baseline profile coming from a hardware encoder. Could it be because there's no PAT in the gstreamer ts files? Thanks. |
Update... A response from the apple forums: It looks like your stream does not meet transport stream requirements. Please see 13818-1:2007, section 2.14.1. It looks like you are not putting in Nal type 9 (access unit delimiter NALs), and I do not see a SPS or PPS in that segment (you should put an SPS/PPS with each IDR frame (nal type 5). From that it looked like I need to add an h264parse but then I don't get a stream I can play in VLC either. Do I need something else? |
Free forum by Nabble | Edit this page |