NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 24 25 26 27 28 … 1231 Next »
Making MP4 Files From MPG Files Using MCEBuddy

 
  • 0 Vote(s) - 0 Average
Making MP4 Files From MPG Files Using MCEBuddy
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#1
2010-05-05, 07:10 AM
IF YOU TRY ANY OF THIS YOU DO SO AT YOUR OWN RISK! I WILL NOT BE RESPONSIBLE FOR LOST RECORDINGS, ETC...

I really like MCEBuddy. It is well-written and works pretty well for making MP4 files from MPG files on a dual core CPU, but it works really fast and well on a quad core CPU.

Now on my MP4 files, I like to use 160 bit rate for the AAC audio and 1000 average bit rate for video. My converted MPG files look GREAT and are a lot smaller in file size with almost unnoticeable loss of quality.

To set up MCEBuddy...

  1. Download MCEBuddy from http://www.mcebuddy.com/ and install it. There are both 32-bit and 64-bit versions.
  2. Go to "C:\Program Files\Tyrell\MCEBuddy\mplayer".
  3. Open "mencoder.conf" with Notepad.
  4. Add the code below to the top of "mencoder.conf" and re-save the file.
  5. Open MCEBuddy.
  6. Select "H.264 MP4 1000/160 TV (No Resize, 2 Pass)" from the drop-down list.
  7. Check the boxes in front of DELETE ORIGINAL (at your own risk and only if you no longer want the original MPG file), SORT BY SERIES, and SUB DIRECTORIES.
  8. Change FILE SELECTION to *.mpg and change the VIDEO PATHS SOURCE and DESTINATION to where GBPVR saves recordings to.
  9. Click START to start the MCEBuddy service.

Here is the code for "mencoder.conf"...

Code:
[H264MP42P-1-1]
profile-desc="H.264 MP4 1000/160 TV (No Resize, 2 Pass)"
vf=pullup,softskip,pp=fd,hqdn3d,harddup
lavdopts=threads=2
ovc=x264=yes
x264encopts=bitrate=1000:subq=6:frameref=6:qcomp=0.8:b_pyramid=yes:weight_b=yes:me=umh:partitions=p8x8,i4x4:bime=yes:brdo=yes:nodct_decimate=yes:trellis=1:direct_pred=auto:level_idc=30:nocabac=yes:threads=auto:pass=1
oac=faac=yes
faacopts=br=160:raw=yes:mpeg=4:tns=yes:object=2
of=lavf=yes
lavfopts=format=mp4
sws=9
#FileExtension=mp4
#Remux=yes
#Pass2=H264MP42P-2-1

[H264MP42P-2-1]
profile-desc="H.264 MP4 1000/160 TV (No Resize, 2 Pass)"
vf=pullup,softskip,pp=fd,hqdn3d,harddup
lavdopts=threads=2
ovc=x264=yes
x264encopts=bitrate=1000:subq=6:frameref=6:qcomp=0.8:b_pyramid=yes:weight_b=yes:me=umh:partitions=p8x8,i4x4:bime=yes:brdo=yes:nodct_decimate=yes:trellis=1:direct_pred=auto:level_idc=30:nocabac=yes:threads=auto:pass=2
oac=faac=yes
faacopts=br=160:raw=yes:mpeg=4:tns=yes:object=2
of=lavf=yes
lavfopts=format=mp4
sws=9
#FileExtension=mp4
#Remux=yes

ONE LAST NOTE

When I first started doing this, none of my MP4 files would play in GBPVR. I had to do a Windows reinstall anyway and after doing that and reinstalling GBPVR, all my latest recordings play fine in GBPVR.
pcostanza
Offline

Posting Freak

Posts: 3,778
Threads: 270
Joined: Oct 2004
#2
2010-05-05, 11:32 AM
I played with it during testing for almost 2 years and found it good but very slow. Haven't used it in over 6 months as VideoReDo has a new version with H.264 support that works very well.
On average, how long does the recode take for you? I understand this will depend on the system you have but I am curious if it's gotten faster as it's matured.


Paul


Custom ASUS Maximus X Hero, 16 GB Memory-ASUS GeForce 1050 Ti, H115i Pro AIO, 850W PS, CM H500P case, Corsair Vengeance RGB Ram, Samsung 970 EVO, HDHomerun Prime & Extend  Tuners- running Windows 10 (and other goodies)
hoborg
Offline

Posting Freak

Posts: 970
Threads: 46
Joined: Feb 2009
#3
2010-05-05, 12:01 PM (This post was last modified: 2010-05-05, 08:31 PM by hoborg.)
Stupid question, but what about deinterlacing?
[SIZE="1"]My projects:
SAF6 (Standalone Filters)
HOBRing - My easy Amiga emulation
My HTPC[/SIZE]
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#4
2010-05-05, 08:01 PM
pcostanza Wrote:I played with it during testing for almost 2 years and found it good but very slow. Haven't used it in over 6 months as VideoReDo has a new version with H.264 support that works very well.
On average, how long does the recode take for you? I understand this will depend on the system you have but I am curious if it's gotten faster as it's matured.

Earlier today on the Documentary Channel, I recorded a boxing match story called "The Last Round Chuvalo vs. Ali". I started the recording 1 minute early and gave it an extra minute past. The recording on GBPVR's HIGH setting came out as an MPG of 6.04 GB 2:31:59 at 29 fps. Recording started at 8:59 AM and ended at 11:31 AM. After the recording finished, MCEBuddy kicked in automatically and started converting it. I do 2-pass encoding with MCEBuddy. According to file properties, the MP4 video started to be created at 12:50 PM which would have been the end of the first pass and was finished at 2:07 PM with a resulting file size of 1.23 GB!!!

My system uses 4 GB of DDR3 RAM and an AMD Phenom II 3.0 GHz quad core CPU. I was browsing the Internet and checking e-mail while it was doing the encoding.
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#5
2010-05-05, 08:02 PM
hoborg Wrote:Stupid question, but what about deinterlacig?

Not a stupid question at all. I cannot fully explain it, but the code in my first post here does it. There are no lines or anything in the resulting MP4 files.
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#6
2010-05-06, 01:16 AM
I just recorded a 1 hour episode of "MythBusters" with an extra minute before and after. It started at 5:59 PM and ended at 7:01 PM. The original 1:01:59 MPG video was 2.46 GBs using the HIGH setting in GBPVR. MCEBuddy started up automatically about 2 minutes or so after the recording finished so I will say sometime during 7:03 PM. First pass ended and second pass started during 7:35 PM. The second pass ended and MP4 remuxing started early in 8:07 PM. Remuxing ended almost at the end of 8:07 PM. So about 1:05 from start to finish. The resulting MP4 video is 516 MBs without any noticeable loss of quality.
pcostanza
Offline

Posting Freak

Posts: 3,778
Threads: 270
Joined: Oct 2004
#7
2010-05-06, 03:40 AM
I took a 1 hour tv recording, cut out the commercials and got it down to 42 minutes and used the profile in post one and started at 7:28 and it completed at 9:35. In my humble opinion, that's too long. The quality wasn't bad especially since It went from over 1.6 GB down to 335 MB. However, Handbrake is faster and does as good a job. VideoReDo is not as fast as Handbrake but faster than MCEBuddy but isn't free.
Finally, AVIVO (ATI's program) takes advantage of STREAM and is super fast. You don't have as many choices and the low bitrate quality is not as good but if you don't mind file sizes a bit larger, it's pretty good too.
Even thought MCEBuddy didn't seem to zap my system of resources, if I used it, I'd let it run overnight. I do appreciate you sharing your h.264 profile....it's very good.
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#8
2010-05-06, 03:52 AM
Yeah it took a lot of time to get that code just right. The thing I like about MCEBuddy is that it runs as a service and monitors the recordings folder for new MPG files and starts converting them when it finds new files without the user needing to do anything. I run it while I am in bed and at work.

EDIT: OH! Don't forget my code uses 2-pass encoding. I think this is essential to get the video quality the code above gets.
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#9
2010-05-06, 03:51 PM
Looks like it is just a shell around mencoder and ffmpeg and the included versions are from 2007 - so you might get a speedup replacing those with newer versions. The functionality seems cool.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  0 sized files pjm460 4 2,089 2010-12-17, 05:15 PM
Last Post: sub
  Zero-size recording files rawlings471 1 1,689 2010-12-05, 04:12 PM
Last Post: sub
  original files not deleting David B 2 1,773 2010-11-28, 07:22 PM
Last Post: David B
  Attempts to play .dvd files in Video Library results in PVRX2 not responding Jwbrit 2 2,076 2010-11-04, 11:37 PM
Last Post: Jwbrit
  Missing Crossbar Files? David B 8 3,162 2010-11-02, 01:12 AM
Last Post: David B
  FLV files as recordings keith_leitch 10 3,961 2010-09-22, 09:12 PM
Last Post: keith_leitch
  Unable to process .ts files for recording on DVD Trevor_de_S 1 1,562 2010-08-18, 10:50 PM
Last Post: sub
  Auto Converting TS Files To MPEG2 Not Working skycyclepilot 2 2,010 2010-07-06, 10:35 AM
Last Post: skycyclepilot
  GBPVR log files zonko 10 3,610 2010-07-03, 04:31 PM
Last Post: sub
  1.4.7 and Hauppauge 250 getting 0Kb files hi218 0 1,240 2010-06-15, 05:57 PM
Last Post: hi218

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

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

Linear Mode
Threaded Mode