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


Joined: 02 Jul 2002
Posts: 41
Location: Lunenburg, NS, Canada

PostPosted: Wed Jan 04, 2006 1:53 am    Post subject: Reply with quote

Use an mp2 audio file that worked for me.

I fixed my menu error by following direction more closely. :-) My hl and sel overlays included the background buttoon. The hl and sel png's should not duplicate any part of the bg image buttons. (hope that makes sense.)

~S
Back to top
View user's profile Send private message
Linux-Spielkind
Apprentice
Apprentice


Joined: 09 Jan 2005
Posts: 167

PostPosted: Wed Jan 04, 2006 1:39 pm    Post subject: Reply with quote

Hi!
i tried again with a mp2 audio-file but i still get the same error.
_________________
AK-47 = P4 2.0 GHz 768 MB DDR/333 RAM 60 GB SAMSUNG SV6003H Nvidia Geforce4/MMX400
Back to top
View user's profile Send private message
kermitthefrog917
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2005
Posts: 106

PostPosted: Tue Jan 10, 2006 6:04 pm    Post subject: Reply with quote

I was reading this forum as well as a few others on the same topic, and i think we should combine these various scripts into some sort of software. Maybe nothing more than a master script that provides relatively easy access to all the useful scripts for DVD creation. Or maybe a GUI interface to the scripts. I registered Scripts to Konvert into DVD (SkiDVD) on sourceforge.net

Anyone interested in helping out?

http://sourceforge.net/projects/skidvd
Back to top
View user's profile Send private message
shiznix
Guru
Guru


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

PostPosted: Sat Jan 14, 2006 12:46 pm    Post subject: Any2DVD release Reply with quote

It's taken many months, but finally have just now released any2dvd-0.30 and can be found at http://sourceforge.net/projects/any2dvd/

Once again, many thanks to Scott Smith & Wolfgang Wershofen who have both been key figures with regards to DVD authoring under Linux & also to those who have contributed with ideas & bug fixes, it's by no means complete.

I won't bore too much with details but a quick rundown follows:
  • Any2Vob will now be released in the Any2DVD tarball on the sourceforge site above, howto has been updated accordingly
  • This release also includes a new version of any2vob, many bugfixes, check the Changelog
  • Any2DVD calls upon any2vob to encode the movies, then creates complete DVD menus with the option of either creating a DVD .iso or burning straight to DVD
  • Also has the option of creating animated DVD menus, thanks go to Anterion


Happy New Year
Shiznix :D
Back to top
View user's profile Send private message
feld
Guru
Guru


Joined: 29 Aug 2004
Posts: 593
Location: WI, USA

PostPosted: Mon Jan 16, 2006 4:12 am    Post subject: Reply with quote

hey man I just found your any2dvd software and I must say


THANK YOU SO MUCH!!!!




-Feld
_________________
< bmg505> I think the first line in reiserfsck is

if (random(65535)< 65500) { hose(partition); for (i=0;i<100000000;i++) print_crap(); }
Back to top
View user's profile Send private message
kermitthefrog917
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2005
Posts: 106

PostPosted: Mon Jan 16, 2006 11:33 am    Post subject: Reply with quote

agreed... does a good job... exactly what i was looking to do... (up a few posts) I guess i can drop the project
Back to top
View user's profile Send private message
feld
Guru
Guru


Joined: 29 Aug 2004
Posts: 593
Location: WI, USA

PostPosted: Mon Jan 16, 2006 7:45 pm    Post subject: Reply with quote

okay, now I'm confused.

Everything was going so well -- it started to do the job, I had everything set the way I wanted, -- I really thought this was the solution for me.


Well, it's not working. It wouldnt finish, wouldnt burn.



Code:

STAT: VOBU 0 at 0MB, 1 PGCS
/usr/bin/any2dvd: line 7397:  1325 Segmentation fault      dvdauthor -x "$XMLFILE"

Burning DVD...

Executing 'mkisofs -V ANY2DVD -dvd-video tmp_any2dvd/DVD/ | builtin_dd of=/dev/dvd obs=32k seek=0'
INFO:   UTF-8 character encoding detected by locale settings.
        Assuming UTF-8 encoded filenames on source filesystem,
        use -input-charset to override.
mkisofs: No such file or directory. Faild to open tmp_any2dvd/DVD//VIDEO_TS/VIDEO_TS.IFO
mkisofs: Can't open VMG info for 'tmp_any2dvd/DVD/'.
mkisofs: Unable to parse DVD-Video structures.
mkisofs: Unable to make a DVD-Video image.
:-( write failed: Input/output error




What happened?



-Feld
_________________
< bmg505> I think the first line in reiserfsck is

if (random(65535)< 65500) { hose(partition); for (i=0;i<100000000;i++) print_crap(); }
Back to top
View user's profile Send private message
kermitthefrog917
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2005
Posts: 106

PostPosted: Mon Jan 16, 2006 8:38 pm    Post subject: Reply with quote

yeah... after a few attempts... Im having problems as well

dvdauthor segfaults (may be a 64-bit problem)

the script skips the encoding for files already in DVD format, but then it fails to pass them on to the rest of the script

and a few that have finished have ended with either sound missing or being dropped halfway through...

when it works its awesome... and i guess its the first release... lots of potential...
Back to top
View user's profile Send private message
feld
Guru
Guru


Joined: 29 Aug 2004
Posts: 593
Location: WI, USA

PostPosted: Mon Jan 16, 2006 8:58 pm    Post subject: Reply with quote

hrm...


I'm 32bit... so I dont think dvdauthor is affected by that....


might just be a dvdauthor bug in general.




i'm using version 0.6.11 ---- maybe I should downgrade to 0.6.10?



I'll try again, if that doesnt work I'll downgrade. I'll attempt this AGAIN, and then we'll see how it fares out. Maybe 0.6.11 just isn't ready for prime time ;)

edit: Just found some alpha releases. Looks like it hasn't been worked on since March 2005.
http://dvdauthor.sourceforge.net/alpha/

Maybe the latest one there will do the trick.





-Feld
_________________
< bmg505> I think the first line in reiserfsck is

if (random(65535)< 65500) { hose(partition); for (i=0;i<100000000;i++) print_crap(); }
Back to top
View user's profile Send private message
feld
Guru
Guru


Joined: 29 Aug 2004
Posts: 593
Location: WI, USA

PostPosted: Tue Jan 17, 2006 8:07 am    Post subject: Reply with quote

Okay now from information that I've picked up I've come to the possible conclusion that my file is NOT a really good avi file, which is why it is having problems.


It was mentioned earlier in this thread that those VOB errors occur when the conversion to mpeg didn't go so well.... and other research tells me that maybe my .avi file is actually a .wmv. I'm going to use mencoder to convert to avi, then proceed with the usual any2dvd script. Hopefully this will solve the problem.





-Feld
_________________
< bmg505> I think the first line in reiserfsck is

if (random(65535)< 65500) { hose(partition); for (i=0;i<100000000;i++) print_crap(); }
Back to top
View user's profile Send private message
radagast
Apprentice
Apprentice


Joined: 20 Mar 2004
Posts: 217
Location: sydney, .au

PostPosted: Wed Jan 18, 2006 8:14 am    Post subject: Reply with quote

hello everyone
and continuing daily thanks to shiznix for building the software that i use most often (after xfce4 and all of it's dependencies)

i'll have a look at any2DVD today, but i have a sort of bug to report..

using any2vob-0.28
and ffmpeg 0.4.9_p20051216
most DV files fail like this:
Code:
ffmpeg: unrecognized option '-hq'

 Error: Video encoding failed for VOBoutput/perch1_11shanghai.aviTEMP.m2v, file not successfully encoded!


after a few busy weeks using avidemux (no commandline, no batch, no fun) i got around to downgrading ffmpeg to 0.4.9_p20050226-r5 (the last 64-bit stable version) and everything is good again.

i'll leave this post for anyone else with the same problem, and test with any2vob-0.30.
Back to top
View user's profile Send private message
feld
Guru
Guru


Joined: 29 Aug 2004
Posts: 593
Location: WI, USA

PostPosted: Wed Jan 18, 2006 8:09 pm    Post subject: Reply with quote

I dont know what has been happening but I think I figured out what has been going on.



First, it was failing on mplex, and then dvdauthor wasn't working of course because it didnt have a finished product.

Mplex was failing because it was running out of space. OOPS, LOL.


Well, I solved that, but dvdauthor was still failing. Why? I dont know HOW, but I checked the XML file and it was referencing my ORIGINAL avi file for the vob instead of the actual vob! Replacing the path to the actual vob and running the dvdauthor command proved to be sucessful (in a way... I'm doing this over ssh right now and it appears it was having audio offset errors or something.... but then was claiming it was fixing things. I hope it is OK.)

I manually burned the DVD too. Only god knows right now, but I really hope its okay. I've been fighting with this for like 3 days.


Any clue why it was referencing the original AVI instead of the actual VOB? You'd think this would be an extremely common problem if it was a hard coded script error.





-Feld
_________________
< bmg505> I think the first line in reiserfsck is

if (random(65535)< 65500) { hose(partition); for (i=0;i<100000000;i++) print_crap(); }
Back to top
View user's profile Send private message
feld
Guru
Guru


Joined: 29 Aug 2004
Posts: 593
Location: WI, USA

PostPosted: Thu Jan 19, 2006 10:07 pm    Post subject: Reply with quote

Okay, I'm sorry to inform you all that I went to the dark side to finish this project in particular. I didnt have enough time to get it done in Linux properly.



After fighting with space limitations and dvdauthor trying to make DVD structures after examining the avi file and not the actual VOB, I was having another problem.

Apparantly the encoders in Linux fail converting DIVX -> DVD successfully. The video quality was great -- the problem was that the audio was terribly, terribly off. It seemed like it was behind by about 15 seconds. The video might have been a bit slow too. I didnt want to experiment and waste time encoding again and again, so I gave up.


The funny part? Ulead DVD Creator or whatever in Windows also fails to work with DivX. I had to use a fre program... The FilmMachine.


The FilmMachine actually uses a bunch of GPL'd programs... some via cygwin.... Like DVDAuthor and MJPEG Tools. The encoders are all Windows encoders, of course.

and not mentioned but used: mkisofs



I just wish it would have worked on Linux for me as it would have been the easiest solution. (and quickest might I add... these Windows encoders are DOG SLOW.)




-Feld
_________________
< bmg505> I think the first line in reiserfsck is

if (random(65535)< 65500) { hose(partition); for (i=0;i<100000000;i++) print_crap(); }
Back to top
View user's profile Send private message
Beetle B.
Guru
Guru


Joined: 01 Mar 2003
Posts: 517

PostPosted: Sat Jan 21, 2006 11:23 pm    Post subject: Reply with quote

wrote:
after a few busy weeks using avidemux (no commandline, no batch, no fun) i got around to downgrading ffmpeg to 0.4.9_p20050226-r5 (the last 64-bit stable version) and everything is good again.


I had this problem as well - the latest stable ffmpeg did not work, and I had to revert to this one.

All of a sudden, now my video and audio are not in synch. The files are avi (one of which is xvid with VBR mp3 audio).

I tried the mencoder command on the first post, and my resulting vob's still have them out of synch. I don't know if this is a problem with the script or the files. I'll try older scripts as well as older files that worked fine in the past.
_________________
Beetle B.

Please update the table of equivalents.
A Firefox guide.
Back to top
View user's profile Send private message
Beetle B.
Guru
Guru


Joined: 01 Mar 2003
Posts: 517

PostPosted: Sat Jan 21, 2006 11:33 pm    Post subject: Reply with quote

wrote:
I had this problem as well - the latest stable ffmpeg did not work, and I had to revert to this one.


I spoke too soon. I just realized that I am using the latest stable ffmpeg - I got the same error you did using an older version of the script.

So perhaps this is why I'm having sync problems? I'll downgrade ffmpeg and see if there's a difference.
_________________
Beetle B.

Please update the table of equivalents.
A Firefox guide.
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 Jan 24, 2006 3:06 pm    Post subject: Reply with quote

There is now also a convenient graphical wizard that can convert any AVI/WMV/MPEG/... into DVD compatible MPEG2-PS:

http://kde-apps.org/content/show.php?content=29587

and another wizard to put one or multiple MPEG2-PS files into a DVD ISO file, including animated menus:

http://kde-apps.org/content/show.php?content=27528
Back to top
View user's profile Send private message
Linux-Spielkind
Apprentice
Apprentice


Joined: 09 Jan 2005
Posts: 167

PostPosted: Tue Jan 24, 2006 10:35 pm    Post subject: Reply with quote

Hi everyone!
First of all thanks for that nice howto, keep up the good work! :D

Now everything finally worked out and i got my dvd done, but there is still one little problem!
I did the menu buttons stuff according to the howto while testing the dvd-sructure with xine
i wasn't able to hit any buttons in the menu. I have no idea what i did wrong!?
_________________
AK-47 = P4 2.0 GHz 768 MB DDR/333 RAM 60 GB SAMSUNG SV6003H Nvidia Geforce4/MMX400
Back to top
View user's profile Send private message
forkboy
Apprentice
Apprentice


Joined: 24 Nov 2004
Posts: 200
Location: Blackpool, UK

PostPosted: Thu Jan 26, 2006 9:57 pm    Post subject: Reply with quote

I'm having a problem with any2dvd, I get
Code:
localhost dvd4 # any2dvd -i film.avi

Any2Dvd-0.30

 Running: any2vob --workdir=tmp_any2dvd --format=pal --audio_format=ac3 --surround=yes --compress=no --aspect=16:9 --keep_dts=yes --preview=no --log=no  --skip_comm=no --mpegts_allpids=no  -i film.avi

Any2Vob-0.30

Use Ctrl+C to abort

File(s) to process: film.avi

 Total estimated DVD Disc usage:  1.77 GB

<<<< NEW ENCODING of film.avi started at Thu Jan 26 21:55:19 GMT 2006 >>>>

File film.avi is of type: AVI


Frames/sec:
Resolution:     x
Aspect:         :1

 Final estimated filesize:      1.48 GB

syntax error at -e line 1, next char )
Execution of -e aborted due to compilation errors.
syntax error at -e line 1, near "-  ) "
Execution of -e aborted due to compilation errors.
Search pattern not terminated at -e line 1.

 Running: ffmpeg -y -i film.avi -map 0:1 -ar 48000 -ab 384 -ac 2 "tmp_any2dvd/film.ac3" -map 0:0 -f mpeg2video -s x -padtop  -padbottom  -b 5000 -bufsize 224 -maxrate 7000 -r pal -s 720x576 -aspect 16:9 tmp_any2dvd/film.m2v

ffmpeg version CVS, build 3342336, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-shared-pp --enable-shared --disable-static --enable-mmx --disable-altivec --disable-debug --enable-mp3lame --disable-a52 --disable-a52bin --enable-audio-oss --disable-v4l --disable-dv1394 --disable-dc1394 --disable-pthreads --enable-xvid --enable-libogg --enable-vorbis --disable-theora --disable-dts --disable-network --enable-zlib --enable-ffplay --disable-faad --disable-faac --disable-faadbin --enable-gpl --enable-pp --disable-opts --build=i686-pc-linux-gnu
  built on Jan 26 2006 15:40:24, gcc: 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
Input #0, avi, from 'film.avi':
  Duration: 00:42:25.3, start: 0.000000, bitrate: 1150 kb/s
  Stream #0.0, 25.00 fps: Video: mpeg4, yuv420p, 640x368
  Stream #0.1: Audio: mp3, 44100 Hz, stereo, 32 kb/s
Incorrect frame size

 Error: Video encoding failed for tmp_any2dvd/film.m2v, file not successfully encoded!

Any help please?
Back to top
View user's profile Send private message
Linux-Spielkind
Apprentice
Apprentice


Joined: 09 Jan 2005
Posts: 167

PostPosted: Mon Jan 30, 2006 6:06 pm    Post subject: Reply with quote

Hi forkboy!

Your source video has a strange size! You may have to resize it to 720x576 to get it working you can do this with mencoder/mplayer. if you don't know how take a look at the documentation.

Quote:
Stream #0.0, 25.00 fps: Video: mpeg4, yuv420p, 640x368

_________________
AK-47 = P4 2.0 GHz 768 MB DDR/333 RAM 60 GB SAMSUNG SV6003H Nvidia Geforce4/MMX400
Back to top
View user's profile Send private message
kostavox
n00b
n00b


Joined: 31 Jan 2006
Posts: 2

PostPosted: Tue Jan 31, 2006 8:33 am    Post subject: Making HD DVDs with DVD authoring software on DVDRs Reply with quote

Dear All,

I'm working with HDV files and using the Canopus HQ codec can easily author on DVD Architect as it treats the HQ avi as a normal SD avi, but I can therefore only output at 720 X 576 [PAL] resolution.

I've looked at att the PC-based DVD authoring solutions, and none will allow you to change the settings to 1920 X 1080 unless you want to invest "stupid-money" for a Sonic Solutions [$250K].

Apple's DVD STUDIO PRO will let you do this for $700.

Is there anything out there I can use in the Wintel world?
Back to top
View user's profile Send private message
hulmeman
Apprentice
Apprentice


Joined: 02 Jul 2002
Posts: 184
Location: Duchy of Lancaster, England.

PostPosted: Tue Jan 31, 2006 11:26 am    Post subject: Reply with quote

Hi
I've just finished an 'emerge -Duv world' and have started getting the following error:

Code:
/dvd/funland/edited/Funland_S01E01_e.avi

 Total estimated DVD Disc usage:  2.00 GB

<<<< NEW ENCODING of /dvd/funland/edited/Funland_S01E01_e.avi started at Tue Jan 31 05:54:47 GMT 2006 >>>>

File /dvd/funland/edited/Funland_S01E01_e.avi is of type: AVI


Frames/sec:
Resolution:     x
Aspect:         :1

 Final estimated filesize:      1.70 GB

syntax error at -e line 1, next char )
Execution of -e aborted due to compilation errors.
syntax error at -e line 1, near "-  ) "
Execution of -e aborted due to compilation errors.
Search pattern not terminated at -e line 1.

 Running: ffmpeg -y -i /dvd/funland/edited/Funland_S01E01_e.avi -map 0:1 -ar 48000 -ab 384 -ac 2 "tmp_any2vob/Funland_S01E01_e.ac3" -map 0:0 -f mpeg2video -s x -padtop  -padbottom  -b 5000 -bufsize 224 -maxrate 7000 -r pal -s 720x576 -aspect 16:9 tmp_any2vob/Funland_S01E01_e.m2v

ffmpeg version CVS, build 3342336, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-shared-pp --enable-shared --disable-static --enable-mmx --disable-altivec --disable-debug --enable-mp3lame --enable-a52 --disable-a52bin --enable-audio-oss --enable-v4l --disable-dv1394 --disable-dc1394 --enable-pthreads --enable-xvid --enable-libogg --enable-vorbis --enable-theora --enable-dts --disable-network --enable-zlib --enable-ffplay --enable-faad --enable-faac --disable-faadbin --enable-gpl --enable-pp --disable-opts --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
  built on Jan 28 2006 06:32:48, gcc: 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)
Input #0, avi, from '/dvd/funland/edited/Funland_S01E01_e.avi':
  Duration: 00:48:51.8, start: 0.000000, bitrate: 984 kb/s
  Stream #0.0, 25.00 fps: Video: mpeg4, yuv420p, 640x352
  Stream #0.1: Audio: mp3, 48000 Hz, stereo, 122 kb/s
Incorrect frame size

 Error: Video encoding failed for tmp_any2vob/Funland_S01E01_e.m2v, file not successfully encoded!



Frame size is OK, because I have previously encoded this file successfully, prior to emerge -Duv world.
Hope someone can help.
Baz
Back to top
View user's profile Send private message
radagast
Apprentice
Apprentice


Joined: 20 Mar 2004
Posts: 217
Location: sydney, .au

PostPosted: Tue Jan 31, 2006 12:02 pm    Post subject: Reply with quote

try downgrading ffmpeg
i'm using 0.4.9_p20050226-r5, i had a lot of trouble with the newer versions.
Back to top
View user's profile Send private message
hulmeman
Apprentice
Apprentice


Joined: 02 Jul 2002
Posts: 184
Location: Duchy of Lancaster, England.

PostPosted: Wed Feb 01, 2006 1:35 pm    Post subject: Reply with quote

radagast wrote:
try downgrading ffmpeg
i'm using 0.4.9_p20050226-r5, i had a lot of trouble with the newer versions.


I've tried 0.4.9_p20050226-r5, still the same error!
Back to top
View user's profile Send private message
forkboy
Apprentice
Apprentice


Joined: 24 Nov 2004
Posts: 200
Location: Blackpool, UK

PostPosted: Fri Feb 03, 2006 8:38 pm    Post subject: Reply with quote

I can use the commands on the first page of this thread, but if I try to use any2vob or any2dvd I get the above errors, on every file I try.
Back to top
View user's profile Send private message
radagast
Apprentice
Apprentice


Joined: 20 Mar 2004
Posts: 217
Location: sydney, .au

PostPosted: Fri Feb 03, 2006 11:50 pm    Post subject: Reply with quote

try debugging just the command it's failing on (in the example above):
Code:
ffmpeg -y -i /dvd/funland/edited/Funland_S01E01_e.avi -map 0:1 -ar 48000 -ab 384 -ac 2 "tmp_any2vob/Funland_S01E01_e.ac3" -map 0:0 -f mpeg2video -s x -padtop  -padbottom  -b 5000 -bufsize 224 -maxrate 7000 -r pal -s 720x576 -aspect 16:9 tmp_any2vob/Funland_S01E01_e.m2v


play with it a bit, see if you can find out what's breaking it.
unfortunately the any2vob script has become very complicated and i've never managed to fix an error once i've found it. but if you work out what's wrong you can report it here and the next version will be Better.

i encode a lot of DV video (usually captured on a PC, edited on Premiere, then given to me to turn into a dvd), and i just about always run it through mencoder first
Code:
mencoder -o OUTFILE.AVI -ovc lavc -lavcopts vbitrate=10000:vhq -ffourcc DX50 -oac copy INFILE.AVI


i know that any2vob sometimes does this as well, but that seems to save me from most of my errors (except when the errors were from the ffmpeg version mismatch)

keep trying...
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 ... 24, 25, 26 ... 29, 30, 31  Next
Page 25 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