NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 52 53 54 55 56 Next »
DVD Burning!

 
  • 0 Vote(s) - 0 Average
DVD Burning!
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#1
2005-01-18, 04:15 AM
build: #1.2.1844.30494

ive added dvd burning to "my videos".  works best with mpeg2 files recorded in gbpvr, but should work for any files as long as they are converted in the "convert.bat" file.

configuration (needs a lot)
first you need to download a few programs.
dvddecrytper - http://www.dvddecrypter (you all should have this by now).
dvdauthor - dvdauthor.sourceforge.net (download the latest windows binaries).
PVAStrumento - used to demux the file, http://www.offeryn.de/dv.htm#pvash
mkisofs - used to create an iso from the directory created by dvdauthor (http://smithii.com/)

once you got all those installed you'll have to edit the convert.bat dvdburn.bat which are included in the zip and placed in the gbpvr root directory.  edit these to suit your system.

convert.bat arguments
%1 - the new file to be created which will be like %tempdir%\temp.0.mpg
%2 - the mpv file created (used with PVAStrumento)
%3 - the mpa file created
%4 - the original video file (incase your not using PVAStrumento)

dvdburn.bat arguments
%1 - the dvd directory created ie %tempdir%\dvd
%2 - the dvd volume name eg "Sliders"

once you have all this set up, your ready to begin, well you have to configure my videos as well (really only to point to the dvdauthor.exe file).

if you have any questions (expecting a lot here) just ask, my instructions probably could be clearer, but hey im a programming what you expect Tongue.

note: if a comskip file exists for the video file, it will use this to generate chapters, otherwise each title will only have one chapter (im planning on fixing this later, when i able to read the duration of the video file, and just auto generate a chapter at a given interval, eg every five minutes). if anyone knows of a program that can scan a video file and detect scene changes from the command line let me know, comskip can do this if you adjust the settings, but rather not comskip for this. otherwise ill have to wait for sub to add chapters to gbpvr (which would be the best solution).



sleptoor
Offline

Member

Posts: 51
Threads: 13
Joined: Dec 2004
#2
2005-01-18, 05:48 PM
Reven, I know its PC speed dependant but how long does the process take from start to finish with a 2gig (1 hour) file?
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#3
2005-01-18, 09:10 PM
on my machine it takes about 30mins to burn an entire 4.7gb dvd.  if yo demux the files once a day (ie in the postupdateepg.bat file) it takes about 15mins.

ive started to demux all of the my files and they are all fine, so theres no problem of stuffing them up (well there could be, but i havent run into this, i suggest you do some tests for your self, but it should be fine) it will also cut the file size down a bit (like 50-100megs, not much but hey).  i dont suggest you demux them after each recording however, since this will cause problems  if your watching it whilst its recording.


oh and the thing is, the cpu doesnt really factor into it (the program only are using about 5% of the cpu on my machine, my cpu), the may thing is the hdd, make sure its defraged. i defrag mine once a day with a little batch, only takes 10mins a day, helps speed up the rest of gbpvr aswell.



aitanit
Offline

Junior Member

Posts: 3
Threads: 0
Joined: Jan 2005
#4
2005-01-19, 03:51 PM
reven,

Will this work for my divx video files? Thank you.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#5
2005-01-19, 10:11 PM
you'll have to convert them in the convert.bat file, but whats the point? would take hours.
smeghead
Offline

Senior Member

Posts: 300
Threads: 23
Joined: Jan 2005
#6
2005-01-19, 10:46 PM
Hi Reven

What about like this:

http://gbpvr.com/cgi-bin....w;st=10
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#7
2005-01-19, 11:35 PM
what? using diko?

i pass 4 things to the convert.bat file
%1 the output mpeg2 file (ie temppath\temp.n.mpg, n is the nth file).
%2 the mpv file, the file that the mpeg2 file will be split into, ie just the video
%3 the mpa file, the audio
%4 the original file name.

the convert.bat file is responsible for making the %1 file.  %2 and %3 are only important if you are using PVAStrumento since i have to create a demux.ajb file for this to work.
so i leave this up to the user, if they want to using something like
diko.exe -i %4 (the original file) -o %1 (the required mpeg2 file)
they can, the command lines i just made up, but i hope you get the idea.
the conversion is not hardcoded. all that is required is a vaild mpeg2 file.  it will then create a dvd directory from these files (this part is hardcoded),and the burning is also not hardcoded.

by not hardcoding these things, its possible to burn any types of files. however my progress bar just uses the file size to determine the percent full, this bar is just  a display to the user, i leave it up to them if they wish to burn say 4545% full. so if your burning avi files, you should be aware that 30% full would more likely be 100% full.

ive only included batchs for mpeg2 burning, since well thats all i use. anyone comes up with others, or another way to burn a dvd without dvddecrypter (i cant control the GUI for that, which steal the display, since the mkisofs is run prior it, so no sleep timer then regain focus will work).

so once again, the only thing required from the convert.bat is the %1 file.  i did it this way so people could burn avis.

any more questions?
my instructions confusing? just let me know.

i hope that cleared it up.

on and the %1 %2, these are just the arguments ie
convert.bat myfile.mpg myfile.mpv myfile.mpa originalfile.mpg
this is how batch files use them so %1 = myfile.mpg %4 = originalfile.mpg
so in a batch file you just refer to them as %1 %2 etc.



Dubya
Offline

Member

Posts: 149
Threads: 37
Joined: Dec 2004
#8
2005-01-20, 01:40 AM
Reven,

Your on fire!!!! Redoing a million plugin's... making skins... what's next??? Redoing the net radio plugin and adding it to ME??? I think that's the only one you haven't worked on lately.

Keep up the great work!!!

Dubya
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#9
2005-01-20, 01:43 AM
well im ive been on holiday for 3months, so i had to do something, dont go back to uni until march (yeah its good being a student).
Dubya
Offline

Member

Posts: 149
Threads: 37
Joined: Dec 2004
#10
2005-01-20, 01:52 AM
Ah yes... I remember the days.. hahah Have a beer or two for me dude.

Hey I do have something that is a pet peeve of mine with GB-PVR that maybe you might be able to shed some light on. Have you ever noticed that if you try and delete a file from the original install and then run the config and restart the server it asks to reinstall the program? It kills me cause I wanna get rid of some of the net radio stations but I can't.

Anyway... if you got a sec or two I'd love to hear what you think might be wrong.

Thanks,

Dubya
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (4): 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  New Tool: ShowBurner DVD Burning [with menus] pBS 331 74,524 2007-11-29, 08:52 PM
Last Post: pBS
  My Music CD Burning reven 0 1,438 2005-01-01, 09:13 AM
Last Post: reven

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

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

Linear Mode
Threaded Mode