Re: [Libav-user] encoding bitrate wrong

2012-03-16 Thread mattes
>> 2012/3/1 mattes : >>> I ported an older mp4 encoder application (using ffmpeg 0.4.9 libs)  over >>> to the ffmpeg 0.7.11 (on > Fedora15). >>> Encoding is working, but there is one minor glitch. >>>   Bitrate is set via AVContext->bit_rate = bitrate. >> Which video codec do you use? >> Do you ha

Re: [Libav-user] rtp muxing of H264 NAL units

2012-03-16 Thread adreas Polyxronopoulos
I managed to set up the configuration i described by omitted the av_encode_video() call and instead add the call to x264_encoder_encode()  and fill in the data in packets as follow: pkt.data = nals[0].p_payload; //video_outbuf; However the problem i have now is that i can't produce the appropri

Re: [Libav-user] 'Undefined reference'-error when using functions of libavcodec, compiling in Linux

2012-03-16 Thread Andrey Utkin
http://ffmpeg.org/faq.html#I_0027m-using-FFmpeg-from-within-my-C_002b_002b-application-but-the-linker-complains-about-missing-symbols-which-seem-to-be-available_002e -- Andrey Utkin ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/ma

Re: [Libav-user] 'Undefined reference'-error when using functions of libavcodec, compiling in Linux

2012-03-16 Thread Anders Branderud
Thanks for the reply! The error generated is not because of missing header-files. The header-files isn't missing. [See also this thead: http://stackoverflow.com/questions/9701764/undefined-reference-using-ffmpeg-library-avcodec-on-ubuntu-64-bits-system] The same error is generated including the he

Re: [Libav-user] Problems cross compiling ffmpeg 0.9.1 for windows using ubuntu 11.04 32-bit

2012-03-16 Thread Andrey Utkin
2012/3/16 Carl Eugen Hoyos : > Andrey Utkin writes: > >> I'd try configure options used here >> http://win32.libav... > > Since this packages have several severe problems, please do > not suggest them here. I did not suggest packages itself. I advised to look at configure options and compilation

Re: [Libav-user] Problems cross compiling ffmpeg 0.9.1 for windows using ubuntu 11.04 32-bit

2012-03-16 Thread Carl Eugen Hoyos
Andrey Utkin writes: > I'd try configure options used here > http://win32.libav... Since this packages have several severe problems, please do not suggest them here. http://ffmpeg.zeranoe.com/builds/ is intended to work and supported, please report any problems with it. Carl Eugen __

Re: [Libav-user] 'Undefined reference'-error when using functions of libavcodec, compiling in Linux

2012-03-16 Thread Andrey Utkin
2012/3/16 Anders Branderud : > Hello! > > When I run the encoding example (code inserted to the following cc-file) > provided in doc/examples of the FFMpeg-library and compile it with the > line linux-y8h9:/home/anders/Programs # g++ videofecencoder.cc -lavformat > -lavcodec -lavutil > > I get the

[Libav-user] 'Undefined reference'-error when using functions of libavcodec, compiling in Linux

2012-03-16 Thread Anders Branderud
Hello! When I run the encoding example (code inserted to the following cc-file) provided in doc/examples of the FFMpeg-library and compile it with the line *linux-y8h9:/home/anders/Programs # g++ videofecencoder.cc -lavformat -lavcodec -lavutil* * * I get the following error message: /tmp/ccDQpTY5

[Libav-user] avcodec_decode_audio4

2012-03-16 Thread David martin
Hi, I'm trying to play the sound and video of a streaming video but the function avcodec_decode_audio4 keeps returning 0. Do you know why ??? I also realized that i only get one frame decoded which i guess is the first. Here are the steps I have done void packet_queue_init(PacketQueue *q) in

Re: [Libav-user] Problems cross compiling ffmpeg 0.9.1 for windows using ubuntu 11.04 32-bit

2012-03-16 Thread Andrey Utkin
I'd try configure options used here http://win32.libav.org/ if no luck, then contact libav.org (ffmpeg fork) guys as they maintain these builds, to ask what environment they use. Their recommendations should lead you to successful build of ffmpeg, as forks are not so far diverged. -- Andrey Utkin

Re: [Libav-user] MPEG2 4:2:2 encoding in 4:3 sample_aspect_ratio

2012-03-16 Thread francesco
At 19.04 15/03/2012 +0200, you wrote: >On Mar 15, 2012 12:33 PM, wrote: >> >> Hi to all >> have anyone attempted to encode in 4:3 format ? I can't do. If I >> set: >> >> AVRational vform; >> >> >> codec = avcodec_find_encoder(CODEC_ID_MPEG2VIDEO); >> if (!codec) { Memo1->Lines->Add("Unable to