开发者

mediafilesegmenter error on h.264 video encoded with ffmpeg

I'm trying to segment a video for use with http streaming on iOS devices with no luck...

The idea 开发者_运维问答is that this will be part of an automated process, so I'm doing the initial conversion of the video with ffmpeg, and then do the segmentation using Apple's mediafilesegmenter tool.

Every time I run the command, I get the following error:

Apr 13 2011 10:18:57.097: Processing file XXXXXXX.mp4
Apr 13 2011 10:18:57.364: track 0 of XXXXXX.mp4 contains edit list that the media doesn't start at beginning; these tracks cannot be used for segmentation
Apr 13 2011 10:18:57.364: No valid tracks found
Apr 13 2011 10:18:57.364: average bit rate is 0 - max file bit rate is 0

I'm at a loss for what I could do different with ffmpeg... Converting the file with quicktime produces the correct results. ffmpeg seems to be causing the issue...


For anyone interested, I was able to resolve this by remuxing the source into an MPEG2 TS container. Use the following command:

ffmpeg -i {original mp4} -vcodec copy -acodec copy -vbsf h264_mp4toannexb {output}.ts

From there it segments fine. This is a quick command since no rendering is done.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜