Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems converting Xvid to Mpeg or Mpg with ffmpeg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
SeanKann
n00b
n00b


Joined: 15 Mar 2005
Posts: 3

PostPosted: Fri Apr 01, 2005 10:37 pm    Post subject: Problems converting Xvid to Mpeg or Mpg with ffmpeg Reply with quote

I have read all the forums on this and also tried transcode..

It was my first attempt tryin' this

Just doing ffmpeg -i movie.avi I get this info

bash-2.05b$ ffmpeg -i b-blatria.avi
Input #0, avi, from 'b-blatria.avi':
Duration: 00:59:40.3, bitrate: 1639 kb/s
Stream #0.0: Video: mpeg4, 608x256, 23.98 fps
Stream #0.1: Audio: ac3, 48000 Hz, 5 channels, 448 kb/s
Must supply at least one output file

Only thing i want to do is take it from a avi and put it into mpeg so I can put it onto DVD format using DVD Styler. It only accepts Mpegs or MPG files not avi from what I have seen and tried

If I do ffmpeg -i movie.avi movie.mpeg I get this error

Error while opening codec for stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height

I have tried putting in the exact HxW nothing

I just want to change it to mpeg and keep the same settings.. I don't care if it's bigger in size.. Just want to make it into mpeg or mpg

Any help would be great.

Thanks in advance,
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Sat Apr 02, 2005 1:00 pm    Post subject: Reply with quote

try with this:

Code:
transcode -i file.avi -o file -m file.ac3 -y ffmpeg --export_prof dvd-pal --export_asr 3


--export_asr 3 : 16:9
--export_asr 2 : 4:3

Code:
mplex -f 8 -o file.mpg file.m2v file.ac3


then try playing: file.mpg
Back to top
View user's profile Send private message
lbrtuk
l33t
l33t


Joined: 08 May 2003
Posts: 910

PostPosted: Sat Apr 02, 2005 5:38 pm    Post subject: Reply with quote

You can't put ac3 into a .mpg file.

Try:

Code:
ffmpeg -i myvideo.avi -target dvd -acodec copy output.vob


I'm pretty sure your dvd program should support vobs.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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