NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 … 150 151 152 153 154 … 159 Next »
Recipe to convert mpg to xvid?

 
  • 0 Vote(s) - 0 Average
Recipe to convert mpg to xvid?
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#11
2005-05-29, 04:42 PM
My c:\temp directory is normally empty.
When I start pocket_encoder it unpacks a whole bunch of files in c:\temp
When you select an input file and hit the preview button a file called temp.sh is generated.
The second line of the file contains the command that is used to run mencoder
So you can experiment with pocket_encoder till you have something you like and then copy the second line from temp.sh to get the mencoder command line parameters.
Once you quit pocket_encode all the files it created in the c:\temp directory are deleted!!!!
This second line you then put into a .bat file (e.g. postprocessing.bat) to have it run automatically.
The two files you need from the c:\temp directory are mencoder.exe and xvidcore.dll. Copy them to the gbpvr home directory and modify the second line from the temp.sh you copy into postprocessing.bat like this.
Example as generated with PC output and the advanced setting High Quality option disabled.
Original line
./mencoder.exe "C:\Temp\x\t.mpg" -oac mp3lame -lameopts mode=2:cbr:br=96 -ss 387 -endpos 10 -vf scale=512:384,eq2=1.0:1.0:0.03:1.0 -sws 2 -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=640 -ffourcc DX50 -o "C:\Temp\x\t_PC.avi" >> 1.txt 2>> 2.txt
Changed line to be included in postprocessing.bat
mencoder.exe "%1" -oac mp3lame -lameopts mode=2:cbr:br=96 -vf scale=512:384,eq2=1.0:1.0:0.03:1.0 -sws 2 -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=640 -ffourcc DX50 -o "%~dpf1.avi"

You may have to change the ffourcc setting from DX50 to DIVX to be able to use your mediaplayer. Some experimenting helps.
I have not tested this in my postprocessing.bat but used it as standalone
If you have problems using it, send me an email with your postprocessing.bat
Good luck!
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
rgann
Offline

Junior Member

Posts: 49
Threads: 10
Joined: May 2005
#12
2005-05-31, 06:04 AM
I tested both AutoGordianKnot and PocketDivxRecorder, as suggested.

AutoGK is a pretty nice program. It automatically runs a double pass xvid recording, and the output results are quite acceptable with minimum of blockiness. One can simply set a desired output size, and the program runs a compressibility test to optimize parameters. The aspect ratio is always maintained, so that video is never stretched out. Unfortunately, the author has chosen to make the audio vbr mp3 by default (so that virtualdub will have trouble with it), but this can be changed.

Pocketdivxrecorder might work for some, but for me it was rather weird. First, the automatically selected output for my 704x480 input mpg (from medium quality gbpvr recording) was 640x436. That ratio is certainly close to 704x480, but the output video is noticibly stretched horizontally. The encoding is very fast (easily 1/10th of autogk) but is fairly blocky for the same output size. Also, the program seems only to support divx (correct me if I'm wrong) which is philosophically a bit icky to me (not open source).

Although some may have usage suggestions that obviate my troubles with Pocketdivxrecorder (and I'd love to hear them), it seems like AutoGK is the better choice.
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#13
2005-05-31, 12:39 PM
rgann Wrote:Also, the program seems only to support divx (correct me if I'm wrong) which is philosophically a bit icky to me (not open source).

I think you'll find an XVid option on the Advanced properties page.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  convert ts but keep subtitles? jam_zhou 2 2,618 2012-01-29, 03:31 AM
Last Post: mvallevand
  Advice sought on a utility to convert MKV videos to Mp4 ReggiePerrin 6 2,652 2010-12-06, 10:44 PM
Last Post: ReggiePerrin
  How to convert any video to MP4 format wmaximam 1 1,839 2010-03-19, 04:14 AM
Last Post: wmaximam
  Convert mpeg2 ts to xvid or mkv SLR_65 5 2,453 2010-02-11, 07:03 AM
Last Post: SLR_65
  Recent MediaPortal convert with a question cephaswiebe 6 3,581 2009-12-29, 01:44 AM
Last Post: ElihuRozen
  The Rube Goldberg conversion to Xvid divinehammer 3 2,296 2008-09-05, 03:01 PM
Last Post: divinehammer
  AutoGK, Divx/Xvid DVD ripper, have you heard of it? mkenyon2 12 5,856 2008-05-02, 07:35 AM
Last Post: pz1
  Converting mpeg to xvid Clanky 5 2,521 2008-01-28, 02:12 AM
Last Post: Uisge
  Convert avi with two audio tracks 4zm4r3d02 2 1,989 2007-02-24, 07:31 PM
Last Post: 4zm4r3d02
  Converting HD to XVid - looking for suggestions wtg 5 2,212 2007-01-30, 03:39 PM
Last Post: nitrogen_widget

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode