Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
03-03-2006, 11:17 AM
|
#1
|
Member
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319
Rep:
|
How can I convert video files into mp4
Hello,
Could someone please help me converting some wmv files into mp4 format. I tried some ffmpeg and mencoder commands that I found in this forum but they gave me some errors.
Code:
basel@linux:~/temp/gsv> ffmpeg -i gensosuikosiden_web.wmv -f psp -r 14.985 -s 320x240 -b 768 -ar 24000 -ab 32 M4V00001.MP4
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
configuration:
libavutil version: 49.0.0
libavcodec version: 51.7.0
libavformat version: 50.3.0
built on Mar 3 2006 16:55:50, gcc: 4.0.2 20050901 (prerelease) (SUSE Linux)
Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 30.00 (30/1)
Input #0, asf, from 'gensosuikosiden_web.wmv':
Duration: 00:09:37.9, start: 5.000000, bitrate: 344 kb/s
Stream #0.0: Audio: wmav2, 44100 Hz, stereo, 48 kb/s
Stream #0.1, 30.00 fps(r): Video: wmv2, yuv420p, 320x240
Output #0, psp, to 'M4V00001.MP4':
Stream #0.0, 14.99 fps(c): Video: mpeg4, yuv420p, 320x240, q=2-31, 768 kb/s
Stream #0.1: Audio: 0x0000, 24000 Hz, stereo, 32 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
[mpeg4 @ 0x80bc90]removing common factors from framerate
Unsupported codec for output stream #0.1
|
|
|
03-03-2006, 12:13 PM
|
#2
|
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,508
Rep:
|
Hi,
A friend of mine told me he uses transcode for this kind of job.
I hope this can help you,
|
|
|
03-11-2006, 06:40 AM
|
#3
|
Member
Registered: Jan 2001
Distribution: Slackware 12.1
Posts: 32
Rep:
|
You might try this command, i found it on some random site. I have personally tried it and i know it works. I think the problem your having is with the frame rate. it has to be just right to work with the psp.
ffmpeg -i Video.avi -f psp -r 29.970030 -b 768 -ar 24000 -ab 64 -s 320x240 M4V00001.MP4
|
|
|
All times are GMT -5. The time now is 01:02 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|