LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

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

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

Rep: Reputation: 63
Hi,

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
stearic
Member
 
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
 
  


Reply


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


All times are GMT -5. The time now is 03:28 AM.

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