[Libav-user] undefined reference to sws_getcontext

2014-08-12 Thread Suprith Gowda
Hi , i am building an application using ffmpeg.. but end up in error 1. /usr/local/gcc/x86_linux-gnu/4.7/../../lib/libmpeg.so: undefined reference to sws_getcontext. 2. /usr/local/gcc/x86_linux-gnu/4.7/../../lib/libmpeg.so: undefined reference to sws_scale. At this point I'm falling out of any

Re: [Libav-user] undefined reference to sws_getcontext

2014-08-12 Thread Hendrik Leppkes
On Tue, Aug 12, 2014 at 2:42 PM, Suprith Gowda suprith1...@gmail.com wrote: Hi , i am building an application using ffmpeg.. but end up in error 1. /usr/local/gcc/x86_linux-gnu/4.7/../../lib/libmpeg.so: undefined reference to sws_getcontext. 2.

Re: [Libav-user] undefined reference to sws_getcontext

2014-08-12 Thread Dmitry Adjiev
Please let me know if I understood something wrokt, but if this is libs issue, try to use the fllowing command line for compilation: -lavdevice -lavformat -lavfilter -lavcodec -lswresample -lswscale -lavutil -lbz2 -lm -lz -lpthread -lpostproc Libs should be exatrly in this order 2014-08-12

Re: [Libav-user] undefined reference to sws_getcontext

2014-08-12 Thread Suprith Gowda
thanks it worked , i misplaced the order of Libs Thanks suprith On Tue, Aug 12, 2014 at 6:32 PM, Dmitry Adjiev adjiev.dmi...@gmail.com wrote: Please let me know if I understood something wrokt, but if this is libs issue, try to use the fllowing command line for compilation: -lavdevice

[Libav-user] udp: Video multicasring

2014-08-12 Thread Dmitry Adjiev
Hello. I work for video streamer for android. For now I just read file and send it in network. if (stream.stream-codec-coded_frame-key_frame) p.flags |= AV_PKT_FLAG_KEY; if (got_packet_ptr) { p.dts = av_rescale_q_rnd(p.dts,

Re: [Libav-user] undefined reference to sws_getcontext

2014-08-12 Thread Dmitry Adjiev
You are welcome. Can you help me with udp streaming? Thread is udp: video multicasting 2014-08-12 17:40 GMT+04:00 Suprith Gowda suprith1...@gmail.com: thanks it worked , i misplaced the order of Libs Thanks suprith On Tue, Aug 12, 2014 at 6:32 PM, Dmitry Adjiev adjiev.dmi...@gmail.com

[Libav-user] SwrContext compile error

2014-08-12 Thread Xiaofei Yang
Hi, guys: I'm using SwrContext in my project, when I compile it using gcc, it complains dereferencing pointer to incomplete type av_rescale_rnd(src_nb_samples, *swr_ctx-out_sample_rate*, swr_ctx-in_sample_rate, AV_ROUND_UP); I have include libswresample/swresample.h Does anyone know how to