My Burner - now with Video DVD burning :) (2 Viewers)

Noelix

Portal Pro
February 18, 2006
393
1
Salt Lake City, UT
Home Country
United States of America United States of America
I cant get that movie snippet you sent me to fail :(
bummer.
Can you try the following for me? Download the latest version of MPlayer from http://www1.mplayerhq.hu/MPlayer/releases/win32/MPlayer-mingw32-1.0rc1.zip
Unzip and open a command window and CD to this dir. Now enter the following command

mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 -o MooCow.mpg InputFile.mpg

where InputFile.mpg is your file you want to burn (e.g. your Heroes (10_30_2006).mpg file)
This will convert the mpg file into a DVD compatible MPG file (puts extra packets in the right places)
Ok this is the code I am inputting:

mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=98 00:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192 :aspect=16/9 -ofps 25 -o MooCow.mpg Heroes_(10_30_2006).mpg

(I added that underscore to the filename b/c of DOS language)

Now I copy paste this into the command prompt window and mencoder is giving me an error, I think it's a syntax error in the long string above:

G:\mplayer>mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=
720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:
vrc_buf_size=1835:vrc_maxrate=98 00:vbitrate=5000:keyint=15:acodec=ac3:abitrate=
192 :aspect=16/9 -ofps 25 -o MooCow.mpg Heroes_(10_30_2006).mpg
MEncoder 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 2200+ (Family: 6, Model: 10, Stepping: 0)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.
File not found: '00:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192'
Failed to open 00:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192.
Cannot open file/device.

Are you getting this error when you use the same string or...?
 

egonspengleruk

Retired Team Member
  • Premium Supporter
  • June 30, 2005
    250
    0
    bummer.
    Ok this is the code I am inputting:

    mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=98 00:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192 :aspect=16/9 -ofps 25 -o MooCow.mpg Heroes_(10_30_2006).mpg


    Ah....you have a space in part of your syntax between abitrate=192 and :aspect=16/9 in the fourth line.


    mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 -o MooCow.mpg Heroes_(10_30_2006).mpg

    Try the above :)
     

    egonspengleruk

    Retired Team Member
  • Premium Supporter
  • June 30, 2005
    250
    0
    I'll test it out and get back to you. Regarding send a piece of the .mpg file, it is over 1 GB in size. I don't know how I could just send a small piece of the file to you.

    Dont worry about a file snippet....if the mencoder test works then I will change the DVD conversion code over to use this instead of the several different steps we use now.

    Egon
     

    mzemina

    Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,065
    14
    Tulsa, OK
    Home Country
    United States of America United States of America
    I'll test it out and get back to you. Regarding send a piece of the .mpg file, it is over 1 GB in size. I don't know how I could just send a small piece of the file to you.

    Dont worry about a file snippet....if the mencoder test works then I will change the DVD conversion code over to use this instead of the several different steps we use now.

    Egon

    htpcMe - Can't you place this file onto a web based system? Search on google for free video share - I think there are some out there.
     

    Noelix

    Portal Pro
    February 18, 2006
    393
    1
    Salt Lake City, UT
    Home Country
    United States of America United States of America
    Try the above :)

    Code:
    mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 -o MooCow.mpg Heroes_(10_30_2006).mpg

    Above is what I inputted - I think vBulletin adds some spaces so that's what got it messed up. It's running right now on that big heroes file. I'll be back later today to perform the rest of the steps.
     

    Noelix

    Portal Pro
    February 18, 2006
    393
    1
    Salt Lake City, UT
    Home Country
    United States of America United States of America
    inputting this:
    Code:
    dvdauthor -o G:\temp\dvd\DVD_Image -x G:\temp\dvd\config.xml
    I get this feedback from the program:
    http://pastebin.team-mediaportal.com/11218
    (it completed successfully)
    mkisofs -V "MyDVD" -o c:\temp\dvd\dvd.iso -dvd-video c:\temp\dvd\dvd_image
    (turns the DVD filesystem into an ISO)
    Ran this and it produced dvd.iso.
    And now burn the ISO with whatever ISO tool you use...e.g. Nero.
    Burning using ImgBurn (freeware)...failed... I/O error... The dvd writer on this machine is a bit old so I'm transferring it over to my work computer to burn. It's kind of late where I'm at so I'll pick this up tomorrow. So far so good though, the final test is to burn it and I have confidence in my non-pvr computer.
     

    htpcMe

    Portal Member
    March 1, 2006
    28
    0
    Home Country
    Germany Germany
    htpcMe,

    Can you try the above as well but change the mencoder parameters from InputFile.mpg to InputFile.avi
    This will then convert the AVI file using mencoder instead of the current system.

    Do you find this faster/slower on your system?

    Mat

    Sorry it took so long to get back to you. I generally tend to lose the battle between my wife wanting to watch TV and me wanting to test things on the htpc. :)

    Test 1: dvr-ms
    I converted a tv-show I recorded into a mpg file using the compress function in mytv. Afterwards I followed your directions and created a dvd.iso file. I mounted this using daemon tools and it worked perfectly.

    Test 2: avi
    I followed your directions for an avi file and it worked as well.

    Thanks a lot. I'm looking forward to the new version of the plug-in!
     

    egonspengleruk

    Retired Team Member
  • Premium Supporter
  • June 30, 2005
    250
    0
    Noelix and htpcMe,

    Cheers for helping out on this one :)
    Im confident now that switching over to mencoder should fix most conversion errors that have been reported. As I have said before, the current code works perfectly for me which makes debuggng stuff a bit hard. So thanks for all your efforts!

    Will try and get this coded over the next week and hopefully get a new release out then.

    Egon
     

    Noelix

    Portal Pro
    February 18, 2006
    393
    1
    Salt Lake City, UT
    Home Country
    United States of America United States of America
    Burned it and it works like a charm! mencoder is definitely the way to go on this. Looking forward to the next release!
     

    Users who are viewing this thread

    Top Bottom