Hi Leith, Am 05.01.2011 um 10:18 schrieb Leith Bade:
> Hi Sven, > > Thanks for that link, it looks like it will be easier to work with then > FFmpeg. I only used FFmpeg because it was the only open source H264 decoder > I knew of. Me too. I use ffmpeg for the main encoding/decoding part and for reading and writing transport streams, matroska, ..., and so on. Only the h264 parsing is combined with h264bitstream. > > Could you please send me that sample code? Yes of course. > > Thanks, > Leith Bade > [email protected] > > Good luck! Sven > > On 5 January 2011 10:23, Sven Alisch <[email protected]> wrote: > >> Hello Leith, >> >> If you would like to dive into the h264-Stream then you can use the >> h264bitstream-library. >> You find that library under the following link: >> http://sourceforge.net/projects/h264bitstream/ >> >> This library is not complete yet but it shows how to implement functions to >> work with the h264-streams. I use this library for simple parsing-things and >> combine it with ffmpeg. Simply read your packets into an AVPacket-structure >> and let the library work with the h264-data located in AVPacket.data. Look >> at the library, maybe it helps you. >> >> regards, >> Sven >> >> PS: If you need some code snippets, I can send some to you. And at least!!! >> Happy new Year!!! >> >> Am 04.01.2011 um 09:55 schrieb Leith Bade: >> >>> I know that, but I am using a new API from ATI called OpenVideo Decode, >> that >>> was released with ATI Stream SDK 2.3. >>> >>> Thanks, >>> Leith Bade >>> [email protected] >>> >>> >>> >>> On 4 January 2011 21:46, Varun Dua <[email protected]> wrote: >>> >>>> On Tue, Jan 4, 2011 at 2:05 PM, Leith Bade <[email protected] >>>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> I am new to FFmpeg. >>>>> >>>>> I am trying to create a small test ap that uses ATI's UVD hardware H264 >>>>> bitstream decoder. >>>>> >>>>> So far I have used the CPU FFmpeg decoder to decode the bitstream, and >>>> then >>>>> render it to the screen with an OpenGL pixel shader doing the YUV to >> RGB. >>>>> >>>>> Now I am adding the hardware decoding part. >>>>> >>>>> What I need from FFmpeg is: >>>>> The H264 stream such as the profile, level, width/height of the frame >> in >>>>> macroblocks, and various other detailed flags >>>>> like residual_colour_transform_flag etc. (the ATI docs say these are >>>>> defined >>>>> in the H264 standard). >>>>> The raw bitstream divided up into NAL slices. >>>>> >>>>> How can I do this with FFmpeg? >>>>> >>>>> I found some stuff like level and profile in the AVCodecContext struct, >>>> but >>>>> I am missing all the really low level stuff that ATI need. >>>>> I also think that the AVPacket's data is the bitstream in NALs? >>>>> >>>>> Thanks, >>>>> Leith Bade >>>>> [email protected] >>>>> _______________________________________________ >>>>> libav-user mailing list >>>>> [email protected] >>>>> https://lists.mplayerhq.hu/mailman/listinfo/libav-user >>>> >>>> >>>> You can use vaapi for that. >>>> >>>> Regards >>>> Varun >>>> _______________________________________________ >>>> libav-user mailing list >>>> [email protected] >>>> https://lists.mplayerhq.hu/mailman/listinfo/libav-user >>>> >>> _______________________________________________ >>> libav-user mailing list >>> [email protected] >>> https://lists.mplayerhq.hu/mailman/listinfo/libav-user >> >> _______________________________________________ >> libav-user mailing list >> [email protected] >> https://lists.mplayerhq.hu/mailman/listinfo/libav-user >> > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
