Re: [Libav-user] # of audio samples, calculated vs. codec context

2013-05-22 Thread Pradeep Karosiya
Hi Brad, Actually at that time I didn't explore much and since I already had my own buffer class I quickly reused it. But if there are some other better facility available in ffmpeg like libavcodec/audio_frame_queue.c I suggest you cantry that. Thanks Pradeep -- View this message in context:

Re: [Libav-user] Reading correct frame rate (fps) of input video

2013-05-22 Thread Taha Ansari
Like I spoke too soon, (I have also included time_base structure): when tried on: - FLV file: for r_frame_rate: {num=15 den=1 }, for avg_frame_rate: {num=0 den=0 }, for time_base: {num=1 den=1000 } - WMV file: for r_frame_rate: {num=15 den=1 }, for avg_frame_rate: {num=0 den=0 }, for time_base:

[Libav-user] Hevc

2013-05-22 Thread Christophe Nelson
Hello everybody I am wondering if some of the developers of ffmpeg have any intention to implement HEVC in ffmpeg ? I know there is an open lib called openHevc https://github.com/OpenHEVC. Any intention to work with ? Regards Christophe ___ Libav-user

Re: [Libav-user] Making a static lib with -MD option

2013-05-22 Thread Steffen
The git head works but gives me something like: 1 Creating library ..\..\bin\Debug\cio.lib and object ..\..\bin\Debug\cio.exp 1libavcodec.lib(pamenc.o) : warning LNK4049: locally defined symbol _avpriv_snprintf imported 1libavcodec.lib(huffyuvenc.o) : warning LNK4217: locally defined symbol

Re: [Libav-user] Making a static lib with -MD option

2013-05-22 Thread Hendrik Leppkes
On Wed, May 22, 2013 at 9:42 AM, Steffen steffen.roe...@hella.com wrote: The git head works but gives me something like: 1 Creating library ..\..\bin\Debug\cio.lib and object ..\..\bin\Debug\cio.exp 1libavcodec.lib(pamenc.o) : warning LNK4049: locally defined symbol _avpriv_snprintf

[Libav-user] written yuv cannot be played

2013-05-22 Thread Steffen
ffmpeg.exe -i d:\videos\simpsons_trailer05-de_xhigh.mov -vcodec rawvideo d:\temp\test2.yuv ffplay d:\temp\test2.yuv gives: [IMGUTILS @ 04bafc44] Picture size 0x0 is invalid sq=0B f=0/0 [IMGUTILS @ 04baf724] Picture size 0x0 is invalid [IMGUTILS @ 04baf794] Picture size 0x0 is invalid

Re: [Libav-user] written yuv cannot be played

2013-05-22 Thread Christophe Nelson
Hi You have to specifie in the player the size of the picture of the YUV file There is no header information about that in the yuv file ! Maybe you can try http://sourceforge.net/projects/raw-yuvplayer/ -Message d'origine- De : libav-user-boun...@ffmpeg.org

Re: [Libav-user] Reading correct frame rate (fps) of input video

2013-05-22 Thread Taha Ansari
Hi guys, I have come up with a quick patch: //-- AVStream *st = pFormatCtx-streams[this-videoStream ]; if ( st-codec-codec_id == AV_CODEC_ID_H264 )//mp4 { video_frame_rate= st-avg_frame_rate.num / (double)st-avg_frame_rate.den;

Re: [Libav-user] written yuv cannot be played

2013-05-22 Thread Carl Eugen Hoyos
Steffen Steffen.Roeber@... writes: ffmpeg.exe -i d:\videos\simpsons_trailer05-de_xhigh.mov -vcodec rawvideo d:\temp\test2.yuv Complete, uncut console output missing. ffplay d:\temp\test2.yuv [IMGUTILS at 04baf794] Picture size 0x0 is invalid [rawvideo at 040719c0] Could not find

Re: [Libav-user] Hevc

2013-05-22 Thread Carl Eugen Hoyos
Christophe Nelson cnelson@... writes: I am wondering if some of the developers of ffmpeg have any intention to implement HEVC in ffmpeg ? Yes. If you are interested in contributing, please setup your own git clone and join #ffmpeg-devel on freenode. Carl Eugen

Re: [Libav-user] Hevc

2013-05-22 Thread Hendrik Leppkes
On Wed, May 22, 2013 at 9:38 AM, Christophe Nelson cnel...@ina.fr wrote: Hello everybody I am wondering if some of the developers of ffmpeg have any intention to implement HEVC in ffmpeg ? I know there is an open lib called openHevc https://github.com/OpenHEVC. For the record, OpenHEVC is

Re: [Libav-user] Making a static lib with -MD option

2013-05-22 Thread Steffen
Unfortunately not. Example: 1. dll (cio.dll) links statically to av.libs 2. dll (crecord.dll) links to both statically to av.libs and dynamically to cio.dll That gives me: cio.lib(cio.dll) : error LNK2005: _avpriv_snprintf already defined in libavutil.lib(snprintf.o) cio.lib(cio.dll) : error

Re: [Libav-user] # of audio samples, calculated vs. codec context

2013-05-22 Thread Brad O'Hearne
On May 22, 2013, at 12:04 AM, Pradeep Karosiya praks...@gmail.com wrote: Hi Brad, Actually at that time I didn't explore much and since I already had my own buffer class I quickly reused it. But if there are some other better facility available in ffmpeg like libavcodec/audio_frame_queue.c

Re: [Libav-user] Encoding with variable frame rate

2013-05-22 Thread Brad O'Hearne
On May 22, 2013, at 1:38 AM, Robert Krüger krue...@lesspain.de wrote: ??? I thought this thread is about the capabilities of the mov muxer? My discussion of pts/dts and time_base.den surrounded the common AVCodecContext, which should be relevant to ffmpeg muxing in general. The capabilities

Re: [Libav-user] Encoding with variable frame rate

2013-05-22 Thread Robert Krüger
On Wed, May 22, 2013 at 5:45 PM, Claudio Freire klaussfre...@gmail.com wrote: On Wed, May 22, 2013 at 12:28 PM, Brad O'Hearne br...@bighillsoftware.com wrote: The capabilities of container formats _and_ muxers vary a lot. So this can only really be discussed in a useful way when were talking

[Libav-user] avformat_open_input

2013-05-22 Thread Andy Huang
When I can call it avformat_open_input(avFormatContextPtr, , NULL, NULL), it works on iOS, but it blocks on Android, never returns, any ideas? ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

[Libav-user] AVCODEC_MAX_AUDIO_FRAME_SIZE

2013-05-22 Thread prathap
Hi, I am new to ffmpeg , when i am doing work on sound functions i got errors like this In function ‘audio_callback’: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ undeclared (first use in this function) note: each undeclared identifier is reported only once for each function it appears in Could

Re: [Libav-user] Encoding with variable frame rate

2013-05-22 Thread Brad O'Hearne
On May 22, 2013, at 9:02 AM, Robert Krüger krue...@lesspain.de wrote: After all, most of the work is done by people in their spare time and I haven't found many developers who enjoy writing documentation (no matter how important docs are, I think we all agree on that). The problem, Robert,

Re: [Libav-user] Encoding with variable frame rate

2013-05-22 Thread Paul B Mahol
On 5/22/13, Brad O'Hearne br...@bighillsoftware.com wrote: On May 22, 2013, at 9:02 AM, Robert Krueger krue...@lesspain.de wrote: After all, most of the work is done by people in their spare time and I haven't found many developers who enjoy writing documentation (no matter how important docs

Re: [Libav-user] AVCODEC_MAX_AUDIO_FRAME_SIZE

2013-05-22 Thread Paul B Mahol
On 5/22/13, prathap prathap.malemp...@gmail.com wrote: Hi, I am new to ffmpeg , when i am doing work on sound functions i got errors like this In function `audio_callback': error: `AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared (first use in this function) note: each undeclared identifier is

Re: [Libav-user] Encoding with variable frame rate

2013-05-22 Thread Brad O'Hearne
On May 22, 2013, at 10:52 AM, Paul B Mahol one...@gmail.com wrote: How much time it takes to write above text? Now compare to time I wasted reading this FUD instead of doing something else - like helping users than really need help. I rest my case. Brad

[Libav-user] enable logcat

2013-05-22 Thread Andy Huang
Hi, I am new to ffmpeg. I was able to compile ffmpeg for Android by following the advice. But how can I compile a version that has the logging using Android's logcat, i.e. the log should be displayed on logcat window. Thx. ___ Libav-user mailing list

Re: [Libav-user] Encoding with variable frame rate

2013-05-22 Thread Kalileo
On May 22, 2013, at 23:53 , Brad O'Hearne wrote: On May 22, 2013, at 9:02 AM, Robert Krüger krue...@lesspain.de wrote: After all, most of the work is done by people in their spare time and I haven't found many developers who enjoy writing documentation (no matter how important docs are, I

Re: [Libav-user] Intermittent heap crash with Visual Studio 2005

2013-05-22 Thread Rothkin, Steve (NY81)
I have not been able to successfully build it with VS2005, 2008, 2010, or 2012. I tried the instructions at http://ffmpeg.org/platform.html#Microsoft-Visual-C_002b_002b but I got failures in make Would you like to tell us about those failures? Carl Eugen OK, it turns out my

[Libav-user] Failure to read quicktime movie with FFMPEG 1.2.1 when built with Visual studio, works fine with today's git though

2013-05-22 Thread Rothkin, Steve (NY81)
I have a particular quicktime .mov file that is 2,586,525,646 bytes (unfortunately, I cannot share it due to license restrictions). With a Visual Studio 2012 build of the 1.2.1 source I get [mov,mp4,m4a,3gp,3g2,mj2 @ 06FFAE60] moov atom not found When I try to open the file with av_format_open.

Re: [Libav-user] Encoding with variable frame rate

2013-05-22 Thread Brad O'Hearne
On May 22, 2013, at 1:29 PM, Kalileo kali...@universalx.net wrote: Please don't complain if you don't find many willing to discuss these theories with you, most here are looking for answers or trying to help others. I've never been wanting to discuss theories -- I am one of those people

Re: [Libav-user] Encoding with variable frame rate

2013-05-22 Thread Claudio Freire
On Wed, May 22, 2013 at 6:22 PM, Brad O'Hearne br...@bighillsoftware.com wrote: It's all open source, no secrets there, no need for theories. Everybody would appreciate that. That comment demonstrates exactly the reason why barring a dev doing it, the probability of a solid set of FFmpeg

Re: [Libav-user] Encoding with variable frame rate

2013-05-22 Thread Claudio Freire
On Wed, May 22, 2013 at 6:46 PM, Claudio Freire klaussfre...@gmail.com wrote: On Wed, May 22, 2013 at 6:22 PM, Brad O'Hearne br...@bighillsoftware.com wrote: It's all open source, no secrets there, no need for theories. Everybody would appreciate that. That comment demonstrates exactly the

Re: [Libav-user] Making a static lib with -MD option

2013-05-22 Thread Alex Cohn
On Wed, May 22, 2013 at 1:07 PM, Steffen steffen.roe...@hella.com wrote: Unfortunately not. Example: 1. dll (cio.dll) links statically to av.libs 2. dll (crecord.dll) links to both statically to av.libs and dynamically to cio.dll That gives me: cio.lib(cio.dll) : error LNK2005:

Re: [Libav-user] Failure to read quicktime movie with FFMPEG 1.2.1 when built with Visual studio, works fine with today's git though

2013-05-22 Thread Bjoern Drabeck
I have a particular quicktime .mov file that is 2,586,525,646 bytes (unfortunately, I cannot share it due to license restrictions). With a Visual Studio 2012 build of the 1.2.1 source I get [mov,mp4,m4a,3gp,3g2,mj2 @ 06FFAE60] moov atom not found When I try to open the file with

[Libav-user] AVframe: motion vectors

2013-05-22 Thread Olivier Harel
Hello, motion_val in AVFrame is now deprecated. I didn't see any reference to alternate structures. Is there any way, using the latest libav, to have access to decoded motion vectors or has the capacity to export decoded motion vectors been removed from libavcodec? Thanks in advance.