Re: [Libav-user] Faulty handling of file: protocol on Windows

2013-06-18 Thread Carl Eugen Hoyos
Hendrik Schreiber hs@... writes: On Windows, the scheme part (file:) is always followed by a bunch of slashes, usually three (file:///), three sounds like a very unlikely number to me. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Possible fix for rare core-dumps in H264

2013-06-21 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos@... writes: Mark Stevans mark39518 at ... writes: When playing unreliable H264 streams with FFPlay, I seem to get core-dumps randomly every few hours. This sounds important, please provide the necessary information as explained on http://ffmpeg.org

Re: [Libav-user] Possible fix for rare core-dumps in H264

2013-06-21 Thread Carl Eugen Hoyos
Mark Stevans mark39518@... writes: when I said core-dump, I don't mean an actual core-dump on disk. I'm running under Windows 7 here, debugging with WinDbg gdb works fine on Windows (7), it would also allow to produce a useful backtrace (and disassembly and register content) for a

Re: [Libav-user] Possible fix for rare core-dumps in H264

2013-06-21 Thread Carl Eugen Hoyos
Mark Stevans mark39518@... writes: Frankly, I don't understand how patches could be ignored on TRAC, yet observed in ffmpeg-devel. I was just describing what experience tells me. But I will send my patch there It appears that I was unclear again, sorry about that! Bug reports are not

Re: [Libav-user] Possible fix for rare core-dumps in H264

2013-06-21 Thread Carl Eugen Hoyos
Paul B Mahol onemda@... writes: Are you enjoying yourself? You mean compared to you when you (intentionally!) commit other people's patches? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Possible fix for rare core-dumps in H264

2013-06-21 Thread Carl Eugen Hoyos
Mark Stevans mark39518@... writes: gdb works fine on Windows (7) I spent days trying to debug earlier bugs with Windows GDB, but couldn't get decent stack traces -- I tried every possible debugging flag and symbol format to no avail. That surprises me: I am regularly using gdb to

Re: [Libav-user] Conversion from mp3 to aac/mp4 container problem

2013-06-21 Thread Carl Eugen Hoyos
Taha Ansari mtaha.ansari@... writes: I have run this application with existing mp4 files as input, and it properly extracts audio, and encodes to mp4 (audio only:AAC), or even directly in AAC format (i.e. test.aac also works). But when I tried running it on mp3 files, output clip plays

Re: [Libav-user] Conversion from mp3 to aac/mp4 container problem

2013-06-24 Thread Carl Eugen Hoyos
Taha Ansari mtaha.ansari@... writes: ffprobe version N-47062-g26c531c Copyright (c) 2007-2012 This looks outdated. The aac decoder of current git head outputs FLTP iirc. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] HW decoding on Android

2013-06-24 Thread Carl Eugen Hoyos
Abel Alonso abelalon@... writes: Yes it's sufficient to requesst the decoder, but I'm getting a crash when trying to decode the video Can you reproduce the crash with ffmpeg (the application)? Please do not top-post here, Carl Eugen ___ Libav-user

Re: [Libav-user] HW decoding on Android

2013-06-25 Thread Carl Eugen Hoyos
Abel Alonso abelalon@... writes: I've checkout the current git head and libstagefright.cpp doesn't compile. Thank you, this looks like an important report! Didn't you write earlier that there is a problem related to posix_memalign? I only saw the following error (and closely related ones):

Re: [Libav-user] HW decoding on Android

2013-06-25 Thread Carl Eugen Hoyos
Abel Alonso abelalon@... writes: I've checkout the current git head and libstagefright.cpp doesn't compile. I created ticket #2709, could you test version 2e7bc9c ? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] HW decoding on Android

2013-06-26 Thread Carl Eugen Hoyos
Abel Alonso abelalon@... writes: 2013/6/25 Carl Eugen Hoyos ceho...@ag.or.at I created ticket #2709, could you test version 2e7bc9c ? With the version 2e7bc9c I get the posix_memalign error again. What is the output for the following two commands? $ grep -i alloc config.h $ grep -i align

Re: [Libav-user] HW decoding on Android

2013-06-26 Thread Carl Eugen Hoyos
Abel Alonso abelalon@... writes: #define HAVE_POSIX_MEMALIGN 1 How does the part of config.log look like starting with check_func posix_memalign? Thank you and sorry for my comment on trac, I couldn't resist, Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] HW decoding on Android

2013-06-26 Thread Carl Eugen Hoyos
Alex Cohn alexcohn@... writes: BTW, you can safely remove all references to cxx-stl in your ./configure enchantment, because ffmpeg has not C++. Is this also true if you want to use libstagefright? Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] Error while linking ffmpeg

2013-07-02 Thread Carl Eugen Hoyos
... ... bersac_1@... writes: I am working on a project using ffmpeg and when I compiled, i get the following error : /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libavcodec.so: undefined reference to `avpriv_update_lls at LIBAVUTIL_52' You are mixing versions of libavcodec and

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-04 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: ./configure A few unrelated comments (your explanations may help improving the configure script): --arch=x86 --target-os=qnx Is this really needed? --enable-static --disable-shared This is the default (unneeded). --disable-everything

Re: [Libav-user] HW decoding on Android

2013-07-04 Thread Carl Eugen Hoyos
Abel Alonso abelalon@... writes: I've checkout the current git head and libstagefright.cpp doesn't compile. Could you test again? This may have been fixed. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] HW decoding on Android

2013-07-05 Thread Carl Eugen Hoyos
Abel Alonso abelalon@... writes: Could you test again? libstagefright.cpp compiles now, but I'm still getting the posix_memalign error when compiling libavutil/mem.c, but I guess that is something related with my environment configuration. Iirc, you were able to work-around that

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-07 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: I don't think that the optimizations are disabled. You misunderstood: I did not ask you if you disabled optimizations, I asked you if you disabled them intentionally because you also disabled debugging and debugging normally is the only reason why

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-10 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: Include the log file config.log produced by configure as this will help solving the problem The last 25 lines should be enough. Please stop top-posting, it is considered rude here, Carl Eugen ___ Libav-user

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-10 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos@... writes: --arch=x86 --target-os=qnx Is this really needed? To rephrase this question: What do uname -m and uname -s report? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman

Re: [Libav-user] what part of ffmpeg lib use GPL

2013-07-10 Thread Carl Eugen Hoyos
Jie Zhang mohzhang@... writes: Any one knows what part of ffmpeg lib use GPL instead of LGPL? Please see the LICENSE file in your checkout. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-10 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: check_ld cc check_cc BEGIN /tmp/ffconf..localhost..22065188.c     1    int main(void){ return 0; } END /tmp/ffconf..localhost..22065188.c gcc -c -o /tmp/ffconf..localhost..22065188.c gcc: no input files Please find the following line in the function

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-10 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: # uname -m x86pc # uname -s QNX Both are supported, so it should not be necessary to set --arch or --target-os Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-10 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: # ./configure Memory fault (core dumped) Is this the whole output? Or are you possibly not waiting for the rest to come? [...] -Werror=vla -c -o /tmp/ffconf..localhost..16134179.o /tmp/ffconf..localhost..16134179.c The reason I ask is that my

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-11 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: # ./configure Memory fault (core dumped) What does the following command show? # sh --version Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] is possible to hack av_write_trailer to write moov atom at the beginning?

2013-07-11 Thread Carl Eugen Hoyos
Wenbin Ma wenbin.ma@... writes: I'm build an application linked with libavcodec.so, libavformat.so, libswscale.so, libavutil.so. how to debug into the code of these shared objects? configure with --disable-stripping Please do not top-post here, it is considered rude. Carl Eugen

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-11 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: #sh --version sh: sh --: unknown option I think that the shell in QNX is in fact kshell because the /bin/sh file is a link to /bin/ksh and there is no bash on the system. #echo $BASH_VERSION #echo $KSH_VERSION @(#)PD KSH v5.2.14 99/07/13.2

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-11 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: I managed to install a bash and then the ./configure ran fine. Thank you for testing! CC  cmdutils.o cmdutils.c:51:21: error: version.h: No such file or directory What does make V=1 version.h show? I suspect you copied the git checkout together

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-11 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: CC  ffserver.o ffserver.c: In function 'main': ffserver.c:4728: error: 'SA_RESTART' undeclared /usr/include/signal.h includes /usr/include/bits/sigaction.h here which defines SA_RESTART. Is SA_RESTART defined somewhere in /usr/include/* ? (You can

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-11 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos@... writes: Is SA_RESTART defined somewhere in /usr/include/* ? It appears the definition was removed from qnx because it is not implemented. You will have to add --disable-ffserver until a configure check exists. Carl Eugen

Re: [Libav-user] HW decoding on Android

2013-07-11 Thread Carl Eugen Hoyos
On Monday 08 July 2013 11:13:09 am Abel Alonso wrote: Iirc, you were able to work-around that problem: Does libstagefright decoding with ffmpeg work now or not? I've just tested it and it doesn't work. It continues crashing. I think that is related with the format issue I've commented

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-12 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: Everything builds fine with --disable-ffserver switch. Consider running fate now, you need rsync installed, then run: $ make SAMPLES=fate-suite fate-rsync $ make SAMPLES=fate-suite fate Or, if you don't feel like downloading the samples: $ make fate Carl

Re: [Libav-user] ffmpeg 2.0 aacdec.c depends on ape?

2013-07-12 Thread Carl Eugen Hoyos
John Orr john.orr@... writes: The ffmpeg 2.0 version of libavformat\aacdec.c now contains some reference to APE. In includes apetag.h and calls ff_ape_parse_tag(). It did not do that in ffmpeg 1.2. Yes, we do try to improve FFmpeg between releases;-)) When I tried to upgrade from 1.2

Re: [Libav-user] ffmpeg 2.0 aacdec.c depends on ape?

2013-07-12 Thread Carl Eugen Hoyos
John Orr john.orr@... writes: LD libavformat/avformatmm-55.dll Creating library file: libavformat/libavformatmm.dll.a libavformat/apetag.o: In function `ape_tag_read_field': h:\src\ffmpeg2_0/libavformat/apetag.c:73: undefined reference to `_ff_guess_image2_codec' Should be fixed,

Re: [Libav-user] ffmpeg 2.0 aacdec.c depends on ape?

2013-07-12 Thread Carl Eugen Hoyos
John Orr john.orr@... writes: And note that --disable-everything disables most (all) of the things that you disable explicitely. At one point I had trouble with some component being enabled that I didn't expect and I went overkill and added those extra disable directives. I suspect

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-13 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: I started the whole build again and it gave the following error later in the build, on a different place: CC  ffserver.o ffserver.c: In function 'main': ffserver.c:4728: error: 'SA_RESTART' undeclared (first use in this function) This is now fixed

Re: [Libav-user] non-existing PPS referenced console message on QNX

2013-07-17 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: I'm using the ffmpeg libraries in a QNX x86 application. A data stream is encoded, with ffmpeg (x264), on a server running on Windows and is decoded, with ffmpeg (x264), (note that x264 does not decode h264) on the client running on QNX. The

Re: [Libav-user] New OGG is not playing

2013-07-17 Thread Carl Eugen Hoyos
Chaitanya Gopathi chaitanyag@... writes: I am working on ffmpeg very first time. I could able to convert an ogg file from a mp4. But it is not playing in the browser. Please test your command line from the console and provide the complete, uncut console output. Carl Eugen

Re: [Libav-user] non-existing PPS referenced console message on QNX

2013-07-18 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: You are right, I'm wrong about the decoding part. What do you mean with failing command line and encoding command line? We are using library functions You could test if the problem is also reproducible if you use the ffmpeg executable. Carl Eugen

Re: [Libav-user] Issue installing ffmpeg-php on Ubuntu 12.04

2013-07-18 Thread Carl Eugen Hoyos
Aaron Golub agolub@... writes: I'm attempting to use your ffmpeg installation for Ubuntu 12.04 and I'm having trouble getting ffmpeg-php installed. ffmpeg-php is an independent software project that is not supported here. Additionally, it is not developed since a very long time, so it is

Re: [Libav-user] how to handle missing pts values to keep audio sync (mpegts-mp4)

2013-07-18 Thread Carl Eugen Hoyos
Patrick Fischer pfischer@... writes: If i use the application ffmpeg i got also an async mp4:   ffmpeg -i  ~/Videos/defekte_streams/asyncron_1.ts test.mp4 ffmpeg version 0.8.6-6:0.8.6-0ubuntu0.12.10.1 You did not test FFmpeg but an intentionally broken version that contains several hundred

Re: [Libav-user] how to handle missing pts values to keep audio sync (mpegts-mp4)

2013-07-18 Thread Carl Eugen Hoyos
wm4 nfxjfg@... writes: You did not test FFmpeg but an intentionally broken version that contains several hundred known bugs and regressions not reproducible Then why is ffmpeg merging from it on a daily basis? You cut the important part;-( Although FFmpeg is merging on a daily

Re: [Libav-user] Internal error, slice end before start may cause a crash

2013-07-18 Thread Carl Eugen Hoyos
Julian Herrera julian.herrera@... writes: frame #2: 0x002dd6e6 astra`mpeg_decode_slice(s=0x0f9eaa00, buf=0x03985a14) + 7854 at mpeg12.c:1813 This looks outdated. Is the problem also reproducible with current git head? Carl Eugen ___

Re: [Libav-user] Internal error, slice end before start may cause a crash

2013-07-19 Thread Carl Eugen Hoyos
Julian Diego Herrera Braga julian.herrera@... writes: I've updated the project to link against ffmpeg-2.0 and now the issue seems to be worse. FFmpeg now crashes more often during a seek operation. This is the new backtrace: * thread #14: tid = 0x3303, 0x001d133c astra

Re: [Libav-user] Internal error, slice end before start may cause a crash

2013-07-19 Thread Carl Eugen Hoyos
Julian Diego Herrera Braga julian.herrera@... writes: Please provide a complete backtrace including disassembly and register dump, as explained on http://ffmpeg.org/bugreports.html No way to reproduce the problem with the ffmpeg executable? Can I run the ffmpeg executable on an iOS

Re: [Libav-user] Getting started with libavcodec

2013-07-23 Thread Carl Eugen Hoyos
Jason Cipriani jason.cipriani@... writes: If so, where can I find the documentation for it? The Documentation - libavcodec link on the ffmpeg site (http://ffmpeg.org/libavcodec.html) doesn't actually seem to be documentation, although I did eventually find the doxygen docs for avcodec.h.

Re: [Libav-user] HW decoding on Android

2013-07-23 Thread Carl Eugen Hoyos
Abel Alonso abelalon@... writes: I have no access to the development system where I test FFmpeg compilation for Android, so I cannot test it. However, just looking to the code, it wouldn't compile, because you are no defining de type. To make that compile yo need to add the following

Re: [Libav-user] Why ffmpeg is writing to stderr instead of stdout?

2013-07-24 Thread Carl Eugen Hoyos
satya gowtham kudupudi satyagowtham.k@... writes: I am making system call to above command and i want to extract only error message but unfortunately ffmpeg is writing non error messages to stderr. I may absolutely misunderstand your mail but are you searching for -loglevel error ? Carl

Re: [Libav-user] Using libav to demux multiple programs from multi-program stream

2013-07-25 Thread Carl Eugen Hoyos
Adi Shavit adishavit@... writes: I have a udp feed with a multi-program stream. I need to demux all the streams simultaneously. Can avlib do this? I may misunderstand your question but I believe FFmpeg can only demux all streams of a transport stream (you can of course ignore the streams

Re: [Libav-user] Using libav to demux multiple programs from multi-program stream

2013-07-25 Thread Carl Eugen Hoyos
Adi Shavit adishavit@... writes: What I'm asking is if it is possible to demux and the decode all (desired) streams independently. Again, I may misunderstand, but I suspect you cannot demux the streams of a transport stream independently but you can only decode the resulting video and audio

Re: [Libav-user] Using libav to demux multiple programs from multi-program stream

2013-07-25 Thread Carl Eugen Hoyos
Adi Shavit adishavit@... writes: If so, how can I get the program name in a named stream to know which one I'm processing? See AVFormatContext-programs[] and av_find_program_from_stream() and friends. What's the relationship between programs and streams? (You mentioned programs,

Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-25 Thread Carl Eugen Hoyos
Mike Versteeg mike@... writes: rtmp://185.13.90.110/vidlivestream/_definst_/stream/test Works fine here, Carl Eugen $ ffmpeg -i rtmp://185.13.90.110/vidlivestream/_definst_/stream/test ffmpeg version N-54924-g5156d48 Copyright (c) 2000-2013 the FFmpeg developers built on Jul 25 2013 09:01:09

Re: [Libav-user] Using libav to demux multiple programs from multi-program stream

2013-07-25 Thread Carl Eugen Hoyos
Adi Shavit adishavit@... writes: I used the term program since that's what VLC calls selection the channel in a multi-program stream. I think this may be the same thing and the variable identifies which stream(s) belongs to which channel. Correct? Sounds correct. (But I have never

Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-25 Thread Carl Eugen Hoyos
mikeversteeg mike@... writes: Carl Eugen Hoyos wrote Works fine here, Carl Eugen Thanks, interesting! So unless they fixed it in the past 24 hours, (They?) how is this possible? I suggest you look at the configure lines. (This is not only the reason why you are required to always

Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-26 Thread Carl Eugen Hoyos
mikeversteeg mike@... writes: I suggest you look at the configure lines. Sorry, you lost me. Sorry, what is unclear about that? (Especially since the exact same question was asked - and answered - at the same time on ffmpeg-user) Please compare my configure line with the one you used.

Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-26 Thread Carl Eugen Hoyos
mikeversteeg mike@... writes: With 'configure I assume you mean the build configuration? If so, I do not see how disabling inputs will help me solve the problem Then I really, really honestly cannot help you. Note that I did not want to imply at any point that you haven't given all

Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-26 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos@... writes: If the answer is out there in this 'ffmpeg-user' can you at least provide a link? http://thread.gmane.org/gmane.comp.video.ffmpeg.user/46779/focus=46824 Sorry, I apparently misread this message, it is probably unrelated. Sorry for the noise, Carl

Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-26 Thread Carl Eugen Hoyos
mikeversteeg mike@... writes: You did help a little bit in demonstrating there is apparently a bug in ffmpeg, where your specific build works and full builds don't. Why do you think so? Please test ./configure make ffmpeg or ./configure --enable-gpl make ffmpeg and report back. If it

Re: [Libav-user] can't decode RTMP stream from FMS

2013-07-27 Thread Carl Eugen Hoyos
Paul B Mahol onemda@... writes: On 7/26/13, Carl Eugen Hoyos cehoyos@... wrote: Paul B Mahol onemda at ... writes: What about disabling native FFmpeg rtmp code? Assuming librtmp one works fine. It's the other way 'round... Really? This is what I suspect. If Mike started actual

Re: [Libav-user] G726

2013-07-29 Thread Carl Eugen Hoyos
Mark Kenna mark.kenna@... writes: I am trying to decode raw G726 from file. Does it work with ffmpeg (the executable)? If not, I would be very interested in a sample. Thank you, Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] SIGBUS when using ffmpeg on QNX armv7

2013-07-30 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: ./configure --enable-gpl \ --enable-nonfree Unrelated: The only effect that this option has in your configure line is that you are not allowed to distribute any binaries based on this compile, so please remove it. [...] When I started the application

Re: [Libav-user] High bitrate in AVCONV converted MPG file causes DVD reading problem

2013-07-30 Thread Carl Eugen Hoyos
Ivaylo Spasov ivaylo.pif@... writes: I convert AVI to MPEG with folowing command: avconv To elaborate: avconv contains several hundred known bugs that are not reproducible with ffmpeg, some of them security relevant, please understand that we therefore cannot support it here. See

Re: [Libav-user] Creating a .mkv with H.264

2013-07-30 Thread Carl Eugen Hoyos
Marika Marszalkowski marikaner@... writes: I have tried a lot of different settings and can not make it work. Command line including complete, uncut console output / source code missing. Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] stubborn valgrind issue

2013-07-31 Thread Carl Eugen Hoyos
Brian Lewis brian@... writes: Hi, I'm getting some invalid reads and uses of uninitialized values in valgrind that I can't clear up. (valgrind output missing.) int buf_size = avpicture_get_size(PIX_FMT_OUT, WIDTH, HEIGHT); uint8_t *buf = malloc(buf_size); Does it get better if you

Re: [Libav-user] stubborn valgrind issue

2013-08-01 Thread Carl Eugen Hoyos
Brian Lewis brian@... writes: The very same test case test.c, when compiled against libraries from ffmpeg 2.0, doesn't produce any invalid-read or use-of-uninitialized-memory errors in valgrind. Please use git bisect to find the commit introducing the problem. Carl Eugen

Re: [Libav-user] Extracting Closed Captions

2013-08-01 Thread Carl Eugen Hoyos
Adi Shavit adishavit@... writes: I was wondering if ffmpeg/libav knows how to extract closed captions from a video No, but what kind of source file are you working with? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Frame decoding and sw_scale timings for HD video

2013-08-24 Thread Carl Eugen Hoyos
Alex Cohn alexcohn@... writes: As for optimizations, please describe what hardware you are using,  this may have a serious influence on the expected max performance. This is not wrong, even more interesting imo would be the format of the video (and audio) the OP is trying to decode

Re: [Libav-user] How to know the output libraries names

2013-09-06 Thread Carl Eugen Hoyos
Lucas Soltic lucas.soltic@... writes: Is there any reliable way of knowing the names of the libraries that will be created by a standard FFmpeg's configure make process? On Unix platforms there are .so and .so.version, and on Windows, there are .dll and -version.dll. I probably

Re: [Libav-user] How to know the output libraries names

2013-09-06 Thread Carl Eugen Hoyos
Lucas Soltic lucas.soltic@... writes: On Unix platforms there are .so and .so.version, and on Windows, there are .dll and -version.dll. I probably misunderstand but are you suggesting that we name the Unix shared libraries *.dll ? (Or the Windows shared libraries *.so ?) Hi,

Re: [Libav-user] Segmentation fault in get_bits

2013-09-10 Thread Carl Eugen Hoyos
Leo Fernando leo.fernando34@... writes: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffe67c8700 (LWP 20524)] get_bits (s=0x7fffd804a1a0, mb_y=34, buf=0x7fffe67c6a00, buf_size=0) at libavcodec/get_bits.h:241 241 UPDATE_CACHE(re, s); (gdb) Needed

Re: [Libav-user] ffmpeg AAC problem

2013-09-12 Thread Carl Eugen Hoyos
mm.xie@... writes: I use aacdec decoding the data only one channel there is sound, the same file with ffmpeg - version 0.11 into the same parameters and data decoding is no problem. Please provide the sample. Carl Eugen ___ Libav-user mailing

Re: [Libav-user] Getting started with ffmpeg

2013-09-26 Thread Carl Eugen Hoyos
Nick Wood nick@... writes: 1. Is ffmpeg the proper choice for decoding and displaying the .ts files? I suspect you can try if ffmpeg (the command line tool) and ffplay can read your file to answer this question. (I don't think anybody else can answer the question unless you upload a sample

Re: [Libav-user] Compile with g++

2013-10-08 Thread Carl Eugen Hoyos
Michael Chisholm chisholm@... writes: demuxing.c: In function 'int main(int, char**)': demuxing.c:261:66: error: invalid conversion from 'void*' to 'uint8_t** {aka unsigned char**}' [-fpermissive] audio_dst_data = av_mallocz(sizeof(uint8_t *) * nb_planes);

Re: [Libav-user] Compile with g++

2013-10-09 Thread Carl Eugen Hoyos
James Board jpboard2@... writes: (Nothing about this is FFmpeg specific.) This is the libav mailing list, not the fmpeg mailing list This is a mailing list about FFmpeg (that is why it is hosted on the FFmpeg server). Questions about how to convert a C program (that allows implicit type

Re: [Libav-user] Compile with g++

2013-10-09 Thread Carl Eugen Hoyos
Michael Chisholm chisholm@... writes: So my point to all this is, the ffmpeg-2.0.1 headers aren't completely C++-friendly I don't think this is correct as such: The headers are neither C++-friendly nor C++-unfriendly, they are simply C headers and exactly the same limitations apply than

Re: [Libav-user] Extract frames in raw RGB formats

2013-10-10 Thread Carl Eugen Hoyos
Amir Hossein Rouhi amir.rouhi@... writes: I am wondering if anyone can help me how can i use ffmpeg to extract frames in raw RGB image format. The following code does not work: ffmpeg -i foo.mp4 -r 1 -s 320x240 -f image2 foo-%03d.rgb This is at least missing -vcodec rawvideo Please add

Re: [Libav-user] memory leak when I-frame is delayed

2013-10-10 Thread Carl Eugen Hoyos
Алексей Дорофеев leshadorofeev@... writes: I'm seeing memory leak in case when the first INTRA-frame is delayed. Did you try to reproduce with ffmpeg (the application) and valgrind? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Extract frames in raw RGB formats

2013-10-11 Thread Carl Eugen Hoyos
Amir Hossein Rouhi amir.rouhi@... writes: What the bellow command line generate is a raw image but in YUV 4:2:0 format. what i want is RGB raw image. I know there is a formula to convert YUV to RGB but i need pure RGB in the file. even i tried to use -pix_fmt but could not find any

Re: [Libav-user] Problems with ffvhuff and huvvyuv

2013-10-16 Thread Carl Eugen Hoyos
James Board jpboard2@... writes: It would be nice if someone told me beforehand whether or not this is a problem that can be fixed. Ok, so far this is understandable. If I want to decode a single isolated frame with ffvhuff, does the ffvhuff algorithm require me to decode multiple

Re: [Libav-user] missing mandatory atoms, broken header

2013-10-17 Thread Carl Eugen Hoyos
leanne attard leanneattard@... writes: I am using opencv to read from a video file output from a Vivotek ipcamera model(IP 3872). What does ffmpeg -i video_file show for the file that you want to read from? Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] missing mandatory atoms, broken header

2013-10-18 Thread Carl Eugen Hoyos
leanne attard leanneattard@... writes: thanks for the reply, I am getting the same error and some other information: It appears the file can be read, does any operation fail? attached a screenshot - ffmpeg output.png Please do not attache screenshots, simply paste the console output. And

Re: [Libav-user] HW decoding on Android

2013-10-18 Thread Carl Eugen Hoyos
sirvo sylviojalves@... writes: Ok, got libstagefright of ffmpeg working and playing full HD videos on android! Could you elaborate a little on what you had to do? I remember some users had problems... Thank you, Carl Eugen ___ Libav-user mailing

Re: [Libav-user] Criteria for h.264 key-frame detection

2013-10-20 Thread Carl Eugen Hoyos
Robert Krüger krueger@... writes: I have AVCHD files from a camera (Panasonic Lumix GH1) that demux and decode with libavformat/libavcodec detecting no other keyframe but the first (both, the first video packet and video frame are marked as keyframe), which is not what I would have expected

Re: [Libav-user] Criteria for h.264 key-frame detection

2013-10-20 Thread Carl Eugen Hoyos
Robert Krüger krueger@... writes: So are you saying that AVPacket.key_frame should be set to 1 for recovery points in H.264? No, on the contrary, I don't think this would work (depending on the definition of work) in the sense that the frame marked as key_frame cannot be independently

Re: [Libav-user] Criteria for h.264 key-frame detection

2013-10-21 Thread Carl Eugen Hoyos
Robert Krüger krueger@... writes: In case of the files I am talking about here, there are no recovery point SEIs after the first frame so libavformat/avcodec is probably doing everything correctly, too. Since I think I know that these streams in fact do have random access points, I will

Re: [Libav-user] Criteria for h.264 key-frame detection

2013-10-21 Thread Carl Eugen Hoyos
Robert Krüger krueger@... writes: If my debug output is correct, both contain no B-slices/frames (I just noticed that) but they do contain I-slices/frames. If I am not missing something, those I-Frames should be valid random access points then. Do you mean you debugged the sample (with

Re: [Libav-user] Criteria for h.264 key-frame detection

2013-10-21 Thread Carl Eugen Hoyos
Robert Krüger krueger@... writes: Since only P- and I-slices are parsed (I can see that in the debug output), I would indeed expect every I-frame (meaning any frame only consisting of one I-slice in the stream) to be a valid access point So you mean a P-frame after an I-frame is not

Re: [Libav-user] Criteria for h.264 key-frame detection

2013-10-21 Thread Carl Eugen Hoyos
Robert Krüger krueger@... writes: Even better. Which commit are you talking about? Iirc, fixed ticket with keyword h264. You mean 2738? I believe this is the one I meant. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Criteria for h.264 key-frame detection

2013-10-21 Thread Carl Eugen Hoyos
Robert Krüger krueger@... writes: I was interested to know how you found out that ffmpeg thinks the 28th frame is a random access point I concatenated the second until the 29th frame of the input sample and tested decoding with current FFmpeg. I also wanted to test with the reference

Re: [Libav-user] ffmpeg 2.0.X has a bogus FFV1 codec?

2013-10-22 Thread Carl Eugen Hoyos
André Anjos andre.dos.anjos@... writes: [libmp3lame at 0x7fa7d201f200] Channel layout not specified  Output #0, avi, to 'test.avi':     Stream #0:0: Video: ffv1, yuv420p, 352x288, q=2-31, 400 kb/s, 90k tbn, 25 tbc     Stream #0:1: Audio: mp3 (libmp3lame), 44100 Hz, 2 channels, fltp, 64 

Re: [Libav-user] Criteria for h.264 key-frame detection

2013-10-22 Thread Carl Eugen Hoyos
Robert Krüger krueger@... writes: Afaict, the 27th frame is not shown, ffmpeg thinks that it is no random access point. What do you mean by not shown? It is not decoded unless flags2 showall is used because FFmpeg thinks the 27th frame is not a random access point. Carl Eugen

Re: [Libav-user] Criteria for h.264 key-frame detection

2013-10-22 Thread Carl Eugen Hoyos
Robert Krüger krueger@... writes: Afaict, the 27th frame is not shown, ffmpeg thinks that it is no random access point. What do you mean by not shown? It is not decoded unless flags2 showall is used because FFmpeg thinks the 27th frame is not a random access point. You are

Re: [Libav-user] MxPEG camera (Mobotix) avformat_open_input fail

2013-10-24 Thread Carl Eugen Hoyos
Rafa Lopez rafaware@... writes: ./ffmpeg -f mxg -i http://192.168.0.78/control/faststream.jpg?stream=MxPEG; -y pipas.avi AVFormatContext *formatContext = avformat_alloc_context(); formatContext-video_codec_id = AV_CODEC_ID_MXPEG;but it doesn't work I don't know if this is the issue,

Re: [Libav-user] ffmpeg 2.0.X has a bogus FFV1 codec?

2013-10-25 Thread Carl Eugen Hoyos
André Anjos andre.dos.anjos@... writes: Could anyone fix the example code in ffmpeg so it reflects these modifications? Please send a patch (made with git format-patch) to the ffmpeg-devel mailing list. Please do not top (neither here not there), it is considered rude. Carl Eugen

Re: [Libav-user] ffmpeg 2.0.X has a bogus FFV1 codec?

2013-10-25 Thread Carl Eugen Hoyos
André Anjos andre.dos.anjos@... writes: Please do not top (neither here not there), it is considered rude. Please do not top-post on all ffmpeg mailing lists. Sorry, Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Seeking in VBR MP3 file

2013-10-27 Thread Carl Eugen Hoyos
Tuukka Pasanen pasanen.tuukka@... writes: Now it works with [...] FFmpeg 0.11 but version above that (like 1.0-2.0/Git) doesn't work as they should with MP3 Which commit introduced the regression? Carl Eugen ___ Libav-user mailing list

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

2013-10-28 Thread Carl Eugen Hoyos
Zanelli Franco fzanelli@... writes: I experienced it when I was trying to include static ffmpeg libraries (libavcodec.a, libavformat.a ...) in my shared lib (mylib.so) on a 64 bit linux platform, but I don't know how to solve, can you help me please? Could you explain (FFmpeg version,

Re: [Libav-user] Seeking in VBR MP3 file

2013-10-28 Thread Carl Eugen Hoyos
Tuukka Pasanen pasanen.tuukka@... writes: Okay I suck in GIT but at last I managed to find commit is: '5864ce13d188260998bbf49a2a774fa9bd445c10'. Everything before that works and if you apply that patch it appears. Wasn't this fixed in e096283 ? Please avoid top-posting here. Carl Eugen

Re: [Libav-user] Seeking in VBR MP3 file

2013-10-28 Thread Carl Eugen Hoyos
Tuukka Pasanen pasanen.tuukka@... writes: I pulled down version 2.1 from git version and there is no change. Commit 'e096283' seems to fix MP3 CBR like it says. Some VBR level 1 files works also sounds pretty good. One starts to hear more errors from VBR level 2 and above. I made some

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