[Libav-user] Dll Versioning

2012-10-30 Thread Mark Kenna
Hi Guys I am trying to find a way of allowing my application to be able to load multiple versions of the FFMpeg DLL's at the same time. I understand that I need to segregate the releases so that they do not conflict. Currently my idea is to rename the .dll files for one particular release to

Re: [Libav-user] Dll Versioning

2012-10-30 Thread Hendrik Leppkes
On Tue, Oct 30, 2012 at 11:48 AM, Mark Kenna mark.ke...@sureviewsystems.com wrote: Hi Guys I am trying to find a way of allowing my application to be able to load multiple versions of the FFMpeg DLL's at the same time. I understand that I need to segregate the releases so that they do not

Re: [Libav-user] Dll Versioning

2012-10-30 Thread Nicolas George
Le nonidi 9 brumaire, an CCXXI, Mark Kenna a écrit : I am trying to find a way of allowing my application to be able to load multiple versions of the FFMpeg DLL's at the same time. Why would you want to do that? The simplest solution to your problem is probably to find out how not to need it.

Re: [Libav-user] Dll Versioning

2012-10-30 Thread Mark Kenna
On 30 October 2012 10:50, Hendrik Leppkes h.lepp...@gmail.com wrote: On Tue, Oct 30, 2012 at 11:48 AM, Mark Kenna mark.ke...@sureviewsystems.com wrote: Hi Guys I am trying to find a way of allowing my application to be able to load multiple versions of the FFMpeg DLL's at the same time.

Re: [Libav-user] Dll Versioning

2012-10-30 Thread Mark Kenna
On 30 October 2012 10:51, Nicolas George nicolas.geo...@normalesup.orgwrote: Le nonidi 9 brumaire, an CCXXI, Mark Kenna a écrit : I am trying to find a way of allowing my application to be able to load multiple versions of the FFMpeg DLL's at the same time. Why would you want to do that?

[Libav-user] (AVStream *)av_malloc(sizeof(AVStream)) crashed the application

2012-10-30 Thread Wenpeng Zhou
Hi, I use AVFormatContext *ic_enc_mjpeg; ic_enc_mjpeg = (AVFormatContext *)av_malloc(sizeof(AVFormatContext)); ic_enc_mjpeg-streams[0] = (AVStream *)av_malloc(sizeof(AVStream)); But ic_enc_mjpeg-streams[0] = (AVStream *)av_malloc(sizeof(AVStream)); crashed the application. I

Re: [Libav-user] (AVStream *)av_malloc(sizeof(AVStream)) crashed the application

2012-10-30 Thread Chandranath Bhattacharyya
AVFormatContext *ic_enc_mjpeg; ic_enc_mjpeg = (AVFormatContext *)av_malloc(sizeof(AVFormatContext)); ic_enc_mjpeg-streams[0] = (AVStream *)av_malloc(sizeof(AVStream)); But ic_enc_mjpeg-streams[0] = (AVStream *)av_malloc(sizeof(AVStream)); crashed the application. AVFormatContext

Re: [Libav-user] (AVStream *)av_malloc(sizeof(AVStream)) crashed the application

2012-10-30 Thread Wenpeng Zhou
Hi Chandranath Thanks! But I already allocated memory for the pointer *ic_enc_mjpeg AVFormatContext *ic_enc_mjpeg; ic_enc_mjpeg = (AVFormatContext *)av_malloc(sizeof(AVFormatContext)); Then I tried to allocate the memory for ic_enc_mjpeg-streams[0], then it crashed. From:

Re: [Libav-user] (AVStream *)av_malloc(sizeof(AVStream)) crashed the application

2012-10-30 Thread Geek.Song
On Tue, Oct 30, 2012 at 7:18 PM, Wenpeng Zhou zhou.wenp...@rdnet.fi wrote: Hi Chandranath Thanks! But I already allocated memory for the pointer *ic_enc_mjpeg AVFormatContext *ic_enc_mjpeg; ic_enc_mjpeg = (AVFormatContext *)av_malloc(sizeof(AVFormatContext)); Then I tried to

Re: [Libav-user] (AVStream *)av_malloc(sizeof(AVStream)) crashed the application

2012-10-30 Thread Hendrik Leppkes
On Tue, Oct 30, 2012 at 12:28 PM, Chandranath Bhattacharyya cbhat...@adobe.com wrote: Hi Chandranath Thanks! But I already allocated memory for the pointer *ic_enc_mjpeg OK. Sorry. I did not realize you meant the crash occurred even after allocation. AVFormatContext

Re: [Libav-user] (AVStream *)av_malloc(sizeof(AVStream)) crashed the application

2012-10-30 Thread Wenpeng Zhou
Hi Chandranath and Geek.Song Thanks! I see. I fixed as your suggested. From: libav-user-boun...@ffmpeg.org [mailto:libav-user-boun...@ffmpeg.org] On Behalf Of Chandranath Bhattacharyya Sent: 30. lokakuuta 2012 13:28 To: This list is about using libavcodec, libavformat, libavutil,

Re: [Libav-user] (AVStream *)av_malloc(sizeof(AVStream)) crashed the application

2012-10-30 Thread Wenpeng Zhou
Hi Hendrik Thanks! -Original Message- From: libav-user-boun...@ffmpeg.org [mailto:libav-user-boun...@ffmpeg.org] On Behalf Of Hendrik Leppkes Sent: 30. lokakuuta 2012 13:34 To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter. Subject: Re:

[Libav-user] Can not open dshow usb camera by avformat_open_input()

2012-10-30 Thread Wenpeng Zhou
Hi, I try to use the USB camera with windows. But I failed. { AVFormatContext *pFormatCtx; av_register_all(); AVInputFormat * a= av_find_input_format(dshow); avformat_open_input(pFormatCtx, video=Mercury USB2.0 Camera, a, NULL); } The function avformat_open_input() crashed. Please help me.

Re: [Libav-user] Dll Versioning

2012-10-30 Thread Mark Kenna
On 30 October 2012 10:55, Mark Kenna mark.ke...@sureviewsystems.com wrote: On 30 October 2012 10:51, Nicolas George nicolas.geo...@normalesup.orgwrote: Le nonidi 9 brumaire, an CCXXI, Mark Kenna a écrit : I am trying to find a way of allowing my application to be able to load multiple

Re: [Libav-user] Dll Versioning

2012-10-30 Thread Alex Cohn
On 30 Oct 2012 15:01, Mark Kenna mark.ke...@sureviewsystems.com wrote: On 30 October 2012 10:55, Mark Kenna mark.ke...@sureviewsystems.com wrote: On 30 October 2012 10:51, Nicolas George nicolas.geo...@normalesup.org wrote: Le nonidi 9 brumaire, an CCXXI, Mark Kenna a écrit : I am trying

Re: [Libav-user] Dll Versioning

2012-10-30 Thread Mark Kenna
On 30 October 2012 13:21, Alex Cohn alexc...@netvision.net.il wrote: On 30 Oct 2012 15:01, Mark Kenna mark.ke...@sureviewsystems.com wrote: On 30 October 2012 10:55, Mark Kenna mark.ke...@sureviewsystems.com wrote: On 30 October 2012 10:51, Nicolas George nicolas.geo...@normalesup.org

Re: [Libav-user] soft telecine 29.97 fps

2012-10-30 Thread Roger Pack
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. Does the ffmpeg mpeg2 encoder

Re: [Libav-user] AVFilter abuffer Buffering limit reached

2012-10-30 Thread pradeep
I am trying to merge two amr files using the similar procedure. Can u help me by giving the complete sample code to do amerge filter. -- View this message in context: http://libav-users.943685.n4.nabble.com/Libav-user-AVFilter-abuffer-Buffering-limit-reached-tp4535931p4655942.html Sent from

Re: [Libav-user] Dll Versioning

2012-10-30 Thread Alex Cohn
On Tue, Oct 30, 2012 at 3:27 PM, Mark Kenna mark.ke...@sureviewsystems.com wrote: On 30 October 2012 13:21, Alex Cohn alexc...@netvision.net.il wrote: On 30 Oct 2012 15:01, Mark Kenna mark.ke...@sureviewsystems.com wrote: On 30 October 2012 10:55, Mark Kenna mark.ke...@sureviewsystems.com

Re: [Libav-user] Dll Versioning

2012-10-30 Thread Don Moir
Have you read a similar recent discussion on stackoverflow( http://stackoverflow.com/questions/11701635/use-ffmpeg-in-visual-studio)? Today zeranoe archives include version number in the dll names. Are you using a different source of precompiled Windows binaries? Anyway, it's good practise to

Re: [Libav-user] Dll Versioning

2012-10-30 Thread Mark Kenna
On 30 Oct 2012, at 21:25, Alex Cohn alexc...@netvision.net.il wrote: On Tue, Oct 30, 2012 at 11:04 PM, Don Moir donm...@comcast.net wrote: Have you read a similar recent discussion on stackoverflow( http://stackoverflow.com/questions/11701635/use-ffmpeg-in-visual-studio)? Today zeranoe

[Libav-user] pass-through re-containering with libavXXXX

2012-10-30 Thread René J.V. Bertin
Hello list, Can someone point me to a bare-bones (possibly pseudo-code) implementation using libavformat, libavcodec etc. of a command like ffmpeg -i somekindofIncomplete.mp4 -vcodec copy wellFormed.m4v that takes an incomplete mp4 file (that doesn't play back in most players) and repackages