Re: [Libav-user] Decoding Problem (got_picture always return 0)

2012-03-26 Thread ZHAO Yinxia
Thank you very much sir! I solved my problems according to your suggestion! While I have to point out that: 1. for the four bytes header, it is automatically added if we set *param.b_annexb = 1*, and 0 while add the size of frame, so we don't need to add it manually. (Don't forget to set

Re: [Libav-user] unsynchronous for H.264+AAC:

2012-03-26 Thread Li Zhang
Is there anyone can give me some suggestion about the unsynchronous problem? Best regards, Li From: libav-user-boun...@ffmpeg.org [libav-user-boun...@ffmpeg.org] On Behalf Of Li Zhang [lizh...@utelisys.com] Sent: Friday, March 23, 2012 5:44 PM To:

Re: [Libav-user] unsynchronous for H.264+AAC:

2012-03-26 Thread Li Zhang
Hi, Thank you for your reply. Yes, I agree with what you said. But I do not know how to compute the dts exactly. I just let the muxer add that for me. But I do not know if muxer did that. I tried just now that starting the audio transcoding when the first video transcoding was succeeded.

Re: [Libav-user] unsynchronous for H.264+AAC:

2012-03-26 Thread Kalileo
On Mar 26, 2012, at 18:58 , Li Zhang wrote: Yes, I agree with what you said. But I do not know how to compute the dts exactly. I just let the muxer add that for me. But I do not know if muxer did that. I tried just now that starting the audio transcoding when the first video

[Libav-user] Inserting user text into mpeg2 stream

2012-03-26 Thread francesco
Hi to all examinig mpeg2 stream I saw that some files have user text. Usually the header is the 00 00 01 B2 user text, 37 char typical is the export in AVID IMX 50 from Quicktime. There is a way to include text using libavcodec ? I experimented that setting the CODEC_FLAG_SVCD_SCAN_OFFSET in

Re: [Libav-user] How to encode in Truehd audio in ffmpeg

2012-03-26 Thread Carl Eugen Hoyos
Ajita Pandey Ajita-Pandey@... writes: I want to encode in truehd audio. FFmpeg currently does not support TrueHD encoding. (Patch welcome, you can Google for an experimental MLP encoder as a start.) [...] ::DISCLAIMER:: This does not make much sense on a public mailing list. Carl Eugen

[Libav-user] H264 video and Speex audio streaming through RTP ?

2012-03-26 Thread ashika umanga
Greetings all, I successfully managed to encode/decode H264 video and Speex audio using libavcodec and save in MKV container using libavformat. Now instead of creating a container file , I want to stream audio and video over our local network. I saw that RTP is the standarized way to do this.