2012/1/25 Carl Eugen Hoyos <ceho...@ag.or.at>: > Valérian <contact@...> writes: > >> > > I directly receive compressed h264 avc1 frames that I want to write >> > > to a transport stream. >> > >> > Does it work with ffmpeg (the application)? >> >> Just tried that out. Doesn't work either. > > Command line and complete, uncut console output missing. > > Please set your mailer to "plain text", Carl Eugen > > _______________________________________________ > Libav-user mailing list > Libav-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/libav-user
ffmpeg version 0.9.0.git, Copyright (c) 2000-2012 the FFmpeg developers built on Jan 5 2012 09:54:31 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) configuration: --arch=x86_64 libavutil 51. 33.100 / 51. 33.100 libavcodec 53. 50.100 / 53. 50.100 libavformat 53. 29.100 / 53. 29.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 57.101 / 2. 57.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 5.100 / 0. 5.100 [h264 @ 0x101031600] missing picture in access unit with size 4353 [h264 @ 0x101031600] slice type too large (0) at 0 0 [h264 @ 0x101031600] decode_slice_header error [h264 @ 0x101031600] no frame! [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] missing picture in access unit with size 236 [h264 @ 0x101031600] non-existing PPS 1 referenced [h264 @ 0x101031600] decode_slice_header error [h264 @ 0x101031600] no frame! [h264 @ 0x101031600] non-existing PPS referenced [h264 @ 0x101031600] non-existing PPS 127 referenced [h264 @ 0x101031600] decode_slice_header error [h264 @ 0x101031600] slice type too large (2) at 0 0 [h264 @ 0x101031600] decode_slice_header error [h264 @ 0x101031600] slice type too large (2) at 0 0 [h264 @ 0x101031600] decode_slice_header error [h264 @ 0x101031600] no frame! [h264 @ 0x101031600] missing picture in access unit with size 960 [h264 @ 0x101031600] slice type too large (2) at 0 0 [h264 @ 0x101031600] decode_slice_header error [h264 @ 0x101031600] no frame! [h264 @ 0x101031600] non-existing PPS referenced [h264 @ 0x101031600] slice type too large (2) at 0 0 [h264 @ 0x101031600] decode_slice_header error [h264 @ 0x101031600] no frame! [h264 @ 0x101031600] missing picture in access unit with size 1519 [h264 @ 0x101031600] non-existing PPS 1 referenced [h264 @ 0x101031600] decode_slice_header error [h264 @ 0x101031600] no frame! [h264 @ 0x101031600] pps_id (-1) out of range Last message repeated 1 times Last message repeated 2 times Last message repeated 2 times [h264 @ 0x101031600] non-existing PPS referenced [h264 @ 0x101031600] pps_id (-1) out of range Last message repeated 1 times Last message repeated 2 times Last message repeated 2 times [h264 @ 0x101031600] non-existing PPS 0 referenced [h264 @ 0x101031600] decode_slice_header error [h264 @ 0x101031600] no frame! [h264 @ 0x101031600] sps_id out of range Last message repeated 1 times Last message repeated 2 times Last message repeated 2 times [h264 @ 0x101031600] non-existing PPS referenced [h264 @ 0x101031600] pps_id (-1) out of range Last message repeated 1 times Last message repeated 2 times Last message repeated 2 times [h264 @ 0x101031600] non-existing PPS 0 referenced [h264 @ 0x101031600] decode_slice_header error [h264 @ 0x101031600] no frame! [h264 @ 0x101031600] non-existing PPS referenced [h264 @ 0x101031600] non-existing PPS 0 referenced [h264 @ 0x101031600] decode_slice_header error [h264 @ 0x101031600] no frame! [h264 @ 0x101031600] non-existing PPS referenced [h264 @ 0x101031600] non-existing PPS 0 referenced [h264 @ 0x101031600] decode_slice_header error [h264 @ 0x101031600] non-existing PPS 0 referenced [h264 @ 0x101031600] decode_slice_header error [h264 @ 0x101031600] no frame! [h264 @ 0x101031600] sps_id out of range Last message repeated 1 times Last message repeated 2 times Last message repeated 2 times [h264 @ 0x101031600] non-existing PPS referenced [h264 @ 0x101031600] pps_id (-1) out of range Last message repeated 1 times Last message repeated 2 times Last message repeated 2 times [h264 @ 0x101031600] non-existing PPS 0 referenced [h264 @ 0x101031600] decode_slice_header error [h264 @ 0x101031600] no frame! [h264 @ 0x10101ae00] Could not find codec parameters (Video: h264) [h264 @ 0x10101ae00] Estimating duration from bitrate, this may be inaccurate pipe:: could not find codec parameters I use a NSTask with NSPipe. The following arguments are passed to ffmpeg : NSArray *args = [NSArray arrayWithObjects:@"-y",@"-f",@"h264",@"-i",@"-",@"-acodec",@"copy",@"-vcodec",@"copy",@"-vbsf",@"h264_mp4toannexb",@"myoutput.ts", nil]; This would give : ffmpeg -y -f h264 -i - -acodec copy -vcodec copy -vbsf h264_mp4toannexb myoutput.ts Thanks, Valérian _______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user