Re: [Libav-user] Overlay filter (add Watermark to video)

2014-10-01 Thread Carl Eugen Hoyos
Alberto Martín Fernandez amartin@... writes: I am using ffmpeg 1.0.9 Unfortunately, this is not supported anymore. Please test current FFmpeg git head. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] DLSR-esq 30-second-exposure filter (Light painting filter)

2014-10-03 Thread Carl Eugen Hoyos
Arthur Neufeld ajn+ffmpeg@... writes: My DSLR camera takes a 30-second exposure of the scene, accumulating the light over the entire 30 seconds into a single frame image. My video camera captures the scene, as a 900-ish frame movie. I'd like to convert my 30 second video, into a

Re: [Libav-user] libx264 api help

2014-10-03 Thread Carl Eugen Hoyos
Raihan Allie raihan.allie.za@... writes: $cmdmp4 = 'ffmpeg -y -i filename.mp4 -c:v libx264 -preset slow -crf 28 -s 640x360 -strict -2 newfilename.mp4 21'; Complete, uncut console output missing. (And wrong mailing list.) Carl Eugen ___ Libav-user

Re: [Libav-user] how to convert NV21 to YUV420P with swscale

2014-10-03 Thread Carl Eugen Hoyos
Peter Pan hawkwithwind@... writes: Doesn't this simply indicate that what the camera calls NV21 is not AV_PIX_FMT_NV21? Maybe you are right, can you help me with this? How can I find out what the format exactly is? If there is no documentation, you could look at the data and try to

Re: [Libav-user] MPEG-TS continuity counter

2014-10-03 Thread Carl Eugen Hoyos
Selmeci, Tamás tselmeci@... writes: Although segment/stream_segment muxers really create segmented output files with the specified output format (MPEG-TS), the continuity counter values are reset (not continuous between consecutive frames). This sounds like a (old) ticket that I was

Re: [Libav-user] [resize video] Lost duration

2014-10-13 Thread Carl Eugen Hoyos
Hung Nguyen Hung.Nguyen@... writes: The problem I am facing now is, every time I try to change video size when initialise encoder, the output video does not have video duration: enc_ctx-height = 360; enc_ctx-width = 640; Did you just set the dimensions in the codec context or did

Re: [Libav-user] bug report: avcodec_decode_video2 pthreads

2014-10-13 Thread Carl Eugen Hoyos
Ben Mesander ben@... writes:   If the underlying ffmpeg library is compiled withe --disable-pthreads the code always works correctly. If that is not the case, sometimes avcodec_decode_video2() returns the number of bytes in the PNG, but does not set the frame complete flag to true. The

Re: [Libav-user] [LIBAVFORMAT] Build of the library

2014-10-14 Thread Carl Eugen Hoyos
ALCINDOR Fabrice (MM fabrice.alcindor@... writes: What is the straight-forward way to build  only the libavformat library. The following come to mind: $ ./configure --disable-all --enable-decoders \ --enable-demuxers --enable-muxers (You have to finetune this configure line for your needs.)

Re: [Libav-user] Packet containing different content than expected when using DV container

2014-10-22 Thread Carl Eugen Hoyos
Ben Mesander ben@... writes: I had to recompile ffmpeg without threads support to solve a similar issue. This sounds important but not familiar. Could you elaborate? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] ffmpeg threading

2014-10-27 Thread Carl Eugen Hoyos
Ierum Shanaya ierumshanaya85@... writes: I am trying to run ffmpeg video decoding by creating multiple threads. The problem i am facing is that only one thread is reated Command line and complete, uncut console output missing. it doesnt have --enable pthreads things.. Is this the issue?

Re: [Libav-user] Color space conversion

2014-10-28 Thread Carl Eugen Hoyos
Jasleen Kaur Jasleen@... writes: uint8_t *plane[] = { m_picture_buf, m_picture_buf + ysize, m_picture_buf + ysize + vusize, 0 }; From a quick look this has to be: uint8_t *plane[] = { m_picture_buf, m_picture_buf + ysize + vusize, m_picture_buf +

Re: [Libav-user] Seeking

2014-10-30 Thread Carl Eugen Hoyos
Marcus Johnson bumblebritches57@... writes: I need to seek X bytes into a file, and I'm not sure which function will do that? What kind of file? (For many file types, seeking X bytes makes not much sense.) You can try -skip_initial_bytes but you are probably searching for AVSEEK_FLAG_BYTE.

Re: [Libav-user] What's the ultimate correct way of seeking

2014-10-30 Thread Carl Eugen Hoyos
wm4 nfxjfg@... writes: int64_t seekPos = ((theFrameIndex/self.frameRate) * 100); As said by wm4, I don't think this can generally work. av_seek_frame(self.formatContext, -1, seekPos, AVSEEK_FLAG_BACKWARD); It works pretty well for all intra-frame only codecs I’ve tried so far.

Re: [Libav-user] Does ffmpeg support tx3g eubtitles in mp4?

2014-10-31 Thread Carl Eugen Hoyos
Dmitry Adjiev adjiev.dmitry@... writes: Does ffmpeg support tx3g eubtitles in mp4? I believe so. If you find a problem, please provide a sample. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Does ffmpeg support tx3g eubtitles in mp4?

2014-11-02 Thread Carl Eugen Hoyos
Dmitry Adjiev adjiev.dmitry@... writes: Here the code: Did you test if ffmpeg (the application) reads the subtitles correctly? If not, it is much easier for us to reproduce the issue. Please provide a sample file in this case. Please consider to set your mailer to text-only, your emails are

Re: [Libav-user] libavformat HLS, possible bug in hls_write_trailer

2014-11-10 Thread Carl Eugen Hoyos
Mehul bitsmaker@... writes: If not then will there be a fix soon? Consider sending a patch to the developer mailing list... Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] H264 multithreading

2014-11-19 Thread Carl Eugen Hoyos
Andrey Shvyrkin ashvyrkin@... writes: If I add a flag avCodecContext-flags2 |= CODEC_FLAG2_CHUNKS; then all the cells occurs decoding Maybe you are not using the H264 parser? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] avcodec 56 crash

2014-11-21 Thread Carl Eugen Hoyos
Ankush Wadke wadkes93@... writes: the avcodec56.dll crashes many times at avcodec_decode_video2() Can you reproduce the crash with ffmpeg (the application)? Please provide gdb output as explained on https://ffmpeg.org/bugreports.html Carl Eugen ___

Re: [Libav-user] Programmatically setting bit_rate ?

2014-11-21 Thread Carl Eugen Hoyos
Philip Schneider pjschneider@... writes: The sample code has c-bit_rate = 40”. For a moderate-sized image (1280 x 720) at 30fps, the resulting movie shows terrible visual artifacts What kind of source material is this? Interlaced? If is is interlaced, you have to tell the encoder. If you

Re: [Libav-user] -non_linear_quant and -intra_vlc options

2014-12-05 Thread Carl Eugen Hoyos
francesco@... writes: Anyone can explain what parameter, in AVCodecContext structure, are influenced by these settings ? Used codec is mpeg2. -non_linear_quant: MpegEncContext-q_scale_type -intra_vlc: MpegEncContext-intra_vlc_format Carl Eugen

Re: [Libav-user] Demo program error

2014-12-08 Thread Carl Eugen Hoyos
Alex Zelid alex@... writes: i686-w64-mingw32.static-gcc -I/home/alex/opt/mxe/usr/i686-w64-mingw32.static/include main.c -L/home/alex/opt/mxe/usr/i686-w64-mingw32.static/lib  -lavformat -lavcodec -lavutil -lswscale -lmp3lame -lvorbis -lvorbisenc -lxvidcore -pthread -ltheora -lx264 -lz

Re: [Libav-user] decoding/encoding example passes c-priv_data to av_opt_set; shouldn't it just pass c?

2014-12-11 Thread Carl Eugen Hoyos
Michael Bradshaw mjbshaw@... writes: After I suggest passing the AVCodecContext* instead of the priv_data member, like so:     av_opt_set(c, preset, slow, 0); they report that the options are correctly set. Maybe you should consider to send a patch to the developer mailing list? (I did

Re: [Libav-user] Getting started streaming with libav

2014-12-17 Thread Carl Eugen Hoyos
Jesper Taxbøl jesper@... writes: Would that be possible at all? You could test with ffmpeg (the application) to answer this question. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Using FFmpeg

2014-12-17 Thread Carl Eugen Hoyos
Michel Mony michel.mony@... writes: My organization is currently interested in using FFmpeg for an app. I was wondering who to contact to clarify legal matters? See https://ffmpeg.org/consulting.html but please also read http://ffmpeg.org/legal.html or (even simpler) just read the

Re: [Libav-user] Would anyone find an OS X / Cocoa / Swift wrapper for Libav useful?

2015-01-23 Thread Carl Eugen Hoyos
Bradley O'Hearne brado@... writes: one of the things which various list members raised was that most (if not all) of the Libav devs did not either use or have access to OS X Just a short comment: Apple OSX is regularly tested, see fate.ffmpeg.org Many FFmpeg developers have access to OSX

Re: [Libav-user] Would anyone find an OS X / Cocoa / Swift wrapper for Libav useful?

2015-01-23 Thread Carl Eugen Hoyos
Bradley O'Hearne brado@... writes: My purpose here isn’t to recite a laundry list of problems encountered, or debate design issues, or poke holes in FFmpeg in general. But this is what this mailing list is here for. Or to say it differently: It is the only thing we - the FFmpeg developers

Re: [Libav-user] Would anyone find an OS X / Cocoa / Swift wrapper for Libav useful?

2015-01-23 Thread Carl Eugen Hoyos
Joshua Kordani jkordani@... writes: I still don't understand the difference between the FFmpeg libraries and the LibAV project It is explained here: http://blog.pkh.me/p/13-the-ffmpeg-libav-situation.html Please remember that all avconv versions contain several hundred known bugs that are

Re: [Libav-user] Question about g726 codec

2015-02-04 Thread Carl Eugen Hoyos
Nicanor Garcia ngocello@... writes: In ITU-T G.726 Recommendation, it is defined that the input to G.726 codec should be u-law or A-law PCM audio, which in time is converted to uniform PCM before the encoding. FFmpeg's G.726 encoder requires s16le as input, ffmpeg (the application)

Re: [Libav-user] Playing back Sony SR encoded file

2015-02-10 Thread Carl Eugen Hoyos
Info || Non-Lethal Applications info@... writes: trying to playback a file encoded with the Sony SR codec but getting a lot of decoder errors Please provide a sample. and later a crash: Please understand that crashes are nearly aways serious issues, please provide the necessary

Re: [Libav-user] Would anyone find an OS X / Cocoa / Swift wrapper for Libav useful?

2015-01-27 Thread Carl Eugen Hoyos
Bradley O'Hearne brado@... writes: thorough understanding of design/architecture/API function and ability to have productive discourse on such topics are pre-requisites to contributing. This is simply not true. On the contrary, starting to send patches did and will - through the review

Re: [Libav-user] Encoding with H264 help/advice needed...

2015-01-27 Thread Carl Eugen Hoyos
Philip Schneider pjschneider@... writes: QuickTimePlayer doesn’t like the format (tries to “convert” and says “QuickTime Player can’t open filename”. The “file” command gives me back this:     JVT NAL sequence, H.264 video at L 13 I suspect Quicktime does not support JVT NAL

Re: [Libav-user] Is it possible to detect unused/invalid packets (without decoding)

2015-01-28 Thread Carl Eugen Hoyos
Max Vlasov max.vlasov@... writes: The idea was to read all packets saving pts and keyframe flag (without decoding) and make a list of them in order of ptses. (What are packets for you?) I don't know your exact requirements but at least for H.264 this approach cannot work. Carl Eugen

Re: [Libav-user] How is cropping and scaling implemented

2015-01-31 Thread Carl Eugen Hoyos
Kristensen, Odd-Arild okristensen@... writes: If filter_frame() does perform cropping, how does frame-data[0] += s-y * frame-linesize[0]; frame-data[0] += s-x * s-max_step[0]; in any way change the pixels of the video? I would say that cropping is not supposed to change the pixels (of

Re: [Libav-user] Real time camera IP RTSP H264

2015-02-10 Thread Carl Eugen Hoyos
Robin Stevens rdstevens@... writes: concurrency can increase overall throughput (for particular kinds of task) but increased latency is a common payoff. Unfortunately this is not the only payoff: For real codecs (MPEG, H264) cpu usage increases heavily for multi-threaded decoding. (Not the

Re: [Libav-user] ld: warning: PIE disabled.

2015-03-30 Thread Carl Eugen Hoyos
Tim Rodgers trodgers@... writes: The fix is to add -read_only_relocs suppress to the application linker flags of _my_ application when the arch is i386. Sorry, I had only tested x86-64 and arm (where the warning was recently fixed iirc). Note that h264_cabac is not the only relevant

Re: [Libav-user] jpeg 2000 (jp2) and streaming

2015-04-13 Thread Carl Eugen Hoyos
Ran Shalit ranshalit@... writes: I don't think muxing j2k in MPEG-2 transport streams is defined. If you find samples, please share them! http://www.videoservicesforum.org/activity_groups/VSF_TR-01_2013-04-15.pdf Sorry, I am not an expert for these kind of documents: Is this a suggestion

Re: [Libav-user] jpeg 2000 (jp2) and streaming

2015-04-13 Thread Carl Eugen Hoyos
Marcus Johnson bumblebritches57@... writes: ​It's basically an industry standard on how to encapsulate JPEG 2000 frames into a single video stream.​ Could you provide a sample? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Packed variant of PIX_FMT_YUV420P

2015-04-23 Thread Carl Eugen Hoyos
Nisar Ahmed nisar.med@... writes: Where is packed variant of planar YUV420P format, I need packed version instead of planar while demuxing when libav Can you explain your usecase? I don't remember seeing packed yvu420. Note that demuxing does not produce pix_fmts... Carl Eugen

Re: [Libav-user] avconv cannot read from RTSP source

2015-04-26 Thread Carl Eugen Hoyos
hlasuj@... writes: avconv -re -i rtsp://192.168.0.100/stream -vcodec copy -acodec copy -f flv out.flv Please test current FFmpeg git head, avconv is known to contain several hundred bugs not present in current FFmpeg. If the issue is reproducible, please provide your command line together

Re: [Libav-user] invalid AVPacket size in av_read_frame usage.

2015-04-26 Thread Carl Eugen Hoyos
daggs daggs@... writes: I'm writing a program that needs to sample the screen in bgra format. the problem is what I try to read an av frame, I get this error: [rawvideo at 0x1403aa0] Invalid buffer size, packet size 1228800 expected frame_size 8294400 Where does the packet come from

Re: [Libav-user] Packed variant of PIX_FMT_YUV420P

2015-04-24 Thread Carl Eugen Hoyos
Nisar Ahmed nisar.med@... writes: I am demuxing and decoding a quicktime movie file using libav, the decoder always produces a frame in YUV420P, this frame has to go to the DeckLink's frame buffer which expects the format to be YUYV422. So you are not searching for a packed variant of

Re: [Libav-user] Deep copy of AVCodecContext

2015-04-24 Thread Carl Eugen Hoyos
Zahir Dhada zahir.dhada@... writes: I start storing the frames received in the stream in a file. And when the stream ends, I read one frame at a time from the file, and transcode it. The problem is, as the only I-frame I get is at the beginning of the stream, I cannot decode the frames

Re: [Libav-user] supported coded in muxing/demuxing

2015-04-19 Thread Carl Eugen Hoyos
Ran Shalit ranshalit@... writes: I thought that maybe I can skip the muxing, and just use http live streaming of the images one after the other in something similar to the following: ./ffmpeg -f video4linux2 -s 640x480 -r 15 -re -i /dev/video0 -an -vcodec mjpeg -bf 5

Re: [Libav-user] Fwd: Green screen issue for Android 5.0 image compression

2015-04-28 Thread Carl Eugen Hoyos
Tulika Baranwal me.tulika@... writes: shell:screencap | /data/local/tmp/ffmpeg -loglevel panic -f rawvideo -s %s -pix_fmt rgba -r 5 -i - -vf scale=%s -b 5 -f image2pipe -vcodec png -vframes 1 - Remove loglevel panic and provide the complete, uncut console output. What is -b 5 support to

Re: [Libav-user] invalid AVPacket size in av_read_frame usage.

2015-04-27 Thread Carl Eugen Hoyos
daggs daggs@... writes: I'm writing a program that needs to sample the screen in bgra format. the problem is what I try to read an av frame, I get this error: [rawvideo at 0x1403aa0] Invalid buffer size, packet size 1228800 expected frame_size 8294400 Where does the

Re: [Libav-user] Fwd: Green screen issue for Android 5.0 image compression

2015-04-30 Thread Carl Eugen Hoyos
Tulika Baranwal me.tulika@... writes: ffmpeg version 0.11.1 Please test current FFmpeg git head. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Fwd: Green screen issue for Android 5.0 image compression

2015-05-01 Thread Carl Eugen Hoyos
Tulika Baranwal me.tulika@... writes: ffmpeg version n2.4.2 Please test current FFmpeg git head and provide your failing command line together with the complete, uncut console output. Please do not top-post here, Carl Eugen ___ Libav-user mailing

Re: [Libav-user] extract min/max/avg QP-values per frame

2015-05-06 Thread Carl Eugen Hoyos
siriannalisa siriannalisa@... writes: If I enable debug using `-debug qp`, the qp values gets written to the log in function ff_print_debug_info2() in libavcodec/mpegvideo.v:2258 There is a todo in the function explaining that the feature you are missing is not implemented yet. Patch

Re: [Libav-user] How to set AVInputFormat when using AVCodec (For Mobotix MxPEG stream)

2015-05-05 Thread Carl Eugen Hoyos
Gal Bar Mashiah galbarm@... writes: I'm trying to figure out how to force the mxg demuxer. Please try av_find_input_format(mxg). I did it from the command line but I'm not sure how to do it when working with the libavcodec the way I described. Note that this is about libavformat (the

Re: [Libav-user] How to set AVInputFormat when using AVCodec (For Mobotix MxPEG stream)

2015-05-05 Thread Carl Eugen Hoyos
Gal Bar Mashiah galbarm@... writes: What is the filename of your input stream? If it does not have extension mxg, autodetection cannot work and you have to force the mxg demuxer. It works with ffplay using the following command: ffplay -f mxg -i http:... Since your input stream does

Re: [Libav-user] setting raw alsa pkt size

2015-05-13 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos@... writes: but for audio I get a whopping 939834256 which translates into 939 mb which is unacceptable for me. 939MB per hour? Or per day? This is the maximum alsa buffer size on your system. This cannot be correct as FFmpeg limits the buffer size to 64k

Re: [Libav-user] supported coded in muxing/demuxing

2015-04-15 Thread Carl Eugen Hoyos
Ran Shalit ranshalit@... writes: I would please like to add that I see that ffmpeg support mpjpeg container. Yes. This container only supports jpg afaict, not jpeg2000. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] jpeg 2000 (jp2) and streaming

2015-04-14 Thread Carl Eugen Hoyos
Marcus Johnson bumblebritches57@... writes: I would love to, but I don't have any samples :/ Then I misunderstand your claim that this would be an industry standard. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] supported coded in muxing/demuxing

2015-04-15 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos@... writes: I am intereted in mux.demux of (jpeg2000 frames ), but since I got no absolute answer for that I don't understand: Muxing j2k in mpegts is currently unsupported I believe I told you several times. I you feel I didn't: Sorry, I may have misread your

Re: [Libav-user] need help with format/codec/options configuration data

2015-04-15 Thread Carl Eugen Hoyos
Good Guy good1.2guy@... writes: hide_banner=1 loglevel=fatal Just to make sure: You cannot get any support from the FFmpeg user mailing lists with these options. audio/dvd dvd ac3 Weren't there players that only supported mp2? May that's not true. audio/mpeg3 mpeg mp3 The format

Re: [Libav-user] write hls stream to disc

2015-04-15 Thread Carl Eugen Hoyos
Georg Stein georg_stein@... writes: i wrote an app what writes live streams as a file to the disc. What's wrong with mplayer -dumpstream ? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] LIBAV rtmp params

2015-06-22 Thread Carl Eugen Hoyos
Georg Stein georg_stein@... writes: ffmpeg -i rtmp://aloha.cdnvideo.ru:443/aloha/ziktv swfUrl=http://www.aloha.cdnvideo.ru/aloha/slon/SlonPlayer_stable.swf live=1 -c copy ../zik.flv Complete, uncut console output missing. Carl Eugen ___ Libav-user

Re: [Libav-user] motion vectors using FFmpeg gives lots of noise

2015-06-18 Thread Carl Eugen Hoyos
Taha Ansari mtaha.ansari@... writes: (random arrows everywhere). I want to know why this is happening. You should really ask this the producer of the camera... Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Transcoding with H264

2015-06-18 Thread Carl Eugen Hoyos
Mohamed Moanis mohamed_moanis@... writes: The problem is that avcodec_encode_video2 produce delayed frames. I am expecting to give it a frame and take a frame back as a result So my question is basically, is there a way to to turn around the flushing and the delay. The delay is

Re: [Libav-user] Could not find codec parameters

2015-05-27 Thread Carl Eugen Hoyos
Emanuel Berg embe8573@... writes: avconv -i concat:file_1.mp3\|...\|file_n.mp3 -c copy out.mp3 This mailing list is related to the FFmpeg project. avconv contains several hundred known, user-reported bugs that are not reproducible with FFmpeg, please understand that we cannot support it. I

Re: [Libav-user] enumerating codec_tags

2015-05-27 Thread Carl Eugen Hoyos
Steffen.Roeber@... writes: The problem with av_codec_get_tag is, that it returns 0 if failed and also 0 in case of AV_CODEC_RAWVIDEO. That's why av_codec_get_tag2() exists which does not have this limitation. Please stop top-posting here, Carl Eugen

Re: [Libav-user] Decoding H.264

2015-06-01 Thread Carl Eugen Hoyos
Ryan Bauer r.bauer234@... writes: I am currently sending individual NAL units across a network. These NAL units are generated by x264. Now is it possible to feed these NAL units individually into avcodec_decode_video2? Or do I have to concatenate the nal units until they represent the

Re: [Libav-user] enumerating codec_tags

2015-05-25 Thread Carl Eugen Hoyos
Steffen.Roeber@... writes: What I need, are all codec that are supported by a AVOutputFormat. There is AVOutputFormat-codec_tag but you are to some degree expected to know what you put into a container. Please explain your exact usecase. Carl Eugen

Re: [Libav-user] enumerating codec_tags

2015-05-26 Thread Carl Eugen Hoyos
Steffen.Roeber@... writes: I want to show a list of codecs that are supported by a specified file extension (for example .avi or .mp4). Please do not top-post on this mailing list, it is considered rude. avi is a general-purpose container, you can put any codec into avi. For mp4, using

Re: [Libav-user] C++ FFmpeg distorted sound when converting audio

2015-08-18 Thread Carl Eugen Hoyos
David Norgren david.norgren@... writes: My current code opens an audio file, decodes the content and converts it into the MP4 container This sentence sounds strange since you cannot convert audio into a container... audioFrameConverted-format = audioCodecContext-sample_fmt; I wonder if

Re: [Libav-user] Create a video with pixmap?

2015-08-16 Thread Carl Eugen Hoyos
Moreno, Nicolas - Harris France NMORENO@... writes: I can get a screenshot each X msec and now I have to put it in a video file. I would like to use FFmpeg but I didn’t found a example to create a video with QPixmap (or pixmap). Why don't you use FFmpeg to make the screenshot? This

Re: [Libav-user] AMV format

2015-08-16 Thread Carl Eugen Hoyos
YIRAN LI mrfun.china@... writes: ​And I also found this open ticket  https://trac.ffmpeg.org/ticket/747 so I guess  ​adpcm_ima_amv​ is not supported yet. Yes, sorry, I had forgotten about this. Did you already port the encoder from the link in the ticket? ​If I use -an then I can correctly

Re: [Libav-user] Subject=Re: Demuxing elementary H.264 stream

2015-08-06 Thread Carl Eugen Hoyos
Gal Bar Mashiah galbarm@... writes: The non-demuxed input is the input that doesn't work. The non-demuxed input doesn't contain the 0 0 1 prefix before each frame, and contains the FU-A fragmentation unit at the beginning of each packet (which is removed when demuxing). Why don't you

Re: [Libav-user] Demuxing elementary H.264 stream

2015-08-06 Thread Carl Eugen Hoyos
Gal Bar Mashiah galbarm@... writes: The non-demuxed input is the input that doesn't work. Could you provide a non-working sample? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] FPS framerate

2015-10-19 Thread Carl Eugen Hoyos
Gonzalo writes: > Can someone comment on, assuming it's possible, what's > the proper way of getting the fps as a rational number? If what you are interested in is the average frame rate (you don't say but this is often asked) than avg_frame_rate is the right field. (It is of

Re: [Libav-user] How to set display and sample aspect ratio in stream

2015-10-14 Thread Carl Eugen Hoyos
qw writes: > I use ffmpeg to encode video/audio and mux video/audio > streams into one files. How to set display From a programer's pov, there is no display aspect ratio. > and sample aspect ratio for video stream? (Where did you search for "aspect" in the code?) Video SAR

Re: [Libav-user] pts < dts error

2015-10-14 Thread Carl Eugen Hoyos
YIRAN LI writes: > But from one file I used I see that PTS == DTS. Could > this be produced by an encoder configure with non-zero > max bframes? Only if the encoder is broken afaict but I am certainly not an expert for these kind of questions. > If yes, do I still need to

Re: [Libav-user] one error message produced by mov

2015-10-11 Thread Carl Eugen Hoyos
qw writes: > I have checked ISO/IEC 14496-12, which allows version = 1. But MODE_MOV is not ISO/IEC 14496-12 or am I wrong? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] pts < dts error

2015-10-13 Thread Carl Eugen Hoyos
YIRAN LI writes: > And does this mean, for any encoders that can > generate B frames, I need to do similar > pre-processing before calling av_write_frame()? No, only for encoders that produce broken pts/dts. > So if I don't know possible max B frames, then I > can't use

Re: [Libav-user] pts < dts error

2015-10-13 Thread Carl Eugen Hoyos
YIRAN LI writes: > pts = 0, dts = 0 > pts = 2, dts = 1 > Can someone give any suggestion how to do in this case? Add max_bframes (1 in your case) to pts. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Windows Media Player fails to play MP4 with hardware encoded H264 data.

2015-10-06 Thread Carl Eugen Hoyos
JJ Liu writes: > Following is my modified muxing.c If you send an unified diff instead, there is at least a chance that somebody can help... Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] AAC playback

2015-09-06 Thread Carl Eugen Hoyos
James Larkin writes: > I've been trying to use FFmpeg library to decode AAC > (and other) streams in my application, unfortunately > AAC doesn't seem to load. No, sorry. This is not what Moritz meant;-( Did you already try with ffmpeg (the application) to make sure you

Re: [Libav-user] which function has the function of pixel format conversion

2015-09-07 Thread Carl Eugen Hoyos
qw writes: > There are too many ffmpeg functions. I want to find > one function, which can convert one pixel format > into another, and the argument is AVFrame. Does > ffmpeg has this kind of function? Sounds to me as if you are searching for the scale filter. Carl Eugen

Re: [Libav-user] ffmpeg debugging

2015-09-14 Thread Carl Eugen Hoyos
eymen writes: > I tried adding "-loglevel debug" in the command line For future command line interface questions, please use the ffmpeg-user mailing list. > but I still cannot see the short term reference frames. Use -debug +mmco Please avoid thread hijacking in the

Re: [Libav-user] flv standard

2015-09-17 Thread Carl Eugen Hoyos
qw writes: > I'm reading source code in libavformat/flvdec.c, which > is about flv demuxer. I need flv standard, so I can > better understand. Where can I find the latest flv standard? http://www.adobe.com/content/dam/Adobe/en/devnet/flv/pdfs/video_file_format_spec_v10.pdf

Re: [Libav-user] h264,h265: maximum referenced frames vs. GOP size

2015-09-10 Thread Carl Eugen Hoyos
Heiner Mueller writes: > i found this in the DXVA code, and i would like > to optimize it a bit: Then please send your tested patch (made with git format-patch) to the development mailing list where it can be reviewed. Carl Eugen ___

Re: [Libav-user] qlv format

2015-09-26 Thread Carl Eugen Hoyos
qw writes: > qlv files can be downloaded from below website: > http://v.qq.com/ I believe a short downloadable file would be welcome. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Use of FFmpeg library available in opencv

2015-12-14 Thread Carl Eugen Hoyos
On Monday 14 December 2015 11:15:55 am Ruchith wrote: > We are using OpenCV in one of our commercial products for video > playing, and opencv uses FFmpeg library internally in opencv (we > do not use ffmpeg in our code) . > But we need to ship ffmpeg with our product. Given what you wrote

[Libav-user] Fwd: Re: the difference between mjpeg in ffmpeg and libjpeg

2015-12-10 Thread Carl Eugen Hoyos
On Thursday 03 December 2015 05:51:42 am qw wrote: > JPEG has adopted many standards. There are several jpeg codec in ffmpeg, > such as mjpeg, mjpegb, ljpeg, jpegls. libjpeg is another open source of > jpeg codec. > what's difference between mjpeg in ffmpeg and libjpeg? It's like the

Re: [Libav-user] MJPEG quantization tables

2015-12-10 Thread Carl Eugen Hoyos
On Wednesday 15 July 2015 11:09:30 am Michael Toon wrote: > Hello, > > I am using the encoder libs to encode MJPEG video which I am packaging up > to send via RTP. The encoded bit stream that I generate only appears to > have a single quantization table defined, however the RTP payload format >

Re: [Libav-user] Building with purchased libraries

2015-12-10 Thread Carl Eugen Hoyos
Hi! On Tuesday 08 December 2015 01:00:47 am Yury Udovichenko wrote: > > Our company is in process of purchasing binary version of x264 > library from the legal representative of the library owner. The legal representative of libx264 should answer your questions. (You pay him, don't you?) We -

Re: [Libav-user] recoding problem

2015-12-10 Thread Carl Eugen Hoyos
On Thursday 03 December 2015 09:41:36 am Cafer Şimşek wrote: > Here is the code: https://gist.github.com/csimsek/71bbbcc741210674b20e > > Most of lines are licensed to "Copy/Paste Inc." :) No, they are (c) Fabrice Bellard, please read (and follow) the license terms! Carl Eugen

Re: [Libav-user] Failed to execute when using hardware decoding on some computers

2016-01-06 Thread Carl Eugen Hoyos
Cyril Drouet writes: > as soon as I try higher resolution videos like > 3840x2160, I get the following errors I believe this is expected at least for some GPUs. > Note that I tried both the Windows release > available on the FFmpeg website, (No binaries are available on

Re: [Libav-user] Possible memory leak with avcodec_decode_video2

2015-12-27 Thread Carl Eugen Hoyos
David Tsulaia writes: > ffmpeg version N-75912-g624057d Copyright (c) 2000-2015 Please test current FFmpeg git head before reporting issues. > No matter what I try call to avcodec_decode_video2 > results in memory leak. valgrind output missing. Carl Eugen

Re: [Libav-user] how to predict the size of destination clips

2016-06-03 Thread Carl Eugen Hoyos
qw writes: > Hi,Does ffmpeg provide some function that can predict > the size of destination clips before transcoding? How would that work? (in theory) Either you did set an (average) bitrate when starting the encoder, then you know which value you chose and if you also know

Re: [Libav-user] Odd problem after encoding video

2016-06-03 Thread Carl Eugen Hoyos
Kristijonas Malisauskas writes: > pOutputContext->time_base.den = OUT_FRAMERATE; //FPS > pOutputContext->time_base.num = 1; Do you check these values after calling avformat_write_header()? Please use text-only here if possible, Carl Eugen

Re: [Libav-user] Converting from 25 to 29.97fps

2016-06-03 Thread Carl Eugen Hoyos
Scott writes: > I am converting a 25fps mp4 file to VCD format (ntsc). It's > watchable but I notice "flickering pixels" Do you mean interlacing artefacts? These are unavoidable when doing hard telecine... Soft telecine is not possible with FFmpeg, MEncoder supports it. Carl

Re: [Libav-user] mpeg4 decoding with CODEC_FLAG_TRUNCATED: memleak and missing last image

2016-06-05 Thread Carl Eugen Hoyos
Gajdosik Johannes writes: > In my code I use CODEC_FLAG_TRUNCATED for mpeg4 decoding. > But this gives me 2 bugs in my program: a memleak I opened ticket #5613, thank you for the report! Carl Eugen ___ Libav-user mailing list

Re: [Libav-user] how to set mjpeg encoding quality programmatically?

2016-06-09 Thread Carl Eugen Hoyos
YIRAN LI writes: > AVCodecContext.flags |= CODEC_FLAG_QSCALE > and AVCodecContext.global_quality  = qscale * FF_QP2LAMBDA, > in my case qscale = 3 This is correct, qscale 3 ensures (with mpeg-4 asp) a near-lossless visual quality. Carl Eugen

Re: [Libav-user] ffmpeg master, versions and new APIs

2016-06-08 Thread Carl Eugen Hoyos
Anton Shekhovtsov writes: > If it was the policy to ignore warnings anyways, then what > is the purpose of adding declspec(deprecated)? To inform you that the feature will be (or may be) removed in a future version so that you don't start using it now. Carl Eugen

Re: [Libav-user] how to predict the size of destination clips

2016-06-06 Thread Carl Eugen Hoyos
Peter Steinbach writes: > > If you did not set a bitrate (but constant quality) then > > it is impossible to calculate the output file size. > > I doubt that. What I wrote is true for "real" video codecs like mpeg1, h264 and hevc, it may be different for lzw-based codecs but I

Re: [Libav-user] ffmpeg master, versions and new APIs

2016-06-07 Thread Carl Eugen Hoyos
Gonzalo writes: > Should I stick with the latest master or settle on a > release/3.0 version for example? I am not sure if I understand: Is anything not working with current FFmpeg git head that used to work with FFmpeg 3.0? If yes, this would be an important regression, and I

Re: [Libav-user] ffmpeg master, versions and new APIs

2016-06-07 Thread Carl Eugen Hoyos
Anton Shekhovtsov writes: > The only way to compile our stuff is ignoring "deprecated" warnings. I am not sure I understand: Are you reporting that you are seeing warnings that were not shown before or is there an issue that makes compilation fail (compilation without

Re: [Libav-user] How to decode only 2d video from 3d content

2016-06-12 Thread Carl Eugen Hoyos
qw writes: > H.264 MVC allows decoder is only able to decode base view for 3d video. Yes, I think so. > How to only get 2d video via ffmpeg lib? Isn't this exactly what current FFmpeg does if you feed it with MVC? Carl Eugen ___

Re: [Libav-user] mpeg4 decoding with CODEC_FLAG_TRUNCATED: memleak and missing last image

2016-06-10 Thread Carl Eugen Hoyos
Gajdosik Johannes writes: > In my code I use CODEC_FLAG_TRUNCATED for mpeg4 decoding. > But this gives me 2 bugs in my program: a memleak an a > missing decoded image. Should be fixed, thank you for the report! Carl Eugen ___

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