[Live-devel] H264VideoRTPSource question
Dong Liu
dliu.cn at gmail.com
Thu Jul 23 19:11:33 PDT 2009
Jeremy,
Thanks.
It works on some h264 sources but not on some other sources.
I came cross this message on the vlc list,
http://mailman.videolan.org/pipermail/vlc-devel/2005-July/018249.html
and a reply
http://mailman.videolan.org/pipermail/vlc-devel/2005-July/018262.html
It mentioned you need to to gather a whole frame before give it to ffmpeg
decoder. Maybe I should take look at that.
BTW, the decoder I'm interested to use is the MPCVideoDecoder from mpc-hc
project, it supports hardware acceleration but it also use ffmpeg code.
Thanks,
Dong
Jeremy Noring wrote:
> I've written something similar using FFDShow's decoder filter that works
> fine, so it sounds like something in your directshow filter
> implementation is wrong; I'd try the dshow newsgroups.
>
> Hi,
>
> I'm trying to write a Microsoft DirectShow source filter based on
> live media's RTP implementation. For mpeg4 it works perfectly. But
> for H264, the video is always jumpy. Sometimes with a lot artifacts.
> I tried the source filter with Cyperlink's H264/avc decoder,
> mpc-hc's MPCVideo decoder and ffdshow's software decoder. All have
> the same problem.
>
> What I did was according to Microsoft's documentation
>
> http://msdn.microsoft.com/en-us/library/dd757808(VS.85).aspx
> <http://msdn.microsoft.com/en-us/library/dd757808%28VS.85%29.aspx>
>
> I created mediatype with 'AVC1' as the media type, and use the
> sprop-parameter-sets from SDP as the the extra data form video
> format. set dwFlags to 4. Then call fSource->getNextFrame to get
> the next NALU, in the callback function with the NALU, I put 4 bytes
> length before it and pass them to the decoder.
>
> BTW, sources are from vlc and Haivision encoder. vlc play them
> perfectly. And vlc is using livemedia as well :(
>
> Thanks,
>
> Dong
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com <mailto:live-devel at lists.live555.com>
> http://lists.live555.com/mailman/listinfo/live-devel
>
>
>
>
> --
> Where are we going?
> And why am I in this hand-basket?
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
More information about the live-devel
mailing list