Re: [Libav-user] ffmpeg - Where can I find rtpvideo.cpp?

2012-12-12 Thread Carl Eugen Hoyos
Yoon Chris writes: > Hi,I'm looking for a file named "rtpvideo.cpp" that is > supposedly a part of ffmpeg. The file is definitely not part of FFmpeg and I would be very surprised if it ever has been. (I suspect it is part of an inactive (spanish) open-souce project called teartp.) Carl Euge

Re: [Libav-user] Commercial support

2012-12-13 Thread Carl Eugen Hoyos
Mike Versteeg writes: > These would be questions related to the use of the libav API, > particularly questions that relate to my lack of knowledge of the API > (due to lack of documentation and examples). Did you look into the doc/examples directory? It also contains an encoding example which i

Re: [Libav-user] av_opt_set, x264

2012-12-13 Thread Carl Eugen Hoyos
Denis writes: > if (pAVStreamVideo->codec->codec_id== CODEC_ID_H264) { > qDebug() << "CODEC_ID_H264"; > av_opt_set(pAVFormatContext->priv_data, "preset", "veryfast", 0); > av_opt_set(pAVFormatContext->priv_data, "tune", "zerolatency", 0); > av_opt_set(pAVFormat

Re: [Libav-user] Decoding HD videos on iPad devices

2012-12-19 Thread Carl Eugen Hoyos
Gohar Hovhannisyan writes: > We wonder whether it is possible to perform decoding on > iPad GPU to speed up decoding process (by compiling > it with special flags, or with some patches) Only if you implement it. > or run it parallel on dual core (iPad2) / quad-core (new iPad) > or are there a

Re: [Libav-user] Decoding HD videos on iPad devices

2012-12-20 Thread Carl Eugen Hoyos
Carl Eugen Hoyos writes: > > We wonder whether it is possible to perform decoding on > > iPad GPU to speed up decoding process (by compiling > > it with special flags, or with some patches) > > Only if you implement it. Reconsidering this, it is possible that -vcod

Re: [Libav-user] Decoding HD videos on iPad devices

2012-12-20 Thread Carl Eugen Hoyos
Gohar Hovhannisyan writes: > I've set the number of threads to 10, but every time my app > crashes on avcodec_decode_video2. (Backtrace etc. missing, see https://ffmpeg.org/bugreports.html ) Is the crash reproducible with ffmpeg (the application)? Please do not top-post here, Carl Eugen _

Re: [Libav-user] Please help me will ffmpeg be able to decode the h264 data

2012-12-21 Thread Carl Eugen Hoyos
Oleg writes: > FFmpeg CAN'T be built in VS2010 FFmpeg can be built by VS2010, it is tested regularly, please see http://ffmpeg.org/platform.html#Microsoft-Visual-C_002b_002b and http://fate.ffmpeg.org/ Carl Eugen ___ Libav-user mailing list Libav-u

Re: [Libav-user] Hardware decoding via libva

2012-12-21 Thread Carl Eugen Hoyos
faeem writes: > Would someone please direct me to documentation > and/or some other explanation of how to perform > hardware decoding using VAAPI/libva with ffmpeg's > libav libraries. Code examples would be great. I know of two examples, the va-api code in vlc and the code in a patch for MP

Re: [Libav-user] Hardware decoding via libva

2012-12-22 Thread Carl Eugen Hoyos
faeem writes: > I'll need to run the YUV to RGB conversion on each frame > if I'm running OpenGL and this will still be CPU intensive. (I don't think this is correct but it is not related to va-api at all, consider testing mplayer -vo gl, it is very fast because it does not need CPU conversio

Re: [Libav-user] ffserver, snprintf not us corrctly!

2012-12-25 Thread Carl Eugen Hoyos
Mr. Xiao <34973832@...> writes: > hi, in ffserver.c, there is a error when usng snprintf. Please send patches made with git format-patch or git send-email to ffmpeg-devel (git diff >patch.diff is also acceptable). Carl Eugen ___ Libav-user mailing li

Re: [Libav-user] Help to convert MP3 to WMA ( 16k bit, 22k Hz )‏

2012-12-27 Thread Carl Eugen Hoyos
mustafa elbehery writes: > I faced a problem in converting to "WMA (16k bit, 22k Hz)" format. Do you have a 16k wma sample? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Help to convert MP3 to WMA ( 16k bit, 22k Hz )‏

2012-12-28 Thread Carl Eugen Hoyos
mustafa elbehery writes: ‏> > > I faced a problem in converting to "WMA (16k bit, 22k Hz)" format. > > > > Do you have a 16k wma sample? > > yes I do.  Then please either post ffmpeg -i yoursample output or provide the file. Please do not top-post here and please fix your mailer to use "tex

Re: [Libav-user] Encoding and writing to a file with libavformat and libavcodec

2012-12-29 Thread Carl Eugen Hoyos
Shawn Van Every writes: > Program received signal EXC_BAD_ACCESS, Could not access memory. > Reason: KERN_INVALID_ADDRESS at address: 0x0090 > 0x0001000870b5 in ff_mov_write_packet () > (gdb) bt > #0  0x0001000870b5 in ff_mov_write_packet () > #1  0x7fff8e58cb28 in szone_m

Re: [Libav-user] How to control ffmpeg's key-frame generation?

2013-01-02 Thread Carl Eugen Hoyos
Quy Pham Sy writes: > How can we control the ffmpeg key frame generation? > (i guess there should be a ffmpeg command's argument > for this, -force_key_frames maybe, but I'm not sure) You mean you searched for -force_key_frames on http://ffmpeg.org/ffmpeg.html but you are not sure if you fou

Re: [Libav-user] How to control ffmpeg's key-frame generation?

2013-01-02 Thread Carl Eugen Hoyos
Quy Pham Sy writes: > I'm making a segmenter that intervene ffmpeg's write_frame > function and write output data to separate files. Each > segmented file contains segment of about 3 seconds video. It is possible that your questions are answered in the fine documentation: http://ffmpeg.org/ff

Re: [Libav-user] muxer ignoring my PTS audio values

2013-01-03 Thread Carl Eugen Hoyos
Michael R. Hines writes: > the problem was that I was not using a *actual* > container to encapsulate my audio/video streams. > For example, if you make a call like this, for example: > avformat_alloc_output_context2(&ctx->outAudioFormatCtx, NULL, "ac3", NULL) > or  avformat_alloc_output_context

Re: [Libav-user] Encoding and writing to a file with libavformat and libavcodec

2013-01-03 Thread Carl Eugen Hoyos
Shawn Van Every writes: > (gdb) bt > #0  0x7fff83cab212 in __pthread_kill () > #1  0x7fff8332bb34 in pthread_kill () > #2  0x7fff8336fdfa in abort () > #3  0x7fff83343989 in free () > #4  0x0001f6dc in av_freep (arg=0x10628) at mem.c:185 > > #5  0x7fff855ba7e1 in

Re: [Libav-user] change pixel format without scaling data ?

2013-01-05 Thread Carl Eugen Hoyos
jim morgenstern writes: > I am using sws_scale to change the pixel formatting but > this routine is also changing the scale of the data > graylevel values themselves and I do not want it to. I am not sure I understand: Are you converting from GRAY8 to GRAY8A without changing the resolution bu

Re: [Libav-user] change pixel format without scaling data ? // more3

2013-01-05 Thread Carl Eugen Hoyos
jim morgenstern writes: > Code snippet: > #define RGB16  PIX_FMT_RGB48LE  // little endian > #define RGB    PIX_FMT_BGR24 > #define YUV422 PIX_FMT_YUV422P10LE > #define YUV444 PIX_FMT_YUV444P16LE (That must of course make the code much more readable and significantly ease the search for a probl

Re: [Libav-user] Decoding an AAC-LATM 5.1 audio returns errors and only 1 channel with data

2013-01-08 Thread Carl Eugen Hoyos
Nicolás Dato writes: > Then, I tested it by upgrading to FFMPEG 1.0, everything > looks the same as with 0.10.5 untill the error "channel element > 0.2.." appears, after this happens the data is different, the > channel 1, 2, 4, 5 and 6 are always in 0 (silence), and the > channel 3 has the inf

Re: [Libav-user] Decoding an AAC-LATM 5.1 audio returns errors and only 1 channel with data

2013-01-08 Thread Carl Eugen Hoyos
Nicolás Dato writes: > I opened the output with audacity, at the very beginning > there is audio in all the channels, after the ffmpeg throws > that error, all the channels are in silence but one I understand. Please provide a longer sample (a few seconds 5.1 if possible and at least addition

Re: [Libav-user] Decoding an AAC-LATM 5.1 audio returns errors and only 1 channel with data

2013-01-10 Thread Carl Eugen Hoyos
Nicolás Dato writes: > here is a 400k (17 seconds) file: > http://www.mediafire.com/?32xm5y6vo25hg2b Thank you for the longer sample, this makes testing simpler imo. This is another sample for a regression in the aac decoder, described in ticket #1694, I attached your sample there. I had or

Re: [Libav-user] libavcodec vorbis encoding

2013-01-10 Thread Carl Eugen Hoyos
Александр Рухлов writes: > Signal of 440 Hz it is coded and written to the container. > AAC, MP2, AC3 works without problems.BUT categorically > Vorbis doesn't want to workfunction avcodec_encode_audio2() > works without mistakes and even something returns, but > these data are damaged Is it

Re: [Libav-user] (no subject)

2013-01-11 Thread Carl Eugen Hoyos
sangeeta chowdhary writes: > I have tried to execute few examples like metadat.c > (http://ffmpeg.org/doxygen/trunk/doc_2examples_2metadata_8c-example.html) > but I am not able to compile. I fear that "not able to compile" is not enough information for anybody who wants to help you. > I have

Re: [Libav-user] Decoding an AAC-LATM 5.1 audio returns errors and only 1 channel with data

2013-01-11 Thread Carl Eugen Hoyos
Nicolás Dato writes: > 2013/1/10 Carl Eugen Hoyos : > > Note that 0.10 is not working correctly because > > the channel is wrong, this was fixed at some > > point between 0.10 and 0.11. > > Does it mean the .aac is wrong? No, it means there was a bug in 0.10 (th

Re: [Libav-user] g++ 4.7.2 fails to compile av_err2str

2013-01-11 Thread Carl Eugen Hoyos
wb writes: > g++ 4.7.2 fails to compile av_err2strI use av_err2str > in a c++ file, g++ 4.7.2 can not compile it. The error > message is "taking address of temporary array". Please provide a minimal test-case. Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] Need Help to execute demo program

2013-01-14 Thread Carl Eugen Hoyos
sangeeta chowdhary writes: > swfdec.c:(.text+0xd5d): undefined reference to `inflateInit_' Looks like -lz is missing. > atrac3.c:(.text.unlikely+0xb9): undefined reference to `sin' Looks like -lm is missing. Carl Eugen ___ Libav-user mailing list L

Re: [Libav-user] Need Help to execute demo program

2013-01-14 Thread Carl Eugen Hoyos
sangeeta chowdhary writes: > libmp3lame.c:(.text+0x4f): undefined reference to `lame_encode_flush' Looks as if -lmp3lame is missing. Please do not top-post on this mailing list, it is considered rude, and please force your mailer to "text-only". Carl Eugen ___

Re: [Libav-user] Decoding audio: ffmpeg examples

2013-01-14 Thread Carl Eugen Hoyos
Angelo Haller writes: > Fist of all there seems to be a memory leak in > doc/examples/demuxing.c (valgrind certainly tells me that). > Freeing the AVPacket seems to resolve that issue (see the patch > attached). Please send patches to ffmpeg-devel. Carl Eugen __

Re: [Libav-user] Function "avcodec_decode_audio3" cause signal 7 (SIGBUS).

2013-01-15 Thread Carl Eugen Hoyos
Brian Chi writes: > My program uses ffmpeg to decode a MP4 file, when > it runs to function "avcodec_decode_audio3", it > cause signal 7(SIGBUS). The audio codec is aac, > ffmpeg version is 0.8.10. > But it works well on the version 0.11.1 of ffmpeg. This sounds as if you are investing time t

Re: [Libav-user] Decoding audio: ffmpeg examples

2013-01-15 Thread Carl Eugen Hoyos
Angelo Haller writes: > On 01/14/2013 10:07 PM, Carl Eugen Hoyos wrote: > > Please send patches to ffmpeg-devel. > > Almost thought so. Opened a ticket (#2142) and sent in the patch. Thank you! Carl Eugen ___ Libav-user mailing

Re: [Libav-user] Can sws_scale() mirror the frame?

2013-01-16 Thread Carl Eugen Hoyos
Wagner Patriota writes: > After decoding videos I get the frame upside down after > sws_scale() from H.264 pixel format to AV_PIX_FMT_RGB24. Pass a negative linesize (and an appropriately fixed starting pointer). ("Mirror" usually means horizontal flip, "flip" is vertical) Carl Eugen

Re: [Libav-user] Deprecated flag CODEC_FLAG2_INTRA_VLC and CODEC_FLAG2_NON_LINEAR_QUANT

2013-01-18 Thread Carl Eugen Hoyos
writes: > I update my project from ffmpeg libavcodec library > version 0.7.11 to the 1.0 one. In this last the flags > CODEC_FLAG2_INTRA_VLC and CODEC_FLAG2_NON_LINEAR_QUANT > are deprecated and not defined at all. When I compress > in mpeg2 4:2:2 format the output is unreadable for QT > (

Re: [Libav-user] Deprecated flag CODEC_FLAG2_INTRA_VLC and CODEC_FLAG2_NON_LINEAR_QUANT

2013-01-18 Thread Carl Eugen Hoyos
writes: > Which flag replace the CODEC_FLAG2_INTRA_VLC and This is now the mpeg-encoding specific option "intra_vlc". > CODEC_FLAG2_NON_LINEAR_QUANT one ? This mpeg-_2_-specific encoding option is called "non_linear_quant". Carl Eugen ___ Libav-u

Re: [Libav-user] undefined reference errors from linker

2013-01-21 Thread Carl Eugen Hoyos
Srinath M writes: > I am using ffmpeg version 0.11.1 with Ubuntu 10.04 This is a bit outdated. If you are a user, please update to current git head, if you are a distributor, please choose 1.1.1. Carl Eugen ___ Libav-user mailing list Libav-user@ffm

Re: [Libav-user] Possible infinite loop in libavcodec/h264.c

2013-01-21 Thread Carl Eugen Hoyos
writes: > I am tracking down a memory leak in vlc where within > a matter of seconds vlc consumes over 14G of memory, Is there a sample that allows to reproduce this? If yes, please provide it. > the problem is intermittent. (That is not a good sign.) > I think that the problem may be an in

Re: [Libav-user] undefined reference errors from linker

2013-01-23 Thread Carl Eugen Hoyos
Srinath M writes: > clang -o tld tld.o -L"../lib" -lccv -lavformat -lavcodec -lswscale -lz -lm > > /usr/local/lib/libavformat.a(concat.o): In function `concat_close': > /home/srinath/Downloads/ffmpeg-1.1.1/libavformat/concat.c:52: > undefined reference to `av_freep' Whenever you link with one

Re: [Libav-user] undefined reference errors from linker

2013-01-23 Thread Carl Eugen Hoyos
Srinath M writes: > /usr/local/lib/libavformat.a(matroskadec.o): In function > `matroska_decode_buffer': > /home/srinath/Downloads/ffmpeg-1.1.1/libavformat/matroskadec.c:1138: > undefined reference to `BZ2_bzDecompressInit' The first letters of the missing symbol seem to indicate that you wan

Re: [Libav-user] Mixes multiple audio inputs into a single output.

2013-01-24 Thread Carl Eugen Hoyos
Alan writes: > But I always got this error > > #ffmpeg -i 1.wav -i 2.wav -filter_complex > amix=inputs=2:duration=first:dropout_transition=2 out.wav > > ffmpeg version 0.11.2 Please test current git head, filter_complex is a fairly new option that has seen some improvements since. > confi

Re: [Libav-user] AVI mpeg4 DivX 5.0 and DivX 3 bitstreams passing to hardware decoder

2013-01-24 Thread Carl Eugen Hoyos
Pavel Sokolov writes: > I'm applying h264_mp4toannexb bitstream filters to > H264 from the avi/mkv container and it play it fine. > > But now I have some trouble: It does not want to > play AVI with mpeg4 DivX 3 and DivX 5 streams. Try dump_extra. Carl Eugen

Re: [Libav-user] MPEG-TS DVB-CSA descrambler

2013-01-25 Thread Carl Eugen Hoyos
Pavel Sokolov writes: > I can't use any external tool. I need to do it "on the fly" > while reading packets from AVFormat Note that I suspect that a patch that adds a wrapper for FFdecsa would be very welcome! Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] porting FFusion codec to current FFmpeg libs - ParseContext1 ??

2013-01-25 Thread Carl Eugen Hoyos
René J.V. Bertin writes: > Perian, and thus my FFusion pet project, use > an older FFmpeg version, major 52 Please understand that every effort you put into lavc 52 is useless afacit, it is missing both many features and many bug fixes compared to current lavc and you will only get very, ver

Re: [Libav-user] porting FFusion codec to current FFmpeg libs - ParseContext1 ??

2013-01-25 Thread Carl Eugen Hoyos
René J.V. Bertin writes: > Was my request that unclear??? I am not a native speaker... I suggest you study the git history to find out how function usage was replaced inside of FFmpeg / lavc to find out which changes are necessary. Carl Eugen ___

Re: [Libav-user] av_interleaved_write_frame has divide by zero?

2013-01-26 Thread Carl Eugen Hoyos
jim morgenstern writes: > Can anyone offer an insight into which field / why / > av_interleaved_write_frame is throwing an integer divide by zero? Command line, sample, console output and (even if not reproducible with ffmpeg) backtrace etc. missing. Carl Eugen ___

Re: [Libav-user] porting FFusion codec to current FFmpeg libs - ParseContext1 ??

2013-01-28 Thread Carl Eugen Hoyos
René J.V. Bertin writes: > But when I use MSVC 2010 Express, the optimised version > crashes when trying to access avutil_version (the others > are fine?!). It's as if the function is mapped to an > invalid address. > BTW, something similar but worse happens with the > current-version ffmpeg

Re: [Libav-user] n00b question : decompressing into a contiguous pixmap

2013-01-28 Thread Carl Eugen Hoyos
René J.V. Bertin writes: > I'm looking for some pointers/explanation/help on how to > decompress, say mp4v, content into a contiguous > pixmap expected by a 3rd party multimedia framework. > After being informed of the movie's width, height > and depth, the framework provides me with a destinat

Re: [Libav-user] Modern C tutorials on reading frames and converting them to ppm

2013-01-29 Thread Carl Eugen Hoyos
Marty Sullivan writes: > I am currently using the following C tutorial: > > http://linux.amazingdev.com/blog/archives/2011/09/28/tutorial01.c > > > I thought this one would work better than drangers ~8 year > old tutorial but alas there are still many deprecated or > removed functions since

Re: [Libav-user] FFmpeg and Libraries

2013-01-29 Thread Carl Eugen Hoyos
amir amir writes: > is there any open source implementation under windows platform? You can find FFmpeg source code at http://ffmpeg.org/download.html Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/lib

Re: [Libav-user] mpeg-ts EIT and EPG info

2013-01-29 Thread Carl Eugen Hoyos
Francisco Medina writes: > I was wondering if the library also has support to > access the Event Information Table (EIT) or/and  EPG. Not yet afaik, patch welcome! Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailma

Re: [Libav-user] avconv http custom headers are ignored

2013-01-30 Thread Carl Eugen Hoyos
video-server writes: > avconv version 0.8.5-6:0.8.5-1~bpo60+1, > Copyright (c) 2000-2012 the Libav developers This is an intentionally broken version of FFmpeg, it contains several hundred bugs not reproducible with FFmpeg, some of them security relevant, please understand that we therefore

Re: [Libav-user] avconv http custom headers are ignored

2013-01-30 Thread Carl Eugen Hoyos
video-server writes: > i understand, i was confused by the name of this list This mailing list exists for five years, the fork you tested since two, so I guess they did not choose their name very well. Is the problem you see also reproducible with current FFmpeg? Carl Eugen ___

Re: [Libav-user] avconv http custom headers are ignored

2013-01-30 Thread Carl Eugen Hoyos
video-server writes: > i don't know yet, but it will take some time, because > i must first find out the parameter syntax for ffmpeg > for achieveing the same thing. If you find an option that is not supported by ffmpeg, please report it! (From a quick loop, FFmpeg supports all options you us

Re: [Libav-user] avconv http custom headers are ignored

2013-01-30 Thread Carl Eugen Hoyos
video-server writes: > ./ffmpeg -v debug -f image2 -loop 1 -ihttp://ip/snap.jpg > -headers $'Cookie: pwdid=admin;usrid=admin\r\n' Could you test if the following works? $ ffmpeg -headers ... -i http://ip/snap.jpg Carl Eugen ___ Libav-user mailing li

Re: [Libav-user] avconv http custom headers are ignored

2013-01-30 Thread Carl Eugen Hoyos
video-server writes: > ./ffmpeg -v debug -f image2 -loop 1 -ihttp://ip/snap.jpg Did you already read this part of the documentation? http://ffmpeg.org/ffmpeg-protocols.html#http It contains some hints on how to pass cookies iiuc. Carl Eugen ___ Liba

Re: [Libav-user] Error: selected processor does not support `it gt'

2013-02-04 Thread Carl Eugen Hoyos
Vikas Sawant writes: > AS  libavcodec/arm/ac3dsp_arm.o > ./libavutil/arm/asm.S: Assembler messages: > ./libavutil/arm/asm.S:134: Warning: stray `\' > ./libavutil/arm/asm.S:135: Warning: stray `\' > ./libavutil/arm/asm.S:143: Warning: stray `\' > libavcodec/arm/ac3dsp_arm.S:30: Error: > selec

Re: [Libav-user] Mapping / converting QTCapture's to FFmpeg's pixel format

2013-02-04 Thread Carl Eugen Hoyos
Brad O'Hearne writes: > "Bi-Planar Component Y'CbCr 8-bit 4:2:0, full-range > (luma=[0,255] chroma=[1,255]). baseAddr points to a > big-endian CVPlanarPixelBufferInfo_YCbCrBiPlanar struct." > > My code (heavily abridged for brevity) hits these high points:  > > NOTE: frameBufferAddress is a C

Re: [Libav-user] Mapping / converting QTCapture's to FFmpeg's pixel format

2013-02-05 Thread Carl Eugen Hoyos
Brad O'Hearne writes: > The problem is that the video quality (specifically > color and artifacts) isn't what I'm capturing. The > color is off -- desaturated with a slightly green > hue, with colored lines consistently across the the > video image. In addition, the left border of the > imag

Re: [Libav-user] Mapping / converting QTCapture's to FFmpeg's pixel format

2013-02-05 Thread Carl Eugen Hoyos
Alex Cohn writes: > If I understand correctly, kCVPixelFormatType_420YpCbCr8Planar > exposes three fields: > ComponentInfoY, ComponentInfoCb, and ComponentInfoCr. > But ffmpeg expects a contiguous byte array of Y > pixels (w*h), followed by Cb (w/2*h/2). > > Therefore, even for conversion fro

Re: [Libav-user] configure script fails for cross-compiling

2013-02-05 Thread Carl Eugen Hoyos
Vikas Sawant writes: > I’m trying to cross compile ffmpeg for the arm processor > and run the following configure command: > ./configure --enable-cross-compile --host-cc=/usr/bin/gcc > --cc=arm-none-linux-gnueabi-gcc > --as=arm-none-linux-gnueabi-as Remove this part from the configure line.

Re: [Libav-user] Noise on mms-stream playing

2013-02-05 Thread Carl Eugen Hoyos
Alexey Belkevich writes: > I'm building an iOS app. And found that when I'm updated ffmpeg, > there are noise occurs on mms-stream playing. When decoding the stream with ffmpeg (the application)? Or with a different use-case? If yes, please explain. > For ffmpeg building, I'm using this scrip:

Re: [Libav-user] Noise on mms-stream playing

2013-02-05 Thread Carl Eugen Hoyos
Alexey Belkevich writes: > Yes I'm using ffmpeg in iOS app to play mms-streams. Please add at least ffmpeg -i input out.wav console output on a supported platform. (Can't you test ffmpeg on your iOS device like this?) Please do not top-post here, it is considered rude. Carl Eugen ___

Re: [Libav-user] configure script fails for cross-compiling

2013-02-05 Thread Carl Eugen Hoyos
Vikas Sawant writes: > added a few more and it worked. I do make and that compiles > the libraries. Stripping failed, so I disabled it and I (is this expected? or is the wrong stripping command called? How does it "fail"?) > wanted to avoid assemblt code, so I disabled that too. (Depending

Re: [Libav-user] Noise on mms-stream playing

2013-02-05 Thread Carl Eugen Hoyos
Alexey Belkevich writes: > Unfortunately it's can't be done. FFMpeg is only decoder, > all playback routine done with iOS SDK. > But I will try to think in this direction. Is console log > of decoding and connection could be helpful? Also, is any > flag or macros that will enable more detailed

Re: [Libav-user] configure script fails for cross-compiling

2013-02-05 Thread Carl Eugen Hoyos
Vikas Sawant writes: > I had to explicitly change the STRIP and RANLIB > in config.mak to pick the one from the arm tool chain. Did you try the configure option --cross-prefix= ? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ff

Re: [Libav-user] configure script fails for cross-compiling

2013-02-05 Thread Carl Eugen Hoyos
Vikas Sawant writes: > As with –disable-everything, we only need a > limited set of audio codecs such as WMA and > none of the video codecs. Understood, I just would have imagined you first want to compile everything and then disable what you don't need, but this is of course possible. Rega

Re: [Libav-user] Mapping / converting QTCapture's to FFmpeg's pixel format

2013-02-05 Thread Carl Eugen Hoyos
Brad O'Hearne writes: > Apologies for the top-post. Etiquette varies across > mailings lists, and now that I understand this one, > I'll be sure to abide by that in the future. Now of course comes the unavoidable question: If you understood that top-posting is not welcome here, why did you do

Re: [Libav-user] Noise on mms-stream playing

2013-02-06 Thread Carl Eugen Hoyos
Alexey Belkevich writes: > > Does ffmpeg (ffmpeg -i yourstream out.wav) also work? > > If yes, please provide complete, uncut console output. ^ Please believe me that I do not copy-paste that and that I do not write this to make your life m

Re: [Libav-user] How to specify the audio sample format when opening a file

2013-02-06 Thread Carl Eugen Hoyos
黄轩宇 writes: > Our application, when used with old version to > open a MP4 file with AAC encoded audio, the populated > pAudioCodecCtx->sample_fmt == AV_SAMPLE_FMT_FLP, but > when used with latest FFMPEG version, this value > changed to AV_SAMPLE_FMT_FLTP.  > > I found a member AVCodecContext

Re: [Libav-user] Mapping / converting QTCapture's to FFmpeg's pixel format

2013-02-06 Thread Carl Eugen Hoyos
salsaman writes: > http://svn.code.sf.net/p/lives/code/trunk/src/colourspace.c > > (search for convert_yuyv_to_yuv420_frame). This does not look like a good idea, I would expect libswscale to be a magnitude faster. (and it supports other pix_fmts as well.) Carl Eugen

Re: [Libav-user] Noise on mms-stream playing

2013-02-06 Thread Carl Eugen Hoyos
Alexey Belkevich writes: >     Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), > 32000 Hz, stereo, > fltp, 40 kb/s ^^ This used to be s16, you have to update your source code. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Noise on mms-stream playing

2013-02-06 Thread Carl Eugen Hoyos
Alexey Belkevich writes: > This used to be s16, you have to update your source code. > > Ok, here it is output of ffmpeg It appears that my sentence above was unclear - sorry! You have to update your source code because FFmpeg does not output decoded wma as s16 anymore. Carl Eugen _

Re: [Libav-user] Noise on mms-stream playing

2013-02-06 Thread Carl Eugen Hoyos
Carl Eugen Hoyos writes: > Alexey Belkevich writes: > > > This used to be s16, you have to update your source code. > > > > Ok, here it is output of ffmpeg > > It appears that my sentence above was unclear - sorry! Third try: ;-) > You have to update you

Re: [Libav-user] How to specify the audio sample format when opening a file

2013-02-06 Thread Carl Eugen Hoyos
FFMPEG writes: > Yes, I checked the AAC decoder code and found that > only AV_SAMPLE_FMT_FLTP is supported. > So I have to do conversion myself. Fortunately not! You can either use the aconvert filter or call libswresample directly. Please do not top-post here, Carl Eugen ___

Re: [Libav-user] Compiling fails when compiling using FreeScale iMX27 toolchain

2013-02-07 Thread Carl Eugen Hoyos
Vikas Sawant writes: > CC  libavfilter/af_volume.o > /tmp/ccpfLjll.s: Assembler messages: > /tmp/ccpfLjll.s:99: Error: selected processor does not support `itet ne' > make: *** [libavfilter/af_volume.o] Error 1 Since it is not clear to me if this is a compiler error or a bug in FFmpeg: Plea

Re: [Libav-user] FFMPEG giving error at compilation

2013-02-07 Thread Carl Eugen Hoyos
Anshul writes: > Guys when I compile ffmpeg1.1 with enable-gpl flag and > enable-x264 flag I get an error "can’t find a register > in class ‘GENERAL_REGS’" > Its in File libpostproc/postprocess_template.c:1094:5 Please test the following: $ make distclean $ ./configure --enable-gpl --enable-li

Re: [Libav-user] What' the difference of decoding an Audio frame of planar sample format with avcodec_decode_audio3 and 4

2013-02-08 Thread Carl Eugen Hoyos
黄轩宇 writes: > Another thing is about libavresample and libswresample. Please note that only libswresample is supported (and shold therefore be used). > I know this two libraries provide interfaces to convert data format. > But if what I want is just array re-layout (as AAC decoder upgraded >

Re: [Libav-user] FFMPEG decoding H264 and Multithreading

2013-02-08 Thread Carl Eugen Hoyos
Jérôme SALAYET writes: > if I decode one stream, my CPU usage is very low > (so good). If I decompress two streams, it's ok too. > But if I had a third decompression, my CPU increase > from 2-5% to 25-30%.So, I try to activate > Mutlithreading in FFMPEG You should use multi-threading if you

Re: [Libav-user] FFMPEG giving error at compilation

2013-02-09 Thread Carl Eugen Hoyos
Anshul writes: > ./configure --disable-optimizations --enable-gpl I sent a patch to fix this but please note that --disable-optimizations is a debugging option (for developers) that may not allow to compile all files (depending on architecture and compiler), please make sure you do not use i

Re: [Libav-user] FFMPEG giving error at compilation

2013-02-09 Thread Carl Eugen Hoyos
Anshul writes: > when i am using the below flag it is giving me > compilation error: > > ./configure --disable-optimizations --enable-gpl Should be fixed, thank you for the report! Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://

Re: [Libav-user] FFMPEG decoding H264 and Multithreading

2013-02-09 Thread Carl Eugen Hoyos
René J.V. Bertin writes: > multithreaded decoding only makes sense for H.264 with slices. This is not correct. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Complying with L-GPL license

2013-02-12 Thread Carl Eugen Hoyos
Kalileo writes: > > If you zip up the source and include it in your CD or download every > > time you publish, you have fulfilled that requirement without stepping > > on any toes. > > And if you would use the precompiled .dll files from > http://ffmpeg.zeranoe.com/builds/ , how could you > pra

Re: [Libav-user] Complying with L-GPL license

2013-02-12 Thread Carl Eugen Hoyos
Kalileo writes: > From a practical point of view, I understand that the > sources (even if unmodified) should be either - added > to the software package (which gets distributed, and > contains the .dll files) or Iirc, the license uses the word "accompany", I believe no court has so far dec

Re: [Libav-user] Complying with L-GPL license

2013-02-12 Thread Carl Eugen Hoyos
Kalileo writes: > Thanks to Carl-Eugen and Phil for explaining this in words > easy to understand for a non-lawyer like me :) - > the first time I feel i know what to do to comply with the > license. If you believe that anything on http://ffmpeg.org/legal.html (the license compliance checklis

Re: [Libav-user] How is bitrate determined when call ffmpeg executable without bitrate parameter

2013-02-12 Thread Carl Eugen Hoyos
黄轩宇 writes: > If run ffmpeg executable directly to convert a video file, > for example ffmpeg -i file_in.mp4 file_out.mpg (Complete, uncut console output missing.) > How will the output file bitrate be calculated? It is set to 200k for video. Carl Eugen _

Re: [Libav-user] ff_log2_tab defined multiple times in the fmpeg 1.1 libraries, bug or feature ??

2013-02-13 Thread Carl Eugen Hoyos
Lars Hammarstrand writes: > Hello, can someone please explain the reason (and how to > cope with) that ff_log2_tab is defined multiple times > with #include "libavutil/log2_tab.c" in the ffmpeg v1.1 > libraries like libavcodec 54.91.102 and companions ?? > > > This results in "duplicate symb

Re: [Libav-user] Encoding RGB Data to YUV420p

2013-02-13 Thread Carl Eugen Hoyos
Chris Share writes: > I've got the .png image data in a vector as RGB data > (0-255 range). > > What I'm not clear about is how to convert this image > data to YUV420p format as per the decoding_encoding.c > example. See the scaling_video.c and filtering_video.c examples: You can either use

Re: [Libav-user] ffmpeg converted swf can't play audio in flash player

2013-02-13 Thread Carl Eugen Hoyos
黄轩宇 writes: > I also tried ffmpeg executable of latest version, > versions on Apr, May and Jun of 2012. None swf file  > generated by them can play audio in flash player. > The command I used is the simplest form: > ffmpeg -i input.mp4 output.swf > > > Since current version of our application

Re: [Libav-user] How to Convert AV_PIX_FMT_RGB24 to AV_PIX_FMT_YUV420P

2013-02-14 Thread Carl Eugen Hoyos
Chris Share writes: > The scaling_video.c is close to what I need however the > conversion is the opposite of what I want. What I'm > not clear about is how to change the "fill_yuv_image" > function to something like "fill_rgb_image". The function is used to provide an artificial source image.

Re: [Libav-user] Using swcale to crop picture

2013-02-14 Thread Carl Eugen Hoyos
Eric Beuque writes: > Thank you for your answser!I'm going to try libavfilter. > I saw it seems to provide a filter algorithm, so i > guess libavfilter can replace libswscale? The scale filter uses / depends on libswscale. (Note that I believe since you control the data pointers, the width a

Re: [Libav-user] Using swcale to crop picture

2013-02-14 Thread Carl Eugen Hoyos
Eric Beuque writes: > Sorry i forgot a word in my sentence: "I'm going to > try libavfilter. I saw it seems to provide a > ***scale*** filter algorithm, so i guess libavfilter > can replace libswscale? The scale filter uses / depends on libswscale. > "What I means is libavfilter can totally

Re: [Libav-user] How to Convert AV_PIX_FMT_RGB24 to AV_PIX_FMT_YUV420P

2013-02-14 Thread Carl Eugen Hoyos
Chris Share writes: > Chris Share writes: > > >> The scaling_video.c is close to what I need however the > >> conversion is the opposite of what I want. What I'm > >> not clear about is how to change the "fill_yuv_image" > >> function to something like "fill_rgb_image". > > >The function is

Re: [Libav-user] Maybe about an MVC decoder

2013-02-14 Thread Carl Eugen Hoyos
Joris VALETTE writes: > 1° Can you tell me whether this 3D video (1.MTS) > is indeed encoded with H.264/MVC ? > => http://dept-info.labri.fr/~charton/pdp/Videos/ Yes, ffmpeg -i 1.MTS indicates a mvc stream (not explicitly, but it looks like a mvc stream). [...] > I have looked and i

Re: [Libav-user] Need Help for convert Audio output with video processing using ffmpeg vc++2010

2013-02-17 Thread Carl Eugen Hoyos
Shashi Bhushan writes: > I am developing a application that convert one > video to another including sound (means in source > file has video as well as sound) with the help of > FFMPEG Library  I have created a video. But sound > is not available in converted video. so please > help me how c

Re: [Libav-user] Maybe about an MVC decoder

2013-02-17 Thread Carl Eugen Hoyos
Joris VALETTE writes: > >Because you did not send a patch yet. > > Well I'd love to, but I'm a newbie with h.264 at the moment, > and I'm discovering the decoder implementation step by step. > You didn't answer my question, why hasn't MVC been done yet ? Please don't take it aggressively (eith

Re: [Libav-user] ff_log2_tab defined multiple times in the fmpeg 1.1 libraries, bug or feature ??

2013-02-17 Thread Carl Eugen Hoyos
Lars Hammarstrand writes: > Ive posted a patch to ffmpeg-dev, which may fix this: > 0213 19:51 To FFmpeg devel (3.0K) [FFmpeg-devel] > [PATCH] buildsys: only include log2_tab per library for shared builds > please test and comments welcome Could one of you (who is affected by the problem, reme

Re: [Libav-user] ff_log2_tab defined multiple times in the fmpeg 1.1 libraries, bug or feature ??

2013-02-18 Thread Carl Eugen Hoyos
René J.V. Bertin writes: > On Feb 17, 2013, at 19:16, Carl Eugen Hoyos wrote: > > > > Could one of you (who is affected by the problem, > > remember that it cannot be reproduced on same (this should have been "sane") > > environments) please test menti

Re: [Libav-user] Converting audio sample buffer format

2013-02-18 Thread Carl Eugen Hoyos
Brad O'Hearne writes: > Note that the flv codec While I have _no_ idea what the "flv audio codec" could be, please use either the aconvert filter or libswresample directly to convert from one audio format to another. Carl Eugen ___ Libav-user maili

Re: [Libav-user] Converting audio sample buffer format

2013-02-18 Thread Carl Eugen Hoyos
Brad O'Hearne writes: > I have found the resampling_audio.c in the FFmpeg > source examples which appear to address libswresample, > and I have found the filter_audio.c -- it would appear > to be an aconvert example -- but if there's more doc > somewhere on aconvert, I'd be interested in know

Re: [Libav-user] Demuxers and probing

2013-02-19 Thread Carl Eugen Hoyos
writes: > But now, if i try to open a specific audio file, > both demuxers send AVPROBE_SCORE_MAX I believe this indicates that your probing functions are broken (ie: This should not happen). [...] > So, my questions are : > -my problem can come from other thing that this 2 demuxers ? > -

Re: [Libav-user] Error in compilation

2013-02-20 Thread Carl Eugen Hoyos
Dolevo Jay writes: > Hi all,I am trying to build the libav Please don't! avconv is known to contains hundreds of known bugs not present in FFmpeg, some of them security relevant, please understand that we cannot support it here. Please see http://ffmpeg.org/download.html for supported versio

<    1   2   3   4   5   6   7   8   9   10   >