Re: [Libav-user] Encode just one frame [H264] or others?

2013-03-16 Thread Carl Eugen Hoyos
John Locke scdmusic@... writes: Is there a way I can encode just one frame to display?  I would like to Encode a single H264 from and then be able to decode it. This works fine here with $ ffmpeg -i input -vframes 1 out.h264 Carl Eugen ___

Re: [Libav-user] libswresample vs libavfilter for target format conversion

2013-03-19 Thread Carl Eugen Hoyos
Jorge Israel Peña jorgepblank@... writes: Aside from that, what are the benefits of using libavfilter for converting to the target format over using libswresample? I believe the main benefit is that if you want to (also) use another filter, you only need to open one filtergraph. If you are

Re: [Libav-user] How to get started with libav basics

2013-03-21 Thread Carl Eugen Hoyos
René Calles me@... writes: i would like to ask you for help about pointing me where to start ( except for programming language ) to understand the basics in programmatically using Libav in general. I would like to understand the general basics and hope someone could point me to some

Re: [Libav-user] How to extract a H264 video frame (container is 3GPP/MP4) into a JPG File (with libavformat and libavcode) ?

2013-03-22 Thread Carl Eugen Hoyos
张弘强 zhanghongqiang@... writes: Recently, I’m doing development to generate video clips’ thumbnail pic file. But, it is hard without development guide, would you please show me some example code for it? First confirm that ffmpeg (the command line application) allows you to do what you want,

Re: [Libav-user] 答复: How to extract a H264 video frame (container is 3GPP/MP4) into a JPG File (with libavformat and libavcode) ?

2013-03-22 Thread Carl Eugen Hoyos
张弘强 zhanghongqiang@... writes: ffmpeg -i video_clip.3gp -vframes 1 -ss 00:00:01 -vf transpose=1 output.jpg (the first frame is not good enough) Do you mean the first frame is black / does not show the information you would like to have in your output jpg or is there something wrong with

Re: [Libav-user] Help with a couple of bitmap scaling issues

2013-03-22 Thread Carl Eugen Hoyos
Nicolas George nicolas.george@... writes: Any idea, why this doesn't happen, when FFmpeg is compiled with MSVC? Not at all. Possibly assembly optimization that are not used. The problem comes from asm mmx optimization that does not get compiled with msvc. Carl Eugen

Re: [Libav-user] How to Frame Step Forwards/Backwards?

2013-03-25 Thread Carl Eugen Hoyos
xftzg xftzg2013@... writes: I want to perform a 'Step Forwards/Backwards' operation in my player This is not a trivial task. I believe there are two main approaches: You can cache as many frames as you believe the user will want to step backwards or you seek backwards to the next keyframe and

Re: [Libav-user] Libav, licensing, h.264

2013-03-27 Thread Carl Eugen Hoyos
Navin nkipe@... writes: As I understand, there shouldn't be any licensing issues if one uses ffmpeg via the ffmpeg DLL's. As provided by Zeranoe in the ffmpeg-win32-shared builds http://ffmpeg.zeranoe.com/builds/Nav Why should that be? Ie, if a license issue applies to the FFmpeg project

Re: [Libav-user] QTKit - Libav: has it ever been done?

2013-03-27 Thread Carl Eugen Hoyos
Brad O'Hearne brado@... writes: In lieu of having no luck over several weeks getting video + audio samples captured from QTKit resampled and encoded with Libav to FLV (with video), I've kind of hit a bit of a brick wall. The runnable Mac app and source demonstrating this use case hasn't

Re: [Libav-user] QTKit - Libav: has it ever been done?

2013-03-27 Thread Carl Eugen Hoyos
René J.V. Bertin rjvbertin@... writes: On 27 March 2013 09:58, Carl Eugen Hoyos cehoyos@... wrote: not use QTKit? There is definitely a native decoder that outputs the format that (you believe) QTKit offers, and that code would not be OSX specific in the end. Are you saying

Re: [Libav-user] --disable-asm --disable-yasm options

2013-03-27 Thread Carl Eugen Hoyos
Dolevo Jay cmst@... writes: When I don't use --disable-yasm option, I got tons of errors just because the yasm version that we are using in openembedded is quite old and ffmpeg requires a newer version of yasm. That is unexpected since the configure script tests the yasm version, you

Re: [Libav-user] creating a new filter...

2013-03-28 Thread Carl Eugen Hoyos
Richard Schilling coderroadie@... writes: I'm a bit confused, because it seems that FFMPEG should allow me to write a new filter and add it to the library. It definitely does. Either send your patch (that implements the new filter) to ffmpeg-devel or set up a git clone and ask for a merge

Re: [Libav-user] Reference app with ffmpeg n1.2 libs that works on IOS ?

2013-03-30 Thread Carl Eugen Hoyos
Lars Hammarstrand lars.hammarstrand@... writes: Not all iOS devices are born equal in terms of their ARM core. Which device crashed for you with bad instruction at    vmov.i8 q0,  #128 This function has been unchanged for three years. If this really is a regression,

Re: [Libav-user] Reference app with ffmpeg n1.2 libs that works on IOS ?

2013-03-30 Thread Carl Eugen Hoyos
Lars Hammarstrand lars.hammarstrand@... writes: If this really is a regression, please consider using git bisect to find the version introducing it. (This isn't trivial with FFmpeg, but I will support you.) Ok, thanks - although I believe it will be a quite lengthy and cumbersome

Re: [Libav-user] Reference app with ffmpeg n1.2 libs that works on IOS ?

2013-04-02 Thread Carl Eugen Hoyos
Lars Hammarstrand lars.hammarstrand@... writes: (gdb) disass $pc-32,$pc+32 Please add the register dump, some developers can see the problem if it is present. Thank you, Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Reference app with ffmpeg n1.2 libs that works on IOS ?

2013-04-02 Thread Carl Eugen Hoyos
Lars Hammarstrand lars.hammarstrand@... writes: Could you run the testsuite (make SAMPLES=path fate) on the iPhone? This would allow to verify if only H264 is affected or also other codecs. 4. Sorry, you have to be a bit more specific on this one since I'm not a ffmpeg core developer.

Re: [Libav-user] Reference app with ffmpeg n1.2 libs that works on IOS ?

2013-04-02 Thread Carl Eugen Hoyos
Lars Hammarstrand lars.hammarstrand@... writes: (I will open a ticket if all information is available, Great, here are some additional configure flags. Please tell me if you need anything else to open a ticket! Please test if --disable-neon and -cpuflags -neon fix the problem. I've no

Re: [Libav-user] Reference app with ffmpeg n1.2 libs that works on IOS ?

2013-04-02 Thread Carl Eugen Hoyos
Lars Hammarstrand lars.hammarstrand@... writes: but please test if -cpuflags -neon or --disable-neon helps. Forgot to ask. Do any of these flags replace any other flags or should they be used in conjunction with existing configure flags as below? --enable-neon I suspect it is not a

Re: [Libav-user] Reference app with ffmpeg n1.2 libs that works on IOS ?

2013-04-03 Thread Carl Eugen Hoyos
Lars Hammarstrand lars.hammarstrand@... writes: Success, --disable-neon and -cpuflags -neon did the trick! I hoped you would first test -cpuflags -neon on a build with --enable-neon and then --disable-neon without any cpuflags - sorry for being unclear! Ok, I'll test that too!

Re: [Libav-user] Reference app with ffmpeg n1.2 libs that works on IOS ?

2013-04-03 Thread Carl Eugen Hoyos
Lars Hammarstrand lars.hammarstrand@... writes: Initially I want to run the fully automated git bisect run. It appears that you know much more about bisecting FFmpeg than I do. If you report the first failing commit here on this mailing list I will forward it to the bug tracker / the

Re: [Libav-user] Reference app with ffmpeg n1.2 libs that works on IOS ?

2013-04-03 Thread Carl Eugen Hoyos
Lars Hammarstrand lars.hammarstrand@... writes: Ok, can you please confirm I'm at the correct starting point: $ git bisect good 3c5fe5b Only you can answer if 3c5fe5b works ok, if it does, please test a1bcc76. (In case this is not obvious: Because of the peculiarities of the FFmpeg

Re: [Libav-user] Reference app with ffmpeg n1.2 libs that works on IOS ?

2013-04-03 Thread Carl Eugen Hoyos
Lars Hammarstrand lars.hammarstrand@... writes: Run Status: ffmpeg-d0b7e83: Failed. (rc=132) Run Status: ffmpeg-8bee8f7: OK. Does --disable-thumb fix the crashes? (Or --enable-thumb?) In any case: Please run your configure line for both above versions and post the diff for the following two

Re: [Libav-user] Reference app with ffmpeg n1.2 libs that works on IOS ?

2013-04-04 Thread Carl Eugen Hoyos
Lars Hammarstrand lars.hammarstrand@... writes: --as='/Users/Shared/xbmc-depends/buildtools-native/bin/gas-preprocessor.pl Which version of gas-preprocessor.pl is this? A version prior to October 2012 would likely explain the crashes you are seeing. Carl Eugen

Re: [Libav-user] Audio and Video Stream copy

2013-04-04 Thread Carl Eugen Hoyos
praks411 praks411@... writes: Ok after setting pts, dts and duration of output packets as per do_streamcopy function in avconv.c Please note that avconv is known to contain many bugs (some of them security relevant) and is therefore unsupported, please see http://ffmpeg.org/download.html

Re: [Libav-user] Audio and Video Stream copy

2013-04-04 Thread Carl Eugen Hoyos
praks411 praks411@... writes: I'm debugging in vc++ 2012 with libav 9.1. This fork of FFmpeg contains several hundred known bugs that are not reproducible with FFmpeg, some of them security relevant. Please understand that we therefore cannot support it on this mailing list, please see

Re: [Libav-user] Filtering_video.c and yadif does not work

2013-04-05 Thread Carl Eugen Hoyos
Harald Jordan harald.jordan@... writes: As I am on windows and MSVC (this has reasons), I cannot really have a look where exactly the error is Without a backtrace (and without source code), this will be impossible to fix. Either use msvc or gdb to get a backtrace. Carl Eugen

Re: [Libav-user] Efficient AAC decoding on ARM with FFmpeg 1.1.x

2013-04-09 Thread Carl Eugen Hoyos
Reuben Scratton reuben.scratton@... writes: I maintain a video player app on Android and recently had occasion to upgrade it's FFmpeg from 0.8.6 to 1.1.3. Please update to 1.2 which is binary compatible and contains many bug fixes and features not present in 1.1. It seems that the 1.1 AAC

Re: [Libav-user] how to mux MJPEG encoded data into AVI container

2013-04-11 Thread Carl Eugen Hoyos
andro sendtofaraway@... writes: I'm looking for a way to mux mjpeg (compressed) video data into a video container like mp4 or avi. $ ffmpeg -i input -vcodec mjpeg out.avi (I'll also need to add audio in the future) . $ ffmpeg -i input -vcodec mjpeg -acodec ac3 out.avi I do not want

Re: [Libav-user] Reference app with ffmpeg n1.2 libs that works on IOS ?

2013-04-11 Thread Carl Eugen Hoyos
Lars Hammarstrand lars.hammarstrand@... writes: 3) Write a mail to yuvi and ask him to merge the changes. Mailed an update to ffmpeg-devel regarding the docs that David Conrad intercepted and the repo is now refreshed with Mans changes. (Sorry: I had written a mail to him several days

Re: [Libav-user] Seeking encoded video (.avi)

2013-04-11 Thread Carl Eugen Hoyos
praks411 praks411@... writes: 1. If I play the output (.avi) file in vlc then I'm just able to play video there is no audio. How does ffmpeg -i output.avi look like? (This sounds like a well-known bug in vlc.) Carl Eugen ___ Libav-user mailing

Re: [Libav-user] Reference app with ffmpeg n1.2 libs that works on IOS ?

2013-04-11 Thread Carl Eugen Hoyos
Lars Hammarstrand lars.hammarstrand@... writes: One idea could be to add an gas option to configure, like --gas=/abosolute/path/to/gas-preprocessor This does already exist afaik. (pls note that this does not work:  --as=/absolute/path/to/gas-preprocessor.pl /path/to/as... ). Please test

Re: [Libav-user] Seeking encoded video (.avi)

2013-04-11 Thread Carl Eugen Hoyos
praks411 praks411@... writes: The output file is perfect. It is working in both windows and vlc It appears I misunderstood, I thought the file does not work with vlc. Sorry for the noise, Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] 16-Bit RAW Video Recording Problem

2013-04-11 Thread Carl Eugen Hoyos
Carel Combrink carel.combrink@... writes:     [rawvideo at 01dc8c40] = Invalid pixel format.     Last message repeated 1 times Input #0, matroska,webm, from 'Recording.avi':   Metadata:     ENCODER         : Lavf55.1.100   Duration: 00:00:00.70, start: 0.00, bitrate: N/A     Stream

Re: [Libav-user] Runtime ARM Neon detection?

2013-04-11 Thread Carl Eugen Hoyos
Reuben Scratton reuben.scratton@... writes: If I compile with -mfpu=neon then FFmpeg blows up with SIGILL (ILLOPTPC) when run on a non-Neon CPU.  If I compile with -mfpu=vfvp3 then FFmpeg runs fine, but presumably without the optimized code Did you test this? (with a debugger) I don't

Re: [Libav-user] Runtime ARM Neon detection?

2013-04-11 Thread Carl Eugen Hoyos
Reuben Scratton reuben.scratton@... writes: License: nonfree and unredistributable But this is certainly not the configure line you use for the version that your Android users tested and protested performance-wise or am I wrong? Carl Eugen ___

Re: [Libav-user] Runtime ARM Neon detection?

2013-04-11 Thread Carl Eugen Hoyos
Reuben Scratton reuben.scratton@... writes: License: nonfree and unredistributable (If you believe something is unclear about above message and that it does not explain that you may not legally distribute the resulting binary, please tell us!) But this is certainly not the configure line

Re: [Libav-user] pts problem

2013-04-12 Thread Carl Eugen Hoyos
Steffen.Roeber@... writes: I read many hours to understand pts in libav. But it seems there is no common simple way to retrieve. I used the method from http://dranger.com/ffmpeg/. This is quite outdated, please have a look at the examples in doc/examples. [...] Dieses Dokument ist

Re: [Libav-user] how to mux MJPEG encoded data into AVI container

2013-04-15 Thread Carl Eugen Hoyos
andro sendtofaraway@... writes: But If I want to write a little program using libav* library to do the work . Please look at the example code in doc/examples in your git checkout. Please do not top-post here, Carl Eugen ___ Libav-user mailing

Re: [Libav-user] pts problem

2013-04-15 Thread Carl Eugen Hoyos
Steffen Steffen.Roeber@... writes: I took a look at the decoding examples. There the AVFRame-pts field is used. But I have some videos where this field is always 0. What kind of videos? You can use -debug_ts to see if FFmpeg (the application) sees the correct pts (and where it comes from).

Re: [Libav-user] AAC with FLV

2013-04-19 Thread Carl Eugen Hoyos
Brad O'Hearne brado@... writes: On Apr 17, 2013, at 9:36 AM, Carl Eugen Hoyos cehoyos@... wrote: For mp3 and speex, you have to compile FFmpeg with external libraries (lame and libspeex), to use the internal aac encoder you have to pass the equivalent of -strict -2 to the system

Re: [Libav-user] encode directly from svg rather than png in avconv?

2013-04-19 Thread Carl Eugen Hoyos
Tanim Islam tanim.islam@... writes: Is it possible to encode from a set of SVG frames, rather than PNG frames, FFmpeg does not support decoding svg. (Patch welcome.) in avconv? avconv is known to contain several hundred bugs not present in ffmpeg, some of them security-relevant, please

Re: [Libav-user] AAC with FLV

2013-04-19 Thread Carl Eugen Hoyos
Brad O'Hearne brado@... writes: Does anyone know what is different about processing with an AAC encoder vs a ADPCM encoder One takes s16 (which you probably expect), the other takes flt-p (which is *not* flt, at least not exactly). You can test if mono works to find out if planar is your

Re: [Libav-user] ffmpeg configure for ios - using asm options causes MPx (mp1, mp2, mp3) codecs sound problems

2013-04-20 Thread Carl Eugen Hoyos
Mert Gedik gedikmert89@... writes: But when I configure with --enable-asm, the audio stream which using mpx(mp1,mp2,mp) codec sounds squeaky. Did you test --disable-thumb and --disable-neon? Please try to find the function that is responsible for the problem. Carl Eugen

Re: [Libav-user] ffmpeg configure for ios - using asm options causes MPx (mp1, mp2, mp3) codecs sound problems

2013-04-20 Thread Carl Eugen Hoyos
Mert Gedik gedikmert89@... writes: The sound problem happens on device only when configure ffmpeg with --enable-asm optimization parameter, no sound problem exists on simulator with same configuration... Is the sound also reproducible with --disable-neon or --disable-thumb ? (Honestly:

Re: [Libav-user] ffmpeg configure for ios - using asm options causes MPx (mp1, mp2, mp3) codecs sound problems

2013-04-21 Thread Carl Eugen Hoyos
Mert Gedik gedikmert89@... writes: ./configure ... --enable-asm --disable-neon --- distortion on sound. ./configure ... --enable-asm --disable-thumb --- distortion on sound. I believe if you test the following configuration options, it should allow to further narrow down the search for

Re: [Libav-user] ffmpeg configure for ios - using asm options causes MPx (mp1, mp2, mp3) codecs sound problems

2013-04-21 Thread Carl Eugen Hoyos
Mert Gedik gedikmert89@... writes: But when I configure with --enable-asm, the audio stream which using mpx(mp1,mp2,mp) codec sounds squeaky. I suspect that this is ticket #2473 which I had to close because no information whatsoever was provided that allowed to analyze the problem. Thanks

Re: [Libav-user] ffmpeg configure for ios - using asm options causes MPx (mp1, mp2, mp3) codecs sound problems

2013-04-22 Thread Carl Eugen Hoyos
Julian Herrera julian.herrera@... writes: Which gas-preprocessor.pl version are you using? I came accross a similar issue that affected only mp* audio on iOS and I found a solution by using this preprocessor: Please only use the official gas-preprocessor script from

Re: [Libav-user] Anybody got DXVA2 running?

2013-04-22 Thread Carl Eugen Hoyos
Lars Hammarstrand lars.hammarstrand@... writes: The ffmpeg implementation seems to supports DXVA2 hw-accl codec for H.264/MPEG-4 MPEG-2 (i.e Hi10P) but I only get CPU decoded and swscale converted working properly. Since this is not clear (for me, I am not a native speaker) from your

Re: [Libav-user] Anybody got DXVA2 running?

2013-04-22 Thread Carl Eugen Hoyos
Hendrik Leppkes h.leppkes@... writes: There was a bug a short while back which required you to pass --enable-dxva2 to configure because the auto-detection was faulty, but this was fixed in HEAD, and hopefully backported to 1.2 (not sure on this part). This would have needed some advanced

Re: [Libav-user] Anybody got DXVA2 running?

2013-04-22 Thread Carl Eugen Hoyos
Hendrik Leppkes h.leppkes@... writes: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=2e2ec66 This cannot be a fix for the mentioned problem, Lars explained that he also tested git head. Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] Audio quality loss while encoding

2013-04-24 Thread Carl Eugen Hoyos
Pradeep Karosiya praks411@... writes: Bit Rate = 128000 (set by me not sure what to take) Did you test with a higher value? Also with a significantly higher value? Did you test with ffmpeg (the application)? Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] Pixel Format Question

2013-04-25 Thread Carl Eugen Hoyos
Neil Menne nhmenne42@... writes: Would anyone here happen to know the AV_PIX_FMT_* equivalent to the OpenCV pixel format bgr8 which is explained as being CV_8UC3? Probably if you can explain how OpenCV pixel format bgr8 is defined. Carl Eugen

Re: [Libav-user] extradata

2013-04-25 Thread Carl Eugen Hoyos
Alex 3.14pi@... writes: Hi, I develop decoder that use NVidia CUDA thechnology. And I have problems, for decode frame on CUDA I need fill and parse same struc first to CUDA decoder. But I don't understend where and how I can get params for my struc. Did you already look into

Re: [Libav-user] error when building ffmpeg

2013-04-26 Thread Carl Eugen Hoyos
Talha muhammad.talha22@... writes: Anybody who wants to help please take a step forward because i have not really got any support on ffmpeg during couple of weeks now. Where did you ask for support? When reporting build problems, please post the configure line you were using (./configure

Re: [Libav-user] ffmpeg-1.2 (libavformat) encoder example

2013-04-30 Thread Carl Eugen Hoyos
Gustav González xtingray@... writes: my question is this: is there any encoder example using libavformat based onthe latest version of FFmpeg? Which (other) files in doc/examples did you study? Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] Audio quality loss while encoding

2013-04-30 Thread Carl Eugen Hoyos
Brad O'Hearne brado@... writes: This codec is not to be used for production, as it will not continue to be developed or supported. Neither is true as far as I can tell. (Again, I am not a native speaker, so I may misunderstand you sentence, but the aac encoder is neither less nor more

Re: [Libav-user] Audio quality loss while encoding

2013-04-30 Thread Carl Eugen Hoyos
Claudio Freire klaussfreire@... writes: Indeed this symptom seems to happen only with 2 channels. Is there any possibility of improvement here? Patch definitely welcome! Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Audio quality loss while encoding

2013-04-30 Thread Carl Eugen Hoyos
Claudio Freire klaussfreire@... writes: Surely I could and would like to give it a try, I've written an AC3 encoder way back so there should be no surprises. That sounds incredibly promising! However, I do have my plate overly full. Any docs to read about its current limitations and

Re: [Libav-user] compiling ffmpeg with -fPIC

2013-05-01 Thread Carl Eugen Hoyos
Dayana dribas@... writes: Im trying to make a shared library and for that I have to get libavs compiled with -fPIC ... I was trying to do it by setting --enable-pic in the configure file, however Im still have the same error: /usr/local/lib/libavcodec.a(lpc_mmx.o) You are (still)

Re: [Libav-user] Audio quality loss while encoding

2013-05-01 Thread Carl Eugen Hoyos
Claudio Freire klaussfreire@... writes: I don't have access to AAC standards These are not the final standards, but should help: ftp://ftp.tnt.uni-hannover.de/pub/MPEG/audio/mpeg4/documents/ Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] compiling ffmpeg with -fPIC

2013-05-01 Thread Carl Eugen Hoyos
Ratin ratin3@... writes: ./configure --extra-cflags=-fPIC This is not a good idea since an equivalent option exists (that may set additional settings). Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Creating animated GIF using libavformat

2013-05-02 Thread Carl Eugen Hoyos
Gustav González xtingray@... writes: ERROR: gif only handles the rgb24 pixel format. Originally, there was a gif muxer that only accepted rgb24 rawvideo as input. In current git head, you will find a gif encoder (an encoder instead of a muxer) that can be used by the image2 muxer (the same

Re: [Libav-user] Seeking for libavfilter functionality: overlay of grid over image, invert colors

2013-05-05 Thread Carl Eugen Hoyos
Andrey Utkin andrey.krieger.utkin at gmail.com writes: But i am also interested, is there any libraries rich for such and similar functionality, which are pluggable to libavfilter? Some external libraries are supported, please see the fine documentation. (Adding more is probably welcome,

Re: [Libav-user] errors while processing tiff streams with image2pipe

2013-05-06 Thread Carl Eugen Hoyos
cyril apan cyrilapan@... writes: http://www.filmform.com/logo/Filmform_gray-on-blank.tif stream-codec-pix_fmt == AV_PIX_FMT_RGB24 instead of being AV_PIX_FMT_RGBA. Looks like RGB24 to me, why do you think there is transparency information? The other sample is an unsupported format, feel

Re: [Libav-user] errors while processing tiff streams with image2pipe

2013-05-06 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos@... writes: The other sample is an unsupported format, feel free to open an enhancement request on trac. The second sample uses separated channels iiuc, this is very unlikely to get supported (easily). Carl Eugen

Re: [Libav-user] errors while processing tiff streams with image2pipe

2013-05-06 Thread Carl Eugen Hoyos
cyril apan cyrilapan@... writes: cyril apan cyrilapan at ... writes: http://www.filmform.com/logo/Filmform_gray-on-blank.tif stream-codec-pix_fmt == AV_PIX_FMT_RGB24 instead of being AV_PIX_FMT_RGBA.Looks like RGB24 to me, why do you think there is transparency information? Open it with

Re: [Libav-user] I can not play mjpeg streams via ffplay

2013-05-09 Thread Carl Eugen Hoyos
Mert Gedik gedikmert89@... writes: (ffplay tries to connect/get data for 15-20 seconds then it timeouts with below log.) $ ./ffplay http://88.53.197.250/axis-cgi/mjpg/video.cgi?resolution=320x240 mjpeg cannot be autodetected (yet), you have to force the format: $ ffplay -f mjpeg

Re: [Libav-user] AMR codec/format, rfc3267 saved file

2013-05-09 Thread Carl Eugen Hoyos
Alex Cohn alexcohn@... writes: I have a file exported from Wireshark for an audio RTP stream with an AMR codec. I cannot read it with ffmpeg -fmt amr -acodec amr-wb Please provide a sample (and please send a patch to ffmpeg-devel). Carl Eugen

Re: [Libav-user] Reducing latency of file opening (when playing from http)

2013-05-09 Thread Carl Eugen Hoyos
Bjoern Drabeck bjoern.drabeck@... writes: Did you test the -probesize and -analyzeduration options? Thanks for your reply, I briefly experimented with the -probesize option, it seems to default to 500, and I brought it down to 10, without any noticeable effect What happens if

Re: [Libav-user] ctx-request_sample_fmt

2013-05-09 Thread Carl Eugen Hoyos
Gonzalo Garramuno ggarra13@... writes: I saw this codeccontext variable ctx-request_sample_fmt and I want to set it to AV_SAMPLE_FMT_S16. Setting request_sample_fmt does in no way guarantee that you get what you want. If you think the documentation is unclear, please consider improving it

Re: [Libav-user] Reducing latency of file opening (when playing from http)

2013-05-10 Thread Carl Eugen Hoyos
Bjoern Drabeck bjoern.drabeck@... writes: Is there a suggested range of values The suggested range of values for probesize and analyzeduration is 32 to 2147483647. (32 does not always work.) for probing online files? I don't think there are suggested values for online files, but if you

Re: [Libav-user] Reference app with ffmpeg n1.2 libs that works on IOS ?

2013-05-11 Thread Carl Eugen Hoyos
Will Price wprice@... writes: The gas linked below [...] Allow me to repeat: The only supported version of gas-preprocessor.pl is the one mentioned on http://ffmpeg.org/platform.html You are on your own with any other version. If you have a compilation problem, please provide the following

Re: [Libav-user] Hwo to use libtheora and libvorbis programatically

2013-05-12 Thread Carl Eugen Hoyos
YIRAN LI mrfun.china@... writes: But when I'm using Ffmpeg interface in my application, how can I specify the codecs I want to use? Did you look at avcodec_find_encoder_by_name()? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Reducing latency of file opening (when playing from http)

2013-05-12 Thread Carl Eugen Hoyos
Kalileo kalileo@... writes: This is also what I noticed, when playing with probesize and analyzeduration trying to get the player to start more quickly (using mpegts (h264/aac) streams served through a memory buffer). Since I did not really understand the paragraph I cut: Do you mean that

Re: [Libav-user] Making a static lib with -MD option

2013-05-14 Thread Carl Eugen Hoyos
Steffen Steffen.Roeber@... writes: i'm using FFmpeg 1.2 from March 15, 2013. If you are not a distributor, please always use current git head. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Using the libav* libraries in a thread-safe manner?

2013-05-15 Thread Carl Eugen Hoyos
Joe Flowers joe.flowers@... writes: I need to use the libav* APIs (specifically the audio codecs) in a thread-safe way, but they seem to be full of malloc()s and free()s which aren't re-entrant. My malloc manual says that it uses mutexes internally to protect the memory-management data

Re: [Libav-user] Reference app with ffmpeg n1.2 libs that works on IOS ?

2013-05-16 Thread Carl Eugen Hoyos
Will Price wprice@... writes: On Fri, May 10, 2013 at 11:46 PM, Carl Eugen Hoyos writes: If you have a compilation problem, please provide the following information: Your configure line, (your FFmpeg version,) if (and only if) compilation fails completely: Run make several times, always

Re: [Libav-user] iZeranoe latest build and glut

2013-05-17 Thread Carl Eugen Hoyos
Gonzalo Garramuño ggarra13@... writes: I am getting a strange behavior in the latest zeranoe builds of ffmpeg when I link them to my program. I believe there is a forum dedicated to such questions. Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] Encoding with variable frame rate

2013-05-20 Thread Carl Eugen Hoyos
Robert Krüger krueger@... writes: On Mon, May 20, 2013 at 12:11 PM, Carl Eugen Hoyos wrote: Pradeep Karosiya praks411 at ... writes: Also I came to know not all codec support variable frame rate. (?, that sounds unlikely.) FFmpeg's mov muxer does not support vfr. Do you know

Re: [Libav-user] MSVC 2010 pre-built binaries

2013-05-20 Thread Carl Eugen Hoyos
Gonzalo Garramuño ggarra13@... writes: as I found an incompatability with the zeranoe builds (or so it seems). Could you be a little more specific? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Intermittent heap crash with Visual Studio 2005

2013-05-21 Thread Carl Eugen Hoyos
Rothkin, Steve (NY81 Steve.Rothkin@... writes: However, when I get more threads running (e.g. 5 videos being processed in parallel and JPEG frames being streamed to a viewer) I'm getting intermittent crashes in the DLLs. Please either provide gdb information as explained on

Re: [Libav-user] written yuv cannot be played

2013-05-22 Thread Carl Eugen Hoyos
Steffen Steffen.Roeber@... writes: ffmpeg.exe -i d:\videos\simpsons_trailer05-de_xhigh.mov -vcodec rawvideo d:\temp\test2.yuv Complete, uncut console output missing. ffplay d:\temp\test2.yuv [IMGUTILS at 04baf794] Picture size 0x0 is invalid [rawvideo at 040719c0] Could not find

Re: [Libav-user] Hevc

2013-05-22 Thread Carl Eugen Hoyos
Christophe Nelson cnelson@... writes: I am wondering if some of the developers of ffmpeg have any intention to implement HEVC in ffmpeg ? Yes. If you are interested in contributing, please setup your own git clone and join #ffmpeg-devel on freenode. Carl Eugen

Re: [Libav-user] 920306 - avcodec_find_encoder(CODEC_ID_H264) returns NULL

2013-05-27 Thread Carl Eugen Hoyos
hamidi hamidi@... writes: i also tried make install on source of ffmpeg (libav) Please understand that libav contains several hundred known, user-reported bugs that are not reproducible with FFmpeg, some of them security- relevant, and we therefore cannot support it. what may be the reason

Re: [Libav-user] X264 issue : Black Frame

2013-05-29 Thread Carl Eugen Hoyos
Christophe Nelson cnelson@... writes: ffmpeg.exe -i InputFile -c:v libx264 -preset slow -crf 20 -c:a copy OutputFile.avi Complete, uncut console output missing. For future questions: Please avoid highjacking threads. And please avoid top-posting here, Carl Eugen

Re: [Libav-user] Error when creating .so file using .c program and ffmpeg using android NDK

2013-05-30 Thread Carl Eugen Hoyos
prathap prathap.malempati@... writes: My android.mk file is The only thing needed (and the only thing supported here) is your configure line. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Dolby 5.1 vs Dolby 5.1 (side)

2013-06-03 Thread Carl Eugen Hoyos
Gonzalo Garramuno ggarra13@... writes: I am wondering what's the difference between the two formats (Dolby 5.1) vs (Dolby 5.1 (side)). I am not sure I understand what you mean with Dolby 5.1 (is that something that FFmpeg prints?) but the difference between 5.1 and 5.1 (side) is the

Re: [Libav-user] Memory leak reading videos

2013-06-04 Thread Carl Eugen Hoyos
Matheus Henrique Klem Galvez mhkgalvez@... writes: The aim is simple: to read uncompressed .avi videos with ffmpeg and send frames to OpenCV format in order that OpenCV might be able to process these frames. (Unrelated to your problem:) You do know that this is possible with ffmpeg (the

Re: [Libav-user] Problems decoding h264 (Baseline, yuvj420p) ip camera stream

2013-06-06 Thread Carl Eugen Hoyos
Alexander Wischnewski aw.wisch@... writes: ffmpeg -v 9 -loglevel 99 -report -i http://192.168.1.166:86/livestream/12?action=playmedia=video; output.mp4 I you succeed in saving the incoming stream to a file (and if the problem is also reproducible with that file), please upload a sample.

Re: [Libav-user] Problems decoding h264 (Baseline, yuvj420p) ip camera stream

2013-06-06 Thread Carl Eugen Hoyos
Alexander Wischnewski aw.wisch@... writes: thanks for the fast reply. It is reproducible, i dumped the stream to a .avi file How did you produce the avi file? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Memory leak reading videos

2013-06-06 Thread Carl Eugen Hoyos
Matheus Henrique Klem Galvez mhkgalvez@... writes: On Tue, Jun 4, 2013 at 11:51 AM, Carl Eugen Hoyos wrote: Matheus Henrique Klem Galvez mhkgalvez at ... writes: The aim is simple: to read uncompressed .avi videos with ffmpeg and send frames to OpenCV format in order that OpenCV might

Re: [Libav-user] Saving video using ffmpeg from rtsp link

2013-06-07 Thread Carl Eugen Hoyos
Pradeep Karosiya praks411@... writes: ffmpeg -i rtsp:://input_video_link outputfile.3gp. Console log: Unfortunately not =-( I don't find it completely unlikely that FFmpeg simply fails to save streams coming from unreliable network source (FFmpeg by default refuses to write invalid

Re: [Libav-user] Problems decoding h264 (Baseline, yuvj420p) ip camera stream

2013-06-07 Thread Carl Eugen Hoyos
Alexander Wischnewski aw.wisch@... writes: The file h264_ip_cam_input.working of the first camera gets decoded well with the command: Do I understand correctly that one camera produces a stream that FFmpeg can decode but another one produces a stream that cannot be decoded? Or do I

Re: [Libav-user] Problems decoding h264 (Baseline, yuvj420p) ip camera stream

2013-06-07 Thread Carl Eugen Hoyos
Alexander Wischnewski aw.wisch@... writes: The file h264_ip_cam_input.nworking produces the errors as posted before. This does not look like a valid h264 file (afaict), at least the reference decoder refuses to decode it. Carl Eugen ___

Re: [Libav-user] Memory leak reading videos

2013-06-08 Thread Carl Eugen Hoyos
Matheus Henrique Klem Galvez mhkgalvez@... writes: How do I do this? Please read the fine documentation: http://ffmpeg.org/ffmpeg-all.html#ocv Please stop top-posting, it is considered rude here! Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] Handling of 24 bit audio in libav* and libswresample

2013-06-11 Thread Carl Eugen Hoyos
Hendrik Schreiber hs@... writes: But, when writing the result to a file, I want to use AV_CODEC_ID_PCM_S24LE, i.e. the least significant byte is cut off. AV_CODEC_ID_PCM_S24LE encoder only accepts AV_SAMPLE_FMT_S32 as input. Carl Eugen ___

Re: [Libav-user] H264+flv bad video stream

2013-06-13 Thread Carl Eugen Hoyos
Dragos Iordache dragoshiordache@... writes: The stream is not showing and the recorded video does not allow seeking, it just freezes and cannot be played. Can you reproduce the problem with ffmpeg (the application)? Carl Eugen ___ Libav-user

Re: [Libav-user] JPEG decoder

2013-06-13 Thread Carl Eugen Hoyos
Mark Kenna mark.kenna@... writes: When using the JPEG decoder (CODEC_ID_MJPEG) sometimes I find that decoded frames are inverted/upside down/back to front. Is this reproducible with ffmpeg? If yes, a sample may be nice. Carl Eugen ___ Libav-user

Re: [Libav-user] H264+flv bad video stream

2013-06-13 Thread Carl Eugen Hoyos
Dragos Iordache dragoshiordache@... writes: On Thu, Jun 13, 2013 at 5:36 PM, Carl Eugen Hoyos wrote: Dragos Iordache dragoshiordache at ... writes: The stream is not showing and the recorded video does not allow seeking, it just freezes and cannot be played. Can you reproduce

Re: [Libav-user] H264+flv bad video stream

2013-06-17 Thread Carl Eugen Hoyos
Dragos Iordache dragoshiordache@... writes: If my output is a file (test.h264) then everything works ok. Does that mean if you feed test.h264 into ffmpeg to produce the rtmp stream that you need (is that correct?), it works fine, but if you call your application that uses the libav*

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