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 ... 10, 11, 12 ... 29, 30, 31  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
shiznix
Guru
Guru


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

PostPosted: Thu Nov 18, 2004 1:01 am    Post subject: Reply with quote

Bigbeanpole wrote:
Not to take away from the post... because I agree, it is extremely well done, however, that was from a website, and I think credit should be given where due. I'm not sure if the original poster was the original author of the site, however, I thought I would leave this note:

http://mightylegends.zapto.org/dvd/dvdauthor_howto.php <- Check it out


Actually the post on forums.gentoo.org came first. The howto on mightylegends was posted without being Gentoo specific & to make it apply to all modern Linux operating systems. Originally only being for our local LUG, it wound up in google's cache thanks to our LUG's mailing list.

So yes, the original poster & the author/host of that website are one & the same :wink:
However, I cannot take total credit, and for giving credit where credit is due, there is the 'Credits' link at the bottom of the page.

I've just now had the time to sit down & do some pretty big updates to it, but thought I'd clear up any thought of plagiarism straight away. Thanks.
Back to top
View user's profile Send private message
shiznix
Guru
Guru


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

PostPosted: Mon Nov 22, 2004 9:37 pm    Post subject: Updates!! Reply with quote

Updates are in for those interested.
Some fairly major ones including changes for latest dvdauthor's handling of Titles.

Changes added:
  • Transcoding lines now use the ffmpeg encoder for speed.
  • '-J modfps' option for those converting to a higher frame-rate (NTSC), this should fix nearly all the previous AV sync problems people were experiencing.
  • Small howto on converting aspect ratios to comply with dvdauthor.
  • Change sample dvdauthor.xml to reflect changes in newer dvdauthor's xml syntax changes, additional Titles within a given Titleset are now handled with the <pgc> tag instead of the previous <title> tag.

Cheers,
Shiznix 8)
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Tue Nov 23, 2004 4:41 pm    Post subject: Edited... Reply with quote

Quote:
In the dvdauthor-0.6.10 package, edit line 180 of src/subgen-image.c to read:
Code:
p.t=pdata[x*4+3];


The easiest way to make this change to your system is a quick edit to the ebuild. Add the following line at the very end of src_unpack() in dvdauthor-0.6.10:
Code:
sed -i -e "s:255-::" ${S}/src/subgen-image.c


Where are these files located? What is the full path to an ebuild or the src file listed above? I've looked around, but, don't know where they are kept.

EDIT: Ok, I found the .ebuild file, made the change, re-emerged this version of dvdauthor. Re-ran through the tutorial example starting at the menu construction part with spumux. This is the output of that:

Code:
DVDAuthor::spumux, version 0.6.10.
Build options: gnugetopt magick iconv freetype
Send bugs to <dvdauthor-users@lists.sourceforge.net>

INFO: Locale=C
INFO: Converting filenames to ANSI_X3.4-1968
INFO: Picture had 1 colors
INFO: Picture had 1 colors
INFO: Constructing blank img
INFO: Found EOF in .sub file.
INFO: Max_sub_size=988
WARN:  Read 0, expected 4
INFO: 1 subtitles added, 0 subtitles skipped, stream: 32, offset: 0.18

Statistics:
- Processed 0 subtitles.
- The longest display line had -1 characters.
- The maximum number of displayed lines was 0.
- The normal display height of the font arial.ttf was 0.
- The bottom display height of the font arial.ttf was 0.
- The biggest subtitle box had 988 bytes.


Not sure what that WARM msg. means, but, otherwise looks successful.

When I run dvdauthor, it looks mostly fine with a few of these messages at the end:

Code:
STAT: Processing thx_onestep_dvd.mpg...
WARN: Discontinuity in audio channel 8; please remultiplex input.
WARN: Previous sector: 0.178 - 0.178
WARN: Current sector: 0.308 - 0.308
WARN: Discontinuity in audio channel 8; please remultiplex input.
WARN: Previous sector: 0.308 - 0.308


When I play this file in xine, it starts just fine, the opening thx comes on, then, it goes into the menu showing the image I created with the green code background and image clips from the movies. However, the highlights and selects don't show...in fact, the menu looks useless, nothing happens when I click it. On the xine controller, no matter if I select left or right and hit 'select' it starts the 2nd title, the 'outtakes'.

The earlier versions I tried, before these mods, did seem to let me click on a menu option and start the right one...trouble is, no select or highlight could be seen...just an almost black screen, where I could just make out the menu images. I'm new to Gimp...I looked at my select and highlight images..the looked ok (red/yellow)..but, the backgrounds on them was black...aren't these supposed to be transparent? When I created them, it showed the checked background, but, when I save and re-open them in Gimp..they have the background color...I changed the background color to white...and now when I play the 'dvd', I can see the menu background...but, no highlight or selects appear when clicking the screen or the xine controller...

So, I think I'm lost in a couple areas here...how to keep the Gimp created .png files transparent, and how to get them to show up and be functional when dvdauthor step is finished...

I'm very close..but, something is blowing me up...

K
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
3n0k
n00b
n00b


Joined: 21 Aug 2004
Posts: 73
Location: Portugal

PostPosted: Sat Nov 27, 2004 7:21 pm    Post subject: Reply with quote

hi,

after doing the transcode + avidemux2 to code .avi to .mpg (after 1h i finish with a 10mb mpg file?! strange) + mplex, i can't preview the file either at xine or mplayer... :(

i have the log on all the procedure... but what i find strange is that the mpg file is so small! (original .avi has 700mb).

transcode seens to work fine. atleast i get the 2 files: m2v and mpa (tho very small in size too)

avidemux2
Quote:

Size looks good, maybe type 1 avi
Trying avi type 1 index

Found 130047 videos chunk
Found 130047 video and 226002 audio chunks
Total bytes for audio : 99977520 bytes
we have 12 bytes of extra data in wavheader

Audio codec: MP2-3

Audio streamer initialized
Total audio length : 99977520
OpenDML file successfully read..

Decoder FCC: XVID (44495658)Initializing postproc
Deleting post proc
updating post proc
Enabled type:3 strength:5
FFMpeg build : 4708
Decoder init: FFMpeg MPEG4 video decoder initialized!

checking for B-Frames...
[mpeg4 @ 0x834f55c]vop not coded

error in FFMP43/mpeg4!: got picture

***oops***
5 is a b frame
6 is a b frame

Mmm this appear to have b-frame...

But the index is not up to date

Switching codec...
Deleting post proc
FF base destroyed
Initializing postproc
Deleting post proc
updating post proc
Enabled type:3 strength:5
FFMpeg build : 4708
Decoder init: FFMpeg MPEG4 video vop packed decoder initialized!
End of B-frame check

Editor :Audio streamer initialized
Audio codec: MP2-3

ignoring got pict ==0

** conf updated **

configuring codec :10
spinbuttonGop:12
spinbuttonGop:12

video is now : 1

audio is now : 1

Audio codec : 3
audio suboffset :0
total offset :0
resampling to 48000
Same in/out frequency, bypassing filter
resampling to 48000, 1000 -> 1000 bytes.
Resample : Going back to beginning

audio suboffset :0
total offset :0
Init of FFmpeg AC3 with bitrate 224 , mode 1 Incoming : 1000 bytes, fq : 48000, channel : 2 bitrate: 224 outgoing : 146

Conf : Channel : 2, samplerate : 48000, bit rate : 224000

Audio codec : 3
audio suboffset :0
total offset :0
resampling to 48000
Same in/out frequency, bypassing filter
resampling to 48000, 1041417408 -> 1041417408 bytes.
Resample : Going back to beginning

audio suboffset :0
total offset :0
Init of FFmpeg AC3 with bitrate 224 , mode 1 Incoming : 1041417408 bytes, fq : 48000, channel : 2 bitrate: 224 outgoing : 151873373

Conf : Channel : 2, samplerate : 48000, bit rate : 224000
fps : 23976
One audio frame : 41 (41.708375) ms
one PCM audio frame is 8008 bytes (8008.008008)
one coded audio frame is 1168 bytes (1167.830000 was 1167.834501
One audio frame : 1167.830000 bytes
----- Audio Track for mpeg Ready.------
Audio encoded fs: 896
Lvemux successfully initialized with :
fq=48000 audio bitrate 224000 video bitrate 0 framerate :23.976000 id:128Sample per frame : 2002 2002.002002, bytes per frame :1168 1167.834535
Pack size:896
Will take 1167.829956 bytes per frame
Muxer ready
Dvd encoding in CBR mode
Br:3500000, qz:0
Looks like FRAME_FILM

mpeg2enc init done
Default matrix
Detecting FILM format
****Activating pulldown
Selecting DVD output profile
Br: 3500000
Encoding MPEG-2 video
Horizontal size: 608 pe
lVertical size: 320 pel
Aspect ratio code: 2 = 4:3 display
Frame rate code: 4 = 30000.0/1001.0 (NTSC VIDEO)
Bitrate: 3500 KBit/s
Quality factor: 8 (Quantisation = 9) (1=best, 31=worst)
Field order for input: none/progressive
Sequence unlimited length
Search radius: 16
Using default unmodified quantization matrices
SETTING 3DNOW and EXTENDED MMX for QUANTIZER!Enabling mmx motion search
SETTING EXTENDED MMX for MOTION!

SETTINGS i/f DCT MMX code

SETTINGS MMX i/f DCT activated
SETTING EXTENDED MMX for PREDICTION!
opt->enc_height2 :320 opt->enc_width: 608 opt->enc_height2:320

--encoding started--
[mpeg4 @ 0x834f55c]vop not coded

ignoring got pict ==0
[mpeg4 @ 0x834f55c]vop not coded

ignoring got pict ==0
[mpeg4 @ 0x834f55c]vop not coded

ignoring got pict ==0
[mpeg4 @ 0x834f55c]vop not coded

ignoring got pict ==0
[mpeg4 @ 0x834f55c]vop not coded

ignoring got pict ==0
[mpeg4 @ 0x834f55c]vop not coded

ignoring got pict ==0
[mpeg4 @ 0x834f55c]vop not coded

ignoring got pict ==0
[mpeg4 @ 0x834f55c]vop not coded

ignoring got pict ==0
[mpeg4 @ 0x834f55c]vop not coded

ignoring got pict ==0
[mpeg4 @ 0x834f55c]vop not coded

ignoring got pict ==0
[mpeg4 @ 0x834f55c]vop not coded

ignoring got pict ==0
[mpeg4 @ 0x834f55c]vop not coded

ignoring got pict ==0
[mpeg4 @ 0x834f55c]vop not coded

ignoring got pict ==0
[mpeg4 @ 0x834f55c]vop not coded

ignoring got pict ==0
frame_buffers cleaned up
Deleting post proc
FF base destroyed


mplex
Quote:

INFO: [mplex] mplex version 1.6.2 (2.2.3 $Date: 2004/01/13 20:45:26 $)
INFO: [mplex] File eddie.m2v looks like an MPEG Video stream.
INFO: [mplex] File eddie.mpa looks like an MPEG Audio stream.
INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard options!
INFO: [mplex] Found 1 audio streams and 1 video streams
INFO: [mplex] Selecting dvdauthor DVD output profile
INFO: [mplex] Multiplexing video program stream!
INFO: [mplex] Scanning for header info: Video stream e0 (eddie.m2v)
INFO: [mplex] VIDEO STREAM: e0
INFO: [mplex] Frame width : 352
INFO: [mplex] Frame height : 288
INFO: [mplex] Aspect ratio : 1:1 pixels
INFO: [mplex] Picture rate : 25.000 frames/sec
INFO: [mplex] Bit rate : variable
INFO: [mplex] Vbv buffer size : 63488 bytes
INFO: [mplex] CSPF : 0
INFO: [mplex] Scanning for header info: Audio stream c0 (eddie.mpa)
INFO: [mplex] MPEG AUDIO STREAM: c0
INFO: [mplex] Audio version : 1.0
INFO: [mplex] Layer : 2
INFO: [mplex] CRC checksums : no
INFO: [mplex] Bit rate : 28672 bytes/sec (224 kbit/sec)
INFO: [mplex] Frequency : 48000 Hz
INFO: [mplex] Mode : 0 stereo
INFO: [mplex] Mode extension : 0
INFO: [mplex] Copyright bit : 0 no copyright
INFO: [mplex] Original/Copy : 1 original
INFO: [mplex] Emphasis : 0 none
INFO: [mplex] SYSTEMS/PROGRAM stream:
INFO: [mplex] rough-guess multiplexed stream data rate : 0235296
INFO: [mplex] target data-rate specified : 10080000
INFO: [mplex] Setting specified specified data rate: 10080000
INFO: [mplex] Run-in Sectors = 89 Video delay = 13019 Audio delay = 16619
INFO: [mplex] New sequence commences...
INFO: [mplex] Video e0: buf= 237568 frame=000000 sector=00000000
INFO: [mplex] Audio c0: buf= 4096 frame=000000 sector=00000000
INFO: [mplex] STREAM e0 completed @ frame 1.
INFO: [mplex] STREAM c0 completed @ frame 4.
INFO: [mplex] Multiplex completion at SCR=585.
INFO: [mplex] Video e0: buf= 235757 frame=000001 sector=00000001
INFO: [mplex] Audio c0: buf= 736 frame=000004 sector=00000002
INFO: [mplex] VIDEO_STATISTICS: e0
INFO: [mplex] Video Stream length: 1973 bytes
INFO: [mplex] Sequence headers: 1
INFO: [mplex] Sequence ends : 0
INFO: [mplex] No. Pictures : 2
INFO: [mplex] No. Groups : 1
INFO: [mplex] No. I Frames : 1 avg. size 1649 bytes
INFO: [mplex] No. P Frames : 2 avg. size 81 bytes
INFO: [mplex] No. B Frames : 0 avg. size 0 bytes
INFO: [mplex] Average bit-rate : 131200 bits/sec
INFO: [mplex] Peak bit-rate : 0 bits/sec
INFO: [mplex] BUFFERING stream too short for useful statistics
INFO: [mplex] AUDIO_STATISTICS: c0
INFO: [mplex] Audio stream length 3360 bytes.
INFO: [mplex] Syncwords : 5
INFO: [mplex] Frames : 5 padded
INFO: [mplex] Frames : 0 unpadded
INFO: [mplex] BUFFERING stream too short for useful statistics
INFO: [mplex] MUX STATUS: no under-runs detected.


can someone help me plz? :(
Back to top
View user's profile Send private message
ivanova
Apprentice
Apprentice


Joined: 12 Apr 2004
Posts: 158
Location: South Africa

PostPosted: Sun Nov 28, 2004 10:06 am    Post subject: Reply with quote

I just found out that pgcedit is available for linux as well - might be useful to some ;)

get it here
http://home.tiscali.be/debie.roland/pgcedit/index.html
_________________
Ladies and Gentlemen... we are floating in space.
Back to top
View user's profile Send private message
shiznix
Guru
Guru


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

PostPosted: Thu Dec 02, 2004 1:45 am    Post subject: Reply with quote

3n0k wrote:
hi,

after doing the transcode + avidemux2 to code .avi to .mpg (after 1h i finish with a 10mb mpg file?! strange) + mplex, i can't preview the file either at xine or mplayer... :(

i have the log on all the procedure... but what i find strange is that the mpg file is so small! (original .avi has 700mb).

transcode seens to work fine. atleast i get the 2 files: m2v and mpa (tho very small in size too)
can someone help me plz? :(


Check the howto, it has been updated (again).
Avidemux has been dropped in favour of transcode's '--export_prof' option which will automatically convert the aspect ratio if needed.
ChrisCol, my apologies as you were on the money with this one back in January.
The reason it took longer to encode back then was that it scaled the video res. up to 720x??? which was correct & an oversight on my part (and yes it does sort out the aspect ratios too).
/me eats humble pie :oops:
This seems to not only be a much more compatible option, but also takes far less time to encode as it uses one less step (being avidemux).

If you still experience problems encoding your file, either use '-x mplayer,mplayer' to have mplayer feed transcode the file, or pass it through mencoder first as discussed in the howto.

Good luck, and thanks for your patience while changes were made.
Shiznix 8)
Back to top
View user's profile Send private message
ast3rix
n00b
n00b


Joined: 01 Dec 2004
Posts: 1

PostPosted: Thu Dec 02, 2004 3:59 am    Post subject: forced subtitles Reply with quote

hi guys,

this thread is awesome...its been such a great help...great job!!

just a few questions regarding subtitles. I see you haven't mentioned much about them, is there an extensive thread outlining their use???
what's the deal with forced subtitles? is there a way to identify one stream as a forced subtitle whereas the other one is optional?

in the documentation of dvdauthor, there is a part on the subtitle variable, but I don't understand it very well.

"Simply selecting the track (0-31) means that only the forced subtitles will be displayed, whereas enabling the track (64-95) means that all the subtitles will be displayed"

Is there some way to multiplex my own forced subtitles? or does it depend on the subtitle file i am using. (i'm using subrip -> *.sub)

any help in this regard is appreciated. thanks a lot.

regards
ast3rix

PS. some other ppl were having problems where they could not see their subtitles in their player. I was having the same problem until i realized that when dvdauthor compiles into a folder (say x:\dvd\) it does not overwrite the contents...this means that every time you run dvdauthor it adds a new .ifo, .bup,.vob file but only the first one is run by the player which will not be your most recently compiled version, but rather the first compilation that u made!! so u should make sure that the destination drive of dvdauthor is empty. hope that was of some help, bye
Back to top
View user's profile Send private message
shiznix
Guru
Guru


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

PostPosted: Thu Dec 02, 2004 9:44 am    Post subject: Re: forced subtitles Reply with quote

ast3rix wrote:
hi guys,

just a few questions regarding subtitles. I see you haven't mentioned much about them, is there an extensive thread outlining their use???
what's the deal with forced subtitles? is there a way to identify one stream as a forced subtitle whereas the other one is optional?

in the documentation of dvdauthor, there is a part on the subtitle variable, but I don't understand it very well.

"Simply selecting the track (0-31) means that only the forced subtitles will be displayed, whereas enabling the track (64-95) means that all the subtitles will be displayed"

Is there some way to multiplex my own forced subtitles? or does it depend on the subtitle file i am using. (i'm using subrip -> *.sub)

any help in this regard is appreciated. thanks a lot.
Hi ast3rix,

For the record, muxing subtitles into your dvd.mpg from a *.sub/*.srt file is done with spumux and is discussed on Page 4 of this thread.
There is also a sample spumux.xml file located near the bottom of spumux's manpage.

What dvdauthor's manpage means by:
Quote:
Simply selecting the track (0-31) means that only the forced subtitles will be displayed, whereas enabling the track (64-95) means that all the subtitles will be displayed

Subtitle numbers 0-31 are subtitle track numbers 0-31 turned off by default (have to be chosen & enabled while playing the DVD).
Subtitle numbers 64-95 are subtitle track numbers 0-31 turned on by default (are always shown).

For example, to have the first subtitle track forced on, the dvdauthor.xml syntax would look something like this:
Code:
<pgc >
    <pre>subtitle=64;</pre>
    <vob file="your_dvd.mpg" />
</pgc>


Note that while I do know the above xml works, the one shown below I have not personally tested (though it should work I think).

To have the first subtitle track forced on, but the second turned off, the dvdauthor.xml syntax would look something like this:
Code:
<pgc >
    <pre> { subtitle=64; subtitle=1; } </pre>
    <vob file="your_dvd.mpg" />
</pgc>


Hope this helps,
Shiznix
Back to top
View user's profile Send private message
tudorv
n00b
n00b


Joined: 23 Nov 2004
Posts: 7
Location: Ireland

PostPosted: Thu Dec 02, 2004 4:37 pm    Post subject: Reply with quote

Hi All,

First of all, thanks for the great howto! I was able to follow the instructions and ended up with a working DVD on the first try. I couldn't get transcode to work properly though, so I resorted to avidemux, which did all the encoding and multiplexing nicely.

The one thing that still bothers me is related to the DVD menus. I have an animated menu, which I've set it to loop. However, each time it reaches the end of the mpg, it pauses for a second or less, then plays it again from the beginning. It's quite annoying... By the way, this happens with the stand-alone DVD player, but works fine in xine.

Does anybody have an idea why this happens? Is it the fault of the DVD player, or there is some specific way to create the mpg or set up dvdauthor?

I'm using pretty much the same XML file for dvdauthor as the one on the first page of this thread, slightly modified to allow looping of the menu, so:

<menus>
<pgc>
<button> jump title 1; </button>
<button> jump title 2; </button>
<vob file="matrix_menu_final.mpg" pause="inf"/>
</pgc>
</menus>

becomes:

<menus>
<pgc>
<button> jump title 1; </button>
<button> jump title 2; </button>
<vob file="matrix_menu_final.mpg"/>
<post> jump menu 1; </post>
</pgc>
</menus>


Any help would be appreciated!
Back to top
View user's profile Send private message
shiznix
Guru
Guru


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

PostPosted: Thu Dec 02, 2004 8:30 pm    Post subject: Reply with quote

tudorv wrote:
Hi All,

The one thing that still bothers me is related to the DVD menus. I have an animated menu, which I've set it to loop. However, each time it reaches the end of the mpg, it pauses for a second or less, then plays it again from the beginning. It's quite annoying... By the way, this happens with the stand-alone DVD player, but works fine in xine.

Does anybody have an idea why this happens? Is it the fault of the DVD player, or there is some specific way to create the mpg or set up dvdauthor?

I'm using pretty much the same XML file for dvdauthor as the one on the first page of this thread, slightly modified to allow looping of the menu, so:

<menus>
<pgc>
<button> jump title 1; </button>
<button> jump title 2; </button>
<vob file="matrix_menu_final.mpg" pause="inf"/>
</pgc>
</menus>

becomes:

<menus>
<pgc>
<button> jump title 1; </button>
<button> jump title 2; </button>
<vob file="matrix_menu_final.mpg"/>
<post> jump menu 1; </post>
</pgc>
</menus>


Any help would be appreciated!


Try replacing
Code:
        <post> jump menu 1; </post>
with
Code:
        <post> jump cell 1; </post>
Back to top
View user's profile Send private message
tudorv
n00b
n00b


Joined: 23 Nov 2004
Posts: 7
Location: Ireland

PostPosted: Thu Dec 02, 2004 9:17 pm    Post subject: Reply with quote

Thanks for the quick reply!

I've tried to use

Code:
<post> jump cell 1; </post>


and the result is better, but not perfect... Now the video only stops for a barely noticeable amount of time, while the audio stops for the same amount of time as before.

I wonder if this could have anything to do with the length of the menu video? Mine is 9s, should I try a longer one?

Does the media matter? I'm using a DVD+RW right now.

Thanks again!
Back to top
View user's profile Send private message
shiznix
Guru
Guru


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

PostPosted: Thu Dec 02, 2004 10:52 pm    Post subject: Reply with quote

tudorv wrote:
I've tried to use

Code:
<post> jump cell 1; </post>


and the result is better, but not perfect... Now the video only stops for a barely noticeable amount of time, while the audio stops for the same amount of time as before.

I wonder if this could have anything to do with the length of the menu video? Mine is 9s, should I try a longer one?

Does the media matter? I'm using a DVD+RW right now.


The media shouldn't matter.
One thing I can suggest is to make sure your video & audio lengths are perfectly matched. Probably by getting the audio length as close as possible to the video length then time stretching the audio to exactly match the length of the video (don't ask me howto do this, I don't know but surely there would be a tool for Linux that could do this).
That said, it's a known problem with dvdauthor & even commercial DVDs suffer from it, though most will fade the audio out before the skip to make it less noticeable.

Only other suggestion would be to try:
Code:
<menus>
<pgc>
<button> jump title 1; </button>
<button> jump title 2; </button>
<vob file="matrix_menu_final.mpg"/>
<vob file="matrix_menu_final.mpg"/>
<vob file="matrix_menu_final.mpg"/>
<vob file="matrix_menu_final.mpg"/>
<vob file="matrix_menu_final.mpg"/>
<vob file="matrix_menu_final.mpg"/>
<vob file="matrix_menu_final.mpg"/>
<vob file="matrix_menu_final.mpg"/>
<vob file="matrix_menu_final.mpg"/>
<vob file="matrix_menu_final.mpg"/>
<post> jump cell 1; </post>
</pgc>
</menus>

If that works, then you would only notice the skip every 90 secounds (9s video clip X 10)

Sorry I couldn't be of more help, google may have an answer on this. :(
Back to top
View user's profile Send private message
tudorv
n00b
n00b


Joined: 23 Nov 2004
Posts: 7
Location: Ireland

PostPosted: Thu Dec 02, 2004 11:55 pm    Post subject: Reply with quote

shiznix wrote:

One thing I can suggest is to make sure your video & audio lengths are perfectly matched. Probably by getting the audio length as close as possible to the video length then time stretching the audio to exactly match the length of the video (don't ask me howto do this, I don't know but surely there would be a tool for Linux that could do this).


What I did was to check the length of the video (8.68s as reported by avidemux) and cut the audio in audacity to match it. The audio was slightly longer than the video, but now it should be perfectly matched: audacity reports it as 8.680001s :)

However, I have the same problem... I believe the audio might be slightly out of sync, for other files I've encoded following the same path I had to use a timeshift value of 400ms. Unfortunately it's very difficult to determine if there's a sync issue for the menu video, since it's so short...

I'll try more options and report back to this thread if I manage to find something useful.

Thanks again!
Back to top
View user's profile Send private message
cadaverus
n00b
n00b


Joined: 29 Sep 2004
Posts: 29

PostPosted: Wed Dec 15, 2004 5:44 am    Post subject: Reply with quote

Wonderful guide, very well done. Been having trouble doing this with Window$ for a long time now...
Back to top
View user's profile Send private message
Malak
n00b
n00b


Joined: 17 Jun 2004
Posts: 59

PostPosted: Fri Dec 17, 2004 9:00 pm    Post subject: Reply with quote

When using transcode, it messes up the colours, it takes all the green out, all the faces look blue in the film, is there a quick fix or will it be automatically corrected by the dvd player or something?
_________________
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: Sat Dec 18, 2004 2:15 am    Post subject: Reply with quote

Malak wrote:
When using transcode, it messes up the colours, it takes all the green out, all the faces look blue in the film, is there a quick fix or will it be automatically corrected by the dvd player or something?

You'll need to add '-k' to your transcode line.
From 'man transcode':
" -k swap red/blue (Cb/Cr) in video frame [off]. Use if people have blue faces."

This is also a known bug in transcode that I think has been fixed in 0.6.14.
Are you using transcode version 0.6.14 ?

Cheers,
Shiznix :wink:

PS> Have updated the howto somewhat:
  • '-J modfps --export_fps xx' is now used by default as it only throws a warning if no fps modding is necessary, so saves the user having to tcprobe every file and decide whether to use or not.
  • Have included a small guide on howto create a 5.1 surround sound audio track from a 2-track audio file.
Back to top
View user's profile Send private message
Malak
n00b
n00b


Joined: 17 Jun 2004
Posts: 59

PostPosted: Sat Dec 18, 2004 12:40 pm    Post subject: Reply with quote

You know too much. You must be stopped! 8)

I'm using transcode-0.6.11, the ~x86 masked package from portage.
I will sync and see if i can get an update, thanks again!
_________________
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: Sun Dec 19, 2004 11:13 am    Post subject: Reply with quote

$ mplex -f 8 -o output.mpg title.m1v title.mpa
INFO: [mplex] mplex version 1.6.2 (2.2.3 $Date: 2004/01/13 20:45:26 $)
INFO: [mplex] File title.m1v looks like an MPEG Video stream.
INFO: [mplex] File title.mpa looks like an MPEG Audio stream.
INFO: [mplex] Video stream 0: profile 9 selected - ignoring non-standard options!
INFO: [mplex] Found 1 audio streams and 1 video streams
INFO: [mplex] Selecting generic DVD output profile (PROVISIONAL)
INFO: [mplex] Multiplexing video program stream!
INFO: [mplex] Scanning for header info: Video stream e0 (title.m1v)
INFO: [mplex] VIDEO STREAM: e0
INFO: [mplex] Frame width : 720
INFO: [mplex] Frame height : 576
INFO: [mplex] Aspect ratio : 16:9 display
INFO: [mplex] Picture rate : 25.000 frames/sec
INFO: [mplex] Bit rate : variable
INFO: [mplex] Vbv buffer size : 47104 bytes
INFO: [mplex] CSPF : 0
INFO: [mplex] Scanning for header info: Audio stream c0 (title.mpa)
INFO: [mplex] MPEG AUDIO STREAM: c0
INFO: [mplex] Audio version : 1.0
INFO: [mplex] Layer : 2
INFO: [mplex] CRC checksums : no
INFO: [mplex] Bit rate : 28672 bytes/sec (224 kbit/sec)
INFO: [mplex] Frequency : 48000 Hz
INFO: [mplex] Mode : 0 stereo
INFO: [mplex] Mode extension : 0
INFO: [mplex] Copyright bit : 0 no copyright
INFO: [mplex] Original/Copy : 1 original
INFO: [mplex] Emphasis : 0 none
INFO: [mplex] SYSTEMS/PROGRAM stream:
INFO: [mplex] rough-guess multiplexed stream data rate : 0235296
INFO: [mplex] target data-rate specified : 10080000
INFO: [mplex] Setting specified specified data rate: 10080000
INFO: [mplex] Run-in Sectors = 89 Video delay = 13019 Audio delay = 16619
INFO: [mplex] New sequence commences...
INFO: [mplex] Video e0: buf= 237568 frame=000000 sector=00000000
INFO: [mplex] Audio c0: buf= 4096 frame=000000 sector=00000000
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=19712292 required(DTS)=19712219
++ WARN: [mplex] Video e0: buf= 183969 frame=005472 sector=00027632
++ WARN: [mplex] Audio c0: buf= 3387 frame=009120 sector=00003034
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=19756178 required(DTS)=19748219
++ WARN: [mplex] Video e0: buf= 235543 frame=005482 sector=00027927
++ WARN: [mplex] Audio c0: buf= 4096 frame=009135 sector=00003039
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=19800064 required(DTS)=19784219
++ WARN: [mplex] Video e0: buf= 235543 frame=005492 sector=00028221
++ WARN: [mplex] Audio c0: buf= 4096 frame=009153 sector=00003045
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=19843949 required(DTS)=19823819
++ WARN: [mplex] Video e0: buf= 235543 frame=005503 sector=00028515
++ WARN: [mplex] Audio c0: buf= 4096 frame=009171 sector=00003051
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=19887835 required(DTS)=19859819
++ WARN: [mplex] Video e0: buf= 235543 frame=005513 sector=00028809
++ WARN: [mplex] Audio c0: buf= 4096 frame=009189 sector=00003057
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=19931721 required(DTS)=19895819
++ WARN: [mplex] Video e0: buf= 235543 frame=005523 sector=00029104
++ WARN: [mplex] Audio c0: buf= 4096 frame=009204 sector=00003062
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=19975606 required(DTS)=19935419
++ WARN: [mplex] Video e0: buf= 235543 frame=005534 sector=00029398
++ WARN: [mplex] Audio c0: buf= 4096 frame=009222 sector=00003068
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=20019492 required(DTS)=19975019
++ WARN: [mplex] Video e0: buf= 235543 frame=005545 sector=00029692
++ WARN: [mplex] Audio c0: buf= 4096 frame=009240 sector=00003074
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=20063378 required(DTS)=20018219
++ WARN: [mplex] Video e0: buf= 235543 frame=005557 sector=00029985
++ WARN: [mplex] Audio c0: buf= 4096 frame=009261 sector=00003081
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=20107264 required(DTS)=20061419
++ WARN: [mplex] Video e0: buf= 235543 frame=005569 sector=00030278
++ WARN: [mplex] Audio c0: buf= 4096 frame=009282 sector=00003088
++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=20151149 required(DTS)=20115419
++ WARN: [mplex] Video e0: buf= 235543 frame=005584 sector=00030570
++ WARN: [mplex] Audio c0: buf= 4096 frame=009306 sector=00003096
**ERROR: [mplex] Too many frame drops -exiting

Help!
_________________
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 19, 2004 12:32 pm    Post subject: Reply with quote

Malak wrote:
$ mplex -f 8 -o output.mpg title.m1v title.mpa

<big snip>

Help!


What's the transcode line you are using ?
Include any extra steps you have done in between the first transcode line & the mplex line.
Use the transcode lines shown in the howto.
The created files should be title.m2v & title.ac3.
Back to top
View user's profile Send private message
Malak
n00b
n00b


Joined: 17 Jun 2004
Posts: 59

PostPosted: Sun Dec 19, 2004 12:40 pm    Post subject: Reply with quote

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

( i live in the uk )

( -y ffmpeg didnt work, it couldnt initialise the codec or something, even though it is installed, somewhere, right? )

then..

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

then i would have done..

dvdauthor -x dvdconf

(i have a valid conf file)
_________________
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: Mon Dec 20, 2004 1:15 am    Post subject: Reply with quote

Malak wrote:
transcode -i movie.avi -y mpeg --export_asr 3 -o title -D0 -E 48000 -b 224 -s2 -m title -z -Z 720x576 --export_fps 25 -k

( i live in the uk )

( -y ffmpeg didnt work, it couldnt initialise the codec or something, even though it is installed, somewhere, right? )

then..

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

then i would have done..

dvdauthor -x dvdconf

(i have a valid conf file)

Your transcode line has created a non-dvd compliant mpeg1 video stream that mplex will have problems with using '-f8' (which is needed for dvdauthor).
Transcode's '-y mpeg' export module is also obsolete & will be removed soon.

The following line should get you out of trouble for now, but I'd be seriously looking at why '-y ffmpeg' is not working for you. Does it work on other video files ?
Do 'emerge -pv transcode' & check you have enabled all the necessary USE flags.
As of transcode's 0.6.14 version, it has major changes to it's configure script so that each function/library must be explicitly enabled (ie. has a lot more USE flags than before).

Be warned that the following transcode line will create an mpeg2 audio track & this is not compatible with a lot of DVD players, particularly those that don't support playing (S)VCD (ie. you may end up with a silent audio track).
For greater compatibility & faster encoding, it's recommended to use ffmpeg. You'll also need it working if later on you want to create a 5.1 surround sound audio track.
Code:
transcode -i movie.avi -y mpeg2enc,mpeg --export_prof dvd-pal --export_asr 3 -o title -D0 -E 48000 -b 224 -s2 -J modfps --export_fps 25 -z -k


Good luck!
Back to top
View user's profile Send private message
Lokheed
Veteran
Veteran


Joined: 12 Jul 2004
Posts: 1295
Location: /usr/src/linux

PostPosted: Mon Dec 20, 2004 8:19 am    Post subject: Reply with quote

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.
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 20, 2004 12:39 pm    Post subject: Reply with quote

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:
Back to top
View user's profile Send private message
forevertheuni
n00b
n00b


Joined: 22 Dec 2004
Posts: 3

PostPosted: Wed Dec 22, 2004 5:51 am    Post subject: Reply with quote

guys :/ I followed this HOWTO for menux exactly has presented but It doesn't work I have a jpg background that in the menu appear in the rectangles outlines of highligh.(the inside of the first rectangle becomes the color that I use in highligh.png for outline boxes) and background is black .by the way :/ it always goes to title 1 no matter what place I hit .I really need help(PAL system)
Thanks for the HOWTO by the way
Back to top
View user's profile Send private message
Lokheed
Veteran
Veteran


Joined: 12 Jul 2004
Posts: 1295
Location: /usr/src/linux

PostPosted: Wed Dec 22, 2004 9:20 am    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 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. I dont talk to trasher so you are going to have to pass on your own regards.

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.
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 ... 10, 11, 12 ... 29, 30, 31  Next
Page 11 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