Re: [Libav-user] Decoding single NALUs from x264 programmatically (no luck even with parser), works fine with concatenated NALUs

2013-07-07 Thread Sergey Fedorov
Did you try using CODEC_FLAG2_CHUNKS? 2013/7/6 Attila Sukosd attila.suk...@gmail.com Hi guys, There was this thread about decoding NALUs one-by-one with parser2/decode2 and I'm having exactly the same issue. I have x264 creating a bunch of NALUs, in annex_b and repeate_headers, and

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-07 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: I don't think that the optimizations are disabled. You misunderstood: I did not ask you if you disabled optimizations, I asked you if you disabled them intentionally because you also disabled debugging and debugging normally is the only reason why

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-07 Thread Pavel Vazharov
Ok. Thanks. On Sun, Jul 7, 2013 at 10:33 AM, Carl Eugen Hoyos ceho...@ag.or.at wrote: Pavel Vazharov pvazharov@... writes: I don't think that the optimizations are disabled. You misunderstood: I did not ask you if you disabled optimizations, I asked you if you disabled them

Re: [Libav-user] Decoding single NALUs from x264 programmatically (no luck even with parser), works fine with concatenated NALUs

2013-07-07 Thread Faraz Khan
Sergey, I did not - is that supposed to do the trick? Would we need a parser in that scenario? On Sun, Jul 7, 2013 at 12:13 AM, Sergey Fedorov night.rain.whis...@gmail.com wrote: Did you try using CODEC_FLAG2_CHUNKS? 2013/7/6 Attila Sukosd attila.suk...@gmail.com Hi guys, There was

Re: [Libav-user] Decoding single NALUs from x264 programmatically (no luck even with parser), works fine with concatenated NALUs

2013-07-07 Thread Faraz Khan
Sergey, Just tried - setting decoderContext-flags2 to CODEC_FLAG2_CHUNKS also doesnt work (with or without parser!) Is there something special that needs to be done? Decoder keeps saying: *Screenhero[45392:13803] Current profile doesn't provide more RBSP data in PPS, skipping* *2013-07-07

[Libav-user] Getting frame duration when decoding

2013-07-07 Thread Vahid Kowsari
Hi All, I am decoding some MPEG-2 and H264 streams from file and have a problem getting the correct duration of a frame. Some files are MPEG2 transport streams while other are wrapped in mp4 or MOV container. I use the following section of code pFrame is the input AVFrame after decoding