Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I am doing a conversion of mp4 to flv on a GUI less server where I have only SSH access.( I tried winff and X forwarding that had hanged while doing this conversion so winff is not possible for me)
I do not have any idea of the
codecs,bitrate of this mp4 video.
Some one had converted from an m4v to mp4 and then uploaded this on the server.
When I tried converting on command line
as follows
I have above error.
I checked this page http://www.ffmpeg.org/ffmpeg-doc.html
but I could not understand much.
Can some one help to figure out what should I be doing to get this video to flv in this case?
The OS is Ubuntu 10.04 64 bit server edition and
aptitude install winff
was what I had used to get ffmpeg or any thing else.
What you need to know is in the last two lines of the output.
Code:
[adpcm_swf @ 0xa4ef60]Sample rate must be 11025, 22050 or 44100
Error while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
The sample rate of the input file audio, 32000Hz, is not an accepted value for swf audio. You need to resample it. Try adding -ar 44100, or one of the other values listed, to the command.
Your version of ffmpeg doesn't have liblame support enabled. If it were, there'd be an entry saying --enable-libmp3lame in the configuration line. I'm going to guess you're using your distro's default version, which won't have anything included that's encumbered by patents or other intellectual property restrictions.
You can get a fully-enabled version for Debian from the debian-multimedia repositories, and from Medibuntu for the Ubuntu family. I'm not sure about other distros.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.