Re: [Libav-user] Decoding mpeg4 has delay in 3.1.1 (3.0 works correctly)

2016-07-07 Thread Carl Eugen Hoyos
Hwangho Kim writes: > I only update the ffmpeg version and avcodec_decode_video2 > takes double time than 3.0 for 1920x1280 video. > > Please let me know which things should I try. Please use git bisect to find out which change introduced the issue you see. And please avoid

Re: [Libav-user] Need to understand where demuxer for mp4 is hooked with h264 decoder ?

2016-08-08 Thread Carl Eugen Hoyos
2016-08-09 2:48 GMT+02:00 ssshukla26 : > I am decoding a *mp4 file* using *h264 decoder* (as follows), so where does > this demuxer for mp4 is hooked with h264 decoder in the source ? Please help > I want to hook the demuxer for mp4 with my own decoder. It is probably much

Re: [Libav-user] Convert audio to G711 raw format

2016-08-02 Thread Carl Eugen Hoyos
On Monday 01 August 2016 11:52:32 am you wrote: > I want to convert an audio file to G.711 format. I can see encoding to uLaw > PCM and aLaw PCM, but can't find a command line argument that will convert > my audio file to simple G.711. $ ffmpeg -i input -f alaw out1 $ ffmpeg -i input -f mulaw

Re: [Libav-user] movflags > faststart

2016-07-01 Thread Carl Eugen Hoyos
William Troup writes: > avformat-56.dll This looks outdated. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] // binary distribution of ffmpeg libs compiled with fdk_aac

2017-01-31 Thread Carl Eugen Hoyos
2017-01-30 9:29 GMT+01:00 Alex Pokotilo : > --disable-decoders \ > --disable-encoders \ > --disable-muxers \ > --disable-demuxers \ > --disable-parsers\ Please allow me to repeat here that afaict, there is absolutely no guarantee whatsoever that

Re: [Libav-user] Question about usage of libav in an application

2017-02-08 Thread Carl Eugen Hoyos
2017-02-08 23:40 GMT+01:00 Team Lixo : > Is it possible to read/decode more than one media stream in one single > thread? i.e. round-robin each AVFormatContext, calling av_read_frame once, > decoding, and moving onto the next packet/frame in this fashion? If you have multiple

Re: [Libav-user] code patch supporting I/O interrupts during av_read_frame()

2017-02-04 Thread Carl Eugen Hoyos
2017-02-01 21:52 GMT+01:00 Blake Senftner : > Seeing multiple developers requesting this functionality online, I > looked into making a patch for submission this back to the ffmpeg > developers. It looks like the patch submission process is a bit more > time consuming

Re: [Libav-user] Fwd: fixed vs floating point mp3 encoder

2017-02-04 Thread Carl Eugen Hoyos
2017-02-04 17:58 GMT+01:00 Lina Sharifi : > I am using ffmpeg integrated with libmp3lame for encoding > (AV_CODEC_ID_MP3), Is there an option for to enable > fixed point (integer) encoder? Probably a codec flag? There is one encoder that takes different sample_fmts. You have

Re: [Libav-user] mp3 encoder audio quality

2017-02-04 Thread Carl Eugen Hoyos
2017-02-04 17:57 GMT+01:00 Lina Sharifi : > FFMPEG > result:https://drive.google.com/file/d/0B9DbYNPuSyiRYTFzRmliNWxLcnM/view?usp=sharing The file is broken afaict. My initial guess was that you should make sure that the sample_fmt you specify when initializing the encoder

Re: [Libav-user] formats that support variable frame rate

2017-01-23 Thread Carl Eugen Hoyos
2017-01-23 6:00 GMT+01:00 YIRAN LI : > Could anyone help to sort out among following formats, which ones > support variable frame rate so that video frames in the file can have > variable duration? > DV I am quite sure that dv does not support vfr, see also ticket #6082.

Re: [Libav-user] possible AVFilterGraph bug: code, work around, and video triggering issue

2017-01-24 Thread Carl Eugen Hoyos
2017-01-24 2:16 GMT+01:00 Blake Senftner : > I believe there may be a bug in the conversion from YUV to RGBA for some > cases of WMV and AVI format videos. Please correct me if I misunderstand: You report here that you see an issue converting from yuv (which is not an

Re: [Libav-user] Problems with H.264 encoding for MP4 files on macOS

2017-01-29 Thread Carl Eugen Hoyos
2017-01-27 15:14 GMT+01:00 films : > However, I really need to use the H.264 codec instead of the MPEG4 video > codec, so I have tried overriding the guessed codec by simply adding this > after the av_guess_format stage. (This should not be necessary if x264 is

Re: [Libav-user] switching between asfdec_o.c and asfdec_f.c in libavformat

2017-02-13 Thread Carl Eugen Hoyos
2017-02-13 17:05 GMT+01:00 Слободенюк Александр Игоревич : > When I'm building ffmpeg with mingw (from debian), libavformat uses > asfdec_f.c as source code for demuxing wmv files, > and when I'm building with gcc to elf it uses asfdec_o.c as source. This sounds unlikely /

Re: [Libav-user] Parsing RTP packets to decode the payload

2017-02-09 Thread Carl Eugen Hoyos
2017-02-09 18:39 GMT+01:00 Denis Gordenin : > I want to decode video info that coming decoding with a codec. No matters > which codec is. The problem is parsing the RTP packets that contain the > video. My application connects to a camera using RTSP Why don't you

Re: [Libav-user] Synchronizing two or more RTMP streams: need common start time to compute delay

2017-02-11 Thread Carl Eugen Hoyos
2017-02-11 17:19 GMT+01:00 Team Lixo : > I have a problem where I will need to sync two RTMP streams together Please provide the console output for reading the properties of both streams, like "ffmpeg -i stream1 -i stream2" Carl Eugen

Re: [Libav-user] IntPtr to Packet data is not woking

2017-02-15 Thread Carl Eugen Hoyos
2017-02-15 7:58 GMT+01:00 Prakash Rokade : > codecContext->sample_fmt = codec->sample_fmts[0]; > int ret = Ffmpeg::avcodec_open2(codecContext, codec, NULL); I believe you cannot generally do this: A codec does not necessarily support the sample_fmt

Re: [Libav-user] GIF API access

2017-02-14 Thread Carl Eugen Hoyos
2017-02-14 21:09 GMT+01:00 Malik Jahanzeb : > I needed a different muxer for my program but I couldn't find an example to > follow. Did you look into doc/examples? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Parsing RTP packets to decode the payload

2017-02-10 Thread Carl Eugen Hoyos
2017-02-10 4:46 GMT+01:00 Denis Gordenin : > > 2017-02-09 18:39 GMT+01:00 Denis Gordenin : > >> I want to decode video info that coming decoding with a codec. No matters >> which codec is. The problem is parsing the RTP packets that

Re: [Libav-user] what options should I specify if I only want an average target bitrate

2017-03-02 Thread Carl Eugen Hoyos
2017-03-02 2:48 GMT+01:00 YIRAN LI : > Just want to know, what options should I use if want the converted > video have an specified average bitrate. Will -b:v enough? I believe this depends on many factors: What did you test? Carl Eugen

Re: [Libav-user] GIF API access

2017-02-27 Thread Carl Eugen Hoyos
2017-02-27 4:13 GMT+01:00 Gustav González : > I'm getting closer to create an animated GIF using a (Qt) QImage > array as input. Since your sample code does not use the gif encoder, I don't see how it can lead to an animated gif as output file. Please do not top-post here,

Re: [Libav-user] statically linking x264 and x265 into ffmpeg

2016-09-06 Thread Carl Eugen Hoyos
Hi! 2016-09-06 12:55 GMT+02:00 Peter Steinbach <steinb...@scionics.de>: > On 09/06/2016 12:00 PM, Carl Eugen Hoyos wrote: >> An alternative is using "/path/to/lib.a" on >> the linking line instead of "-L/path/to -llib". > > Alright, I'll look

Re: [Libav-user] Sampling parts of a video on packet level

2016-09-06 Thread Carl Eugen Hoyos
2016-09-06 19:21 GMT+02:00 Jesper Taxbøl : > I was therefore wondering if its possible to pickup data > frames before the video decoding Not generally (think of non-key frames) but you can use a lossless codec (ffv1) for encoding. Note that this will increase the bandwidth

Re: [Libav-user] statically linking x264 and x265 into ffmpeg

2016-09-06 Thread Carl Eugen Hoyos
2016-09-06 14:18 GMT+02:00 Peter Steinbach : > ./configure --prefix=/tmp/ffmpeg --disable-programs --enable-pic > --enable-static --enable-libx264 --enable-libx265 --enable-gpl > --extra-ldflags="/home/steinbac/software/x264/master-static/lib/libx264.a >

Re: [Libav-user] statically linking x264 and x265 into ffmpeg

2016-09-06 Thread Carl Eugen Hoyos
2016-09-06 10:14 GMT+02:00 Peter Steinbach : > $ ./configure --prefix=/tmp/master-x264-x265-minimal --enable-static > --enable-pic --disable-everything --disable-programs --enable-libx264 > --enable-libx265 --enable-gpl > > When running "make V=1" and inspecting the gcc

Re: [Libav-user] statically linking x264 and x265 into ffmpeg

2016-09-06 Thread Carl Eugen Hoyos
2016-09-06 10:14 GMT+02:00 Peter Steinbach : > I then build ffmpeg with the following flags: > $ ./configure --prefix=/tmp/master-x264-x265-minimal --enable-static > --enable-pic --disable-everything --disable-programs --enable-libx264 > --enable-libx265 --enable-gpl

Re: [Libav-user] Speeding up H264 decoding

2016-09-08 Thread Carl Eugen Hoyos
2016-09-07 17:59 GMT+02:00 Kristijonas Malisauskas : > First thing i would suggest doing is setting your > AVCodecContext to use more threads > > for ex: videoCtx->thread_count = 4; I believe default is to use all cpu cores. Please do not top-post here, Carl Eugen

Re: [Libav-user] Speeding up H264 decoding

2016-09-08 Thread Carl Eugen Hoyos
2016-09-08 15:24 GMT+02:00 Simon Brown : > When I set the thread_count correctly (using a dict, setting to "auto" and > before the codec was opened) based on a later reply it made a significant > difference to speed. So my guess would be that it defaults to 1 CPU core >

Re: [Libav-user] Getting a Frame question

2016-09-08 Thread Carl Eugen Hoyos
2016-09-07 20:26 GMT+02:00 M N : > What causes "Tag avc1/0x31637661 incompatible with output > codec id '28'" in my code: http://pastebin.com/uXnHm52C ?? avc1 is allowed in mov but not mp4. Please remember not to top-post here and cut your quotes. Carl Eugen

Re: [Libav-user] Getting a Frame question

2016-09-08 Thread Carl Eugen Hoyos
2016-09-08 15:55 GMT+02:00 M N <assembler...@yandex.com>: > 08.09.2016, 16:45, "Carl Eugen Hoyos" <ceffm...@gmail.com>: >> 2016-09-07 20:26 GMT+02:00 M N <assembler...@yandex.com>: >>> What causes "Tag avc1/0x31637661 incompatible with output

Re: [Libav-user] Writing 16bit greyscale videos

2016-08-30 Thread Carl Eugen Hoyos
Hi! 2016-08-30 9:40 GMT+02:00 Peter Steinbach : > Stefano, did you check if your dataset really spans all 16 bits? if not, you > might be lucky. otherwise 16-to-8-bit quantisation might do the trick, but > is outside the scope of ffmpeg AFAIK. one thing I also haven't tried

Re: [Libav-user] Writing 16bit greyscale videos

2016-08-30 Thread Carl Eugen Hoyos
Hi! 2016-08-29 17:20 GMT+02:00 Masneri, Stefano <stefano.masn...@brain.mpg.de>: >>From: Libav-user [mailto:libav-user-boun...@ffmpeg.org] On Behalf Of Carl >>Eugen Hoyos >>>2016-08-29 10:59 GMT+02:00 Masneri, Stefano <stefano.masn...@brain.mpg.de>: >>

Re: [Libav-user] Writing 16bit greyscale videos

2016-08-31 Thread Carl Eugen Hoyos
Hi! 2016-08-31 9:41 GMT+02:00 Peter Steinbach : >> Is there a hevc decoder that supports 16bit? > > good catch, I didn't even check. there for sure is 16bit monochrome > encoding available. Which encoder does support this / can you provide sample files? Thank you, Carl

Re: [Libav-user] Writing 16bit greyscale videos

2016-08-31 Thread Carl Eugen Hoyos
Hi! 2016-08-31 9:13 GMT+02:00 Masneri, Stefano : > If needed I can provide the images and the video. Please do provide minimal input files that allow to reproduce the issue. Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] Can not link ffmpeg without pkg-config

2016-08-31 Thread Carl Eugen Hoyos
Hi! 2016-08-29 14:29 GMT+02:00 Perette Barella : > I wonder *why* are you avoiding pkg-config? Many toolchains do not offer pkg-config by default, it also typically leads to as many issues as it tries to fix. Carl Eugen ___

Re: [Libav-user] Can not link ffmpeg without pkg-config

2016-08-31 Thread Carl Eugen Hoyos
2016-08-30 13:28 GMT+02:00 Javier Lopez : > > gcc -o ffmpeg_player ffmpeg_player_01.c -Wall -ggdb -lavformat -lvdpau -lva > -lva-drm -lva-x11 -lxcb -lxcb-shm -lxcb -lxcb-xfixes -lxcb-render > -lxcb-shape -lX11 -lasound -lSDL -lx264 -lmp3lame -lfdk-aac -lm -lz -pthread >

Re: [Libav-user] Writing 16bit greyscale videos

2016-08-31 Thread Carl Eugen Hoyos
Hi! 2016-08-31 16:06 GMT+02:00 Masneri, Stefano : > ffmpeg -i test%d.tif -vcodec ffv1 -b:v 2M -r 10 test.avi -b:v must not be used for lossless codecs such as ffv1. I don't know why you are using "-r 10" in this command line (it will not increase the duration of the

Re: [Libav-user] Getting a Frame question

2016-09-08 Thread Carl Eugen Hoyos
2016-09-08 17:15 GMT+02:00 M N : > OK, the problem seems to be with FFMPEG not supporting MP4/H264, This sounds very unlikely / is not true. >I have fixed the code and it works good with .AVI formats: > http://pastebin.com/ptMZhUhc > But if I try .MP4 instead of .AVI,

Re: [Libav-user] Adjust fps

2016-09-08 Thread Carl Eugen Hoyos
2016-09-08 18:10 GMT+02:00 Leandro Raffo : > I see, but I wanted to avoid doing a decode/encode stage. > Guess its not possible then. It generally is possible, depends only on the codec. Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] Compiling ffmpeg with pthread support mscv toolchain

2016-09-09 Thread Carl Eugen Hoyos
2016-09-09 16:08 GMT+02:00 Leonardo Nahra <leonardona...@gmail.com>: > On Fri, Sep 9, 2016 at 6:59 AM, Carl Eugen Hoyos <ceffm...@gmail.com> wrote: >> > --enable-pthreads >> > --extra-libs=pthreadVC2.lib >> >> What does threading support show if you

Re: [Libav-user] RTP streaming: Protocol not on whitelist 'file'

2016-09-09 Thread Carl Eugen Hoyos
2016-09-08 5:41 GMT+02:00 Yu Ang Tan : > av_dict_set(, "protocol_whitelist", "file, udp, rtp", 0); Should be: ..."file,udp,rtp" (No whitespace) Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Compiling ffmpeg with pthread support mscv toolchain

2016-09-13 Thread Carl Eugen Hoyos
2016-09-12 20:04 GMT+02:00 Leonardo Nahra : > check_func pthread_create -pthread > check_ld cc -pthread > check_cc -pthread > BEGIN ./ffconf.SDAJxYXo.c > 1 extern int pthread_create(); > 2 int main(void){ pthread_create(); } > END ./ffconf.SDAJxYXo.c > c99wrap cl

Re: [Libav-user] can't decode swf correctly while MPC-HOME could

2016-09-14 Thread Carl Eugen Hoyos
2016-09-14 5:00 GMT+02:00 YIRAN LI : > My MPC-Home could play > https://www.dropbox.com/s/6rlz2mx3xwhf5q5/pano5.swf > corectly (same as play in Adobe Flash player) Doesn't show anything here with flashplayer 11,2,202,635. Carl Eugen

Re: [Libav-user] "Segmentation fault" When encoding H264 video frame

2016-09-14 Thread Carl Eugen Hoyos
2016-09-14 14:38 GMT+02:00 M N : > ==21468== Invalid read of size 8 > ==21468==at 0x5297EB0: avcodec_encode_video2 (in > /usr/lib64/libavcodec.so.56.60.100) > ==21468==by 0x401E09: main (main.c:154) > ==21468== Address 0x48 is not stack'd, malloc'd or (recently)

Re: [Libav-user] Errors when creating a C++ object (with a C API) in FFmpeg filter

2016-09-14 Thread Carl Eugen Hoyos
2016-09-14 5:30 GMT+02:00 R n : > I wrote a C++ class using openCV as well as a C wrapper/API. I am now using > it in FFmpeg filter. In the filter, Why didn't you use the existing opencv filter in FFmpeg? Carl Eugen ___

Re: [Libav-user] "Segmentation fault" When encoding H264 video frame

2016-09-15 Thread Carl Eugen Hoyos
2016-09-15 15:41 GMT+02:00 M N : > ==30670== Invalid read of size 8 > ==30670==at 0x52E606E: avcodec_encode_video2 (utils.c:1932) > ==30670==by 0x401EC7: main (main.c:167) > ==30670== Address 0xa0 is not stack'd, malloc'd or (recently) free'd > ==30670== >

Re: [Libav-user] Detecting if a gif is animated or not

2016-09-15 Thread Carl Eugen Hoyos
2016-09-15 14:37 GMT+02:00 Gonzalo Garramuño : >> Do you think this is possible in general (without decoding the gif)? > > I was hoping there was some kind of magic number or number of > frames in the header. But I guess from your answer, that's not the > case. Anyway, I

Re: [Libav-user] VDPAU wierd error

2016-09-15 Thread Carl Eugen Hoyos
2016-09-07 17:58 GMT+02:00 Mihai Chindea : > i keep getting this error "The linesize 1280 cannot be represented as uint32" > when I call > av_hwframe_transfer_data(), apparently it's source is in > libavuil\hwcontext_vdpau.c:307. > > is this condition "if

Re: [Libav-user] Raw AAC decoding using only libavcodec

2016-09-15 Thread Carl Eugen Hoyos
2016-08-28 19:01 GMT+02:00 Christopher Snowhill : >>> The code I am looking at now currently takes what the caller has >>> determined to be either ADTS or ADIF formatted AAC, and passes it >>> directly to libavcodec, via avcodec_decode_audio4. I assume this is >>> incorrect, as

Re: [Libav-user] Demuxer not giving proper data to decoder ?

2016-09-15 Thread Carl Eugen Hoyos
2016-09-15 13:10 GMT+02:00 ssshukla26 : > I have made a custom decoder with name "*h264_qhw*" and id > "*AV_CODEC_ID_H264*". What happens if you test your code (without the bitstream filter) with the existing software decoder? Carl Eugen

Re: [Libav-user] Adjust fps

2016-09-15 Thread Carl Eugen Hoyos
2016-09-09 18:53 GMT+02:00 Leandro Raffo <ljra...@gmail.com>: > 2016-09-09 12:53 GMT-03:00 Carl Eugen Hoyos <ceffm...@gmail.com>: >> AVFrame->pict_type tells you the type of frames. >> >> Please test with -skip_frame nointra if this is usable for you >&g

Re: [Libav-user] Getting a Frame question

2016-09-09 Thread Carl Eugen Hoyos
2016-09-08 20:51 GMT+02:00 M N <assembler...@yandex.com>: > 08.09.2016, 19:23, "Carl Eugen Hoyos" <ceffm...@gmail.com>: >> This sounds very unlikely / is not true. >> >> This is still the same error (you cannot use codec_tag avc1 in mp4). Something is

Re: [Libav-user] Adjust fps

2016-09-09 Thread Carl Eugen Hoyos
2016-09-08 21:45 GMT+02:00 Leandro Raffo <ljra...@gmail.com>: > 2016-09-08 13:20 GMT-03:00 Carl Eugen Hoyos <ceffm...@gmail.com>: >> 2016-09-08 18:10 GMT+02:00 Leandro Raffo <ljra...@gmail.com>: >> >>> I see, but I wanted to avoid doing a decod

Re: [Libav-user] Compiling ffmpeg with pthread support mscv toolchain

2016-09-09 Thread Carl Eugen Hoyos
2016-09-08 21:26 GMT+02:00 Leonardo Nahra : > Hi, I'm trying to compile ffmpeg in the msvc toolchain but I'm having > problems enabling pthread support, after I run this configure: > > ./configure > --enable-asm > --enable-yasm > --arch=i386 > --disable-libopenjpeg

Re: [Libav-user] questions about performance of aac decoder on openwrt based board

2016-09-29 Thread Carl Eugen Hoyos
2016-09-29 4:48 GMT+02:00 陈极 : > as I said, it is an non-perfect remedy, because the background noise is large Is the background noise also reproducible with current FFmpeg git head (the only version supported on this mailing list)? Please also test with ffmpeg (the

Re: [Libav-user] Converting PCM to AAC

2016-09-29 Thread Carl Eugen Hoyos
2016-09-28 19:44 GMT+02:00 Oosman Saeed : > Thank you Carl. I will change it to FLTP and try it out. > > I am using mono sound, not stereo. Does it matter if its FLT or FLTP? It should not but from your description, I suspect FFmpeg doesn't know that you want to

Re: [Libav-user] Audio encoding: more samples than frame size (avcodec_encode_audio2)

2016-09-20 Thread Carl Eugen Hoyos
2016-09-20 10:02 GMT+02:00 Yu Ang Tan : > I am trying to read an RTP audio stream, and encode it into a FLAC file. > However, when I am reading the stream, I get this error: > > [libvorbis @ 028b1520] more samples than frame size > (avcodec_encode_audio2) Are you sure that

Re: [Libav-user] avformat_find_stream_info times out on rtp stream

2016-09-18 Thread Carl Eugen Hoyos
2016-09-18 6:16 GMT+02:00 Charles : > Think there is an issue > Version 2.6.8 from linuxtech repo is working > Version 3.1.3 from ffmpeg is not Which commit introduced the regression? Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] avformat_find_stream_info times out on rtp stream

2016-09-18 Thread Carl Eugen Hoyos
2016-09-18 6:16 GMT+02:00 Charles : > https://gist.github.com/LinuxwitChdoCtOr/3099b6e68bd5597776e33f3a56c74251 Please do not use external resources for a few lines of text! What is unclear about the error message or is this not your question, difficult to say with so many

Re: [Libav-user] sws_scale crash

2016-09-15 Thread Carl Eugen Hoyos
2016-09-15 2:54 GMT+02:00 YIRAN LI : > Does that mean, as long as sws_scale is called, 16 extra > bytes must be allocated? Yes, this is always needed for input data in FFmpeg. > what values should be set in these bytes? The additional bytes should be initialized to 0 (I

Re: [Libav-user] Bad packed header lengths: libvorbis

2016-09-15 Thread Carl Eugen Hoyos
2016-09-13 3:20 GMT+02:00 Yu Ang Tan : > I use the `av_sdp_create()` to generate my SDP file but I > think somethings is wrong. Did you test if it works with ffmpeg (the application)? Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] Demuxer not giving proper data to decoder ?

2016-09-15 Thread Carl Eugen Hoyos
2016-09-15 13:19 GMT+02:00 ssshukla26 : > It runs properly, with "*h264*" (default) software decoder without using bit > stream filter. > > Which makes me believe that I must be missing something in configuring > decoder to receive proper demuxed data, but I dont know what I

Re: [Libav-user] Demuxer not giving proper data to decoder ?

2016-09-15 Thread Carl Eugen Hoyos
2016-09-15 11:05 GMT+02:00 ssshukla26 : > After debugging, I realized that my decoder is getting data in *AVCC* > format, so on application side I added bit stream filter > "*h264_mp4toannexb*" and everything worked. Which decoder are you using? There should be no bitstream

Re: [Libav-user] "Segmentation fault" When encoding H264 video frame

2016-09-15 Thread Carl Eugen Hoyos
2016-09-14 21:51 GMT+02:00 M N : > Program received signal SIGSEGV, Segmentation fault. > avcodec_encode_video2 (avctx=0x7e0830, avpkt=0x7fffdbe0, frame=0x7a3a60, > got_packet_ptr=0x7fffdb1c) > at >

Re: [Libav-user] Demuxer not giving proper data to decoder ?

2016-09-15 Thread Carl Eugen Hoyos
2016-09-15 13:30 GMT+02:00 ssshukla26 : > But I don't understand one thing, my decoder is working properly > with a *h264* file in proper AnnexB data format, and when using > *mp4* file which is in AVCC format, the demuxing which should take > place is not taking place at all

Re: [Libav-user] Demuxer not giving proper data to decoder ?

2016-09-15 Thread Carl Eugen Hoyos
2016-09-15 13:41 GMT+02:00 ssshukla26 : [...] Did you already look at other hardware decoders in current FFmpeg? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] avformat_find_stream_info times out on rtp stream

2016-09-16 Thread Carl Eugen Hoyos
2016-09-16 20:08 GMT+02:00 Philippe Gorley: >> > I've compiled FFmpeg with the following configuration: >> > ./configure --prefix=/usr/local --disable-everything >> > --disable-programs --enable-protocols >> > --enable-demuxers --enable-parser=h264 >> > --enable-decoder=h264 --enable-indev=v4l2 >>

Re: [Libav-user] avformat_find_stream_info times out on rtp stream

2016-09-16 Thread Carl Eugen Hoyos
2016-09-16 21:28 GMT+02:00 Philippe Gorley: Is it also reproducible with "./ffmpeg -i rtp://hostname:port"? Is it also reproducible if you build with "./configure && make"? >>> >>> It does not time out. >> >>Is this the answer to both questions or one of them? > > The second, as my

Re: [Libav-user] Demuxer not giving proper data to decoder ?

2016-09-20 Thread Carl Eugen Hoyos
2016-09-15 13:54 GMT+02:00 Carl Eugen Hoyos <ceffm...@gmail.com>: > 2016-09-15 13:41 GMT+02:00 ssshukla26 <ssshukl...@gmail.com>: > > [...] > > Did you already look at other hardware decoders in current FFmpeg? You may be interested to see this patch on -devel: crysta

Re: [Libav-user] Decoding RTP streams with in-band SDP

2016-09-16 Thread Carl Eugen Hoyos
2016-09-16 14:24 GMT+02:00 Eric Reichert : > The streams I’m working with are of the Annex B variety. I would have expected that the rtp specification for H.264 requires the video stream not to be in this format, am I wrong? Can you provide such a stream (or even

Re: [Libav-user] statically linking x264 and x265 into ffmpeg

2016-09-16 Thread Carl Eugen Hoyos
2016-09-16 14:31 GMT+02:00 Peter Steinbach : > Just to confirm the following does the static linking that I aspired to: > ./configure --prefix=${HOME}/software/ffmpeg/3.0.2-x264-hevc-static > --disable-shared --enable-pic --enable-libx264 --enable-libx265 --enable-gpl >

Re: [Libav-user] statically linking x264 and x265 into ffmpeg

2016-09-16 Thread Carl Eugen Hoyos
2016-09-16 14:37 GMT+02:00 Peter Steinbach : > >> --disable-shared has no effect, --enable-pic generally either has no >> effect, or an undesirable effect. >> >> I am not completely convinced that your extra ld flags would fix the >> issue for everybody. > > mmmh, from what

Re: [Libav-user] Decoding RTP streams with in-band SDP

2016-09-16 Thread Carl Eugen Hoyos
2016-09-16 2:12 GMT+02:00 Eric Reichert : > Is there an option that can be passed to avformat_open_input > (or another call) that will enable decoding of an RTP stream > carrying H.264 video with the SDP in-band without having to > pass an out-of-band SDP file? Isn't

Re: [Libav-user] avformat_find_stream_info times out on rtp stream

2016-09-16 Thread Carl Eugen Hoyos
2016-09-16 18:16 GMT+02:00 Philippe Gorley : > I'm looking to upgrade my application (I'm currently using FFmpeg from the > Ubuntu 16.04 repo) > to a more recent release of FFmpeg, such as 3.1.3. Everything went well, > except that >

Re: [Libav-user] Decoding RTP streams with in-band SDP

2016-09-16 Thread Carl Eugen Hoyos
2016-09-16 15:06 GMT+02:00 Eric Reichert : > It could be that I don’t understand the question or the specs well enough. No, sorry: My knowledge of rtp is limited, I just suspected that H.264 over rtp needs the sdp file (to get SPS and PPS / extradata). If your stream

Re: [Libav-user] H264

2016-08-25 Thread Carl Eugen Hoyos
2016-08-25 9:31 GMT+02:00 Felix Schillmaier : > > I have a question to x264. I already posted the question to the x264 > developers but i got no answer yet, so I try it here. It may make more sense to ping the issue there, I don't remember an x264 developer posting here.

Re: [Libav-user] IMF support through FFMPEG

2016-08-23 Thread Carl Eugen Hoyos
Hi! 2016-08-22 9:41 GMT+02:00 Swati Sharma : > Does FFPEG support IMF package creation? No, (clean!) patch welcome. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Can not link ffmpeg without pkg-config

2016-08-29 Thread Carl Eugen Hoyos
2016-08-29 9:36 GMT+02:00 Javier Lopez : > The question is: How to avoid undefine errors without using > the pkg-config? You can provide the necessary dependencies manually in your linker command line. (Since you didn't provide your error message, I don't know which

Re: [Libav-user] Can not link ffmpeg without pkg-config

2016-08-29 Thread Carl Eugen Hoyos
2016-08-29 10:52 GMT+02:00 Javier Lopez : > Here are the error messages: This is missing the linker command you tried that would also help. > /home/acciona/ffmpeg2_sources/ffmpeg/libavformat/fifo.c:586: undefined > reference to `pthread_join' -pthreads or similar,

Re: [Libav-user] Writing 16bit greyscale videos

2016-08-29 Thread Carl Eugen Hoyos
2016-08-29 10:59 GMT+02:00 Masneri, Stefano : > I have a small class that creates an h264 video from a set of input images. > I have some problems trying to write 16 bit input images: Conversion to > yuv420p format loses 8 bit of precision, and apparently x264 does

Re: [Libav-user] Converting PCM to AAC

2016-09-28 Thread Carl Eugen Hoyos
2016-09-28 6:49 GMT+02:00 Oosman Saeed : > I have PCM data that I converted to FLT and I am trying to encode > that to AAC. FFmpeg's native aac encoder does not accept AV_SAMPLE_FMT_FLT as input, it has to be AV_SAMPLE_FMT_FLTP (planar intead of packed). Also

Re: [Libav-user] processing mp4 video frames with libav

2016-09-28 Thread Carl Eugen Hoyos
2016-09-28 12:39 GMT+02:00 Stephane Poirier : > Want to use it to process .mp4 video frames, I have my own code to tweak > each video frame, from which c, or ideally c++, sample should I start? Did you look into doc/examples/? Carl Eugen

Re: [Libav-user] Decoding H264 frames on Windows

2016-10-03 Thread Carl Eugen Hoyos
2016-10-03 13:55 GMT+02:00 Alex Grosu : > I built libavcodec some time ago on Windows and I am calling the API > functions from my C app. (avcodec_find_decoder, avcodec_open, > avcodec_decode_video2, sws_scale). Now, having big frames with a lot of > details, the time decoding

Re: [Libav-user] burn-in timestamp and pts:localtime:offset

2016-09-27 Thread Carl Eugen Hoyos
2016-09-26 9:26 GMT+02:00 Patrick Fischer : > What do you think, will this be a good enhancement?? I cannot answer but you should send your patch made with git format-patch to the development mailing list. It has to apply to current FFmpeg git head! Thank you, Carl

Re: [Libav-user] how to enable mpegaudio when run configure

2016-10-26 Thread Carl Eugen Hoyos
2016-10-26 14:02 GMT+02:00 Diaz Soho : > when I enable decoder "mp3", the mpegaudio does not enabled. > And in advance, I check that it seems dependence DCT. I do > not set "--disable-dct", the CONFIG_DCT is 0 always. > Does anyone have idea how to set mpegaudio enabled ?

Re: [Libav-user] av_read_frame not discarding streams and/or programs from mpegts marked as AVDISCARD_ALL

2016-10-23 Thread Carl Eugen Hoyos
2016-10-23 14:46 GMT+02:00 Piotr Woźniak : > I have a problem with remuxing mpegts output from DVB DVR device > to mpegts with selected streams only. (Related to the subject, I did not read much further) AV_DISCARD only affects decoding, remuxing rules out decoding, so the

Re: [Libav-user] multi-thread decoding

2016-10-24 Thread Carl Eugen Hoyos
2016-10-24 7:26 GMT+02:00 YIRAN LI : > I'm researching the impact multi-thread decoding may have on memory usage. > Does anyone know if enabling multi thread decoding will use more memory ? Multi-threaded decoding can be more memory-consuming than single-threaded decoding,

Re: [Libav-user] multi-thread decoding

2016-10-24 Thread Carl Eugen Hoyos
2016-10-25 1:55 GMT+02:00 YIRAN LI <mrfun.ch...@gmail.com>: > > > 2016-10-25 10:46 GMT+11:00 Carl Eugen Hoyos <ceffm...@gmail.com>: >> >> 2016-10-25 1:40 GMT+02:00 YIRAN LI <mrfun.ch...@gmail.com>: >> > How can I tell if it's being single-thread

Re: [Libav-user] multi-thread decoding

2016-10-24 Thread Carl Eugen Hoyos
2016-10-25 1:40 GMT+02:00 YIRAN LI : > How can I tell if it's being single-thread > decoded or multi-thread decoded? You decide how many threads decoding should > use (or you set it to automatic). Carl Eugen ___ Libav-user

Re: [Libav-user] multi-thread decoding

2016-10-24 Thread Carl Eugen Hoyos
2016-10-25 2:10 GMT+02:00 YIRAN LI : > could you help to confirm me, if the command > "ffmpeg.exe -v error -i a.mp4 -threads 0/1/2/3/4 -f null - 2>error.log" > can do video decoding ? I don't understand this question, sorry. Carl Eugen

Re: [Libav-user] multi-thread decoding

2016-10-25 Thread Carl Eugen Hoyos
2016-10-25 2:54 GMT+02:00 YIRAN LI <mrfun.ch...@gmail.com>: > > > 2016-10-25 11:51 GMT+11:00 Carl Eugen Hoyos <ceffm...@gmail.com>: >> >> 2016-10-25 2:10 GMT+02:00 YIRAN LI <mrfun.ch...@gmail.com>: >> >> > could you help to confirm me, if the

Re: [Libav-user] multi-thread decoding

2016-10-24 Thread Carl Eugen Hoyos
2016-10-24 13:02 GMT+02:00 YIRAN LI <mrfun.ch...@gmail.com>: > > > 2016-10-24 19:49 GMT+11:00 Carl Eugen Hoyos <ceffm...@gmail.com>: >> >> 2016-10-24 7:26 GMT+02:00 YIRAN LI <mrfun.ch...@gmail.com>: >> >> > I'm researching the impact multi-th

Re: [Libav-user] How to use muxer with variable fps setting ?

2016-11-22 Thread Carl Eugen Hoyos
2016-11-22 9:50 GMT+01:00 Zong-Cing Lin : Please let me know whether ffmpeg muxer supports variable fps > Some muxers do (iirc, asf is always vfr) Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Using av_dict_set to set options

2016-11-28 Thread Carl Eugen Hoyos
2016-11-28 3:16 GMT+01:00 Joel Ng : > Hello, I have several questions about using av_dict_set(AVDictionary **pm, > const char *key, const char *value, int flags) to set the options for input > and output videos. > > I am trying to translate several options

Re: [Libav-user] Does ffmpeg supports multiple output files?

2016-11-28 Thread Carl Eugen Hoyos
2016-11-28 9:39 GMT+01:00 mahesh p : > I am looking for a solution by which one encoder can generate > multiple output files. Encoders do not generate output files. Encoders produce video (or audio, etc.) streams that you can mux into as many files as you like without

Re: [Libav-user] timebase settings when muxing

2016-11-16 Thread Carl Eugen Hoyos
2016-11-16 7:37 GMT+01:00 YIRAN LI : > https://dl.dropboxusercontent.com/u/89678527/big_buck_bunny.wmv > This video when used with ffprobe -show_frames -select_streams v, it > can show correct number of frames(about 23.97 * 60 = 1440 frames), > but when I use ffmpeg -i name

Re: [Libav-user] timebase settings when muxing

2016-11-16 Thread Carl Eugen Hoyos
2016-11-16 13:03 GMT+01:00 YIRAN LI : > could you play the asf with ffplay. The video playback is slow > in ffplay. Does that mean there's a problem in the asf file? Yes, the audio timestamps are missing. How was the file created? Carl Eugen

Re: [Libav-user] where to get flv specification

2016-11-12 Thread Carl Eugen Hoyos
2016-11-12 8:22 GMT+01:00 qw : > I'm reading muxer 'flv' and demuxer 'flv'/'live_flv'. Where can I get the > latest flv specification? https://www.google.at/search?q=flv+specification Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] Why mjpeg decoder doesn't have cap AV_CODEC_CAP_FRAME_THREADS

2016-10-12 Thread Carl Eugen Hoyos
2016-10-10 12:22 GMT+02:00 : > So I'm wondering why some codec for picture processing (which means > frames are not related) doesn't have that cap. i.e. the codec mjpegdec > doesn't have the cap Because it wasn't implemented (I suspect some decoder

Re: [Libav-user] H264 stream width and height parameters from live streams

2016-11-29 Thread Carl Eugen Hoyos
2016-11-29 12:07 GMT+01:00 Sampsa Riikonen : > When reading AVPackets from a file, it is straightforward to pass correct > parameters to the ffmpeg/vdpau decoder, i. e., we call > > av_format_find_stream_info > > and get the relevant data to "AVStream(s)". Then we do: > >

Re: [Libav-user] How to estimate output bitrate

2016-11-29 Thread Carl Eugen Hoyos
2016-11-29 1:58 GMT+01:00 YIRAN LI : > For example if my input is a 500kbps, 640x480 video, will setting average > output bitrate to 1000kbps enough? Enough for what? I don't think your question can be answered. Carl Eugen ___

<    5   6   7   8   9   10   11   12   13   14   >