INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Login:   Username:  Password:   Log me on automatically    
Register I forgot my password I forgot my username Resend the activation key

Using ffmpeg to convert a avi to mpeg?

Forum Index -> Video -> Linux Printer-friendly version
Reply to topic
Author Message
sk545
Member


Joined: 06 Mar 2003

Post Posted: Mar 16, 2004 12:25 Posts View users profile Send private message Reply with quote

How exactly do i do this? I have the cvs versions of both mplayer and ffmpeg installed, but its almost next to impossible to find a tutorial on using ffmpeg. I tried this:

Code:
$ ffmpeg -i rome.avi -f mpeg rome.mpeg
Input #0, avi, from 'rome.avi':
  Duration: 00:01:16.4, bitrate: 5155 kb/s
  Stream #0.0: Video: cinepak, 400x300, 25.00 fps
  Stream #0.1: Audio: adpcm_ms, 44100 Hz, stereo, 354 kb/s
Output #0, mpeg, to 'rome.mpeg':
  Stream #0.0: Video: mpeg1video, 400x300, 25.00 fps, q=2-31, 200 kb/s
  Stream #0.1: Audio: mp2, 44100 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
Segmentation fault


Didn't work, am i even doing it right?

Thanks.


amok13
Member


Joined: 31 Dec 2003

Post Posted: Mar 21, 2004 18:38 Posts View users profile Send private message Reply with quote

Try this:

Code:
ffmpeg -i file.avi -y -f vcd -vcodec mpeg1video -map 0.0:0.0 -b 1150 -s 352x240 -r 29.97 -g 12 -qmin 3 -qmax 13 -hq -acodec mp2 -ab 224 -ar 44100 -ac 2 -map 0.1:0.1 movie.mpg


I'don't know if it's what are you looking for, but I use this to convert avi to vcd (mpg)...


sk545
Member


Joined: 06 Mar 2003

Post Posted: Jun 11, 2004 22:22 Posts View users profile Send private message Reply with quote

thx, actually that works pretty well..the lip-sync is off by milliseconds, but nothing unwatchable.

Oh, and what are is the command line syntax if you wanted to make a svcd with ffmpeg instead?


Reply to topic All times are GMT - 6 Hours
Forum Index -> Video -> Linux Page 1 of 1





You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Jump to:  
Display:   
Slysofts AnyDVD HD removes DVD and Blu-ray encryption and region coding. More info or download trial!
About   Advertise   Forum Archive   RSS Feeds   Statistics