[Libav-user] directshow resolution

2013-10-08 Thread Novák , Attila
Hi, I have a Leadtek capture card that provides DirectShow output. I managed to record video in multiple resolutions using the command line ffmpeg tool by providing the -s widthXheight option. Unfortunately I could not replicate the results from code: it always captures with the default 320x200

Re: [Libav-user] directshow resolution

2013-10-08 Thread Novák , Attila
On 8 October 2013 13:01, Novák, Attila novak.att...@itvprojekt.hu wrote: Hi, I have a Leadtek capture card that provides DirectShow output. I managed to record video in multiple resolutions using the command line ffmpeg tool by providing the -s widthXheight option. Unfortunately I could

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

2013-10-08 Thread James Board
On Monday, October 7, 2013 5:39 PM, Michael Chisholm chish...@mitre.org wrote: On 10/7/2013 5:31 PM, James Board wrote: I'm trying to incorporate the libav subroutines into a C++ program.  Has this been done?  When I try to compile, I get lots of errors like UINT64_c undefined and many

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

2013-10-08 Thread James Board
How difficult would it be to compile the examples in the doc/examples directory with a C++ compiler? Those are C programs, so just use a C compiler for them.  Thatapos;s all I meant. Okay, I understand.  Yes they are just C programs, so I can compile with the C compiler.  But my C++ programs

[Libav-user] Is libav thread-safe?

2013-10-08 Thread James Board
I want to create several pthreads in a C++ program (assuming you can call libav routines from a C++ program) that each call libav subroutines.  Are the libav subroutines  thread-safe?  Specifically, can several pthreads open the same AVI file and decode different video frames concurrently? I'm

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

2013-10-08 Thread Michael Chisholm
On 10/8/2013 2:12 PM, James Board wrote: How difficult would it be to compile the examples in the doc/examples directory with a C++ compiler? Those are C programs, so just use a C compiler for them. Thatapos;s all I meant. Okay, I understand. Yes they are just C programs, so I can compile

Re: [Libav-user] FFMPEG Library

2013-10-08 Thread Paul B Mahol
On 10/7/13, Danny Kim danny...@veryalpha.com wrote: Hi, I am trying to use this library for a commercial Android application, but I would like to know if the compression of a video and cropping of the video length (cropping dimensions of video frame) libraries of FFMPEG is under GPL or LGPL.

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

2013-10-08 Thread Carl Eugen Hoyos
Michael Chisholm chisholm@... writes: demuxing.c: In function 'int main(int, char**)': demuxing.c:261:66: error: invalid conversion from 'void*' to 'uint8_t** {aka unsigned char**}' [-fpermissive] audio_dst_data = av_mallocz(sizeof(uint8_t *) * nb_planes);

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

2013-10-08 Thread Michael Chisholm
On 10/8/2013 6:19 PM, Carl Eugen Hoyos wrote: Michael Chisholm chisholm@... writes: demuxing.c: In function 'int main(int, char**)': demuxing.c:261:66: error: invalid conversion from 'void*' to 'uint8_t** {aka unsigned char**}' [-fpermissive] audio_dst_data =

Re: [Libav-user] directshow resolution

2013-10-08 Thread Don Moir
- Original Message - From: Novák, Attila novak.att...@itvprojekt.hu To: libav-user@ffmpeg.org Sent: Tuesday, October 08, 2013 7:51 AM Subject: Re: [Libav-user] directshow resolution On 8 October 2013 13:01, Novák, Attila novak.att...@itvprojekt.hu wrote: Hi, I have a Leadtek

Re: [Libav-user] Is libav thread-safe?

2013-10-08 Thread Bruce Wheaton
On Oct 8, 2013, at 12:05 PM, James Board jpboa...@yahoo.com wrote: I want to create several pthreads in a C++ program (assuming you can call libav routines from a C++ program) that each call libav subroutines. Well, yes, you can call C from a C++ app. You need to mark the headers as C when

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

2013-10-08 Thread Bruce Wheaton
On Oct 8, 2013, at 11:12 AM, James Board jpboa...@yahoo.com wrote: I tried exactly that with the demuxing.c example. When I try to compile it with the C++ compiler, I get errors. When I compile with the C compiler, no errors. What do I need to do to get demuxing.c to compile with the C++

[Libav-user] Fwd: Problems with RTMP streams on FFMpeg

2013-10-08 Thread Zuwei Li
I am using FFMpeg to receive RTMP streams. It decodes and plays the RTMP stream correctly but I have problems playing the video for long periods of time. It seems that av_read_frame(format_context, packet); returns an AVERROR_EOF after playing for a period in time say 7 or 8 mins, this occurs