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


Joined: 08 Sep 2004
Posts: 16
Location: Genova, Italia

PostPosted: Tue Oct 05, 2004 7:52 am    Post subject: Reply with quote

RoadRunner wrote:
I have several tv-rips I made, avi's with just jpeg compression, so 4Gb for every 22 minute episode. The quality is pretty good there. Using transcode, no matter what resolutions I set, the picture quality on the dvd get's bad. I mean, it's watchable, but I wanted quality, no matter if I can only put 2 episodes on a dvd.

Anyone has a excelent quality transcode settings?

I find that to get top quality encoding I have to use mjpegtools. That is surely sloooow but if source material is good the end result is the best you can get.

Ciao!!!

Claudio
Back to top
View user's profile Send private message
nobrob
n00b
n00b


Joined: 23 Sep 2004
Posts: 26

PostPosted: Wed Oct 06, 2004 7:50 pm    Post subject: Reply with quote

I got a problem converting to DVD-PAL format. This is the command I use:
Code:
transcode -i <movie> -V --export_prof dvd-pal -o <outfiles>

This gives me a m2v and a mpa file, with A/V in sync. But the video has the wrong framerate (as source). To fix this, I use --export_fps, but the A/V goes out of sync, any ideas on how to keep it in sync??

Also, is it normal for it to encode at 7-10fps? I have a 2GHz P4 with 256MB DDR RAM.

Thanks for any help.
Back to top
View user's profile Send private message
genmich
Apprentice
Apprentice


Joined: 03 Apr 2003
Posts: 196

PostPosted: Thu Oct 07, 2004 10:39 am    Post subject: Reply with quote

Check the front page:
Quote:
If audio/video(AV) sync is not correct, try overriding transcode's AV Sync auto correction with '-D 0' like so:
Code:
Code:
transcode -i matrix.mpg -V -y mpeg -F d,1 --export_fps 25 -Z 352x288 --export_asr 2 -E 48000 -b 224 -D 0 -o matrix


So try adding -D 0.
I'm having 7.82 fps at the moment (AMD XP 1,8+,512 MB RAM)
Back to top
View user's profile Send private message
nobrob
n00b
n00b


Joined: 23 Sep 2004
Posts: 26

PostPosted: Thu Oct 07, 2004 11:01 am    Post subject: Reply with quote

Sorry, forgot to say that: transcode doesn't try to sync A/V for me, the offset it 0. Even so, I've tried adding -D 0 and nothing changes.
Back to top
View user's profile Send private message
CDiMa
n00b
n00b


Joined: 08 Sep 2004
Posts: 16
Location: Genova, Italia

PostPosted: Thu Oct 07, 2004 12:14 pm    Post subject: Reply with quote

nobrob wrote:
Sorry, forgot to say that: transcode doesn't try to sync A/V for me, the offset it 0. Even so, I've tried adding -D 0 and nothing changes.

What kind of sync problem do you have? The delay you have is constant from beginning to end or increases during the movie?
I think that the -D switch cures the first problem.
The second problem arises when you do the classical "film to video" fps conversion (that is from 24 fps to 30) or when you convert between video standard (NTSC to/from PAL i.e. 24 fps to 25).
In the case of film to video conversion you may use transcode's --pulldown filter (this leaves inaltered the time-lenght of the video by adding copies of the video frames to match the target fps).
In the case of NTSC/PAL conversion you need to stretch the audio by altering its pitch so that it still matches the length of the video. The easiest way to do this is to process individually the video and audio streams and remultiplex them afterwards.
The audio part is easily done with rezound and its change rate effect.
I think you may use audacity's "change speed" effect (or even better "change tempo" which preserves the pitch) but I had some problems with audacity in the past and dropped it.

If you have a different problem then let us know :)

Ciao!!!

Claudio
Back to top
View user's profile Send private message
nobrob
n00b
n00b


Joined: 23 Sep 2004
Posts: 26

PostPosted: Thu Oct 07, 2004 7:05 pm    Post subject: Reply with quote

Specifically I'm trying to convert 23.976fps to 25.000 fps.
I think it is the "film to video" effect I'm getting. One of the reasons is that at the beginning, the sound is only about a second out (during the intro), but around the middle of the movie, xine can't actually get the sound in sync - I've reached the A/V offset limit.
My problem now is this:
Code:
# transcode -i movie.avi -V --export_prof dvd-pal --pulldown --export_fps 25 -o out
[...]
**ERROR: [mpeg2enc] 3:2 movie pulldown not sensible for 25.000 fps dispay rate


Code:
# transcode -i movie.avi -V --export_prof dvd-pal --pulldown -o out
[...]
++ WARN: [mpeg2enc] 3:2 movie pulldown with frame rate set to decode rate not display rate
++ WARN: [mpeg2enc] 3:2 Setting frame rate code to display rate = 4 (29.970 fps)
**ERROR: [mpeg2enc] Sample rate is greater than permitted in specified Level


...?
Back to top
View user's profile Send private message
Cold-Phoenix
n00b
n00b


Joined: 17 Jun 2004
Posts: 24

PostPosted: Thu Oct 07, 2004 11:59 pm    Post subject: Reply with quote

I'm having problems with dvdauthor 0.6.10, i've converted 4 avis to mpg perfectly and they playback fine in all the players i've thrown at them. However when i combine them with dvdauthor it spits out a load of sound errors on the last bit of the convertion. When i playback the output the sound is fine on the videos untill the last few mins which are silent.

Anyone seen this before and know how to fix?
Back to top
View user's profile Send private message
CDiMa
n00b
n00b


Joined: 08 Sep 2004
Posts: 16
Location: Genova, Italia

PostPosted: Fri Oct 08, 2004 7:34 am    Post subject: Reply with quote

nobrob wrote:
Specifically I'm trying to convert 23.976fps to 25.000 fps.

This is a classical "NTSC converted film" to "PAL" conversion.
nobrob wrote:
Code:
# transcode -i movie.avi -V --export_prof dvd-pal --pulldown --export_fps 25 -o out
[...]
**ERROR: [mpeg2enc] 3:2 movie pulldown not sensible for 25.000 fps dispay rate


Code:
# transcode -i movie.avi -V --export_prof dvd-pal --pulldown -o out
[...]
++ WARN: [mpeg2enc] 3:2 movie pulldown with frame rate set to decode rate not display rate
++ WARN: [mpeg2enc] 3:2 Setting frame rate code to display rate = 4 (29.970 fps)
**ERROR: [mpeg2enc] Sample rate is greater than permitted in specified Level


...?

You don't want to use pulldown in this case, It is used when converting from NTSC FILM to NTSC VIDEO.
The easiest way is to convert video and audio separately. Convert the video part as you were used with the --export-fps 25 option. Then use rezound or audacity and stretch the audio with a ratio of 25025/24000 i.e. 1.04270833333333333333. Remultiplex the two streams and you're done. If you don't know how to demultiplex the two streams, feel free to ask!

Ciao!!!

Claudio
Back to top
View user's profile Send private message
CDiMa
n00b
n00b


Joined: 08 Sep 2004
Posts: 16
Location: Genova, Italia

PostPosted: Fri Oct 08, 2004 7:39 am    Post subject: Reply with quote

Cold-Phoenix wrote:
I'm having problems with dvdauthor 0.6.10, i've converted 4 avis to mpg perfectly and they playback fine in all the players i've thrown at them. However when i combine them with dvdauthor it spits out a load of sound errors on the last bit of the convertion. When i playback the output the sound is fine on the videos untill the last few mins which are silent.

Anyone seen this before and know how to fix?

How did you convert the avis to mpeg? Probably you obtained valid mpg streams, but not all streams are suitable for DVD authoring. Usually encoding/multiplexing tools have presets to enforce DVD/SVCD/VCD conformance.

Ciao!!!

Claudio
Back to top
View user's profile Send private message
nobrob
n00b
n00b


Joined: 23 Sep 2004
Posts: 26

PostPosted: Fri Oct 08, 2004 9:40 am    Post subject: Reply with quote

I take it transcode can't stretch the audio?
Back to top
View user's profile Send private message
Cold-Phoenix
n00b
n00b


Joined: 17 Jun 2004
Posts: 24

PostPosted: Fri Oct 08, 2004 4:00 pm    Post subject: Reply with quote

CDiMa wrote:
Cold-Phoenix wrote:
I'm having problems with dvdauthor 0.6.10, i've converted 4 avis to mpg perfectly and they playback fine in all the players i've thrown at them. However when i combine them with dvdauthor it spits out a load of sound errors on the last bit of the convertion. When i playback the output the sound is fine on the videos untill the last few mins which are silent.

Anyone seen this before and know how to fix?

How did you convert the avis to mpeg? Probably you obtained valid mpg streams, but not all streams are suitable for DVD authoring. Usually encoding/multiplexing tools have presets to enforce DVD/SVCD/VCD conformance.

Ciao!!!

Claudio


Code:
nice -n -5 transcode -i input.avi -V -y mpeg,ac3 -F d -Z 352x288 --export_fps 25 --export_asr 2 -E 48000 -b 224 -D 0 --pulldown -o output  -x mplayer,mplayer
mplex -f 8 -o output.mpg output.m2v output.ac3


Those are the commands i've used ac3 was the only one thats kept sync converting this to dvd pal:

Code:
VIDEO:  [XVID]  640x368  24bpp  23.976 fps  972.9 kbps (118.8 kbyte/s)
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 20000->192000 (160.0 kbit)


I'll take ntsc if that'll work but the asr screws up trying that. I've played around with --keep_asr and --export_asr 3 but the video gets borders on all four sides. I just want a 16:9 convertion with audio in sync that'll work on dvd after all the playing around i've done.
Back to top
View user's profile Send private message
oiper
Guru
Guru


Joined: 01 May 2003
Posts: 316
Location: Alabama, US

PostPosted: Fri Oct 08, 2004 5:47 pm    Post subject: transcoder Reply with quote

This howto is great! I'm in the process of transcoding right now and have everything else set up. I'm anticipating a disaster though. I noticed that transcoding with -Z 352x240 gives my video a green bar at the bottom. So I changed it to 352x224 to avoid that.


Anyone else experience that?


EDIT:

Scratch that question, what I'm really wondering is, why is the resolution being set to 352x240 for NTSC? I'm confused b/c aren't DVD's usually at 720x480 for NTSC?
_________________
www.bearscanfly.org - Because hiking is cool
Back to top
View user's profile Send private message
Cold-Phoenix
n00b
n00b


Joined: 17 Jun 2004
Posts: 24

PostPosted: Sat Oct 09, 2004 3:02 am    Post subject: Reply with quote

YAY, i've solved my own problem.

I had to emerge -U transcode as mpeg2enc was broken (pipe errors as seen before on this thread) then i used this command to avoid the screwed up colours and upside down video.

Code:
transcode -i input.avi -V -y mpeg2enc,mpeg -F 8 -E 48000 -b 224 -o output --export_asr 3 -Z 720x480


The result: perfect colours, no borders at all, dvd res, yet 16:9 asr and its complient with dvdauthor :D

Now i just need to make some menus and i'm set. Speaking of which is there a site with menus premade for dvds or are people interested in posting some up :).
Back to top
View user's profile Send private message
kronon
Apprentice
Apprentice


Joined: 11 Aug 2003
Posts: 212
Location: NL

PostPosted: Sat Oct 09, 2004 4:25 pm    Post subject: Reply with quote

hi, thnx for the great howto, but I've got a problem.
all goes well untill "

mplex -f 8 -o output.mpg output.m2v output.mpa

the mpa file has no problems and gives good audio (no noice). But when I merge it with the m2v file using mplex, the new mpg file has realy anoing noice in it (like static). How can I get that noice out of it.

:EDIT
Now I've managed to get the noise away (different mplayer settings) but now I noticed the video is out of sync (video is playing slower as audio) so I tried using the -O option, but that doesn't help. Any other suggestions?
Back to top
View user's profile Send private message
oiper
Guru
Guru


Joined: 01 May 2003
Posts: 316
Location: Alabama, US

PostPosted: Sun Oct 10, 2004 9:14 pm    Post subject: Reply with quote

ok, after MUCH tickering, my results are, choppy audio but it is trying to work. :?
_________________
www.bearscanfly.org - Because hiking is cool
Back to top
View user's profile Send private message
kronon
Apprentice
Apprentice


Joined: 11 Aug 2003
Posts: 212
Location: NL

PostPosted: Mon Oct 11, 2004 10:27 pm    Post subject: Reply with quote

After much searching I found some page about transcode that mentioned bugs. It seems that the codec can't convert the audio from ntsc to pal:(.
It had ** priority on a scal from 0 to 3. Which meant it would be fixed in some later version but wouldn't emediatly be fixed. So I tried mkdvd (a program not in portage but in fact it's more like a pike script). But that gave me a Division by zero error, so that whasn't much help either.

*sigh*I don't want my audio streched.

Alert: Stopid noob posting below me..


Last edited by kronon on Tue Oct 12, 2004 3:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
nobrob
n00b
n00b


Joined: 23 Sep 2004
Posts: 26

PostPosted: Tue Oct 12, 2004 2:11 pm    Post subject: Reply with quote

lmfao, thanks for the info about not being able to convert audio. I, like you, tried mkdvd, and it gave me division by zero... it's posted on the forums, when I get home I'll post the link here.

Last edited by nobrob on Thu Oct 14, 2004 12:11 am; edited 1 time in total
Back to top
View user's profile Send private message
nobrob
n00b
n00b


Joined: 23 Sep 2004
Posts: 26

PostPosted: Thu Oct 14, 2004 12:07 am    Post subject: Reply with quote

Sorry, forgot about this thread completely...
http://fredrik.hubbe.net/hacker/viewtopic.php?t=160

School kids can be cruel; grow up kronon.
Back to top
View user's profile Send private message
nife
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2003
Posts: 87

PostPosted: Thu Oct 14, 2004 3:54 am    Post subject: Re: funky colors... Reply with quote

ajayrockrock wrote:
I finally got around to getting some screenshots of the funky colors (the red streaks through the picture):

http://www.odc.net/~ssharma/curb1.png

http://www.odc.net/~ssharma/curb2.png

I haven't tried burning a dvd yet but is that green bar at the bottom normal? This is for an NTSC disc, by accident I encoded a PAL version and the green bar wasn't there...

thanks,
ajay

PS. oh and mplayer always crashes when I try to play the final mpg file (right before I use dvdauthor). I can only preview the file with xine which is strange since mplayer *rarely* crashes.




I Get exactly this was it ever resolved ?
Back to top
View user's profile Send private message
nife
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2003
Posts: 87

PostPosted: Thu Oct 14, 2004 5:24 am    Post subject: Reply with quote

As for my previous post about mplayer, I got it fixed by upgrading. However I am still having color issues. I am running the command below. Though I have tried it with and without the -y ffmpeg,mp2enc -F mpeg2 part and still same funky sort of red colors. What gives.

Code:
transcode -x mplayer,mplayer -i sample.mpg  -V -y ffmpeg,mp2enc -F mpeg2 --export_asr 2 --export_prof dvd-ntsc -o sample


I keep getting this error and the quality is horrible. The colors are a little bit red and not at all correct.


Code:
[transcode] V: Y'CbCr           | YV12/I420


This is what transcoder shows for the Y'CbCr value referenced below

Code:
[video_trans.c] warning: odd clip parameter invalid for Y'CbCr processing mode


I keep seeing that as a warning. Now could that cause the weird color that I am getting. Mplayer shows the colors correctly so the video. Encoding seems way too fast too. I am getting 15 - 20 fps. I am looking for like a 2 -3 pass encode that will produce a better quality. I know it can be done I just don't remember how. Any suggestions.[/code]
Back to top
View user's profile Send private message
ir_jumper
n00b
n00b


Joined: 22 Oct 2004
Posts: 1
Location: Germany

PostPosted: Fri Oct 22, 2004 3:37 pm    Post subject: nice! Reply with quote

yeeeeeehaa
nice nice first time i`ve found a guide like this. video coding was the last thing i`ve done with win0w$ now i don't need win any more thanks :)
sorrz my english isn`t very good
:oops: :mrgreen:
Back to top
View user's profile Send private message
vrghost
n00b
n00b


Joined: 03 Oct 2003
Posts: 48
Location: London

PostPosted: Sat Oct 23, 2004 11:57 am    Post subject: Caling subchapters. Reply with quote

OK got it all working in the end. And even got a menu together. My problem is that I need to be able to call parts in chapters. So for example I need a button that calls chapter 1 sub 3 (the one starting at 00:01:07.934 in the below example. Anuone has any sugestions?

Code:

<vob file="/home/vrghost/ian/new/URBAN6_1.mpg" chapters="0,00:00:34.400,00:01:07.934,00:05:56.222,00:06:08.432,00:10:36.168,00:10:49.849,00:13:54.300,00:14:09.315"/>
Back to top
View user's profile Send private message
Negated Void
l33t
l33t


Joined: 25 Dec 2002
Posts: 665

PostPosted: Fri Oct 29, 2004 3:25 am    Post subject: Reply with quote

I'm having trouble spumixing subs from a .srt into my .mpeg file.

They turn out HUge, Green, and red!

Code:

<subpictures>
   <stream>
      <textsub filename="gits2_dvd.srt" fontsize="14.0" />
   </stream>
</subpictures>


Any clue what i'm doing wrong here? *Confused*

-Murph
Back to top
View user's profile Send private message
tuxicated
Tux's lil' helper
Tux's lil' helper


Joined: 02 Nov 2004
Posts: 120

PostPosted: Tue Nov 02, 2004 7:10 pm    Post subject: Multiple Files Reply with quote

I heard that when you have each scene in a seperate mpeg file (all identical resolution, interlacing, etc), merging them into one title like so:

Code:

<titles>
<pgc>
<vob file="Scene1.mpg" />
<vob file="Scene2.mpg" />
<vob file="Scene3.mpg" />
</pgc>
</titles>


some players fail to play this title seamlessly. I even heard that players can get stuck for several seconds between the scenes.

Has anyone tried this? Is this rumor true?
Back to top
View user's profile Send private message
Bigbeanpole
n00b
n00b


Joined: 24 Apr 2003
Posts: 12

PostPosted: Fri Nov 05, 2004 6:51 am    Post subject: Reply with quote

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