Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-03-2006, 11:17 AM   #1
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Rep: Reputation: 30
How can I convert video files into mp4


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.

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
  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
Old 03-03-2006, 12:13 PM   #2
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,402
Blog Entries: 1

Rep: Reputation: 64

A friend of mine told me he uses transcode for this kind of job.

I hope this can help you,
Old 03-11-2006, 06:40 AM   #3
Registered: Jan 2001
Distribution: Slackware 12.1
Posts: 32

Rep: Reputation: 15
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert video files to mpeg1/2video Haiyadragon Linux - General 4 04-03-2007 08:42 AM
HOWTO: Convert MPEG2 into MP4 cato4liberty Linux - Software 2 02-06-2006 12:09 PM
Batch convert video files KimVette Linux - General 1 08-02-2005 09:13 PM
Encoding MP4 Video SolidSnakeX28 Linux - Software 1 07-31-2005 10:15 AM
xine plays only (a part of) the sound of a wmv, some divx files and crushes mp4 files bezoomny Linux - Software 1 03-10-2004 07:33 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration