SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ffmpeg-0.11.x works fine here: as 414N told you, the syntax has changed (also in 1.0), acodec is deprecated in favour of c:a (or codec:a), but there are lot of other changes (that make every maintainer of something that uses it very happy -not ).
be aware that if you upgrade to 1.0, most of the things available on slackbuilds.org depending on it won't build/run.
ffmpeg-0.11.x works fine here: as 414N told you, the syntax has changed (also in 1.0), acodec is deprecated in favour of c:a (or codec:a), but there are lot of other changes (that make every maintainer of something that uses it very happy -not ).
be aware that if you upgrade to 1.0, most of the things available on slackbuilds.org depending on it won't build/run.
I upgraded to it, and so far there are no problems. Also, on 1.0 the acodec command still works fine, though it didnt work at all in 0.11! I use music-on-console to play mp3s, and it has no problems, so basically I am happy with 1.0. I am just an end-user and am not sure even how to really find or decipher changelogs to know that acodec was deprecated. I mean, I can find the changelog and locate the part where it says acodec is deprecated, but its in version version 0.9 that it was deprecated.
So in place of "some-regex-character", is there a character that would retain the name of the flv file that is automatically called from the wildcard character: * ? So I might run this command, it takes any flv file in the directory and turns it into an mp3 with the actual name of the random flv file that the wildcard chose? I dont really imagine so, but just curious!
Apparently there was a problem with ffmpeg 0.10 which was also mentioned in the dev forums there. Without the vn option it always tried to convert the videostream too which caused a lot of cpu power.
So in place of "some-regex-character", is there a character that would retain the name of the flv file that is automatically called from the wildcard character: * ? So I might run this command, it takes any flv file in the directory and turns it into an mp3 with the actual name of the random flv file that the wildcard chose? I dont really imagine so, but just curious!
that might be something like
Code:
for file in *.flv ; do echo $file ${file%.flv}.mp3 ; done
I do something similar in my m4a2ogg script, which additionally preserves metadata like artist, genre etc.
Last edited by Martinus2u; 12-04-2012 at 03:05 PM.
Reason: typo
This script ceased to work after working good for some months. I am not sure why it no longer works. It merely stopped one day. I tried updating my system afterwards but it failed to fix it.
I just looked at the changelog for FFmpeg and didnt see anything strange. I thought maybe "-c:a copy" was now deprecated. Before it was "-acodec copy" deprecated.
Just try the same ffmpeg options on an flv file manually: you should see if there's any issue.
That doesnt work either, but I did find something out. It says FFMPEG is deprecated itself now! So I was right about something being deprecated. Supposedly it is being replaced with AVCONF, another program. I dont know why they are calling it Ubuntu Video Converter though. I dont think FFMPEG or AVCONF is Ubuntu specific.
That doesnt work either, but I did find something out. It says FFMPEG is deprecated itself now! So I was right about something being deprecated. Supposedly it is being replaced with AVCONF, another program.
You have seen a rather malicious message put in place by the avconv developers...
avconv is an ffmpeg fork started because of diverging opinions between ffmpeg developers.
Your distro has probably replaced the "pure" ffmpeg package with the avconv one, which provides an ffmpeg executable too (running avconv under the hood, if I'm not mistaken).
This, however, is not a valid reason for the conversion not happening. What is the error printed out by your ffmpeg/avconv?
avconv is an ffmpeg fork started because of diverging opinions between ffmpeg developers.
Your distro has probably replaced the "pure" ffmpeg package with the avconv one, which provides an ffmpeg executable too (running avconv under the hood, if I'm not mistaken).
This, however, is not a valid reason for the conversion not happening. What is the error printed out by your ffmpeg/avconv?
"-c:a copy" no longer seems to work as an option. The exact error is:
"Could not write header for output file #0 (incorrect codec parameters ?)"
I have not changed anything in the way I used it, and it worked before. Another error it now shows is:
"Invalid audio stream. Exactly one MP3 audio stream is required".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.