On Mon, Apr 27, 2009 at 1:15 PM, SiM <[email protected]> wrote:

> Hello All,
>                  I'am new to ffmpeg devel , and i have a question regarding
> h263 (ffmpeg) and rtp (not using ffmpeg rtp), with relation to a 3gp file.
> I have a 3GP file, which i need to transmit over the network over RTP. I
> have an RTP stack, and RFC 2190 packetizer.
> Now I'am able to open the file, codec, create the Format context etc. as
> given in this excellent example source code.
> http://www.dranger.com/ffmpeg/ .
>
> My question is as i read the video stream, which is h263  encoded from the
> 3GP file using av_read_frame(), i get the data in the AVPacket struct,
> now can anyone tell me what i'am supposed to do from here, am i supposed to
> send the AVPacketData directly to the Packetizer
> or should i do something else before it is packetized (to collect a whole
> frame etc. )and send via RTP.
>
> Currently i'am able to transmit the H263 video, i do a
> avcodec_decode_video, when i read a complete frame,
> then i convert the frame into yuv format, and provide it to the packetizer,
> it works, but i feel the decode is not required,
> to make my question short,  Is there a way to send the encoded h263
> bitstream from the 3GP file , without having to decode the video into a
> AVframe, and then convert it to YUV ?
>

[Simith]A small correction, above i mean, i want to avoid converting  to
YUV, and then feeding it to the h263 encoder. I know there should be a
shortcut for it , but i don't know it !



>
> Please let me know.
>
> Thank you.
>
> Cheers,
> Simith Nambiar
>
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to