Re: [Live-devel] Problem Streaming MPEG4ES from buffer

2007-06-06 Thread Ross Finlayson
>Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; > micalg=sha1; boundary="ms02020904030702020306" > >Thanks for your reply, I changed my code. > >Nevertheless, enc_bytes did never exceed fMaxSize in my program >before and thus the problem still exist

[Live-devel] Problem Streaming MPEG4ES from buffer

2007-06-06 Thread Julian Lamberty
Thanks for your reply, I changed my code. Nevertheless, enc_bytes did never exceed fMaxSize in my program before and thus the problem still exists. VLC, which I use to play the stream, reports loads of errors regarding late pictures and damaged headers... :( Any more ideas? Thank you! Julian

Re: [Live-devel] Problem Streaming MPEG4ES from buffer

2007-06-06 Thread Ross Finlayson
>I use the following code to fill the buffer: > >enc_bytes = avcodec_encode_video(enc_codec_ctx, outbuf, fMaxSize, dec_frame); >if(enc_bytes >= 0) >{ >memcpy(fTo, outbuf, enc_bytes); > >if(enc_bytes > fMaxSize

[Live-devel] Problem Streaming MPEG4ES from buffer

2007-06-06 Thread Julian Lamberty
Hi Severin! How did you do that, I'm trying exactly the same. But when I use MPEG4VideoStreamFramer instead of the discrete one I get errors that say: StreamParser::afterGettingBytes() warning: read 23329 bytes; expected no more than 10026 MultiFramedRTPSink::afterGettingFrame1(): The input f

Re: [Live-devel] Problem Streaming MPEG4ES from buffer

2007-06-06 Thread Severin Schoepke
Hi Julian, I can stream ffmpeg encoded MPEG4 buffers using an MPEG4VideoStreamFramer perfectly well. I suppose you try that! cheers, Severin Julian Lamberty schrieb: > Do I have to use "MPEG4VideoStreamFramer" instead as the test program > does? __

[Live-devel] Problem Streaming MPEG4ES from buffer

2007-06-06 Thread Julian Lamberty
If I dump the stream at the receiver with openRTSP I also get a corrupted stream, so it's not a problem with the player I'm using (VLC with live555 support). smime.p7s Description: S/MIME Cryptographic Signature ___ live-devel mailing list live-devel@

[Live-devel] Problem Streaming MPEG4ES from buffer

2007-06-06 Thread Julian Lamberty
Hi! I've a ffmpeg code that writes MPEG4 frames into a buffer. I want to stream these frames over RTP/RTSP. At the moment I pass the buffer to an "MPEG4VideoStreamDiscreteFramer" that sends it to an "MPEG4ESVideoRTPSink". But the stream I receive is totally corrupted. Using wireshark I can see