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 ... 15, 16, 17 ... 29, 30, 31  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
nife
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2003
Posts: 87

PostPosted: Mon Jan 24, 2005 4:18 pm    Post subject: Reply with quote

Thanks for this thread. It got me started on Transcode. Great peice of software. Anyway I now use a script from a regular of the lists there. I love aviToVob. http://inferno.slug.org/cgi-bin/wiki?AviToVob Its great. It takes a little longer then the fastest way I've seen, but it doesn't need to worry about the sync issues. ffmpeg is great. The latest releases are pretty good.
Back to top
View user's profile Send private message
shiznix
Guru
Guru


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

PostPosted: Tue Jan 25, 2005 1:45 am    Post subject: Reply with quote

nife wrote:
Thanks for this thread. It got me started on Transcode. Great peice of software. Anyway I now use a script from a regular of the lists there. I love aviToVob.
Well written, but for NTSC only (sorry PAL users) & uses mencoder to convert the framerate resulting in less smooth motion in high activity scenes than using '-J modfps'.
The author Phil Ehrens has talked about adding in PAL support for a while now, but nothing has eventuated (I may just come to the party on this one) :wink:

Quote:
http://inferno.slug.org/cgi-bin/wiki?AviToVob Its great. It takes a little longer then the fastest way I've seen, but it doesn't need to worry about the sync issues.
'-J modfps' takes care of this (see above).

Quote:
ffmpeg is great. The latest releases are pretty good.

Phil also does an appreciative job at maintaining the transcode wiki at http://www.transcoding.org/cgi-bin/transcode
Back to top
View user's profile Send private message
shiznix
Guru
Guru


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

PostPosted: Tue Jan 25, 2005 2:19 am    Post subject: Re: Howto author AVI->DVD with menus using Linux only ! Reply with quote

kupopo wrote:
I have a few questions about audio. First, this has been on the main post for a while, but I always get an error from dd when I run this:
shiznix wrote:
For NTSC:
Code:
dd if=/dev/zero bs=4 count=1601.6 | toolame -b 128 -s 48 /dev/stdin menu_audio.ac3

Code:
dd: invalid number `1601.6'

What should the number be? I've just been using 1601, but I don't really know.

You are right, it should be 1601, not 1601.6, this has been fixed & thanks.
Quote:
Also, were the references to "-J resample" removed from the post? Are they obsolete? I find I still need to use them or else my sound gets out of sync.

Yes, '-J resample' was recently removed from the post, no it is not obsolete, but no longer applies in this situation.
'-J modfps' will still need to be used, but adding or removing '-J resample' should not affect sync in any way.

'-J resample' was added to remedy the following error...
Code:

WARNING: Selected audio sample rate (48000 Hz) not equal to input sample rate (44100 Hz), use -J
...and to have transcode create a correctly re-sampled audio stream that dvdauthor would recognise.

This error was only occurring because I was specifying '--export_prof' & '-E 48000,16,2 -b 224' both on the same line, when '--export_prof' does the job of both.
In a nutshell, confusing the export profile by telling transcode to resample twice.
Removing '-E 48000,16,2 -b 224' & letting '--export_prof' do the work means the error will no longer appear & so '-J resample' is no longer necessary here.
Hope that makes sense.
Also makes the transcode command line much easier to read/remember.
Back to top
View user's profile Send private message
neilhwatson
l33t
l33t


Joined: 06 Feb 2003
Posts: 719
Location: Canada

PostPosted: Tue Jan 25, 2005 8:05 pm    Post subject: Reply with quote

Your Howto mentions using the transcode option --export-prof. However, that option is not available to me:
Code:
transcode: unrecognized option `--export_prof'
transcode v0.6.11 (C) 2001-2003 Thomas Oestreich, 2003 T. Bitterberg
'transcode -h | more' shows a list of available command line options.

_________________
The true guru is a teacher.
Neil Watson
Back to top
View user's profile Send private message
shiznix
Guru
Guru


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

PostPosted: Wed Jan 26, 2005 1:32 am    Post subject: Reply with quote

neilhwatson wrote:
Your Howto mentions using the transcode option --export-prof. However, that option is not available to me:
Code:
transcode: unrecognized option `--export_prof'
transcode v0.6.11 (C) 2001-2003 Thomas Oestreich, 2003 T. Bitterberg
'transcode -h | more' shows a list of available command line options.

Hi Neil,
You need to unmask & upgrade your transcode version from 0.6.11 to 0.6.14, this is described in the howto.

Thanks :wink:
Back to top
View user's profile Send private message
qwijibow
n00b
n00b


Joined: 27 Dec 2004
Posts: 58

PostPosted: Wed Jan 26, 2005 8:36 pm    Post subject: help ! failed to init encoder ??? Reply with quote

ive tried mkdvd, ive tried this script... but nomatter what i try, i cannot encode an AVI to a dvd :(
poor old me.

Code:
 transcode -i Shaun.avi -y ffmpeg --export_prof dvd-pal --export_asr 3 -o shaun -D0 -s2 \
> -m shaun.ac3 -J modfps --export_fps 25
transcode v0.6.12 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source Shaun.avi (ok)
[transcode] V: import format    | XviD RIFF data, AVI (V=ffmpeg|A=mp3)
[transcode] V: import frame     | 640x272  2.35:1
[transcode] V: pre clip frame   | 640x338 (-33,0,-33,0)
[transcode] V: zoom             | 720x576  1.55:1 (Lanczos3)
[transcode] V: bits/pixel       | 0.174
[transcode] V: decoding fps,frc | 25.000,3
[transcode] A: import format    | 0x55    MPEG layer-3 [48000,16,2]  113 kbps
[transcode] A: export format    | 0x55    MPEG layer-3 [48000,16,2]  128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | 0@1000
[transcode] A: rescale stream   | 2.000
[transcode] V: video buffer     | 10 @ 720x576
[import_mp3.so] v0.1.4 (2003-08-04) (audio) MPEG
[import_ffmpeg.so] v0.1.10 (2003-12-30) (video)  FFmpeg0.4.8b4695: MS MPEG4v1-3/MPEG4/MJPEG
[filter_modfps.so] v0.10 (2003-08-18) plugin to modify framerate
[filter_modfps.so] converting from 25.0000fps to 25.0000fps
[filter_modfps.so] No framerate conversion requested, exiting
[transcode] warning : filter plugin 'modfps' returned error - plugin skipped
[export_ffmpeg.so] v0.3.11 (2003-12-30) (video) FFmpeg0.4.8b4695 | (audio) MPEG/AC3/PCM
[import_mp3.so] MP3->PCM
[import_mp3.so] tcextract -a 0 -i "Shaun.avi" -x mp3 -d 0 | tcdecode -x mp3 -d 0 -z 48000
[export_ffmpeg.so] You must chose a codec by supplying '-F <codecname>'. A list of supported codecs can be obtained with '-F list'.
[transcode] warning : (encoder.c) video export module error: init failed
[transcode] critical: failed to init encoder


whats wrong !???

im using an upto date Gentoo on the AMD64
Back to top
View user's profile Send private message
shiznix
Guru
Guru


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

PostPosted: Thu Jan 27, 2005 12:17 am    Post subject: Re: help ! failed to init encoder ??? Reply with quote

qwijibow wrote:
ive tried mkdvd, ive tried this script... but nomatter what i try, i cannot encode an AVI to a dvd :(
poor old me.

Code:
 transcode -i Shaun.avi -y ffmpeg --export_prof dvd-pal --export_asr 3 -o shaun -D0 -s2 \
> -m shaun.ac3 -J modfps --export_fps 25
transcode v0.6.12 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
<big_snip>


whats wrong !???

im using an upto date Gentoo on the AMD64


Hi qwijibow,
You need to unmask & upgrade your transcode version from 0.6.12 to 0.6.14, this is described in the howto.

Thanks :wink:
Back to top
View user's profile Send private message
qwijibow
n00b
n00b


Joined: 27 Dec 2004
Posts: 58

PostPosted: Thu Jan 27, 2005 3:32 am    Post subject: Reply with quote

Ever spent hours stareing at an infinite loop like,

while(x=0) { // do somthing untill x is non zero }

and not being able to work out why its not working correctly ????

then it suddenly comes to you.

thats how i feel right now :D

just couldnt work out why it was working perfect for everyone except me.
i was --->this<---- close to opening up an X-file... lol.

thanks !!!
Back to top
View user's profile Send private message
qwijibow
n00b
n00b


Joined: 27 Dec 2004
Posts: 58

PostPosted: Thu Jan 27, 2005 3:44 am    Post subject: Reply with quote

OOPS, nope, still not there. i npw have the correct versions of software.

Code:

bash-2.05b$  transcode -i Movie.avi -y ffmpeg --export_prof dvd-pal --export_asr 3 -o movie -D0 -s2
 -m movie.ac3 -J modfps --export_fps 25
transcode v0.6.14 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source Movie.avi (ok)
[transcode] V: import format    | XviD RIFF data, AVI (V=ffmpeg|A=mp3)
[transcode] V: import frame     | 640x272  2.35:1
XXX: zoom=yes pre_clip=yes
[transcode] V: pre clip frame   | 640x382 (-56,0,-54,0)
[transcode] V: zoom             | 720x576  1.76:1 (Lanczos3)
[transcode] V: bits/pixel       | 0.174
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: Y'CbCr           | YV12/I420
[transcode] A: import format    | 0x55    MPEG layer-3 [48000,16,2]  113 kbps
[transcode] A: export format    | 0x55    MPEG layer-3 [48000,16,2]  128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | 0@1000
[transcode] A: rescale stream   | 2.000
tc_memcpy: using libc for memcpy
[transcode] V: video buffer     | 10 @ 720x576
[import_mp3.so] v0.1.4 (2003-08-04) (audio) MPEG
[import_ffmpeg.so] v0.1.11 (2004-02-29) (video)  FFmpeg0.4.9-pre1b4718: MS MPEG4v1-3/MPEG4/MJPEG
[filter_modfps.so] v0.10 (2003-08-18) plugin to modify framerate
[filter_modfps.so] converting from 25.0000fps to 25.0000fps
[filter_modfps.so] No framerate conversion requested, exiting
[transcode] warning : filter plugin 'modfps' returned error - plugin skipped
[export_ffmpeg.so] v0.3.13 (2004-08-03) (video) FFmpeg0.4.9-pre1b4718 | (audio) MPEG/AC3/PCM
[import_mp3.so] MP3->PCM
[import_mp3.so] tcextract -a 0 -i "Movie.avi" -x mp3 -d 0 | tcdecode -x mp3 -d 0 -z 48000
bash-2.05b$ tc_memcpy: using libc for memcpy
Can't step back 48!



i did a strace and found the following lines of interest at the end

Code:

brk(0x5d4000)                           = 0x5d4000
brk(0x5f5000)                           = 0x5f5000
brk(0x616000)                           = 0x616000
mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9ba28000
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9ba68000
rt_sigprocmask(SIG_SETMASK, NULL, [INT TERM RTMIN], 8) = 0
write(4, "\240\24W\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\240"..., 168) = 168
rt_sigprocmask(SIG_SETMASK, NULL, [INT TERM RTMIN], 8) = 0
rt_sigsuspend([INT TERM] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
rt_sigreturn(0x20)                      = -1 EINTR (Interrupted system call)
rt_sigprocmask(SIG_SETMASK, NULL, [INT TERM RTMIN], 8) = 0
write(4, "\240\24W\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20R"..., 168) = 168
rt_sigprocmask(SIG_SETMASK, NULL, [INT TERM RTMIN], 8) = 0
+++ killed by SIGKILL +++



any more idea's ?

thanks for the help so far.
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 Jan 27, 2005 4:58 am    Post subject: Reply with quote

qwijibow wrote:
OOPS, nope, still not there. i npw have the correct versions of software.

Code:

bash-2.05b$  transcode -i Movie.avi -y ffmpeg --export_prof dvd-pal --export_asr 3 -o movie -D0 -s2
 -m movie.ac3 -J modfps --export_fps 25
transcode v0.6.14 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source Movie.avi (ok)
[transcode] V: import format    | XviD RIFF data, AVI (V=ffmpeg|A=mp3)
[transcode] V: import frame     | 640x272  2.35:1
XXX: zoom=yes pre_clip=yes
[transcode] V: pre clip frame   | 640x382 (-56,0,-54,0)
[transcode] V: zoom             | 720x576  1.76:1 (Lanczos3)
[transcode] V: bits/pixel       | 0.174
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: Y'CbCr           | YV12/I420
[transcode] A: import format    | 0x55    MPEG layer-3 [48000,16,2]  113 kbps
[transcode] A: export format    | 0x55    MPEG layer-3 [48000,16,2]  128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | 0@1000
[transcode] A: rescale stream   | 2.000
tc_memcpy: using libc for memcpy
[transcode] V: video buffer     | 10 @ 720x576
[import_mp3.so] v0.1.4 (2003-08-04) (audio) MPEG
[import_ffmpeg.so] v0.1.11 (2004-02-29) (video)  FFmpeg0.4.9-pre1b4718: MS MPEG4v1-3/MPEG4/MJPEG
[filter_modfps.so] v0.10 (2003-08-18) plugin to modify framerate
[filter_modfps.so] converting from 25.0000fps to 25.0000fps
[filter_modfps.so] No framerate conversion requested, exiting
[transcode] warning : filter plugin 'modfps' returned error - plugin skipped
[export_ffmpeg.so] v0.3.13 (2004-08-03) (video) FFmpeg0.4.9-pre1b4718 | (audio) MPEG/AC3/PCM
[import_mp3.so] MP3->PCM
[import_mp3.so] tcextract -a 0 -i "Movie.avi" -x mp3 -d 0 | tcdecode -x mp3 -d 0 -z 48000
bash-2.05b$ tc_memcpy: using libc for memcpy
Can't step back 48!



i did a strace and found the following lines of interest at the end

Code:

brk(0x5d4000)                           = 0x5d4000
brk(0x5f5000)                           = 0x5f5000
brk(0x616000)                           = 0x616000
mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9ba28000
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9ba68000
rt_sigprocmask(SIG_SETMASK, NULL, [INT TERM RTMIN], 8) = 0
write(4, "\240\24W\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\240"..., 168) = 168
rt_sigprocmask(SIG_SETMASK, NULL, [INT TERM RTMIN], 8) = 0
rt_sigsuspend([INT TERM] <unfinished ...>
--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
rt_sigreturn(0x20)                      = -1 EINTR (Interrupted system call)
rt_sigprocmask(SIG_SETMASK, NULL, [INT TERM RTMIN], 8) = 0
write(4, "\240\24W\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20R"..., 168) = 168
rt_sigprocmask(SIG_SETMASK, NULL, [INT TERM RTMIN], 8) = 0
+++ killed by SIGKILL +++



any more idea's ?

thanks for the help so far.


do you have nasm installed ?

I have
Code:
nasm -v
NASM version 0.98.38 compiled on Sep 12 2004


memcpy in transcode 0.6.14 uses nasm so that could be one issue, though I'm almost reaching at straws.
Back to top
View user's profile Send private message
qwijibow
n00b
n00b


Joined: 27 Dec 2004
Posts: 58

PostPosted: Thu Jan 27, 2005 9:26 am    Post subject: Reply with quote

Code:
tux root # nasm -v
-bash: nasm: command not found


Pingo !?

there is anouther grat dvd encoding software at freshmeat called mkdvd.
it fails the exact same way this does, with a mysteriouse sig_kill.

im guessing this is a simple emerge nasm ?

oops, nope. emergeed the same nasm version as you and i get a similar error

Code:

bash-2.05b$ transcode -i Movie.avi -y ffmpeg --export_prof dvd-pal --export_asr3 -o movie -D0 -s2 -m movie.ac3 -J modfps --export_fps 25
transcode v0.6.14 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source Movie.avi (ok)
[transcode] V: import format    | XviD RIFF data, AVI (V=ffmpeg|A=mp3)
[transcode] V: import frame     | 640x272  2.35:1
XXX: zoom=yes pre_clip=yes
[transcode] V: pre clip frame   | 640x382 (-56,0,-54,0)
[transcode] V: zoom             | 720x576  1.76:1 (Lanczos3)
[transcode] V: bits/pixel       | 0.174
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: Y'CbCr           | YV12/I420
[transcode] A: import format    | 0x55    MPEG layer-3 [48000,16,2]  113 kbps
[transcode] A: export format    | 0x55    MPEG layer-3 [48000,16,2]  128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | 0@1000
[transcode] A: rescale stream   | 2.000
tc_memcpy: using libc for memcpy
[transcode] V: video buffer     | 10 @ 720x576
[import_mp3.so] v0.1.4 (2003-08-04) (audio) MPEG
[import_ffmpeg.so] v0.1.11 (2004-02-29) (video)  FFmpeg0.4.9-pre1b4718: MS MPEG4v1-3/MPEG4/MJPEG
[filter_modfps.so] v0.10 (2003-08-18) plugin to modify framerate
[filter_modfps.so] converting from 25.0000fps to 25.0000fps
[filter_modfps.so] No framerate conversion requested, exiting
[transcode] warning : filter plugin 'modfps' returned error - plugin skipped
[export_ffmpeg.so] v0.3.13 (2004-08-03) (video) FFmpeg0.4.9-pre1b4718 | (audio)MPEG/AC3/PCM
[import_mp3.so] MP3->PCM
[import_mp3.so] tcextract -a 0 -i "Movie.avi" -x mp3 -d 0 | tcdecode -x mp3 -d 0 -z 48000
[export_ffmpeg.so] Using FFMPEG codec 'mpeg2video' (FourCC 'mpg2', MPEG2 compliant video).
tc_memcpy: using libc for memcpy
[export_ffmpeg.so]: INFO: Selected dvd profile, pal video type for video
[export_ffmpeg.so]: INFO: Set interlacing to top-first
[export_ffmpeg.so]: INFO: Set frame rate to 25
[export_ffmpeg.so]: INFO: Set video bitrate to 5000
[export_ffmpeg.so]: INFO: Set GOP size to 15
[export_ffmpeg.so] Neither './ffmpeg.cfg' nor '~/.transcode/ffmpeg.cfg'
[export_ffmpeg.so] found. Default settings will be used instead.
[export_ffmpeg.so]: INFO: Starting 1 thread(s)
[export_ffmpeg.so]: INFO: Display aspect ratio calculated as 1.777778
[export_ffmpeg.so]: INFO: Sample aspect ratio calculated as 1.422222
[mpeg2video @ 0x2a98cc0cd0]removing common factors from framerate
[export_ffmpeg.so]: INFO: Selected dvd profile for audio
[export_ffmpeg.so]: INFO: Resampling filter inactive
[export_ffmpeg.so]: INFO: Set number of audio channels to 2
[export_ffmpeg.so]: INFO: Set number of audio bits to 16
[export_ffmpeg.so]: INFO: No audio resampling necessary, using 48000 Hz
[export_ffmpeg.so]: INFO: Set audio bit rate to 224 kbps
[export_ffmpeg.so]: INFO: Set audio codec to ac3
Can't step back 48!
Killed

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


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

PostPosted: Thu Jan 27, 2005 12:07 pm    Post subject: Any2Vob released Reply with quote

For convenience sake & as a workaround to some annoying bugs cropping up with using transcode's '--export_prof' option, the Any2Vob script has been created.

The export profiles are still in my opinion the easiest way to encode & do work fine ~90% of the time, though for stability & successful encodings, the script uses the old tried & true method of manually zooming & issuing clip values via '-j' instead of '--pre_clip' (very close to reverting the howto back to this method & ditching '--export_prof' for the time being). :?

The script basically automates the entire 'Encoding the movies' section.
Encodes PAL/NTSC DVD compliant VOBs from any PC multimedia file, ready for dvdauthoring.
Optionally compresses the encoded file by reducing the resolution & video bitrate (--compress=yes).
Optionally creates a 5.1 surround sound audio track if one does not already exist in the original input file (enabled by default).

Usage: ./any2vob -h
Example1: ./any2vob --aspect=16:9 --format=ntsc --compress=yes -i movie.avi video.mov wedding.wmv mythtv.nuv svcd.bin stuff.asf foo.mpg
Example2: ./any2vob --aspect=4:3 --surround=no -i /path/to/directory/containing/files/*

Anyway, try it out here -> http://mightylegends.zapto.org/dvd/any2vob-0.14.sh

Appreciate any feedback, thanks. 8)


Last edited by shiznix on Fri Jan 28, 2005 10:40 am; edited 2 times in total
Back to top
View user's profile Send private message
qwijibow
n00b
n00b


Joined: 27 Dec 2004
Posts: 58

PostPosted: Thu Jan 27, 2005 1:58 pm    Post subject: Reply with quote

Code:
./any2vob-0.12.sh --format=pal --surround=no --aspect=16:9 -i ./Movie.avi
Program 'multimux' is missing, please install it first.


no mention of multi-mix in the portage tree, soureforge or freshmeat, or in th folder the download link is in.

any clues about where to obtain this dependency ?

EDIT
Quote:
http://panteltje.com/panteltje/dvd/


REPEAT 10 times... i WILL read scripts i WILL read scripts, i WILL READ SCRIPTS !

sorry for this stupid post.

im getting so frustrated at this, everything on my machine works perfecct, but for reasons nobdy can explain, it just refuses to allow me to make DVD's
Back to top
View user's profile Send private message
qwijibow
n00b
n00b


Joined: 27 Dec 2004
Posts: 58

PostPosted: Thu Jan 27, 2005 2:14 pm    Post subject: Reply with quote

Code:

bash-2.05b$ ./any2vob-0.12.sh --aspect=16:9 --format=pal --surround=no --compress=no -i Movie.avi

File(s) to process: Movie.avi

*********** NEW ENCODING of Movie.avi started at Thu Jan 27 14:13:44 GMT 2005 ***********

File Movie.avi is of type: AVI


Running: transcode -i Movie.avi -y ffmpeg -F mpeg2 -Z 720x576 --export_asr 3 --encode_fields t -j -56,0,-54,0 -o Movie -D0-E 48000,16,2 -b 224 -N 0x2000 -s2 -m Movie.ac3 -J modfps --export_fps 25

transcode v0.6.14 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source Movie.avi (ok)
[transcode] V: import format    | XviD RIFF data, AVI (V=ffmpeg|A=mp3)
[transcode] V: import frame     | 640x272  2.35:1
[transcode] V: clip frame (<-)  | 640x382
[transcode] V: zoom             | 720x576  1.76:1 (Lanczos3)
[transcode] V: bits/pixel       | 0.174
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: Y'CbCr           | YV12/I420
[transcode] A: import format    | 0x55    MPEG layer-3 [48000,16,2]  113 kbps
[transcode] A: export format    | 0x2000  AC3          [48000,16,2]  224 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | 0@1000
[transcode] A: rescale stream   | 2.000
tc_memcpy: using libc for memcpy
[transcode] V: video buffer     | 10 @ 720x576
[import_mp3.so] v0.1.4 (2003-08-04) (audio) MPEG
[import_ffmpeg.so] v0.1.11 (2004-02-29) (video)  FFmpeg0.4.9-pre1b4718: MS MPEG4v1-3/MPEG4/MJPEG
[filter_modfps.so] v0.10 (2003-08-18) plugin to modify framerate
[filter_modfps.so] converting from 25.0000fps to 25.0000fps
[filter_modfps.so] No framerate conversion requested, exiting
[transcode] warning : filter plugin 'modfps' returned error - plugin skipped
[export_ffmpeg.so] v0.3.13 (2004-08-03) (video) FFmpeg0.4.9-pre1b4718 | (audio) MPEG/AC3/PCM
[import_mp3.so] MP3->PCM
[import_mp3.so] tcextract -a 0 -i "Movie.avi" -x mp3 -d 0 | tcdecode -x mp3 -d 0 -z 48000
tc_memcpy: using libc for memcpy
./any2vob-0.12.sh: line 227:  8897 Killed                  transcode -i $file -y ffmpeg -F mpeg2 -Z 720x576 --export_asr $ASPECT --encode_fields t $PRECLIP_ARGS -o $name $AUDIO_ARGS -J modfps --export_fps $FPS

Running: mplex -f8 -o Movie.VOB Movie.m2v Movie.ac3

   INFO: [mplex] mplex version 1.6.2 (2.2.3 $Date: 2004/01/13 20:45:26 $)
**ERROR: [mplex] Unable to open file Movie.m2v for reading.
rm: cannot remove `Movie.m2v': No such file or directory
rm: cannot remove `Movie.ac3': No such file or directory
Movie.avi finished, new VOB file is called Movie.VOB

bash-2.05b$ Can't step back 48


but my problem seems to stem from transcode, not your script.

should i be converned about the following
Quote:
[ transcode ] warning : filter plugin 'modfps' returned error - plugin skipped


is this normal ? is it possable this modfps module is killing the whole porcess ?
Back to top
View user's profile Send private message
qwijibow
n00b
n00b


Joined: 27 Dec 2004
Posts: 58

PostPosted: Thu Jan 27, 2005 3:52 pm    Post subject: Reply with quote

ahaaaaa.....
after tweaking and fidleing ive managed to get transcode working.. (doing the first part from pae one now)

however i had to remove the modfps package, liuckily my movies are already in 25fps, but to save effort use other scripts that have modfps hard coded, howdi i determine whats wrong with modfps and fix it ???
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 Jan 27, 2005 6:41 pm    Post subject: Reply with quote

qwijibow wrote:
ahaaaaa.....
after tweaking and fidleing ive managed to get transcode working.. (doing the first part from pae one now)

however i had to remove the modfps package, liuckily my movies are already in 25fps, but to save effort use other scripts that have modfps hard coded, howdi i determine whats wrong with modfps and fix it ???


Are
filter_modfps.la filter_modfps.so
in /usr/lib/transcode
Back to top
View user's profile Send private message
shiznix
Guru
Guru


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

PostPosted: Fri Jan 28, 2005 11:53 am    Post subject: Reply with quote

qwijibow wrote:
ahaaaaa.....
after tweaking and fidleing ive managed to get transcode working.. (doing the first part from pae one now)

however i had to remove the modfps package, liuckily my movies are already in 25fps, but to save effort use other scripts that have modfps hard coded, howdi i determine whats wrong with modfps and fix it ???
This is strange.
Btw, don't be concerned about
Code:
[ transcode ] warning : filter plugin 'modfps' returned error - plugin skipped

It just means that it is being skipped as the source file's frame rate is the same as the frame rate being asked to encode to.
I would throw a guess & say that it is probably a 64-bit problem.
Quote:
Are filter_modfps.la filter_modfps.so in /usr/lib/transcode

This is important, some libs have been known to go awol when compiling transcode for AMD64 (eg. export_mpeg.so springs to mind).

Does this happen with other movies that have different resolution/frame rate etc. ?
Back to top
View user's profile Send private message
qwijibow
n00b
n00b


Joined: 27 Dec 2004
Posts: 58

PostPosted: Fri Jan 28, 2005 1:12 pm    Post subject: Reply with quote

Code:
bash-2.05b$ ls /usr/lib/transcode/ | grep filter_modfps
filter_modfps.la
filter_modfps.s


yes they are.

but if i remove the -J modfps --export-fps 25 part, then everything encodes beautifully.

all my AVI's are taken from the same source, and so are all identicly format, when i have time, i will attempt to encode the matrix trailer.

thanks for all the help.ill post back next time i have chance to work on it.
Back to top
View user's profile Send private message
soupus
n00b
n00b


Joined: 11 Aug 2004
Posts: 15

PostPosted: Sat Jan 29, 2005 12:07 am    Post subject: Reply with quote

Hey guys, I've successfully completed a dvd that runs absolutely perfect on my computers dvd rom, but fails in a regular dvd player. The menu page audio cuts out early and then repeats, and the movie's audio is a higher frequency and skips. I'd expect it was just a mplexing error, except it runs fine on my computer?

Any suggestions?
Back to top
View user's profile Send private message
slaterson
Apprentice
Apprentice


Joined: 26 Feb 2003
Posts: 254

PostPosted: Sat Jan 29, 2005 6:58 am    Post subject: Reply with quote

shiznix,
i have an mpeg2 video, 480x480, that i want to make into a dvd. then i run transcode, the m2v file that is created is just a green video. does transcode need some different options for working with mpg input?

the transcode command:
Code:
transcode -i essions.mpg -y ffmpeg --export_prof dvd-ntsc --export_asr 2 -o sessions -D0 -s2 -m sessions.ac3 -J modfps --export_fps 29.97


thanks,
slate
Back to top
View user's profile Send private message
ivanova
Apprentice
Apprentice


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

PostPosted: Sat Jan 29, 2005 2:37 pm    Post subject: Reply with quote

soupus wrote:
The menu page audio cuts out early and then repeats

Check if the video and audio stream duration is the same - my dvdplayer (and ogle) doesn't like it when the video stream is shorter than the audio stream.
soupus wrote:
the movie's audio is a higher frequency and skips.

Check that the audio samplerate is 48kHz - hardware dvd players expect 48kHz and will play eg. 44.1kHz a bit faster.

@slaterson
Post the output from transcode
_________________
Ladies and Gentlemen... we are floating in space.
Back to top
View user's profile Send private message
decourl
n00b
n00b


Joined: 29 Jan 2005
Posts: 1

PostPosted: Sat Jan 29, 2005 4:36 pm    Post subject: Soft telecine support in Linux DVD authoring tools? Reply with quote

It appears that many film-sourced commercial DVDs contain MPEG
which is encoded at 23.97 fps rather than the NTSC standard 29.97 fps.

I understand that these DVDs have a flag set which instructs the player
to perform a pulldown in cases where a television set is targeted.

As far as the Linux tools for DVD mastering are concerned, I see that
most of the documentation instructs the user to perform a frame rate
adjustment to 29.97 fps before coding the MPEG.

In fact, I have found that dvdauthor will produce a warning if it
encounters some other frame rate.

If commercial DVD producers find it advantageous to utilize soft
telecine - presumably to allow for longer features and/or higher
bitrates - is it not all the more advantageous for a home user (already
disadvantaged with lower-capacity media) to use the same technique?

With regard to this "telecine flag", at what step/layer would this flag
be introduced: encoding, multiplexing, or mastering? Do Linux tools
exist for this purpose?

Thanks,

-Lincoln DeCoursey
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 29, 2005 6:34 pm    Post subject: Re: Soft telecine support in Linux DVD authoring tools? Reply with quote

decourl wrote:
It appears that many film-sourced commercial DVDs contain MPEG
which is encoded at 23.97 fps rather than the NTSC standard 29.97 fps.

I understand that these DVDs have a flag set which instructs the player
to perform a pulldown in cases where a television set is targeted.

As far as the Linux tools for DVD mastering are concerned, I see that
most of the documentation instructs the user to perform a frame rate
adjustment to 29.97 fps before coding the MPEG.

In fact, I have found that dvdauthor will produce a warning if it
encounters some other frame rate.

If commercial DVD producers find it advantageous to utilize soft
telecine - presumably to allow for longer features and/or higher
bitrates - is it not all the more advantageous for a home user (already
disadvantaged with lower-capacity media) to use the same technique?

With regard to this "telecine flag", at what step/layer would this flag
be introduced: encoding, multiplexing, or mastering? Do Linux tools
exist for this purpose?

Thanks,

-Lincoln DeCoursey


Introduced at the encoding level.
Keep the encoded framerate at 23.97 & use transcode's '--pulldown' option to set this flag on.
Back to top
View user's profile Send private message
kupopo
n00b
n00b


Joined: 09 Jul 2004
Posts: 31
Location: Ithaca, NY

PostPosted: Sun Jan 30, 2005 9:27 am    Post subject: Reply with quote

I've been trying to make this pulldown work, but have had very elusive errors. Specifically, I can get an authored DVD image which xine plays perfectly. But when I burn it on a DVD+RW to try on my set top (Phillips DVP642), the sound, while in synch and not drifting (I think), skips horribly. I don't understand what is going wrong. This is my command line:

Code:
transcode -y ffmpeg --export_prof dvd-ntsc -w 3600 -Z 720x480 --export_asr 3 --pulldown --export_fps 23.976,1 -J fps -i in.avi -o out -m out.ac3


I can eliminate --pulldown and change to --export_fps 29.97 and it works fine, although I think the video is not as smooth (maybe that's in my head).

Thanks,
-steve
Back to top
View user's profile Send private message
paladin151
n00b
n00b


Joined: 26 Jan 2005
Posts: 16
Location: Minneapolis, Minnesota

PostPosted: Thu Feb 03, 2005 1:32 am    Post subject: Reply with quote

ixtow wrote:
I'm sure to be ignored for this, but I'm at my witts end, again.

I cannot perform even the first step of this tutorial, it simply does not work and I can find no reason why.

Code:
transcode -i matrix.mpg -V -y mpeg -F d -Z 352x240 --export_fps 29.97 --export_asr 2 -E 48000 -b 224 -o matrix


Code:
[export_mpeg.so] could not open mpa codec !




I had this same problem too but found out that i had entered -b 244 instead of -b 224
_________________
The more you know, the more you know you don't know.
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 ... 15, 16, 17 ... 29, 30, 31  Next
Page 16 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