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

2013-07-13 Thread Faraz Khan
L units anyway before passing to decoder. > That's what I know about it ) > > > 2013/7/8 Faraz Khan > >> Sergey, >> Just tried - setting decoderContext->flags2 to CODEC_FLAG2_CHUNKS also >> doesnt work (with or without parser!) Is there something speci

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
is 2574 * * * *Thanks!* * * On Sun, Jul 7, 2013 at 1:15 PM, Faraz Khan wrote: > 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

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
ing failed!\n"); >> return -1; >> } >> >> >> Could someone shed some light on if I'm really off the right track? or am >> I just missing something very trivial? >> >> >> Best Regards, >> &

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

2013-07-06 Thread Faraz Khan
n case some of the NALUs get lost > due to packet loss? > > Best, > > Attila > > > - > DTU Computing Center - www.cc.dtu.dk > att...@cc.dtu.dk, gba...@student.dtu.dk, s070...@student.dtu.dk > > > > On Sat, Jul 6, 2013 at 6

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

2013-07-06 Thread Faraz Khan
t; Could someone shed some light on if I'm really off the right track? or am > I just missing something very trivial? > > > Best Regards, > > Attila > > ___ > Libav-user mailing list > Libav-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/libav-user > > -- -- Faraz Khan Simple Collaboration Screensharing www.screenhero.com ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

[Libav-user] Making avcodec_decoder_video2 error out on bad bitstream

2013-06-17 Thread Faraz Khan
ways of figuring out whether the frame provided was complete or not but it would be a lot easier if the decoder can just indicate when it was in a error state. I've also tried to use: int errors = av_frame_get_decode_error_flags(decoderOutFrame); without any luck. Thanks! -- -- Fara

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

2013-06-10 Thread Faraz Khan
Also - av_parser_parse2 doesnt seem to like out of order NAL packets - is this also a known issue? On Mon, Jun 10, 2013 at 3:43 PM, Faraz Khan wrote: > So I got the decoder to work with the parser! It was a bug on my end - > However it still seems that the parser waits for the entire fr

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

2013-06-10 Thread Faraz Khan
So I got the decoder to work with the parser! It was a bug on my end - However it still seems that the parser waits for the entire frame to complete and then sets an outsize? Is this intentional? Is it possible to decode a single NALU? On Mon, Jun 10, 2013 at 2:57 PM, Faraz Khan wrote: >

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

2013-06-10 Thread Faraz Khan
So the keyframe cannot be fed to the decoder one nal at a time? Is that what you are suggesting? On Mon, Jun 10, 2013 at 2:40 PM, Andy Shaules wrote: > I always had to decode from the latest key frame up to the desired > stream time nal, > > > On 6/10/2013 2:36 PM, Faraz Kha

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

2013-06-10 Thread Faraz Khan
;avpkt); Results in it saying 'No frame'. Again, if avpkt.data contains the entire frame (all NALUs concatenated) it will work! I'm obviously doing some obviously wrong - but I really cant figure out why it wont decode a single NALU. Or is this a limitatio