Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
audacity without ffmpeg USE flag can't load any video file
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 835
Location: /mnt/Gentoo/

PostPosted: Sat Feb 16, 2013 4:40 am    Post subject: audacity without ffmpeg USE flag can't load any video file Reply with quote

Hi,

After Todays update USE ffmpeg flag was removed from my media-sound/audacity-2.0.3.

Now (I use Audacity to improve audio in my video files), I can't load any .mp4 or .MOV files which is a huge step backward for me. When I am trying to load movie file by Import Raw (suggest by Audacity) - I have white noise instead of sound. Is there any solution to solve this?

OR

how to tell portage (during emerge --sync) to use snapshot from 12 February 2013 (instead of newest one)
http://mirror.mcs.anl.gov/pub/gentoo/snapshots/
so I will have working Audacity for my projects


Last edited by Xywa on Sat Feb 16, 2013 6:32 am; edited 1 time in total
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1492

PostPosted: Sat Feb 16, 2013 6:26 am    Post subject: Reply with quote

mask media-sound/audacity-2.0.3 or unmask the ffmpeg use flag for audacity. Best check why they chose to mask it first.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 835
Location: /mnt/Gentoo/

PostPosted: Sat Feb 16, 2013 6:31 am    Post subject: Reply with quote

The Doctor wrote:
mask media-sound/audacity-2.0.3 or unmask the ffmpeg use flag for audacity. Best check why they chose to mask it first.


I did mask 2.0.3 -> up to version 2.0.0 - did not help. It is impossible to unmask ffmpeg as it not exist now to any of version (even the oldest one).

Code:
# emerge -pv audacity

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] media-sound/audacity-2.0.2 [2.0.0] USE="alsa flac mp3 vorbis (-ffmpeg) -id3tag -jack -ladspa -libsamplerate -midi -sbsms% -soundtouch -twolame -vamp" 0 kB


Code:
# equery u audacity
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-sound/audacity-2.0.2:
 U I
 + + alsa          : Adds support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
 + + flac          : Adds support for FLAC: Free Lossless Audio Codec
 - - id3tag        : Enables ID3 tagging with id3tag library
 - - jack          : Adds support for the JACK Audio Connection Kit
 - - ladspa        : Enables the ability to support ladspa plugins
 - - libsamplerate : Build with support for converting sample rates using libsamplerate
 - - midi          : Enables MIDI support
 + + mp3           : Add support for reading mp3 files
 - - sbsms         : Enables sbsms library support for pitch and tempo changing
 - - soundtouch    : Enables soundtouch library support for pitch and tempo changing
 - - twolame       : Enables twolame support (MPEG Audio Layer 2 encoder)
 - - vamp          : Enables vamp plugins support (Audio analysing plugins)
 + + vorbis        : Adds support for the OggVorbis audio codec


Code:
# equery u audacity
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-sound/audacity-2.0.0:
 U I
 + + alsa          : Adds support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
 + + flac          : Adds support for FLAC: Free Lossless Audio Codec
 - - id3tag        : Enables ID3 tagging with id3tag library
 - - jack          : Adds support for the JACK Audio Connection Kit
 - - ladspa        : Enables the ability to support ladspa plugins
 - - libsamplerate : Build with support for converting sample rates using libsamplerate
 - - midi          : Enables MIDI support
 + + mp3           : Add support for reading mp3 files
 - - soundtouch    : Enables soundtouch library support for pitch and tempo changing
 - - twolame       : Enables twolame support (MPEG Audio Layer 2 encoder)
 - - vamp          : Enables vamp plugins support (Audio analysing plugins)
 + + vorbis        : Adds support for the OggVorbis audio codec
Back to top
View user's profile Send private message
syn0ptik
Apprentice
Apprentice


Joined: 09 Jan 2013
Posts: 244

PostPosted: Sat Feb 16, 2013 6:46 am    Post subject: Reply with quote

2.0.2 version will work with ffmpeg and avi import, it says ffmpeg-compatible files.
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1492

PostPosted: Sat Feb 16, 2013 6:47 am    Post subject: Reply with quote

Well, then you will have to unmask the flag.
add media-sound/audacity -ffmpeg (no typo) to /etc/portage/profile/package.use.mask

As I pointed out before, you probably want to find out why its masked now.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 835
Location: /mnt/Gentoo/

PostPosted: Sat Feb 16, 2013 7:30 am    Post subject: Reply with quote

The Doctor wrote:
Well, then you will have to unmask the flag.
add media-sound/audacity -ffmpeg (no typo) to /etc/portage/profile/package.use.mask

As I pointed out before, you probably want to find out why its masked now.

I know there is no longer support for ffmpeg in Audacity 2.0.3, but 2.0.2 was working for me fine day ago...

Did not help either.
Code:
# more /etc/portage/package.use.mask
media-sound/audacity -ffmpeg


Code:
# equery u audacity
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-sound/audacity-2.0.2:
 U I
 + + alsa          : Adds support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
 + + flac          : Adds support for FLAC: Free Lossless Audio Codec
 - - id3tag        : Enables ID3 tagging with id3tag library
 - - jack          : Adds support for the JACK Audio Connection Kit
 - - ladspa        : Enables the ability to support ladspa plugins
 - - libsamplerate : Build with support for converting sample rates using libsamplerate
 - - midi          : Enables MIDI support
 + + mp3           : Add support for reading mp3 files
 - - sbsms         : Enables sbsms library support for pitch and tempo changing
 - - soundtouch    : Enables soundtouch library support for pitch and tempo changing
 - - twolame       : Enables twolame support (MPEG Audio Layer 2 encoder)
 - - vamp          : Enables vamp plugins support (Audio analysing plugins)
 + + vorbis        : Adds support for the OggVorbis audio codec


Code:
# emerge -pv audacity

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-sound/audacity-2.0.2  USE="alsa flac mp3 vorbis (-ffmpeg) -id3tag -jack -ladspa -libsamplerate -midi -sbsms -soundtouch -twolame -vamp" 0 kB
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1492

PostPosted: Sat Feb 16, 2013 7:52 am    Post subject: Reply with quote

maybe -ffmpeg in /etc/portage/make.profile/use.mask?

That should have worked...

you can check man portage for files and descriptions.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1492

PostPosted: Sat Feb 16, 2013 8:00 am    Post subject: Reply with quote

You might want to reconsider.

Quote:
#Alexis Ballier <aballier@gentoo.org> (15 Feb 2013)
# Needs a huge patch to build against recent releases of FFmpeg/libav.
# Mask it until upstream fixes it. Bug #417869
media-sound/audacity ffmpeg


You can try removing the line from /usr/portage/profiles/base/package.use.mask and that should work until you sync, but it probably will not build. bug 417869
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 835
Location: /mnt/Gentoo/

PostPosted: Sat Feb 16, 2013 8:09 pm    Post subject: Reply with quote

Many thanks for your time doc!

So decided to manage in different way and I am extracting audio in kdenlive now, and the audio into Audacity.
Back to top
View user's profile Send private message
BadAvocado
n00b
n00b


Joined: 22 Mar 2013
Posts: 5

PostPosted: Wed May 08, 2013 10:33 am    Post subject: Reply with quote

well this blows. How else can I extract foreign audio from avi's (for listening and learning on the ipod). I either need audacity to work with ffmpeg or another program. I don't use any KDE apps though, so those are not an option for me.
_________________
Thank you,
Brian aka Bad Avocado
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2404
Location: UK

PostPosted: Wed May 08, 2013 2:21 pm    Post subject: Reply with quote

So just use ffmpeg directly. It's not rocket science.
Back to top
View user's profile Send private message
BadAvocado
n00b
n00b


Joined: 22 Mar 2013
Posts: 5

PostPosted: Thu May 09, 2013 6:54 pm    Post subject: Reply with quote

Ant P. wrote:
So just use ffmpeg directly. It's not rocket science.


Well, I don't work for NASA, so it shouldn't be a problem. So please tell me how to use ffmpeg to cut, crop, trim, compress, and slow down the rate of the audio.
_________________
Thank you,
Brian aka Bad Avocado
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2404
Location: UK

PostPosted: Thu May 09, 2013 11:26 pm    Post subject: Reply with quote

Code:
ffmpeg -i file.mp4 -vn -acodec copy out.aac

And then you edit the audio in the audio editor. One program for one function each, the Unix way.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum