Re: [Libav-user] Ultra-HD capable Codecs? (greater than 4K)

2012-09-04 Thread Carl Eugen Hoyos
Bruce Wheaton writes: > >> I know most FFMPEG codecs only work up to 4096 x 4096 > > > > Could you elaborate? > > (I had to search to find a codec that did not support 8k.) > > Maybe my information was out of date! That would be good news. > I seem to remember finding hard coded 4096 limits

Re: [Libav-user] Ultra-HD capable Codecs? (greater than 4K)

2012-09-04 Thread Carl Eugen Hoyos
Don Moir writes: > >> Where are you seeing that 8k is supported? > > > > I tested it. > > Can you point me to a such a file to test with ? tests/lena.pnm (FFmpeg by default is able to scale videos.) Carl Eugen ___ Libav-user mailing list Libav-use

Re: [Libav-user] Is ffmpeg possibe to decode H.263 Mode B?

2012-09-04 Thread Carl Eugen Hoyos
김희숙 writes: > I wonder ffmpeg is possible to decode H.263 Mode B. Please provide a sample. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] MOOV Atom Not Found

2012-09-06 Thread Carl Eugen Hoyos
Cary Tetrick writes: > Fragmented MP4 writes multiple MOOF atoms rather than a single MOOV atom. > (This is the underlying format used in Adobe's .f4v files for example.) > I've never seen any support for this in ffmpeg. Could you provide such a sample? (In case FFmpeg cannot read the file.) Ca

Re: [Libav-user] How to Use FFmpeg Decode Libraries

2012-09-12 Thread Carl Eugen Hoyos
Myth <286166657@...> writes: > I have downloaded the latest FFmepg source code. > I faced a new question, I don't know how to build > the test examples located in doc/examples/ $ make ? (It seems to me you have to install FFmpeg first.) Carl Eugen _

Re: [Libav-user] prores variable frame rate last frame bug?

2012-09-18 Thread Carl Eugen Hoyos
Al Crate writes: > I'm getting some odd behaviour when writing out > prores movies (in quicktime container). > > It looks like the last frame in the movie has an > invalid duration ("1" should be "25"). Please add the command line you are using to encode together with complete, uncut console

Re: [Libav-user] how to get extradata of MPEGTS using ffmpeg?

2012-09-18 Thread Carl Eugen Hoyos
Licheng Niu writes: > I am trying to decode TS file on android with > hardware decoder. And I use ffmpeg MPEGTS demuxer. > To init hardware decoder, (Isn't libstagefright supposed to do that? Or do I misunderstand?) > extradata (SPS, PPS or sth.) is needed to be set > for both audio and vid

Re: [Libav-user] prores variable frame rate last frame bug?

2012-09-18 Thread Carl Eugen Hoyos
Al Crate writes: > ffprobe version 0.7-rc7 > Copyright (c) 2007-2012 Baptiste Coudurier and the FFmpeg developers Wrong mailing list? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] how to create seekable mkv using libavformat?

2012-09-21 Thread Carl Eugen Hoyos
Jan Pohanka writes: > I'm muxing a raw h264 stream from hadrdware encoder to mkv using > libavformat library. The resulting file is playable, but not properly > seekable I'm testing it in ffplay - moving to certains times causes the > image to disappear or break and there are these warnings

Re: [Libav-user] how to create seekable mkv using libavformat?

2012-09-21 Thread Carl Eugen Hoyos
Jan Pohanka writes: > if (enc_buf->flags & BUF_IFRAME) > pkt.flags |= AV_PKT_FLAG_KEY; > > I was setting BUF_IFRAME flag sometimes also for P frames. After fixing it > just to IDR frames everything is ok. I expect that AV_PKT_FLAG_KEY should > be set only for IDR frames and not for I fr

Re: [Libav-user] DV Condec

2012-09-21 Thread Carl Eugen Hoyos
Denis writes: > Does ffmpeg supports dv codec? Yes > Where can I find the source? http://ffmpeg.org/download.html Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] DV Condec

2012-09-22 Thread Carl Eugen Hoyos
Steve Hart writes: > FYI, As far as I know only dv25 and dv50 are supported on encode. What is not supported? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] DV Condec

2012-09-23 Thread Carl Eugen Hoyos
Steve Hart writes: > I believe encoding PAL/NTSC works but HD (1920x1080 - 422) is not. DVCPRO HD encoding is not supported, that is correct. (I thought it is not called "dv", sorry if I am wrong.) Please do not top-post here, Carl Eugen ___ Libav-us

Re: [Libav-user] DV Condec

2012-09-24 Thread Carl Eugen Hoyos
Denis writes: > I can play the files "DV-ffmpeg.dv" and > "MJPEG_Quality=100.avi" with vlc and > with my own player based on libavuser. What is libavuser? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listin

Re: [Libav-user] DV Condec

2012-09-25 Thread Carl Eugen Hoyos
Denis Gottardello writes: > It means how to produce video with those codecs using > directly the ffmpeg libraries without use ffmpeg executable. There are usage examples for the libraries in doc/examples Please do not top-post here, Carl Eugen ___

Re: [Libav-user] How to set number of threads in c++

2012-09-25 Thread Carl Eugen Hoyos
Svetlana Olonetsky writes: > I am reading video files using ffmpeg in C++. > > How can I set number of threads for ffmpeg to use ? See thread_count in AVCodecContext Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mail

Re: [Libav-user] help to decode frames from MXF file.

2012-09-26 Thread Carl Eugen Hoyos
Alexandre Gabassi writes: > i need to decode frames from mxf file. > > my formatContext in the av_read_frame call appears ok, > but the pts and dts values from audio packet returns :  > > pts -9223372036854775808 dts -9223372036854775808 Is the problem also reproducible with ffmpeg (the appli

Re: [Libav-user] LGPL and FFMPeg internal aac encoder

2012-09-28 Thread Carl Eugen Hoyos
Tim Cannell writes: > I have configured FFMpeg as described below - at the bottom > of the output listed below, from the configure tool, it says > "License: LGPL version 2.1 or later" which I want to believe. Good idea! > Can anyone confirm that this aac encoder implementation is > indeed LG

Re: [Libav-user] LGPL and FFMPeg internal aac encoder

2012-09-28 Thread Carl Eugen Hoyos
Tim Cannell writes: > Thanks for you reply - I guess my remaining doubt lies in > the fact that previously libfaac was incorrectly claimed > to be LGPL when in fact it incorporates code from an > external source that is not available under this licence. (Since it is not completely clear to me

Re: [Libav-user] asf (.wmv) muxer problem : duration is not good !

2012-09-29 Thread Carl Eugen Hoyos
Stephane Debusne writes: > but after writing the trailer, if i close and reopen the file, the > duration read by avlibs is 14805. not 12800... > However, the movie plays well and it plays only for 12.8 seconds. Isn't the duration value simply wrong on reopening? Or is that also not reproducible

Re: [Libav-user] FFmpeg nonfree option

2012-10-04 Thread Carl Eugen Hoyos
longjian yu writes: > Please let me know my understanding is > correct or not. I may misunderstand you but I believe your understanding is not correct. If you configure FFmpeg with --enable-nonfree you cannot legally distribute the resulting binaries. (If you are using --enable-nonfree but

Re: [Libav-user] AC3 decoder in FFmpeg

2012-10-04 Thread Carl Eugen Hoyos
Alex Smeshkov writes: > Could you please advise if I can use FFmpeg library > containing AC3 decoder in a commercial project without > obtaining license from "Dolby" Wrong mailing list? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org h

Re: [Libav-user] vformat_open_input() fails with unicode filenames of image files

2012-10-06 Thread Carl Eugen Hoyos
Tim Hauke writes: > But when I try to open an image file (jpg, bmp, tif) > whose filename contains other characters than from > the ASCII charset, avformat_open_input() returns -2. Is this also reproducible with ffmpeg.exe? Carl Eugen ___ Libav-use

Re: [Libav-user] avformat_open_input() fails with unicode filenames of image files

2012-10-06 Thread Carl Eugen Hoyos
Tim Hauke writes: > Same six jpg files as before renamed in tür1.jpg,...,tür6.jpg > Runing ffmpeg.exe with the same command: > ffmpeg -f image2 -i tür%d.jpg tür.mpg > It failed Please add (command line together with) complete, uncut console output. (It works fine here.) Carl Eugen _

Re: [Libav-user] avformat_open_input() fails with unicode filenames of image files

2012-10-07 Thread Carl Eugen Hoyos
Tim Hauke writes: > So generally it works quite well. I´m using it with mp4, > avi, jpg, bmp and tif files. But when I try to open an > image file (jpg, bmp, tif) whose filename contains other > characters than from the ASCII charset, > avformat_open_input() returns -2. Found the relevant tic

Re: [Libav-user] avformat_open_input() fails with unicode filenames of image files

2012-10-08 Thread Carl Eugen Hoyos
Tim Hauke writes: > > https://ffmpeg.org/trac/ffmpeg/ticket/819 > You wrote that it´s working fine with Your installation. > Which version do You use and on which platform? Looking into the ticket, I suspect anything != Windows works fine (win32 might be wrong, should probably be win). Carl

Re: [Libav-user] ReZound Integration Question

2012-10-08 Thread Carl Eugen Hoyos
Davy Durham writes: > I'm experimenting with changing rezound (a destructive audio > editor) to use libavcodec/libavformat instead of its current > use of many other libraries (libsndfile, libaudiofile, lame, > manual coding in some places, etc). Without knowing anything about rezound, I wond

Re: [Libav-user] FFMpeg and CODEC_ID_MJPEG

2012-10-08 Thread Carl Eugen Hoyos
Denis writes: > I have a problem with "decoding_encoding.c" example > making a video with mjpeg codec. I obtain the error > > "Encode video file mjpeg.mpg > [mjpeg @ 0x956b020] Specified pix_fmt is not supported > could not open codec" (The following is of course pure guessing, since all nece

Re: [Libav-user] ReZound Integration Question

2012-10-08 Thread Carl Eugen Hoyos
Davy Durham writes: > >> I don't immediately see something like a struct for each > >> supported codec that describes all the options for that > >> codec. [Did I miss it?] > > > > I think so because many codecs have an AVOption struct that > > describe their codec-specific options. > > (Many opt

Re: [Libav-user] [libav-user] is avio_set_interrupt_cb deprecated?

2012-10-10 Thread Carl Eugen Hoyos
Quy Pham Sy writes: > Is the avio_set_interrupt_cb function deprecated? No, it was already removed in January. > What is the substitute? At the time of depreciation, the fine sources read: Use interrupt_callback in AVFormatContext/avio_open2 instead. Carl Eugen __

Re: [Libav-user] FFmpeg License Violation - What Are My Remedies?

2012-10-10 Thread Carl Eugen Hoyos
Matthew Lawrence writes: > I recently purchased an app from Google Play that > incorporates the FFmpeg library.  Because the app is a > derivative work under the LGPLv2.1, I believe I am > entitled to a copy of the source code for the entire app. Apart from what was already said (LGPL does no

Re: [Libav-user] Not able to convert to mp4 from wmv format

2012-10-11 Thread Carl Eugen Hoyos
Rizwan Raza writes: > I would appreciate any help into this matter. Please provide complete, uncut console output (together with the command line) of the failed transcoding attempt. If the problem also appears with the following command line, output would be prefered for this one because it

Re: [Libav-user] FFmpeg components needed to extract audio/video metadata

2012-10-11 Thread Carl Eugen Hoyos
William Seemann writes: > FLAGS="$FLAGS --enable-shared --disable-symver" (You could add --disable-debug although it is not default for shared anyway iirc.) > FLAGS="$FLAGS --enable-small --optimization-flags=-O2" There are two possibilities: Either "-O2" is good (be it for all use

Re: [Libav-user] FFmpeg License Violation - What Are My Remedies?

2012-10-11 Thread Carl Eugen Hoyos
Hi Lou! Lou writes: > The Hall of Shame no longer exists (a page > exists without entries, but I think it is > orphaned from the menu/legal page). > It was a maintenance burden, Sorry, but this is simply not true. > its effectiveness was questionable, >and it was getting really long. And

Re: [Libav-user] avcodec_open2 is changing the channels and channel_layout... why?

2012-10-11 Thread Carl Eugen Hoyos
Michael Bradshaw writes: > I've just been hunting down a bug in one of our programs, and I > tracked it down to the number of channels reported by ffmpeg. When I > first open the AVFormatContext and do avformat_find_stream_info(), I > can see that my audio stream's AVCodecContext has a reported >

Re: [Libav-user] avcodec_open2 is changing the channels and channel_layout... why?

2012-10-11 Thread Carl Eugen Hoyos
Michael Bradshaw writes: > > While I cannot really answer the question, I wonder > > what you expect when the number of channels really change: > > At least for AC-3 and AAC, this is not only allowed, > > but happens regularly (for example on DVB). > > Really? That's useful to know. I suppose I

Re: [Libav-user] avcodec_open2 is changing the channels and channel_layout... why?

2012-10-11 Thread Carl Eugen Hoyos
Michael Bradshaw writes: > QuickTime reports it as mono. So does Windows Media Player. It plays > ok in ffplay and QuickTime though (didn't try Windows Media Player). > > Seeing as remuxing the audio stream to plain .aac seems to have fixed > the issue, I'm thinking the container might be bad. D

Re: [Libav-user] avcodec_open2 is changing the channels and channel_layout... why?

2012-10-12 Thread Carl Eugen Hoyos
Michael Bradshaw writes: > I can provide the sample if necessary. If this is reproducible with current git head (and I do not doubt this) and you have a sample, then it should be possible for you to open a ticket. Thank you, Carl Eugen ___ Libav-us

Re: [Libav-user] Converting .264 to .avi (audio is out of sync)

2012-10-22 Thread Carl Eugen Hoyos
Daniel Sakuma writes: > avconv -r 15 -i input.264 -i input.wav -c:a copy -map 0:a > -map 1:v output.avi This application is known to contain several hundred individual regressions over ffmpeg, some of them security relevant, please understand that we therefore cannot support it. Please test

Re: [Libav-user] Video buffer padding

2012-10-24 Thread Carl Eugen Hoyos
Tony Glover writes: > You should set aside enough buffer space to hold > your data AND the extra padding to it and ensure that > the extra padding is set to zero. Something like this > would suffice :- > > If you have copied the incoming data to your buffer, > e.g memcpy(mPkt->data, data, da

Re: [Libav-user] Repeating frames

2012-10-24 Thread Carl Eugen Hoyos
Tim Pitman writes: > Is there a way to do what I'm trying to accomplish? If you believe that FFmpeg's error concealment is not optimal (it isn't for h264), you should try to improve it, not work-around it. And without knowing the theory, I am quite sure that repeating the previous picture sho

Re: [Libav-user] How to use rawvideo conatiner format with mpeg4

2012-10-27 Thread Carl Eugen Hoyos
Mark Pupilli writes: > I am having problems sending mpeg4 (FMP4) in the the > rawvideo container format. I suspect you are searching for the output format "m4v". Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/

Re: [Libav-user] How to use rawvideo conatiner format with mpeg4

2012-10-27 Thread Carl Eugen Hoyos
Mark Pupilli writes: > I am sending the video over network using a custom > protocol so was trying to avoid the overhead of a > container format. Do you mean size overhead or performance overhead? The m4v container has no size overhead and I suspect the performance overhead is (very, very sli

Re: [Libav-user] Efficient way of sampling compressed audio

2012-10-28 Thread Carl Eugen Hoyos
Peter Staab writes: > I am interested in using libav to create a > graphical representation of audio data Did you test the showspectrum and showwaves filters? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/lis

Re: [Libav-user] Efficient way of sampling compressed audio

2012-10-28 Thread Carl Eugen Hoyos
Peter Staab writes: > The frames should not be read from begin to end > (this is what I am currently doing) because the > whole audio file has to be decoded. Instead, I > am looking for a way to "sample" the decoded file > with an interval x. Isn't all you need seeking by x? Please do not top

Re: [Libav-user] JPEG over RTSP

2012-10-29 Thread Carl Eugen Hoyos
Mark Kenna writes: > 1. I have been trying to get JPEG over RTSP working > through FFMpeg but get a bunch of errors. It's working fine here. (Or am I missing something?) $ ffplay rtsp://root:Roseb8d@81.138.238.97:554/profile0=r ffplay version N-46127-g7d1e003 Copyright (c) 2003-2012 the FFmpeg

Re: [Libav-user] Album art retrieval

2012-10-29 Thread Carl Eugen Hoyos
William Seemann writes: > Hello, Is it possible to retrieve album art from a track programmatically I suspect so. > (i.e NOT using the ffmpeg command, using actual code) with FFmpeg? The easiest way to find out for sure is trying with the ffmpeg application (which is using the libraries, so

Re: [Libav-user] Album art retrieval

2012-10-29 Thread Carl Eugen Hoyos
William Seemann writes: > I'm already familiar with encoding/decoding, so, > are you saying I need to decode the packet the > same way I would for a normal audio/video stream > and then do something with the decoded output (in > this case, render an image)? You have to decode (and encode) th

Re: [Libav-user] How can we set frame size for live stream?

2012-10-31 Thread Carl Eugen Hoyos
Wenpeng Zhou writes: > Input #0, dshow, from 'video=Mercury USB2.0 Camera': > Duration: N/A, start: 58890.453000, bitrate: N/A > Stream #0:0: Video: mjpeg, yuvj422p, 1280x720, > 30 tbr, 1k tbn, 30 tbc > > I hope to change frame size from 1280x720 to 640x480. If your question is: "Ho

Re: [Libav-user] How can we set frame size for live stream?

2012-10-31 Thread Carl Eugen Hoyos
Wenpeng Zhou writes: > I mean this command. > ffplay -f dshow -i video="Mercury USB2.0 Camera" -s 640x480 > > How can we set 640x480 in C++ code? To quote my original answer: > > there is libswscale (or the scale filter that uses > > libswscale) to do the resizing. See doc/examples/filtering_v

Re: [Libav-user] soft telecine 29.97 fps

2012-10-31 Thread Carl Eugen Hoyos
Alex Balk writes: > When i use ffmpeg to encode an h264 input into mpeg2 video, > I notice that even though my h264 file has some frames with > pic_struct = 8 indicating frame doubling for soft telecined > video, the mpeg2 output has the repeat_first_field set to 0 > on all frames. I am mild

Re: [Libav-user] FFMPEG - Undefined reference to 'av_...()'

2012-11-02 Thread Carl Eugen Hoyos
Lumping 4Ever writes: > ./configure --disable-yasm --enable-shared Unrelated to your question: Why do you use --disable-yasm ? (It is a bad idea.) > I got the library files (.a) Why are you using --enable-shared (above) if you want to use the .a files? [...] > extern "C"{   #include "libavc

Re: [Libav-user] How to handle dynamically changing streams / parameters / codecs?

2012-11-03 Thread Carl Eugen Hoyos
Andrea3000 writes: > What do I need to update in the FFmpeg structure to > handle the change? I suggest you first test ffmpeg (the command line application) or ffplay (or MPlayer). If they do not support the changing of number of audio / video streams or parameters (not bitrate, since that c

Re: [Libav-user] muxing.c, memory leak

2012-11-04 Thread Carl Eugen Hoyos
Denis writes: > Using valgrind I obtain a memory leak in this row: > > "pAVStream= add_video_stream(pAVFormatContext, &pAVCodec, > pAVOutputFormat->video_codec);" > if (posix_memalign(&ptr,ALIGN,size)) > av_mallocz in mem.c:95 Could you post the valgrind output? > Can anybody verifies if > i

Re: [Libav-user] How to handle dynamically changing streams / parameters / codecs?

2012-11-04 Thread Carl Eugen Hoyos
Andrea3000 writes: > file1: https://dl.dropbox.com/u/11879013/file1.m2ts > > file2: https://dl.dropbox.com/u/11879013/file2.m2ts I also tested cat file1.m2ts file1.m2ts >test1.ts and cat file2.m2ts file2.m2ts >test2.ts (and WMP) and it could be possible that this cannot be supported due to d

Re: [Libav-user] How to handle dynamically changing streams / parameters / codecs?

2012-11-04 Thread Carl Eugen Hoyos
Andrea3000 writes: > > >> file1: https://dl.dropbox.com/u/11879013/file1.m2ts > >> > >> file2: https://dl.dropbox.com/u/11879013/file2.m2ts > > > > I also tested cat file1.m2ts file1.m2ts >test1.ts and > > cat file2.m2ts file2.m2ts >test2.ts (and WMP) and it > > could be possible that this c

Re: [Libav-user] First frame not keyframe

2012-11-08 Thread Carl Eugen Hoyos
Mark Kenna writes: > After doing some research it appears that FFMpeg > will drop the first frame if it's deemed "broken, > corrupt or not a keyframe", but it seems that the > first frame is present and looks perfectly valid Please provide a sample. (Generally, please don't forget to always

Re: [Libav-user] Any resolution limit for MJPEG decoder ?

2012-11-08 Thread Carl Eugen Hoyos
snehal parmar writes: > I wish to use ffmpeg to play MJPEG stream on a video viewer. > Wanted to know if there is any limit on resolution supported ? Please test, if you have an unsupported input file, please report it! Carl Eugen ___ Libav-user m

Re: [Libav-user] demuxing streams and mux them back to file

2012-11-14 Thread Carl Eugen Hoyos
Wuerfel, Hannes writes: > I'm trying to write a simple program which decodes the > video and audio frames and encodes and mux it back to a file. > How can I generally accomplish that? > Basically I took the demuxing.c example and wanted to mux > the video and audio frames back together but I'm

Re: [Libav-user] Can't find encoder

2012-11-15 Thread Carl Eugen Hoyos
FFMPEG writes: > My avcodec_find_encoder(CODEC_ID_THEORA) returns null ptr > > Is there anywhere I can check why this encoder is not supported? You could carefully search your configure line for "--enable-libtheora". Carl Eugen ___ Libav-user mailin

Re: [Libav-user] Detecting image orientation in pictures from a camera?

2012-11-17 Thread Carl Eugen Hoyos
Michael Bradshaw writes: > I've got a series of images taken with a camera that > I need to process with libav*. Is there any way to check > the EXIF data to determine rotation/orientation for the > image (so that I can rotate it in my program)? > > When I print out the metadata for the AVFor

Re: [Libav-user] get RGB values from ffmpeg frame

2012-11-20 Thread Carl Eugen Hoyos
Malik Cissé writes: > You don't need RGB for bitmap. AFAIK BMP pictures > can also embed YUV4:2:0 I didn't know bmp supports yuv. Do you have a sample or a source that confirms this? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http:

Re: [Libav-user] get RGB values from ffmpeg frame

2012-11-20 Thread Carl Eugen Hoyos
Navin writes: > I have been through many websites, but they either use > img_convert (which doesn't work) or sws_scale, which > crashes when I try to use it with RGB. I may miss something, but I guess this is the important problem you should work on (see doc/examples). Possibly unrelated: In

Re: [Libav-user] get RGB values from ffmpeg frame

2012-11-20 Thread Carl Eugen Hoyos
René J.V. Bertin writes: > afaik jpg images are in rgb space. No. (Lossless jpg supports rgb and FFmpeg supports reading and writing lossless jpg but this is a very unusual feature and nearly all non-FFmpeg software will not support the images.) Carl Eugen __

Re: [Libav-user] ffmpeg H.264 decoding

2012-11-20 Thread Carl Eugen Hoyos
Malik Cissé writes: > My question: > The decoding goes very fast and CPU usage is low. > Can I guaranty same performance on similar CPU’s? I may misunderstand the question, but decoding is a deterministic process (if that is what you want to know). General system load and other factors that ar

Re: [Libav-user] ffmpeg H.264 decoding

2012-11-20 Thread Carl Eugen Hoyos
Malik Cissé writes: > How can I force hw decoding? This depends on which hardware decoder you want to use, at least the following APIs are "supported" (please understand that in this case, this does not mean you can use them without any additional effort, it just means that some code necessa

Re: [Libav-user] Frame drop

2012-11-20 Thread Carl Eugen Hoyos
Bivas Bhattacharya writes: > I am trying to simulate the situation where some percentage > of I P B frames are getting dropped or corrupted. I want to > observe effect on video quality. > > Is there any way to create this situation just by some trick > as an user of ffmpeg? > > If not can an

Re: [Libav-user] get RGB values from ffmpeg frame

2012-11-21 Thread Carl Eugen Hoyos
Navin writes: > Am using the latest ffmpeg-win32-dev and I've tried with a wmv, many mp4 > (from youtube, h264 (high) (avc1/0x31637661), yuv420p 1280x720, > 1139kb/s, 24fps) files and avi too, but they're all crashing with > Unhandled exception, Access violation writing location 0x002a3000 at

Re: [Libav-user] get RGB values from ffmpeg frame

2012-11-21 Thread Carl Eugen Hoyos
Malik Cissé writes: > Carl Eugen ... writes: > >...compile FFmpeg with msvc. > This sounds interesting. Where can I find msvc sample project? Please see the MSVC section on the platform page of the fine documentation to find information on how to compile FFmpeg with MSVC. Carl Eugen

Re: [Libav-user] Memory allocation and avpicture_fill incorrect?

2012-11-22 Thread Carl Eugen Hoyos
Navin writes: > I was trying out the updated tutorial01 code of > ffmpeg:https://github.com/mpenkov/ffmpeg-tutorial Did you look at doc/examples/scaling_video.c? I believe it contains exactly the code that you need to do the yuv420p -> rgb24 conversion that you want. Carl Eugen

Re: [Libav-user] fps porblem when saving video in mp4 container

2012-11-22 Thread Carl Eugen Hoyos
Morduhaev, Igor (igorm@... writes: > When I decode frames from avi file and then decode them in > x264 and save to mp4 file, the fps of the output file is > always 12,800. Therefore the file is played very fast. > > What could be the problem? Your code does not compile, it is therefore diffic

Re: [Libav-user] Problems with time.h in ffmpeg util libary

2012-11-22 Thread Carl Eugen Hoyos
Hannes Wuerfel writes: > is there a workaround to avoid name conflicts with > the standard c time.h file? > It is a problem when using some other libs in > the project where ffmpeg is used. Could you elaborate? (So far, nobody could explain how this can be a problem.) Carl Eugen __

Re: [Libav-user] Problems with time.h in ffmpeg util libary

2012-11-22 Thread Carl Eugen Hoyos
Hannes Wuerfel writes: > extern "C" { > #include > #include > #include > #include > #include > #include > #include > #include > #include > } > > // opencv > #include > #include > #include > #include > > causing: > 2>C:\Program Files (x86)\Microsoft Visual Studio > 10.0\VC\include\

Re: [Libav-user] Problems with time.h in ffmpeg util libary

2012-11-23 Thread Carl Eugen Hoyos
Hannes Wuerfel writes: > Ah, perhaps my fault giving you compile errors in german. Given that German is my native language, this is hopefully not the problem;-) (If you mean my rant about the MSVC error message: It is missing the reason - source code line - why a specific header was included,

Re: [Libav-user] Clarifications about why "--use-nonfree" makes ffmpeg undistributable given the LGPL

2012-11-26 Thread Carl Eugen Hoyos
Carlos Alberto Lopez Perez writes: > Then, why is that "--enable-nonfree" makes ffmpeg > unredistributable? You mean: "why is libfaac making ffmpeg unreproducible even without x264?" Your question is valid, the original idea was to make it more likely to get improvements for the native encode

Re: [Libav-user] installing for Windows

2012-11-26 Thread Carl Eugen Hoyos
René J.V. Bertin writes: > I've noticed that the win32 and win64 static ffmpeg version > are way less verbose than their *n*x counterparts. (Command line and complete, uncut console output missing.) Could you elaborate? This seems unlikely. > An ffmpeg that doesn't use the Console subsystem sho

Re: [Libav-user] installing for Windows

2012-11-26 Thread Carl Eugen Hoyos
René J.V. Bertin writes: > >> An ffmpeg that doesn't use the Console subsystem shouldn't > >> do this, right? > > > > ffmpeg can only be used from the command line... > > Erm, I beg to differ. That may be the most usual way to > launch ffmpeg, but just how many applications are there > that l

Re: [Libav-user] Clarifications about why

2012-11-26 Thread Carl Eugen Hoyos
Carlos Alberto Lopez Perez writes: > I wish to know why you think that the fact that linking ffmpeg with any > proprietary library (or any free not-gpl compatible library) makes it > unredistributable when the LGPL clearly says that this is allowed. Please read my email again, I did not say that

Re: [Libav-user] Clarifications about why "--use-nonfree" makes ffmpeg undistributable given the LGPL

2012-11-26 Thread Carl Eugen Hoyos
Carlos Alberto Lopez Perez writes: > I understand, but I'm not asking about the native > aac encoder vs others. I should add that this is the only real-world use case or do I miss something? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.

Re: [Libav-user] E-AC-3 7.1 encoding?

2012-11-26 Thread Carl Eugen Hoyos
David Henry writes: > I'm wondering about encoding E-AC-3 7.1 surround using CODEC_ID_EAC3 The eac3 encoder currently does not support 7.1 encoding. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav

Re: [Libav-user] Could somone help me?

2012-11-26 Thread Carl Eugen Hoyos
Morduhaev, Igor (igorm@... writes: > I posted a question, but still didn't get any answer to it? You still did not post anything that would compile afaict. (Please understand that this is no guarantee that you will get a satisfying answer once you post a question that can be understood in any

Re: [Libav-user] E-AC-3 7.1 encoding?

2012-11-26 Thread Carl Eugen Hoyos
David Henry writes: > Does anyone know of public plans (include url please) > or time frames to support this feature? You may misunderstand how open-source development / FFmpeg development works. (Even if there are plans that I don't know about there would be no "time frames".) Please do not

Re: [Libav-user] YV12

2012-11-28 Thread Carl Eugen Hoyos
Mark Kenna writes: > Is there an inbuilt method of converting YV12 into > YUV420p using the scaler? The scaler does not support it but it may be sufficient to set the codec_tag correctly before decoding (difficult to say without more information about your use case). There is also a swapuv f

Re: [Libav-user] hello i have some developement question as for the decoding-encoding process

2012-11-29 Thread Carl Eugen Hoyos
Rafi Fisher writes: > so i dont know how for example to convert from mp2 > sample rate = 16000 to wav format 44000. Use swresample to change audio sample rate. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/li

Re: [Libav-user] hello i have some developement question as for the decoding-encoding process

2012-11-29 Thread Carl Eugen Hoyos
Rafi Fisher writes: > thanks for the answer. where can i find some > sample code how to use the swsresampe api's See doc/examples/filtering_audio.c Please do not top-post here, Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmp

Re: [Libav-user] Uploading large video files to bugtracker/ftp?

2012-11-30 Thread Carl Eugen Hoyos
Matthew Einhorn writes: > There's an option to attach a file to the bug report, > but I imagine 300MB is too much. It is not, there is no hard filesize limit. To elaborate a bit what is written on http://ffmpeg.org/bugreports.html : There were many bugreports in the past (esp. crashes) were

Re: [Libav-user] Request

2012-12-01 Thread Carl Eugen Hoyos
amir amir writes: > Is there any plugin or API Ref or any vendor that enables > the FFMPEG run on GPU in order to make use of the GPU > acceleration? FFmpeg contains code to support VDPAU, VA-API, DXVA2 and vda, see MPlayer and vlc for examples on how to use them. libstagefright is supported

Re: [Libav-user] Request

2012-12-01 Thread Carl Eugen Hoyos
amir amir writes: > I am really new to FFMPEG. it is a very comprehensive project. > could you please give me links of Mplayer and VLC www.mplayerhq.hu www.videolan.org > and examples how to use the GPU-acceleration? For vdpau, look at libvo/vo_vdpau.c in MPlayer, I don't know where you find

Re: [Libav-user] ffmpeg default for -b:v ?

2012-12-02 Thread Carl Eugen Hoyos
René J.V. Bertin writes: > - when encoding, say to mjpeg, what is the bitrate chosen > by ffmpeg when one doesn't specify a rate explicitely? 200kb > - to obtain a .mov with approximately 4000kb/s, I need to > add -b:v 1000k under Mac OS X, but -b:v 2000kb/s on win32 Sounds unlikely / comman

Re: [Libav-user] Uploading large video files to bugtracker/ftp?

2012-12-03 Thread Carl Eugen Hoyos
Matthew Einhorn writes: > On a side note, I initially tried to make > qt-faststart on Windows in cygwin, however, > I kept getting this error "make: *** No rule > to make target `tools/qt-faststart'.  Stop." My guess is that you have to do: $ make tools/qt-faststart.exe Carl Eugen _

Re: [Libav-user] Duplicate frames?

2012-12-06 Thread Carl Eugen Hoyos
David R Robison writes: > I am having a problem with poor quality of H.264 video. Can you reproduce the poor quality with ffmpeg (the application)? If yes, please provide command line together with complete, uncut console output. Carl Eugen ___ Liba

Re: [Libav-user] Options to minimize decoder CPU use

2012-12-07 Thread Carl Eugen Hoyos
Jason Livingston writes: > When decoding MPEG-2 or H.264 video with lavc, what decoder > flags or options can I use to decode as quickly as possible? Do I understand you correctly that you want to maximize CPU use? [...] > I see AVCodecContext has some options such as skip_idct and > skip_loo

Re: [Libav-user] ffmpeg ; splitting an input movie into multiple tracks in a single output movie, possible?

2012-12-07 Thread Carl Eugen Hoyos
René J.V. Bertin writes: > I discovered yesterday that it's possible to split an input > movie (a raw m4v stream) into 4 separate output movies (.mov) > each containing a quarter of the original image (obtained with > -vf crop=w/2:h/2:x:y), using a single invocation of ffmpeg. > Is it possible

Re: [Libav-user] ffmpeg ; splitting an input movie into multiple tracks in a single output movie, possible?

2012-12-07 Thread Carl Eugen Hoyos
René J.V. Bertin writes: > Are we really speaking about the same thing, generating > multiple tracks in a QuickTime movie, and not a > track with 4 overlays or a multi-channel (audio) track? > May I ask what the name of the filter is that merges > the crop filter outputs in 4 tracks in a single

Re: [Libav-user] ffmpeg ; splitting an input movie into multiple tracks in a single output movie, possible?

2012-12-07 Thread Carl Eugen Hoyos
René J.V. Bertin writes: > NB: at 12Hz there isn't much gain of mpeg4 encoding over > mjpeg encoding Depending on what you mean with "gain", this is not correct. (Your sentence is equivalent to "intra-only codecs have no real disadvantage over using P and B-frames for sufficiently small fps."

Re: [Libav-user] ffmpeg ; splitting an input movie into multiple tracks in a single output movie, possible?

2012-12-07 Thread Carl Eugen Hoyos
René J.V. Bertin writes: > >> What I mean is the size of the files I get on my sample videos. > >> Guess I should have made that clearer. And of course I never > >> meant to say it depends on the framerate only, evidently it > >> depends on how much the images vary between frames. ("Guess" is

Re: [Libav-user] ffmpeg ; splitting an input movie into multiple tracks in a single output movie, possible?

2012-12-08 Thread Carl Eugen Hoyos
René J.V. Bertin writes: > On Dec 08, 2012, at 00:06, Carl Eugen Hoyos wrote: > > My guess now is that you argue that for two given codecs (no > > matter if mjpeg, mpeg-4 asp, mpeg2video, flv1 or snow), the > > following command line always produces files of nearl

Re: [Libav-user] ffmpeg ; splitting an input movie into multiple tracks in a single output movie, possible?

2012-12-08 Thread Carl Eugen Hoyos
Carl Eugen Hoyos writes: > > You may not agree, but it my experience that material > > that has already been compressed with a lossy codec is > > often hard to compress further > > This is true for material that has been compressed with > maximum quantiser bu

Re: [Libav-user] Problem with rtmp stream

2012-12-09 Thread Carl Eugen Hoyos
Nelson Perez writes: > ffmpeg -i "rtmp://200.141.78.68:1935/cet-rio/74.stream > pageUrl=http://transito.rio.rj.gov.br --live" -vcodec copy -an out.flv > > > Does somebody have a suggestion to fix this issue? Since I cannot reproduce your issue: Please provide complete, uncut console output.

Re: [Libav-user] Problem with rtmp stream

2012-12-10 Thread Carl Eugen Hoyos
Nelson Perez writes: > My bad, I used the wrong address to illustrate the problem. > It actually happens with camera 71. So you should type: > > > ffmpeg -i "rtmp://200.141.78.68:1935/cet-rio/71.stream pageUrl=http://transito.rio.rj.gov.br --live"; -vcodec copy -an out.flv I originally could

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