Sergey,
Passing individual nal units to the decoder does not work (produces errors
I provided you with). Setting CODEC_FLAG2_CHUNKS changes the errors. This
is the same with or without the parser. Maybe that behavior has changed. If
anyone has information regarding this it'll be awesome!
Btw- if
You should split the stream to NAL 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 special that needs
> to be
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 13:4
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
>
>> Hi guys,
>>
>> There was this thread a
Did you try using CODEC_FLAG2_CHUNKS?
2013/7/6 Attila Sukosd
> 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
> trying to decode them
Ye, x264.
Thanks for the advice, seem to work much better now :)
Cheers,
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:46 PM, Faraz Khan wrote:
> Are you using x
Are you using x264? x264 has this awesome option called intra_refresh - set
that to one and use the keyint_max stuff to specify how quickly you want a
intra refresh. It can be as quick as 2-3 times the framerate. With that,
the decoder would magically recover even if you have 100% packet loss :)
Hi Faraz,
Thanks a lot for your fast reply! I guess I will try to do it as you say,
reconstruct the frame out of the arrived NALUs and feed that to the decoder
at once.
Did you run some tests on what happens in case some of the NALUs get lost
due to packet loss?
Best,
Attila
--
Atilla,
We tried this and came to the conclusion that ffmpeg is probably not
designed to handle a single NALU at a time. You can get the parser to work
in a sort of unreliable fashion if you turn on Annex-b headers in your
encoder (we were using x264). However the parser may still be unable to
read
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
trying to decode them one by one on the client side. When I concatenate all
the NALUs per frame int
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 frame to
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:
> So th
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 Khan wrote:
>
> Hi a
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 Khan wrote:
Hi all,
I'm trying to use ffmpeg as a decoder for a real-time x264 stream that
I'm generating. It works fine if I try to decode entire frames, but if
I try to decode a s
Hi all,
I'm trying to use ffmpeg as a decoder for a real-time x264 stream that I'm
generating. It works fine if I try to decode entire frames, but if I try to
decode a single NALU the decoder errors out saying 'no frame'. I've tried
using the parser (av_parser_parse2) but the h264 decoder doesnt se
15 matches
Mail list logo