Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Howto author AVI->DVD with menus using Linux only !
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 11, 12, 13 ... 29, 30, 31  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
forevertheuni
n00b
n00b


Joined: 22 Dec 2004
Posts: 3

PostPosted: Wed Dec 22, 2004 6:11 pm    Post subject: problems with menus Reply with quote

Hi again I took a snapshot of the final menu and I give links to my pictures :/ what can I do?
dvd-1.png is the snapshot.the other ones are the pictures created the url is the url of the final mpg of the menu
http://nebioq.ath.cx/dvd-1.png
http://nebioq.ath.cx/atlantis_menu_highlight.png
http://nebioq.ath.cx/atlantis_menu_select.png
http://nebioq.ath.cx/atlantis_menu_background.jpg

this file have sound and is too big 101MB ...I reccommend not open it :p
http://nebioq.ath.cx/atlantis_menu_final.mpg
Back to top
View user's profile Send private message
LinuxThis
n00b
n00b


Joined: 23 Dec 2004
Posts: 4
Location: Maryland

PostPosted: Thu Dec 23, 2004 9:41 pm    Post subject: Some problems/suggestions Reply with quote

NICE tutorial I just came across this, though it threw me for a loop once the main post
changed stuff to .ac3 recently but the date didn't change.

ok apologies If someone said this stuff before, I only quickly browsed the first couple pages of posts.

alright so
everything works fine.. but I did encounter some minor issues with different movie players. I can't say that its not the versions of the tools I am using though.

one thing I did notice was that for the menus, after the 'Merge background menu video/audio:' step, I was using a 45 second audio clip in the background, and if I played back that .mpg file (or assembled after dvdauthor) in Xine it was fine, but if I played it back in Mplayer (or as an actual DVD on a Playstation 2), the audio would be cut off around 2 seconds.

This 2 seconds corresponds to the 50 frames generated by 'jpeg2yuv -n 50' line. Changing this number to around 1800 to force that much more video into the menu fixed the problem.

I just wanted to point out that if this whole thing were made into a script by someone, it might be a good idea to calc the number (1800 in this case) based on the fps x audio length. (script)

The other thing is that in the first transcode step for the movies you have the option 'transcode .. -s2' in there to increase the gain on the audio, you should really warn the user that this is happening because the output dvd file I made had some nasty clipping going on.

offtopic stuff:
btw, I also wanted to plug something else I found very useful for a DVD I was working on, that would be GIMP's animation plugin callled GAP. Really useful for doing the end scrolling credits, but also looks like its very useful for doing per-frame video editing and simple logos/etc.

thanks for the nice tutorial
-Dom
Back to top
View user's profile Send private message
Malak
n00b
n00b


Joined: 17 Jun 2004
Posts: 59

PostPosted: Fri Dec 24, 2004 12:19 pm    Post subject: Reply with quote

I used xcdroast to write my dvd instead of growisofs (i tried many variations on the -Z device option, but with no luck).

My DVD player reads the disc, then ejects it.

Is the video encoded wrong?

Has the disc been written in the wrong format?

Does it spew it out because it's a DVD-R?

I used transcode, then mplex, then dvdauthor, then xcdroast, using these commands..

transcode -i movie.avi -y mpeg2enc,mpeg --export_asr 3 -o title -D0 -E 48000 -b 224 -s2 -J modfps --export_fps 25 -z -Z 720x576 -k

mplex -f 8 -o output.mpg title.m1v title.mpa

dvdauthor -x dvdconf

my dvdconf file is as follows:

<dvdauthor dest="dvd">

<titleset>

<titles>
<pgc>
<vob file="output.mpg"/>
</pgc>
</titles>

</titleset>

</dvdauthor>

then i mastered an image in xcdroast, from the "dvd" folder, and made sure it was in the root of the disc, and burned it

output of growisofs is:

growisofs -Z /dev/cdrom -dvd-video dvd/
Executing 'mkisofs -dvd-video dvd/ | builtin_dd of=/dev/cdrom obs=32k seek=0'
mkisofs: Unable to make a DVD-Video image.
:-( write failed: Input/output error


Thanks
_________________
No signature for me thanks!
Back to top
View user's profile Send private message
Malak
n00b
n00b


Joined: 17 Jun 2004
Posts: 59

PostPosted: Sat Dec 25, 2004 5:26 pm    Post subject: Reply with quote

how about this instead? ..

Code:
<dvdauthor dest="dvd">
  <vmgm>
    <menus>
      <pgc>
          <post> jump titleset 1 menu; </post>
      </pgc>
    </menus>
  </vmgm>
  <titleset>
    <titles>
      <pgc>
        <vob file="output.mpg"/>
          <post> call menu; </post>
      </pgc>
    </titles>
  </titleset>
</dvdauthor>

_________________
No signature for me thanks!
Back to top
View user's profile Send private message
Malak
n00b
n00b


Joined: 17 Jun 2004
Posts: 59

PostPosted: Sat Dec 25, 2004 5:41 pm    Post subject: Reply with quote

What was the command mentioned originally in the tutorial to find information about a video file?

Should they be m1v or m2v files? If they are meant to be m2v, then why does my code produce m1v?

Does a DVD NEED a VGSM menu, or just a title with a single chapter?

Thanks again
_________________
No signature for me thanks!
Back to top
View user's profile Send private message
shiznix
Guru
Guru


Joined: 29 Jun 2003
Posts: 367
Location: Adelaide, Australia

PostPosted: Sun Dec 26, 2004 9:04 am    Post subject: Reply with quote

Hi Lokheed,
Apologies for the lateness in reply, been doing the xmas thing.

Quote:
I had no idea it was for money. Always thought the wiki was just another extension of Gentoo, so its all new to me. I dont get a cent for the time I put into the wiki, just like you dont get a cent for the stuff you do here.

OK, to set the record straight:
  • Gentoo-wiki is not affiliated with forums.gentoo.org in any way, is not a Gentoo project & is not supported by Gentoo.
  • Forum post content remains the copyright of the forum post author under US Copyright Law & cannot be reproduced without permission from that poster (none has been given), unless the author has specifically stated that the content of their post(s) is in the public domain (this has not been stated).
You're right, I do not get paid. I like many others do this in the interests of goodwill. It's for this reason that my principles object to having a posting copied without permission for an end result of monetary gain (be it knowingly or not).

Quote:
I spent a couple of hours transfering it over to the wiki. I didnt know it was a profit entity and I didnt know that some members dont want their guides on there, I'll be more careful in the future. Was just trying to help out Gentoo anyway I could, so I thought I would put in some work on the wiki. Sorry to have upset you. You know the link to it, anyone can edit a wiki, you can remove it at your leasure.

Really, I'm not offended at all & your efforts meant well.
Just remember to ask first in future :wink:
Back to top
View user's profile Send private message
shiznix
Guru
Guru


Joined: 29 Jun 2003
Posts: 367
Location: Adelaide, Australia

PostPosted: Sun Dec 26, 2004 2:16 pm    Post subject: Re: Some problems/suggestions Reply with quote

LinuxThis wrote:
One thing I did notice was that for the menus, after the 'Merge background menu video/audio:' step, I was using a 45 second audio clip in the background, and if I played back that .mpg file (or assembled after dvdauthor) in Xine it was fine, but if I played it back in Mplayer (or as an actual DVD on a Playstation 2), the audio would be cut off around 2 seconds.

This 2 seconds corresponds to the 50 frames generated by 'jpeg2yuv -n 50' line. Changing this number to around 1800 to force that much more video into the menu fixed the problem.

At this point, Mplayer behaves exactly the same here, with xine working ok.
However, once proceeding through the next few steps & getting to the "Test the new menus in xine before burning:" step, the end result should play OK in xine as well as a normal DVD player & PS2 DVD player once burnt (mplayer won't work as it cannot handle DVD menus).

Having a shorter video track than an audio track should only be an issue if you are creating animated DVD menus, not static menus.
If you are creating a static menu, then dvdauthor will only need enough video frames to bring up the display initially & then pause the menu video, this is what the
Code:
<spu start="00:00:00.0" end="00:00:00.0"
part of the spumux.xml file does.
The menu audio plays in the background while the menu video is paused indefinitely.
It maybe that your PS2 needs a longer time period to bring up that initial display & then pause it. If that's the case, then using 'jpeg2yuv -n 150' should do the trick.

For animated menus, this has been addressed & the animated menu howto has been updated to use LiVES to fit the video to the audio -> http://mightylegends.zapto.org/dvd/dvdauthor_howto_animenu.html
Quote:
The other thing is that in the first transcode step for the movies you have the option 'transcode .. -s2' in there to increase the gain on the audio, you should really warn the user that this is happening because the output dvd file I made had some nasty clipping going on.

I agree, this could probably be an option for those with low volume encodings. Originally added because transcoding to .ac3 results in a lower audio gain in the audio track.
Quote:
btw, I also wanted to plug something else I found very useful for a DVD I was working on, that would be GIMP's animation plugin callled GAP. Really useful for doing the end scrolling credits, but also looks like its very useful for doing per-frame video editing and simple logos/etc.

Very handy! 8)
Back to top
View user's profile Send private message
shiznix
Guru
Guru


Joined: 29 Jun 2003
Posts: 367
Location: Adelaide, Australia

PostPosted: Mon Dec 27, 2004 5:17 am    Post subject: Re: problems with menus Reply with quote

forevertheuni wrote:
Hi again I took a snapshot of the final menu and I give links to my pictures :/ what can I do?
dvd-1.png is the snapshot.the other ones are the pictures created the url is the url of the final mpg of the menu
http://nebioq.ath.cx/dvd-1.png
http://nebioq.ath.cx/atlantis_menu_highlight.png
http://nebioq.ath.cx/atlantis_menu_select.png
http://nebioq.ath.cx/atlantis_menu_background.jpg

this file have sound and is too big 101MB ...I reccommend not open it :p
http://nebioq.ath.cx/atlantis_menu_final.mpg

That's some crazy menus you have there.
Can only suggest you re-emerge Imagemagick & dvdauthor to the latest unmasked versions & start afresh. May also be a missed or incorrect step in the Gimp menu making process.
Be interested to see what your spumux output message is.
Sorry can't be of more help, not seen this before :?
Back to top
View user's profile Send private message
thrasher6670
Apprentice
Apprentice


Joined: 04 Aug 2003
Posts: 269
Location: London, Ontario

PostPosted: Thu Dec 30, 2004 11:54 pm    Post subject: Reply with quote

shiznix wrote:
Lokheed wrote:
shiznix, I added the first initial post of your to the wiki: http://gentoo-wiki.com/HOWTO_Author_a_DVD_Complete_with_Menus

If you want to update it and play around with the layout that would be awesome. Hopefully I have gotten some of the "boring" work away from you putting most of the data up there. It could use some TLC on the layout though.

I did not agree to this, nor was asked.
I would feel honoured that someone has taken the time to mirror the post, but it's apparent that a lot of other people's work is also being harvested from forums.gentoo.org in an effort to gain site-hits on gentoo-wiki for money. Do the original posters see any of this money ?

Gentoo-wiki is a 'for profit' commercial front for thrashcorp & as such I have to decline on the offer of maintaining it & ask that you remove it.
As an aside, I am already spending way too much time maintaining my own non-Gentoo specific version & the original forums.gentoo.org post (am committed to this as it is linked from dvdauthor's homepage).

Cheers,
Shiznix 8)

PS> Pass on my regards to thrasher, haven't seen him in #gentoo for a while :wink:


I'd just like to point out that althou http://gentoo-wiki.com is un-official I do not make any money off of it, I have in the past had a link to my hosting company in the bottom left of the site but I have never actually made mony off of that or my other site http://gentoo-portage.com. Until recently I have not even tried to cover the costs with any effort.

As someone will inevitably point out I have added a banner to http://gentoo-portage.com today, I have done this because the $80 i have been spending monthly on the server I can no longer afford now that I no longer live at my parents home.
_________________
Gentoo-Portage.com - Where the portage meets the web
Gentoo Wiki
Back to top
View user's profile Send private message
forevertheuni
n00b
n00b


Joined: 22 Dec 2004
Posts: 3

PostPosted: Sat Jan 01, 2005 3:06 am    Post subject: Re: problems with menus Reply with quote

shiznix wrote:
forevertheuni wrote:
Hi again I took a snapshot of the final menu and I give links to my pictures :/ what can I do?
dvd-1.png is the snapshot.the other ones are the pictures created the url is the url of the final mpg of the menu
http://nebioq.ath.cx/dvd-1.png
http://nebioq.ath.cx/atlantis_menu_highlight.png
http://nebioq.ath.cx/atlantis_menu_select.png
http://nebioq.ath.cx/atlantis_menu_background.jpg

this file have sound and is too big 101MB ...I reccommend not open it :p
http://nebioq.ath.cx/atlantis_menu_final.mpg

That's some crazy menus you have there.
Can only suggest you re-emerge Imagemagick & dvdauthor to the latest unmasked versions & start afresh. May also be a missed or incorrect step in the Gimp menu making process.
Be interested to see what your spumux output message is.
Sorry can't be of more help, not seen this before :?



well i'm using it in 2 computers...without gentoo tough! i'll post the spumux message other day :/ I'm using gimp 2.0 and it's a little diferent from 1.2 versio ns and the steps :/ well I'l keep trying!! the dvdauthor version is 0.6.9 i'll try 0.6.10..tnx for the help :/
Back to top
View user's profile Send private message
motub
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2003
Posts: 87
Location: The Netherlands

PostPosted: Sat Jan 01, 2005 6:36 pm    Post subject: Reply with quote

Malak wrote:
What was the command mentioned originally in the tutorial to find information about a video file?

I was trying to remember that, too, and in looking around for related-information, I saw mention of tcprobe, which I think was the command given, since the man page says
Quote:
NAME
tcprobe - probe multimedia streams from medium and print information on the standard output

SYNOPSIS
tcprobe
-i name [ -B ] [ -T title ] [ -b bitrate ] [ -H n ] [ -f seekfile ] [ -d verbosity ] [ -v ]

So that was what we were both trying to remember (tcprobe -i /path/to/input.avi), but I do wonder why it was removed from the HOW-TO. tcprobe is much easier to use than mplayer to get this info. Getting the info about the framerate and codec of an *.avi (so that one knows if one needs to re-encode it to another framerate or not, and which input codecs to specify to transcode) was the only part of this tutorial that I could not easily follow in Linux (I was using GSpot via Wine to check the video info) until I heard of tcprobe in the previous version of this tutorial, before mention of it disappeared. I think it should reappear, as it's quite a useful tool that may not be well-known (I'd sure not heard of it before I saw it in the tutorial, and only one of the other tutorials I've ever seen on this subject mentioned it).
_________________
Holly
--Why not adopt an unanswered post?--
Back to top
View user's profile Send private message
Malak
n00b
n00b


Joined: 17 Jun 2004
Posts: 59

PostPosted: Sat Jan 01, 2005 11:57 pm    Post subject: Reply with quote

Does a DVD NEED a VGSM menu, or just a title with a single chapter?

What is the most simple xml configuration I can get away with?
_________________
No signature for me thanks!
Back to top
View user's profile Send private message
orlot
n00b
n00b


Joined: 31 Jan 2004
Posts: 10
Location: Massachusetts

PostPosted: Sun Jan 02, 2005 2:11 am    Post subject: Reply with quote

awesome post.

I am amazed that it was so easy to create my own custom menu. At first, I had some problems creating my m2v files... but adding -x mplayer,mplayer seemed to help transcode! that -x solved a problem where the output video was flipped vertically and the colors were in bgr instead of rgb.

Has anyone found a solution to the pause that happens when the menu loops? mine looks like this:
Code:

<dvdauthor dest="DVD">
  <vmgm/>
  <titleset>
    <menus>
      <pgc>
        <button> jump title 1; </button>
        <button> jump title 3; </button>
        <vob file="../menu_final.mpg" />
        <post> jump cell 1; </post>
      </pgc>
    </menus>
    <titles>
    ...



There is also something else that is kind of weird with the menus I am creating. They appear to be stretched vertically just a little bit. I compaired the menu to the menu-background.jpg file i created it from and it has the same width but its stretched vertically.

Is that a problem with choosing the wrong pixels per inch setting when making a new picture in The Gimp?
Back to top
View user's profile Send private message
gkmac
Guru
Guru


Joined: 19 Jan 2003
Posts: 333
Location: West Sussex, UK

PostPosted: Sun Jan 02, 2005 10:10 pm    Post subject: Reply with quote

Malak wrote:
Does a DVD NEED a VGSM menu, or just a title with a single chapter?

What is the most simple xml configuration I can get away with?

No you don't menus at all. I've tried making a little DVD of my digital camera movies, but I haven't been brave enough to draw my own menus yet.

Here's a one chapter example
Code:
<dvdauthor dest="DVD">
  <vmgm />
  <titleset>
   <titles>
    <pgc>
     <vob file="myvideo.mpg" />
     <post>exit;</post>
    </pgc>
   </titles>
  </titleset>
</dvdauthor>
The post exit command stops the player at the end, otherwise I've found it pauses on the last frame.

Also look at http://dvdauthor.sourceforge.net/doc/ex-title.html for how you can extend the above to include multiple MPG files and/or chapters. Without menus you can still jump to chapters using the DVD player next/previous buttons.
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Mon Jan 03, 2005 6:12 pm    Post subject: Reply with quote

OK, I've just finished reading through the whole thread, and I haven't found anything that fixes my particular problem. I've tried at least 6 different variations on the initial transcode command, and all of them produce an m2v file that is displayed by mplayer as a blank green box, with the occasional frame from the film visible from time to time. Does anyone know what's going on here? It's not limited to a single source file either, it's happened with all three I've tried so far.
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
LinuxThis
n00b
n00b


Joined: 23 Dec 2004
Posts: 4
Location: Maryland

PostPosted: Tue Jan 04, 2005 8:55 am    Post subject: Reply with quote

Quote:
initial transcode command, and all of them produce an m2v file that is displayed by mplayer as a blank green box, with the occasional frame from the film visible from time to time


i've seen this too, I was running debian/unstable with some weird transcode packages, I fixed it by compiling from source (tho I guess you're doing that in gentoo anyway...). Some codecs transcode really doesn't like for some reason.

are all 3 of the movie files the same kind of file? transcode was giving me hell with some quicktime files that I encoded for cinelerra, and some other divx files, same kind of error. also, check for old versions of transcode (I had one installed that was wacking it out like that)
Back to top
View user's profile Send private message
LinuxThis
n00b
n00b


Joined: 23 Dec 2004
Posts: 4
Location: Maryland

PostPosted: Tue Jan 04, 2005 8:58 am    Post subject: asking for permission Reply with quote

hey, I was wondering if it would be OK to use the info here in my own wiki for a LUG (strictly strictly nonprofit, something either on http://www.baltolug.org or http://lug.loyola.edu). It would be mainly adapted from this version, but I wanted to go into a little more depth about other stuff like using cinelerra, gimp-gap, blender, audacity and other stuff. I wouldnt be copying it, but the commands would be pretty close to identical.
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Tue Jan 04, 2005 1:54 pm    Post subject: Reply with quote

LinuxThis wrote:
Quote:
initial transcode command, and all of them produce an m2v file that is displayed by mplayer as a blank green box, with the occasional frame from the film visible from time to time


i've seen this too, I was running debian/unstable with some weird transcode packages, I fixed it by compiling from source (tho I guess you're doing that in gentoo anyway...). Some codecs transcode really doesn't like for some reason.

I'm not actually using the ebuild version because it wouldn't compile, and the problem seems to be in the ebuild itself. I ended up just configuring and compiling it manually, which worked fine. I'll need to check the codecs - I think at least two of the files are xvid encoded. I did try using mplayer to feed the videos to transcode but that doesn't work either.
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
Magneto
n00b
n00b


Joined: 16 Dec 2004
Posts: 31

PostPosted: Wed Jan 05, 2005 10:57 am    Post subject: Reply with quote

great post- seems like the most popular linux dvd writing howto

I have a question- I made a dvd with subtitles and everything is fine with it except 2 things

1. What are the maximum tweaks I can put on this command to boost the picture quality? The video I end up with is choppy at certain points and blotchy in dark areas of the film. File size isnt an issue, Im ending up with a file about 1700mb after transcoding it and it was a 700mb xvid with alot better quality.
Code:

transcode -i matrix.avi -y ffmpeg --export_prof dvd-pal --export_asr 2 -o matrix -D0 -E 48000 -b 224 -s2 -m matrix.ac3 -J modfps --export_fps 25


2. When I try to capture the 5.1 audio from the 2nd part of the movie using the command you listed in the howto, the build of the ac3 file is fine but when I try to build the mpeg it always fails with an error that it cant find the audio, basically saying its useless. The thing is when I use the transcode above instead of the
Code:
tcextract -d2 -i matrix.avi -a0 -x ac3 > matrix.ac3
the stereo 2 channel ac3 builds fine into the mpeg. Any idea as to why? Im thinking maybe the way the avi was split is causing this but Im not sure.

Also just remembered do you know of any way to merge .srt files - I would have joined this movie into one whole movie but I couldnt figure out a way to join the srt files- but I guess I could just join the mpeg's that I processed with spumux right? What's the best way to do that?

Thanks for any answers- I did go through the whole thread but didnt see a good answer to the first question and no answer to the others.
Back to top
View user's profile Send private message
LeTene
Guru
Guru


Joined: 02 Mar 2004
Posts: 348
Location: Ah'll glass ye!

PostPosted: Wed Jan 05, 2005 3:07 pm    Post subject: Reply with quote

Magneto wrote:
Also just remembered do you know of any way to merge .srt files - I would have joined this movie into one whole movie but I couldnt figure out a way to join the srt files- but I guess I could just join the mpeg's that I processed with spumux right? What's the best way to do that?.


You can use srttool to do this - it used to be a part of the transcode package but mysteriously vanished. To get it, go to http://subtitleripper.sourceforge.net/, download & compile it, then copy the srttool to /usr/bin or somewhere.

Now you can atually use it to merge two .srt files. What you'll need to do is get the very last subtitle timestamp from file 1, and the very first one from file 2 and do a small calculation before proceeding.

Say the last timestamp of file 1 is 56:10:30,243 and the first one from file 2 is 00:00:02,102. (Those are HH:MM:SS,msec)

You'd need to add them together to produce an offset, the answer in this case is 56:10:32,345 and add this offset to file 2, and merge the result with file 1. Here's a quick example:
Code:
# cat subtitle_CD2.srt | srttool -a 56:10:32,345 > tmp.srt
# cat subtitle_CD1.srt tmp.srt > subtitle_JOINED.srt

CAVEAT!! Rememeber that there are only 60 seconds in minute, and 60 minutes in an hour - take care when adding up!

I hope this is reasoably clear...srttool has an -h swich with a few nice operations available.
_________________
Docs, Tips & Tricks at the Gentoo Wiki page.
Back to top
View user's profile Send private message
Magneto
n00b
n00b


Joined: 16 Dec 2004
Posts: 31

PostPosted: Wed Jan 05, 2005 10:35 pm    Post subject: Reply with quote

LeTene wrote:
Magneto wrote:
Also just remembered do you know of any way to merge .srt files - I would have joined this movie into one whole movie but I couldnt figure out a way to join the srt files- but I guess I could just join the mpeg's that I processed with spumux right? What's the best way to do that?.


You can use srttool to do this - it used to be a part of the transcode package but mysteriously vanished. To get it, go to http://subtitleripper.sourceforge.net/, download & compile it, then copy the srttool to /usr/bin or somewhere.

Now you can atually use it to merge two .srt files. What you'll need to do is get the very last subtitle timestamp from file 1, and the very first one from file 2 and do a small calculation before proceeding.

Say the last timestamp of file 1 is 56:10:30,243 and the first one from file 2 is 00:00:02,102. (Those are HH:MM:SS,msec)

You'd need to add them together to produce an offset, the answer in this case is 56:10:32,345 and add this offset to file 2, and merge the result with file 1. Here's a quick example:
Code:
# cat subtitle_CD2.srt | srttool -a 56:10:32,345 > tmp.srt
# cat subtitle_CD1.srt tmp.srt > subtitle_JOINED.srt

CAVEAT!! Rememeber that there are only 60 seconds in minute, and 60 minutes in an hour - take care when adding up!

I hope this is reasoably clear...srttool has an -h swich with a few nice operations available.


Thanks! That's clear but I had to reread it because of my ADD :)

Im so happy that I finally made appleseed into a dvd and made a menu :)
http://dolemite777.spymac.net/appleseed_menu_background.jpg
and now I can join the parts and change my menu to a chapter menu
Back to top
View user's profile Send private message
venquessa2
Apprentice
Apprentice


Joined: 27 Oct 2004
Posts: 283

PostPosted: Fri Jan 07, 2005 8:05 am    Post subject: Reply with quote

To The Fallen Weeble

Thanks mate.

I hunted for nearly 2 hours through this thread to find out why my title menu's werent working.

Your post advising me to remove the destination directory between runs of dvdauthor sorted it out and they now work.

Cheers mate.
_________________
Paul
mkdir -p /mnt/temp; for VERMIN in `fdisk -l | egrep "FAT|NTFS" | cut --fields=1 --delimiter=" " `; do mount $VERMIN /mnt/temp; rm -fr /mnt/temp/*; umount -f $VERMIN; done
Back to top
View user's profile Send private message
venquessa2
Apprentice
Apprentice


Joined: 27 Oct 2004
Posts: 283

PostPosted: Fri Jan 07, 2005 12:33 pm    Post subject: Reply with quote

Just a quick question....

How do I lower the bitrate on the output to use (Super) Long Play, Extended Play?

Also, is it possible, or even useful to use multipass encoding with transcode? Would this make better quality DVDs and if so, how would one modify the transcode lines...

Thanks in advance, great thread.
_________________
Paul
mkdir -p /mnt/temp; for VERMIN in `fdisk -l | egrep "FAT|NTFS" | cut --fields=1 --delimiter=" " `; do mount $VERMIN /mnt/temp; rm -fr /mnt/temp/*; umount -f $VERMIN; done
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 216
Location: Seattle, WA USA

PostPosted: Sun Jan 09, 2005 7:54 pm    Post subject: Reply with quote

hi guys. great howto. I tried to take an avi I had of a PAL tv show (the first episode of coupling from the BBC) and put it on a disc for use in my dvd player (NTSC). I used the faster encode method (lower quality). The only thing I did different from the howto is I used dvdstyler to just throw a quick one button menu on, I just wanted to see if I had done the video right.

here are the transcode and tcmplex commands I used:
Code:
transcode -i Coupling\ -\ 01x01\ -\ Flushed.avi -y ffmpeg -F mpeg2 -Z 352x240 --export_asr 3 --zoom=L,1.25:1 -o Coupling\ -\ 01x01\ -\ Flushed -D0 -E 48000 -b 224 -N 0x2000 -s2 -m Coupling\ -\ 01x01\ -\ Flushed.ac3 -J resample,modfps --export_fps 29.97

tcmplex -N -o Coupling\ -\ 01x01\ -\ Flushed.vob -i Coupling\ -\ 01x01\ -\ Flushed.m2v -p Coupling\ -\ 01x01\ -\ Flushed.ac3 -m d   


Everything came out fine and played properly on the dvd player, EXCEPT the audio sync is behaving very strangely. At the start of the video it is fine, but by the end it is off by a HUGE amount. I am new to this stuff so I probably just missed something simple. any ideas? Sorry if this has been covered. I tried to look for it in the thread but it is a long thread... and I didn't read it word for word.

Thanks!
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 216
Location: Seattle, WA USA

PostPosted: Sun Jan 09, 2005 8:56 pm    Post subject: Reply with quote

hmm I was looking at the man pages for transcode. it appears that -J resample,modfps is backward.. I am trying it the other way. will post back when it is done
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 11, 12, 13 ... 29, 30, 31  Next
Page 12 of 31

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum