[Libav-user] Compressed h264 avc1 frames to transport stream

Valérian contact at valerian.be
Wed Jan 25 10:24:41 CET 2012


2012/1/24 Carl Eugen Hoyos <cehoyos at ag.or.at>

> Valérian <contact at ...> writes:
>
> > I directly receive compressed h264 avc1 frames that I want to write to a
> > transport stream.
>
> Does it work with ffmpeg (the application)?
>
> Carl Eugen
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>

Just tried that out. Doesn't work either.

Here are some errors I get for the frames :
[h264 @ 0x101031600] non-existing PPS referenced
[h264 @ 0x101031600] slice type too large (0) at 0 0
[h264 @ 0x101031600] decode_slice_header error
[h264 @ 0x101031600] no frame!
[h264 @ 0x101031600] pps_id (33919) out of range

[h264 @ 0x101031600] non-existing PPS 0 referenced
[h264 @ 0x101031600] decode_slice_header error
[h264 @ 0x101031600] pps_id out of range
[h264 @ 0x101031600] decode_slice_header error
[h264 @ 0x101031600] no frame

Here is the list of arguments I passed to ffmpeg in case you see something
wrong:
NSArray *args = [NSArray
arrayWithObjects:@"-y",@"-f",@"h264",@"-i",@"-",@"-acodec",@"copy",@"-vcodec",@"copy",@"-vbsf",@"h264_mp4toannexb",@"myoutput.ts",
nil];

Does this mean I won't be able to process these frames with ffmpeg ?

Thanks.

Valérian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120125/85f1d5d5/attachment.html>


More information about the Libav-user mailing list