LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-22-2005, 04:25 AM   #1
Knowledgements
Member
 
Registered: Jul 2005
Posts: 56

Rep: Reputation: 15
change wmv to mpg


hello ,

how can i change my wmv files to mpg files

becouse i want to play them on vcd player


help me please
 
Old 07-22-2005, 05:23 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
I hope you don't get this as a offense, but once a good friend of mine teached me that the best way to learn (and he is right) is to do some research yourself, at least until you get stuck.

So my only help will be: http://www.google.com.ar/search?q=li...es-AR:official

Edit: This produced better results: http://www.google.com.ar/search?hs=0...BAsqueda&meta=
A little difference on a search engine can vary the results, the better details you provide, the better results you'll get.

And to help you a little, MPG = MPEG.

Last edited by gbonvehi; 07-22-2005 at 05:51 AM.
 
Old 07-22-2005, 06:53 AM   #3
Knowledgements
Member
 
Registered: Jul 2005
Posts: 56

Original Poster
Rep: Reputation: 15
i've found that but they are for windows series
not for linux ???
 
Old 07-22-2005, 06:58 AM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
I don't get it... the 7th result on the second link I gave you has a very well explained guide (it's written by people from Gentoo, but remember that Linux shares 99% of it's software between distributions). Read it carefully, it says how to do it there, i've read it.
Also, the first result of the second link too, takes you to a forum where the latest answer links you to http://www.transcoding.org/cgi-bin/transcode .

Last edited by gbonvehi; 07-22-2005 at 07:02 AM.
 
Old 07-22-2005, 07:27 AM   #5
Knowledgements
Member
 
Registered: Jul 2005
Posts: 56

Original Poster
Rep: Reputation: 15
it says

root@mortalhate:~/Desktop/maverick/sahan/asd# mencoder sahan-budunyadonmez-www.turkmizah.net.wmv -o sahan-budunyadonmez-www.turkmizah.net.mpg -ovc lavc -oac mp3lame -of mpegsa
MEncoder 1.0pre6-3.3.4 (C) 2000-2004 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
SSE2 supported but disabled
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

File not found: 'frameno.avi'
Failed to open frameno.avi
Option of: Unknown suboption mpegsa

Exiting... (error parsing cmdline)
root@mortalhate:~/Desktop/maverick/sahan/asd#
 
Old 07-22-2005, 07:30 AM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Should be: -of mpeg and not -of mpegsa

Something like:
Code:
mencoder sahan-budunyadonmez-www.turkmizah.net.wmv -o sahan-budunyadonmez-www.turkmizah.net.mpg -ovc lavc -oac mp3lame -of mpeg
PS: Thanks for trying it, I hope you can see that you can start finding out things by yourself.

Last edited by gbonvehi; 07-22-2005 at 07:32 AM.
 
Old 07-22-2005, 08:00 AM   #7
Knowledgements
Member
 
Registered: Jul 2005
Posts: 56

Original Poster
Rep: Reputation: 15
says a lot of
Unknown block type, possibly non-MPEG stream!

and no sound and graphic!.
 
Old 07-22-2005, 08:24 AM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
In the guide it says that lavc codec is part of ffmpeg, you may want to try installing it. You can get it from: http://www.linuxpackages.net/pkg_details.php?id=6529

And/or also some frontends for mencoder that can help you setup all the necessary switches to make a VCD:
http://www.kraus.tk/projects/konverter/
http://encode2mpeg.sourceforge.net/encode2mpeg.html
 
Old 07-22-2005, 09:32 AM   #9
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
You can use ffmpeg
Code:
ffmpeg -i source.wmv transcoded.mpeg
ffmpeg is not included in Slackware. You can download the source from http://ffmpeg.sourceforge.net

It is easy to compile.

Or download one of this packages from linuxpackages.net
 
Old 08-27-2005, 05:38 PM   #10
rocksniffer
Member
 
Registered: Apr 2005
Location: Houston
Distribution: mandrake
Posts: 79

Rep: Reputation: 15
The above command didn't work for me at all on a .wmv I created in microsoft movie maker. It had a problem with a 5/1 fps conversion or something like that.

I had better success using: mencoder movie.wmv -o movie.avi -ovc lavc -oac mp3lame though that resulted in a video of much poorer video quality.

I'm still looking.

rock
 
Old 08-27-2005, 06:06 PM   #11
objorkum
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware 10.0
Posts: 231

Rep: Reputation: 30
Tovid is great:

http://tovid.sourceforge.net/

Then use f.ex K3b to burn the VCD.
 
Old 08-27-2005, 11:17 PM   #12
rocksniffer
Member
 
Registered: Apr 2005
Location: Houston
Distribution: mandrake
Posts: 79

Rep: Reputation: 15
Thanks objorkum. I use tovid a lot. That's where I started. Tovid produced a mpg where when played the video raced by in the first 20% of the clip while the sound play normally, if I'm able to explain well enough. In the ffmpeg command offered above I get the following results:

ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard
built on Dec 10 2004 17:35:43, gcc: 3.4.3 (Mandrakelinux 10.2 3.4.3-1mdk)
Input #0, asf, from 'Wakebrd_movie.wmv':
Duration: 00:00:55.6, bitrate: 843 kb/s
Stream #0.0: Audio: wmav2, 44100 Hz, stereo, 128 kb/s
Stream #0.1: Video: WMV3, 720x480, 1.00 fps
Output #0, mpeg, to 'Wakebrd_movie_clip.mpeg':
Stream #0.0: Video: mpeg1video, 720x480, 5.00 fps, q=2-31, 200 kb/s
Stream #0.1: Audio: mp2, 44100 Hz, stereo, 64 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
[mpeg1video @ 0xb7f22128]MPEG1/2 doesnt support 5/1 fps
I believe the key is in the last line. Tovid uses ffmeg. When I use tovid it gives me a mpeg but the video is 5 times faster than the sound.

rock
 
Old 09-27-2005, 06:51 AM   #13
munkie_poo
Member
 
Registered: Apr 2004
Location: Newcastle, UK
Distribution: Slackware 10.2
Posts: 134

Rep: Reputation: 15
Ive also been having problems with wmv and framrate problems, I think Ive ovecome this problem using tovid with the (-fps "25:1") switch for pal. Im using tovid 0.22 and the output is pretty fine.
Code:
 tovid -pal -svcd -fps "25:1" -in infile.wmv -out outfile
 
  


Reply



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 .wmv to .avi or .mpg PeaceTank Linux - Software 9 08-16-2009 03:57 AM
cannot play .avi .wmv, mpg files WRXHokie Linux - Software 22 12-05-2005 08:57 PM
mpg player dsfreak Linux - Newbie 2 07-27-2005 10:51 PM
WMV to MPG conversion abattoir Linux - Software 3 05-10-2005 11:35 PM
RealPlayer wont open mpg or avi or wmv files madmax04 Linux - Newbie 2 09-28-2004 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:15 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration