You are not logged in.

#1 2010-04-14 09:56:01

franzrogar
Member
From: Spain
Registered: 2010-03-26
Posts: 40

[SOLVED] Audacity don't reconize FFMpeg

Hello,

I've been trying unsatisfactorily open an AC3 file in Audacity to change framerate. It just complain it can't be open. If I clic on help... it says it's a "wma-proprietary" which is not.

I've tried with audacity+ffmpeg (from extra), audacity-svn+ffmpeg (from aur), audacity+ffmpeg-mt-git, etc. (recompiling when ffmpeg pkg change, of course) and no version is able to open it.

Even, if I select libavformat in Audacity preferences dialog, it just keep sayin' that ffmpeg lib can't be found even when it's there.

The only info in terminal audacity sputs is:

Expression 'stream->capture.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3653

Apart from that, nothing else.


Do you know a working version? Or is there any other program to change framerate (from PAL to NTSC) without changin' pitch?

Thanks you very much smile

Last edited by franzrogar (2010-04-17 10:50:59)


Franz Rogar
MOTM : "Quis custodiet ipsos custodes?"

Offline

#2 2010-04-14 13:42:37

franzrogar
Member
From: Spain
Registered: 2010-03-26
Posts: 40

Re: [SOLVED] Audacity don't reconize FFMpeg

I found the issue: newer ffmpeg changed "match_ext" to "av_match_ext".

So, ffmpeg-mt-git and audacity-cvs works with a patch.

In audacity forum, assem046 posted the patch. Well, it needs to fix some misplacements but it's easy to adapt to current CVS.

This' the patch adapted for current audacity-cvs (apply at $srcdir/$_cvsmod-build/src):

--- FFmpeg.cpp.original    2010-04-14 14:59:48.000000000 +0200
+++ FFmpeg.cpp    2010-04-14 15:25:52.136755669 +0200
@@ -341,7 +341,7 @@
          }
          // Otherwize, resort to extension matching if available
          else if (fmt1->extensions) {
-            if (FFmpegLibsInst->match_ext(filename, fmt1->extensions)) {
+            if (FFmpegLibsInst->av_match_ext(filename, fmt1->extensions)) {
                score = 50;
             }
          }
@@ -814,7 +814,7 @@
    INITDYN(avformat,av_open_input_file);
    INITDYN(avformat,av_open_input_stream);
    INITDYN(avformat,get_buffer);
-   INITDYN(avformat,match_ext);
+   INITDYN(avformat,av_match_ext);
 
 #if FFMPEG_STABLE
    INITDYN(avformat,av_init_packet);
--- FFmpeg.h.original    2010-04-14 14:59:48.000000000 +0200
+++ FFmpeg.h    2010-04-14 15:26:39.932590241 +0200
@@ -222,7 +222,7 @@
    AVStream*         (*av_new_stream)                 (AVFormatContext *s, int id);
    AVFormatContext*  (*av_alloc_format_context)       (void);
    AVOutputFormat*   (*guess_format)                  (const char *short_name, const char *filename, const char *mime_type);
-   int               (*match_ext)                     (const char *filename, const char *extensions);
+   int               (*av_match_ext)                     (const char *filename, const char *extensions);
    int               (*av_write_trailer)              (AVFormatContext *s);
    int               (*av_interleaved_write_frame)    (AVFormatContext *s, AVPacket *pkt);
    int               (*av_write_frame)                (AVFormatContext *s, AVPacket *pkt);

Franz Rogar
MOTM : "Quis custodiet ipsos custodes?"

Offline

#3 2010-04-14 14:09:39

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,937
Website

Re: [SOLVED] Audacity don't reconize FFMpeg

please report this on our bugtracker to get implemented in our audacity package.


Give what you have. To someone, it may be better than you dare to think.
Blog

Offline

#4 2010-04-14 23:27:33

franzrogar
Member
From: Spain
Registered: 2010-03-26
Posts: 40

Re: [SOLVED] Audacity don't reconize FFMpeg

reported.


Franz Rogar
MOTM : "Quis custodiet ipsos custodes?"

Offline

Board footer

Powered by FluxBB