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

2013-07-10 Thread Carl Eugen Hoyos
Pavel Vazharov 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 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 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 (prehisto

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

2013-07-11 Thread Carl Eugen Hoyos
Pavel Vazharov 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 with th

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

2013-07-11 Thread Carl Eugen Hoyos
Pavel Vazharov 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 of course us

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

2013-07-11 Thread Carl Eugen Hoyos
Carl Eugen Hoyos 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 Eu

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 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 Eugen __

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

2013-07-12 Thread Carl Eugen Hoyos
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 to 2.0,

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

2013-07-12 Thread Carl Eugen Hoyos
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, thank you fo

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

2013-07-12 Thread Carl Eugen Hoyos
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 that yo

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

2013-07-13 Thread Carl Eugen Hoyos
Pavel Vazharov 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 in git

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

2013-07-17 Thread Carl Eugen Hoyos
Pavel Vazharov 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 application generall

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

2013-07-17 Thread Carl Eugen Hoyos
Chaitanya Gopathi 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 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 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 probably

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

2013-07-18 Thread Carl Eugen Hoyos
Patrick Fischer 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 known bu

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

2013-07-18 Thread Carl Eugen Hoyos
wm4 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 basis,

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

2013-07-18 Thread Carl Eugen Hoyos
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 ___ Libav-user mailing list L

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

2013-07-19 Thread Carl Eugen Hoyos
Julian Diego Herrera Braga 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 > `ff_put_pixels16_neon, stop

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

2013-07-19 Thread Carl Eugen Hoyos
Julian Diego Herrera Braga 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 dev

Re: [Libav-user] Getting started with libavcodec

2013-07-23 Thread Carl Eugen Hoyos
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. However, i

Re: [Libav-user] HW decoding on Android

2013-07-23 Thread Carl Eugen Hoyos
Abel Alonso 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 line. > #de

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

2013-07-24 Thread Carl Eugen Hoyos
satya gowtham kudupudi 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 Eugen __

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

2013-07-25 Thread Carl Eugen Hoyos
Adi Shavit 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 that you d

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

2013-07-25 Thread Carl Eugen Hoyos
Adi Shavit 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 streams in

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

2013-07-25 Thread Carl Eugen Hoyos
Adi Shavit 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 progra

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

2013-07-25 Thread Carl Eugen Hoyos
Mike Versteeg 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 with gc

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

2013-07-25 Thread Carl Eugen Hoyos
Adi Shavit 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 selected ch

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

2013-07-25 Thread Carl Eugen Hoyos
mikeversteeg 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 ar

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

2013-07-26 Thread Carl Eugen Hoyos
mikeversteeg 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. (Sorry i

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

2013-07-26 Thread Carl Eugen Hoyos
mikeversteeg 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 necessary i

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

2013-07-26 Thread Carl Eugen Hoyos
Carl Eugen Hoyos 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. Sor

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

2013-07-26 Thread Carl Eugen Hoyos
Paul B Mahol writes: > What about disabling native FFmpeg rtmp code? > Assuming librtmp one works fine. It's the other way 'round... Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

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

2013-07-26 Thread Carl Eugen Hoyos
mikeversteeg 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 i

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

2013-07-27 Thread Carl Eugen Hoyos
Paul B Mahol writes: > On 7/26/13, Carl Eugen Hoyos wrote: > > Paul B Mahol ...> writes: > > > >> What about disabling native FFmpeg rtmp code? > >> Assuming librtmp one works fine. > > > > It's the other way 'round... > > Real

Re: [Libav-user] G726

2013-07-29 Thread Carl Eugen Hoyos
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 http://ffmpeg.org/mailm

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

2013-07-30 Thread Carl Eugen Hoyos
Pavel Vazharov 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 it gave -

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

2013-07-30 Thread Carl Eugen Hoyos
Ivaylo Spasov 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 http://blog.pkh.me/

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

2013-07-30 Thread Carl Eugen Hoyos
Marika Marszalkowski 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 Libav-user@ffmpeg.org http://ffm

Re: [Libav-user] stubborn valgrind issue

2013-07-31 Thread Carl Eugen Hoyos
Brian Lewis 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 allocate more

Re: [Libav-user] stubborn valgrind issue

2013-08-01 Thread Carl Eugen Hoyos
Brian Lewis 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 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 http://ffmpeg.org/mailman/li

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

2013-08-24 Thread Carl Eugen Hoyos
Alex Cohn 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 faster. Carl Eu

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

2013-09-06 Thread Carl Eugen Hoyos
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 misunderstan

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

2013-09-06 Thread Carl Eugen Hoyos
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 ?) > >

Re: [Libav-user] Segmentation fault in get_bits

2013-09-10 Thread Carl Eugen Hoyos
Leo Fernando 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 part of gdb outp

Re: [Libav-user] ffmpeg AAC problem

2013-09-12 Thread Carl Eugen Hoyos
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 list Liba

Re: [Libav-user] Getting started with ffmpeg

2013-09-26 Thread Carl Eugen Hoyos
Nick Wood 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 which l

Re: [Libav-user] linker error after compiling encoding_decoding.c

2013-09-28 Thread Carl Eugen Hoyos
satya gowtham kudupudi writes: > On ubuntu i've installed ffmpeg as per  > http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide  > I'm trying to compile  > http://www.ffmpeg.org/doxygen/2.0/doc_2examples_2decoding_encoding_8c-example.html; > changed int main(int argc, char **argv) to > int

Re: [Libav-user] How to decode video in libav via video acceleration using vaapi

2013-09-28 Thread Carl Eugen Hoyos
Safi writes: > Hello i have developed a working media player using libav > for my project . now i want to decode my h264 video using > video acceleration decoding via vaapi There is a patch for MPlayer that you should be able to find googling "mplayer vaapi": for example gitorious.org/vaapi/m

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

2013-10-08 Thread Carl Eugen Hoyos
Michael 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 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 convers

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

2013-10-09 Thread Carl Eugen Hoyos
Michael 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 when using any

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

2013-10-09 Thread Carl Eugen Hoyos
Amir Hossein 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 the complete,

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

2013-10-10 Thread Carl Eugen Hoyos
Алексей Дорофеев 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 http://ffmpeg.org/m

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

2013-10-11 Thread Carl Eugen Hoyos
Amir Hossein 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 parameter for R

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

2013-10-13 Thread Carl Eugen Hoyos
Andy Shaules writes: > extern "C" { >     #include >     #include >     #include >         #include > } Please note that this is a wrong (or bad) example, there is no guarantee that headers in different directories do not have identical names (and at le

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

2013-10-16 Thread Carl Eugen Hoyos
James Board 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 frames after

Re: [Libav-user] Problema with RTP stream (h264)

2013-10-17 Thread Carl Eugen Hoyos
Camera Man writes: > Unfortunately, the udp layer will set it's SO_RCVBUF kernel buffer to at > most 64K, (which e.g. Linux will translate to a 128K buffer). That > practically guarantees that any single frame larger than 128K (e.g., an > average I-frame in an 1280x720 stream) will not fit wit

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

2013-10-17 Thread Carl Eugen Hoyos
leanne attard 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 Libav-user@ffmp

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

2013-10-18 Thread Carl Eugen Hoyos
leanne attard 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 please do not

Re: [Libav-user] mpegts and id3 metadata

2013-10-18 Thread Carl Eugen Hoyos
Jaspreet Singh writes: > Hi,I would like to use ffmpeg to create a mpegts > with custom metadata information. Please consider opening an enhancement request on trac if you do not intend to send a patch. Carl Eugen ___ Libav-user mailing list Libav-

Re: [Libav-user] HW decoding on Android

2013-10-18 Thread Carl Eugen Hoyos
sirvo 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 list Libav-user@

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

2013-10-20 Thread Carl Eugen Hoyos
Robert Krüger 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 for those

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

2013-10-20 Thread Carl Eugen Hoyos
Robert Krüger 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 decoded if al

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

2013-10-21 Thread Carl Eugen Hoyos
Robert Krüger 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 probably have

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

2013-10-21 Thread Carl Eugen Hoyos
Robert Krüger writes: > I'll be more than happy to do that. How do you want > me to do it? Open a ticket (if so, what would be an > appropriate topic/title in your opinion?) or by > some other means? Whatever seems appropriate and simple to you, as you know there is a ftp/http upload site, y

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

2013-10-21 Thread Carl Eugen Hoyos
Robert Krüger 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 a strea

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

2013-10-21 Thread Carl Eugen Hoyos
Robert Krüger 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 allowed to r

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

2013-10-21 Thread Carl Eugen Hoyos
Robert Krüger writes: > Btw, is it intentional that you don't answer questions > I ask in my emails? Please understand that you know much more than I do about H.264 so I simply cannot answer most of your questions. http://wiki.multimedia.cx/index.php?title=Mirror contains a copy of an old H.

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

2013-10-21 Thread Carl Eugen Hoyos
Robert Krüger 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 http://f

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

2013-10-21 Thread Carl Eugen Hoyos
Robert Krüger 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 decoder (tha

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

2013-10-21 Thread Carl Eugen Hoyos
André Anjos writes: > [libmp3lame0x7fa7d201f200] 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 kb/s > Error enco

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

2013-10-22 Thread Carl Eugen Hoyos
Robert Krüger writes: > I just cut away everything from the file until the start > of the packet containing the 27th frame > (tail -c4329532 gh1_720p.mts > gh1_720p_cat.mts) and the > resulting file decodes without artifacts using ffmpeg. (With or without -flags2 showall?) > The number of de

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

2013-10-22 Thread Carl Eugen Hoyos
Carl Eugen Hoyos writes: > Robert Krüger ...> writes: > > > I just cut away everything from the file until the start > > of the packet containing the 27th frame > > (tail -c4329532 gh1_720p.mts > gh1_720p_cat.mts) and the > > resulting file decodes withou

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

2013-10-22 Thread Carl Eugen Hoyos
Robert Krüger 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 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.

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

2013-10-23 Thread Carl Eugen Hoyos
salsaman writes: > Just out interest how does one force seeking only to > recovery points in lavf/lavc programmatically ? It is the default, if it does not work for your, please report it (here). Note that ffmpeg (the application) supports seeking, so it should be possible to use it for test

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

2013-10-24 Thread Carl Eugen Hoyos
Rafa Lopez 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, but I w

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

2013-10-25 Thread Carl Eugen Hoyos
André 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 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 http://ffmpeg.org/mailman/listinfo/liba

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

2013-10-27 Thread Carl Eugen Hoyos
Tuukka Pasanen 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 Libav-user@ffmpeg.org htt

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

2013-10-28 Thread Carl Eugen Hoyos
Zanelli Franco 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, configure line,

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

2013-10-28 Thread Carl Eugen Hoyos
Tuukka Pasanen 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 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 test files with

Re: [Libav-user] Difference between AVStream::sample_aspect_ratio and AVCodecContext::sample_aspect_ratio

2013-11-12 Thread Carl Eugen Hoyos
Anders Rein writes: > When decoding IMX video from a mov file I get two different > values for sample_aspect_ratio whether I look in AVStram or > AVCodecContext. How are the two values retrieved/calculated? (ffmpeg -i output missing) I would guess one SAR is written in the bitstream, the othe

Re: [Libav-user] Encoded Date in MOV Container

2013-11-23 Thread Carl Eugen Hoyos
Thomas Freudenreich writes: > There are Datetime values in the Quicktime MOV > Container. It is in the Movie Header Atoms (mvhd). > This are seconds since 1.1.1904 > Is there a function/structure  where I can > access these values? I believe so, please provide "ffmpeg -i file" output for the

Re: [Libav-user] Fwd: FFMPEG and OPENCV

2013-11-23 Thread Carl Eugen Hoyos
Muhammad Osaid writes: > I currently stuck on this problem which is > related to capturing webcam stream (via OpenCV) > and encoding it via h264 using FFMPEG. I am not sure if this is the right mailing list for this question but if it is, please provide all necessary information here on the

Re: [Libav-user] FFmpeg compiling in iphone

2013-11-24 Thread Carl Eugen Hoyos
SP Tech writes: > I am unable to proceed because of limited content on > internet explaining compilation of FFmpeg. What's wrong with http://ffmpeg.org/platform.html ? > I used https://github.com/lajos/iFrameExtractor to > start with compiling of FFmpeg You should *really* start with downloa

Re: [Libav-user] Encoded Date in MOV Container

2013-11-24 Thread Carl Eugen Hoyos
Thomas Freudenreich writes: > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'm.mov': > Duration: 00:00:13.27, start: 0.00, bitrate: 9279 kb/s > Stream #0.0(eng): Video: h264, yuv420p, 1920x1080 > [PAR 1:1 DAR 16:9], 29.97 tbr, 29.97 tbn, 59.94 tbc > Stream #0.1(eng): Audio: aac, 48000 Hz

Re: [Libav-user] decoding mp3

2013-11-25 Thread Carl Eugen Hoyos
Michael Winter writes: > What is used for decoding mp3? The mp3 (or mpegaudio) decoder. (Sorry.) > Does it comply with the --enable-nonfree compilation? This question makes no sense to me, I suspect "nonfree" means something something completely different for you than for the FFmpeg develope

Re: [Libav-user] decoding mp3

2013-11-25 Thread Carl Eugen Hoyos
Michael Winter writes: > But the license compliance checklist looks strictly > detailed for lgpl. > > For example, lame is lgpl except for the mpeg123 > libs they use for decoding which is gpl. You win;-)) If I understand correctly, lame contains GPL code by default without telling... Sinc

Re: [Libav-user] decoding mp3

2013-11-25 Thread Carl Eugen Hoyos
Carl Eugen Hoyos writes: > If I understand correctly, lame contains GPL code > by default without telling... Actually the source files each have a license header claiming they are LGPL, only the README file says they are LGPL. Carl

Re: [Libav-user] decoding mp3

2013-11-25 Thread Carl Eugen Hoyos
Stefano Sabatini writes: > Just let me note that "--enable-nonfree" is an > incredibly poor and confusing name choice Really? I am not so sure... (Particularly considering some other "name choices" related to FFmpeg...) > what is "free"?, > why should a non-GPL license be considered "non-fre

Re: [Libav-user] decoding mp3

2013-11-29 Thread Carl Eugen Hoyos
Michael Winter writes: > > $ configure --disable-decoder > > Then you are using LAME or MAD for decoding. Is that > correct? No, as I tried to explain, FFmpeg can neither use LAME nor MAD for decoding. As I wrote, if you compile LAME with --disable-decoder (to make sure no GPL'd code gets l

Re: [Libav-user] multichannel decoding

2013-12-03 Thread Carl Eugen Hoyos
Adi Shavit writes: > See my previous thread(s). > You need one decoder per-stream. I don't disagree but I suspect this is not needed if the input stream is intra-only. Please do not top-post here, Carl Eugen ___ Libav-user mailing list Libav-user@f

Re: [Libav-user] My code stops at avformat_find_stream_info()

2013-12-05 Thread Carl Eugen Hoyos
Dídac Pérez writes: > I am using ffmpeg to retrieve the RTSP stream from a > network IP camera, concretely a Bosch Dinion HD 720p. > > When I run my code, it stucks in avformat_find_stream_info() Is this reproducible with ffmpeg (the application)? Carl Eugen _

Re: [Libav-user] My code stops at avformat_find_stream_info()

2013-12-05 Thread Carl Eugen Hoyos
Dídac Pérez writes: > ffplay rtsp://192.168.1.198/video Please try ffplay rtsp://192.168.1.19?tcp Please do not top-post here, it is considered rude, Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/lib

Re: [Libav-user] My code stops at avformat_find_stream_info()

2013-12-05 Thread Carl Eugen Hoyos
Carl Eugen Hoyos writes: > Dídac Pérez ...> writes: > > > ffplay rtsp://192.168.1.198/video > > Please try ffplay rtsp://192.168.1.19?tcp Should have been: ffplay rtsp://192.168.1.198/video?tcp (Consider forcing your mailer to text-only

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