View previous topic :: View next topic |
Author |
Message |
MickKi Veteran
Joined: 08 Feb 2004 Posts: 1173
|
Posted: Tue Jan 30, 2007 11:12 pm Post subject: |
|
|
Thank you Nick,
Which package has any2dvd - I can't find it in portage and it's not on my system (I have no Gnome libs on my machine). _________________ Regards,
Mick |
|
Back to top |
|
|
nickrout Apprentice
Joined: 06 Oct 2002 Posts: 208 Location: New Zealand
|
|
Back to top |
|
|
Vincepbell n00b
Joined: 06 Dec 2006 Posts: 9
|
Posted: Sat Feb 03, 2007 12:12 pm Post subject: |
|
|
I can't seem to get this to work.
RUnning an extremely basic command line:
any2dvd -i myvid.avi
My video is an xvid.
It seems my mplayer install can't use the -vo dummy option? The mplayer guys say that theres no such option for -vo, and I should be using -vo null.
Any tips?
Relevant log snippits:
Running: transcode -H0 -i "lrc-natm.r5.avi" -x mplayer="-mc 0",mplayer -f 25.000 -g 608x336 -n 0x1 -e 0,16,0 -y ffmpeg -F mpeg2 -Z 720x576 --export_asr 3 --pre_clip=no -j -2,0,-2,0 -J resample, -D0 -N 0x2000 -E 48000,16,2 -b 384 -s2 -m "tmp_any2dvd/lrc-natm.r5.ac3" -o "tmp_any2dvd/lrc-natm.r5" ...
Error: Video encoding failed for "tmp_any2dvd/lrc-natm.r5", file not successfully encoded!
transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] critical: invalid pcm parameter 'rate' for option -e |
|
Back to top |
|
|
RiverRat n00b
Joined: 07 Oct 2004 Posts: 65 Location: Colorado
|
Posted: Fri Feb 16, 2007 11:13 pm Post subject: Re: Howto author AVI->DVD with menus using Linux only ! |
|
|
shiznix wrote: |
Tweakage (optional)
...(last code section in tweakage)...
For PAL: Code: | transcode -i matrix.avi -y ffmpeg -F mpeg2 -Z 352x288 --export_asr 2 --encode_fields t --pre_clip=-106,0,-104,0 -o matrix -D0 -E 48000,16,2 -b 224 -N 0x2000 -m matrix.ac3 -J modfps --export_fps 25 |
For NTSC: Code: | transcode -i matrix.avi -y ffmpeg -F mpeg2 -Z 352x240 --export_asr 2 --encode_fields b --pre_clip=-106,0,-104,0 -o matrix -D0 -E 48000,16,2 -b 224 -N 0x2000 -m matrix.ac3 -J modfps --export_fps 25 |
|
Isn't the NTSC section supposed to have a frame rate of 29.97? _________________ RiverRat |
|
Back to top |
|
|
Gilbo Tux's lil' helper
Joined: 03 Apr 2004 Posts: 127 Location: Halifax, NS
|
Posted: Sun Feb 25, 2007 6:23 am Post subject: |
|
|
Vincepbell wrote: | I can't seem to get this to work.
RUnning an extremely basic command line:
any2dvd -i myvid.avi
My video is an xvid.
It seems my mplayer install can't use the -vo dummy option? The mplayer guys say that theres no such option for -vo, and I should be using -vo null.
Any tips?
Relevant log snippits:
Running: transcode -H0 -i "lrc-natm.r5.avi" -x mplayer="-mc 0",mplayer -f 25.000 -g 608x336 -n 0x1 -e 0,16,0 -y ffmpeg -F mpeg2 -Z 720x576 --export_asr 3 --pre_clip=no -j -2,0,-2,0 -J resample, -D0 -N 0x2000 -E 48000,16,2 -b 384 -s2 -m "tmp_any2dvd/lrc-natm.r5.ac3" -o "tmp_any2dvd/lrc-natm.r5" ...
Error: Video encoding failed for "tmp_any2dvd/lrc-natm.r5", file not successfully encoded!
transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] critical: invalid pcm parameter 'rate' for option -e |
I have the same problem. I'm going to try down-grading transcode to 1.0.2-r2. My current version is 1.0.2-r3, which is stable.
Things used to work just fine for me, so I assume 'rate' has been deprecated or something... (no idea really). |
|
Back to top |
|
|
Gilbo Tux's lil' helper
Joined: 03 Apr 2004 Posts: 127 Location: Halifax, NS
|
Posted: Sun Feb 25, 2007 6:27 am Post subject: |
|
|
I suppose 'rate' shouldn't be deprecated actually considering I've only moved from r2 to r3. I assume the version number change would be more significant if there were API changes.
EDIT:
Trying to re-emerge transcode v1.0.2-r2 failed. I get this error before the later errors:
Code: | ERROR: requirement failed: cannot compile ffmpeg/avcodec.h
ffmpeg/avcodec.h can be found in the following packages:
FFmpeg http://www.ffmpeg.org
|
When I examine the active use flags for ffmpeg I notice several are not enabled anymore. Perhaps a profile change altered things --I have no idea. The problem may involve use flags. I'm going to fiddle ... |
|
Back to top |
|
|
Gilbo Tux's lil' helper
Joined: 03 Apr 2004 Posts: 127 Location: Halifax, NS
|
Posted: Sun Feb 25, 2007 7:46 am Post subject: |
|
|
Well, I can't figure out the problem at the moment. I doubt it's use flags.
I recompiled ffmpeg, but I still can't recompile transcode v1.0.2-r2 (not that I even know if down-grading would fix the problem.) Following are the transcode compile errors, the ffmpeg use flag settings and the transode use flag settings.
EDIT: One thing I'm going to check is compiling without mmx/sse/sse2 which are newly active use flags for some reason. I'm on a AMD64 system with (if I remember properly) no compatibility libraries (I don't think this would affect such things, but I'm at a loss).
EDIT 2: Didn't fix anything removing sse/mmx/sse2 us flags.
Transcode compile failure:
Code: |
config.status: creating config.h
config.status: executing depfiles commands
----------------------------------------
Summary for transcode 1.0.2:
----------------------------------------
core options
----------------------------------------
static AV-frame buffering yes
network (sockets) streams no
experimental xio no
Default xvid export xvid4
A52 default decoder no
libavcodec
----------------------------------------
headers -I/usr/include
libraries -L/usr/lib -lavcodec -lm -lz -lpthread
build
version
statically linked no
hardware support
----------------------------------------
v4l/v4l2 no
OSS no
bktr no
sunau no
optional package support
----------------------------------------
IBP no
X11 no
libmpeg2 yes
libpostproc no
freetype2 no
avifile no
lame yes
ogg yes
vorbis yes
theora yes
libdvdread yes
pvm3 no
libdv yes
libquicktime no
lzo no
a52 yes
libmpeg3 yes
libxml2 yes
mjpegtools yes
sdl yes
gtk no
libfame yes
imagemagick yes
libjpeg yes
bsdav no
iconv yes
ERROR: requirement failed: cannot compile ffmpeg/avcodec.h
ffmpeg/avcodec.h can be found in the following packages:
FFmpeg http://www.ffmpeg.org
Please see the INSTALL file in the top directory of the
transcode sources for more information about building
transcode with this configure script.
!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/media-video/transcode-1.0.2-r2/work/transcode-1.0.2/config.log
!!! ERROR: media-video/transcode-1.0.2-r2 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3756: Called src_compile
transcode-1.0.2-r2.ebuild, line 96: Called econf '--disable-altivec' '--disable-netstream' '--disable-freetype2' '--disable-v4l' '--enable-lame' '--enable-ogg' '--enable-vorbis' '--enable-theora' '--enable-libdvdread' '--enable-libdv' '--disable-libquicktime' '--disable-lzo' '--enable-a52' '--enable-libmpeg3' '--enable-libxml2' '--enable-mjpegtools' '--enable-sdl' '--disable-gtk' '--enable-libfame' '--enable-imagemagick' '--enable-libjpeg' '--with-mod-path=/usr/lib64/transcode' '--without-x' '--with-default-xvid=xvid4' '--enable-mmx' '--disable-3dnow' '--enable-sse' '--enable-sse2' '--with-libpostproc-builddir=/usr/lib64' '--with-lzo-includes=/usr/include/lzo' '--disable-avifile'
ebuild.sh, line 577: Called die
!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-video/transcode-1.0.2-r2/temp/build.log'.
|
ffmpeg:
Code: | $ equery u ffmpeg
[ Searching for packages matching ffmpeg... ]
[ Colour Code : set unset ]
[ Legend : Left column (U) - USE flags from make.conf ]
[ : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for media-video/ffmpeg-0.4.9_p20061016 ]
U I
+ + a52 : Enables support for decoding ATSC A/52 streams used in DVD
+ + aac : Enables support for MPEG-4 AAC Audio
- - altivec : Adds support for optimizations for G4 and G5/ppc970 processors
- - amr : Enables Adaptive Multi-Rate Audio support
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml .
- - doc : Adds extra documentation (API, Javadoc, etc)
+ + dts : Enables libdts (DTS Coherent Acoustics decoder) support
+ + encode : Adds support for encoding of audio or video files
- - ieee1394 : Enable FireWire/iLink IEEE1394 support (dv, camera, ...)
+ + imlib : Adds support for imlib, an image loading and rendering library
+ + mmx : Adds support for optimizations for Pentium MMX and Athlon class processors
- - network : Enables network streaming support
+ + ogg : Adds support for the Ogg container format (commonly used by Vorbis, Theora and flac)
- - oss : Adds support for OSS (Open Sound System)
+ + sdl : Adds support for Simple Direct Layer (media library)
- - test : Workaround to pull in packages needed to run with FEATURES=maketest / FEATURES=test
+ + theora : Adds support for the Theora Video Compression Codec
- - threads : Adds threads support for various packages. Usually pthreads
- - truetype : Adds support for FreeType and/or FreeType2 fonts
- - v4l : Enables video4linux support
+ + vorbis : Adds support for the OggVorbis audio codec
+ + x264 : Enable h264 encoding using x264
+ + xvid : Adds support for xvid.org's open-source mpeg-4 codec
+ + zlib : Adds support for zlib (de)compression
|
Transcode:
Code: | $ equery u transcode
[ Searching for packages matching transcode... ]
[ Colour Code : set unset ]
[ Legend : Left column (U) - USE flags from make.conf ]
[ : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for media-video/transcode-1.0.2-r3 ]
U I
- - 3dnow : Adds support for 3dnow multimedia processor instructions
- - X : Adds support for X11
+ + a52 : Enables support for decoding ATSC A/52 streams used in DVD
- - altivec : Adds support for optimizations for G4 and G5/ppc970 processors
+ + dv : Enables support for a codec used by many camcorders
+ + dvdread : Enables usage of Ogle's libdvdread for DVD playback
+ + extrafilters : Install some filters only if we ask for them
+ + fame : Enables libfame support
- - gtk : Adds support for x11-libs/gtk+ (The GIMP Toolkit)
+ + imagemagick : Enables support for Imagemagick (image converter)
+ + jpeg : Adds JPEG image support
- - lzo : Enables LZO compression support
+ + mjpeg : Enables mjpegtools support
+ - mmx : Adds support for optimizations for Pentium MMX and Athlon class processors
+ + mp3 : Add support for reading mp3 files
+ + mpeg : Adds libmpeg3 support to various packages.
- - network : Enables network streaming support
+ + ogg : Adds support for the Ogg container format (commonly used by Vorbis, Theora and flac)
- - quicktime : Adds support for OpenQuickTime
+ + sdl : Adds su$ equery u transcode
[ Searching for packages matching transcode... ]
[ Colour Code : set unset ]
[ Legend : Left column (U) - USE flags from make.conf ]
[ : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for media-video/transcode-1.0.2-r3 ]
U I
- - 3dnow : Adds support for 3dnow multimedia processor instructions
- - X : Adds support for X11
+ + a52 : Enables support for decoding ATSC A/52 streams used in DVD
- - altivec : Adds support for optimizations for G4 and G5/ppc970 processors
+ + dv : Enables support for a codec used by many camcorders
+ + dvdread : Enables usage of Ogle's libdvdread for DVD playback
+ + extrafilters : Install some filters only if we ask for them
+ + fame : Enables libfame support
- - gtk : Adds support for x11-libs/gtk+ (The GIMP Toolkit)
+ + imagemagick : Enables support for Imagemagick (image converter)
+ + jpeg : Adds JPEG image support
- - lzo : Enables LZO compression support
+ + mjpeg : Enables mjpegtools support
+ - mmx : Adds support for optimizations for Pentium MMX and Athlon class processors
+ + mp3 : Add support for reading mp3 files
+ + mpeg : Adds libmpeg3 support to various packages.
- - network : Enables network streaming support
+ + ogg : Adds support for the Ogg container format (commonly used by Vorbis, Theora and flac)
- - quicktime : Adds support for OpenQuickTime
+ + sdl : Adds support for Simple Direct Layer (media library)
+ - sse : fast floating point optimization for PentiumIII+ class chips
+ - sse2 : faster floating point optimization for SSE2 capable chips
+ + theora : Adds support for the Theora Video Compression Codec
- - truetype : Adds support for FreeType and/or FreeType2 fonts
- - v4l2 : Enable video4linux2 support
+ + vorbis : Adds support for the OggVorbis audio codec
+ + xml : Add support for XML files
+ + xvid : Adds support for xvid.org's open-source mpeg-4 codec
pport for Simple Direct Layer (media library)
+ - sse : fast floating point optimization for PentiumIII+ class chips
+ - sse2 : faster floating point optimization for SSE2 capable chips
+ + theora : Adds support for the Theora Video Compression Codec
- - truetype : Adds support for FreeType and/or FreeType2 fonts
- - v4l2 : Enable video4linux2 support
+ + vorbis : Adds support for the OggVorbis audio codec
+ + xml : Add support for XML files
+ + xvid : Adds support for xvid.org's open-source mpeg-4 codec
|
|
|
Back to top |
|
|
shiznix Guru
Joined: 29 Jun 2003 Posts: 367 Location: Adelaide, Australia
|
|
Back to top |
|
|
shiznix Guru
Joined: 29 Jun 2003 Posts: 367 Location: Adelaide, Australia
|
Posted: Sun Mar 11, 2007 7:12 am Post subject: Re: Howto author AVI->DVD with menus using Linux only ! |
|
|
RiverRat wrote: | shiznix wrote: |
Tweakage (optional)
...(last code section in tweakage)...
For PAL: Code: | transcode -i matrix.avi -y ffmpeg -F mpeg2 -Z 352x288 --export_asr 2 --encode_fields t --pre_clip=-106,0,-104,0 -o matrix -D0 -E 48000,16,2 -b 224 -N 0x2000 -m matrix.ac3 -J modfps --export_fps 25 |
For NTSC: Code: | transcode -i matrix.avi -y ffmpeg -F mpeg2 -Z 352x240 --export_asr 2 --encode_fields b --pre_clip=-106,0,-104,0 -o matrix -D0 -E 48000,16,2 -b 224 -N 0x2000 -m matrix.ac3 -J modfps --export_fps 25 |
|
Isn't the NTSC section supposed to have a frame rate of 29.97? |
Yes it is good call, now corrected thanks |
|
Back to top |
|
|
shiznix Guru
Joined: 29 Jun 2003 Posts: 367 Location: Adelaide, Australia
|
Posted: Sun Mar 11, 2007 8:14 am Post subject: |
|
|
Vincepbell wrote: | I can't seem to get this to work.
RUnning an extremely basic command line:
any2dvd -i myvid.avi
My video is an xvid.
It seems my mplayer install can't use the -vo dummy option? The mplayer guys say that theres no such option for -vo, and I should be using -vo null.
Any tips? |
This is incorrect, MPlayer does indeed have a '-vo dummy' option. Try this as an example: Code: | mplayer -vo dummy -identify somefile.avi |
Now try this example using '-vo null -ao null' instead: Code: | mplayer -vo null -ao null -identify somefile.avi |
See the difference ?
The reason you are experiencing problems using the script is that MPlayer's text output has changed considerably in later versions. As such 0.32 will only work with old versions of MPlayer, while the new 0.34 version will work with both new and old versions of MPlayer.
Quote: | Relevant log snippits:
Running: transcode -H0 -i "lrc-natm.r5.avi" -x mplayer="-mc 0",mplayer -f 25.000 -g 608x336 -n 0x1 -e 0,16,0 -y ffmpeg -F mpeg2 -Z 720x576 --export_asr 3 --pre_clip=no -j -2,0,-2,0 -J resample, -D0 -N 0x2000 -E 48000,16,2 -b 384 -s2 -m "tmp_any2dvd/lrc-natm.r5.ac3" -o "tmp_any2dvd/lrc-natm.r5" ...
Error: Video encoding failed for "tmp_any2dvd/lrc-natm.r5", file not successfully encoded!
transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] critical: invalid pcm parameter 'rate' for option -e |
Once again, this is because of the MPlayer version changes to it's text output. A correct '-e' option would read '-e <rate>,<bits>,<channels>' (eg. '-e 44100,16,2'). Because the script has failed to extract the correct info from MPlayer, the arguments are invalid and it fails.
This is not the case with the newer 0.34 version, but I do stress that if you are having problems with the script in future to use the bug tracker on the script's project page at http://any2dvd.sf.net , thanks |
|
Back to top |
|
|
FreakWent n00b
Joined: 08 Feb 2004 Posts: 46
|
|
Back to top |
|
|
FreakWent n00b
Joined: 08 Feb 2004 Posts: 46
|
Posted: Sat Mar 17, 2007 9:46 am Post subject: ooops; not exactly broken, a user error (surprise surprise) |
|
|
It's not for 0.32 per se, but it barfs if the 0.32 ebuild file isn't there.
emerge =any2dvd-0.34 seems to fix it fine; perhaps it chose 0.32 because of ~x86 masking, I'm not sure.
Cheers! |
|
Back to top |
|
|
hulmeman Apprentice
Joined: 02 Jul 2002 Posts: 184 Location: Duchy of Lancaster, England.
|
Posted: Wed Mar 28, 2007 6:19 pm Post subject: |
|
|
I'm getting this error with any2dvd-0.32:
Code: | any2dvd --force=yes -i Pilot__The_Abbey.VOB
Any2Dvd-0.32
<<<< DVD Menu Creation started at Wed Mar 28 19:01:56 BST 2007 >>>>
Creating Titleset 1 Thumbnail 1...2...3...4...5...Done!
Creating silent Audio-Track for VMGM Main Menu ...Done!
Creating silent Audio-Track for VTSM Chapter Menu ...Done!
Overlaying VTS-Thumbnails ...Done!
Placing buttons on Background-Picture ...Done!
Creating VMGM Video Stream ...Done!
Creating Titleset 1 Chapter-Thumbnails...Done!
Creating Titleset 1 Chapter Menu(s)
Menu #1 created
Finished Titleset #1
Authoring DVD File Structure...
DVDAuthor::dvdauthor, version 0.6.14.
Build options: gnugetopt magick iconv freetype fribidi
Send bugs to <dvdauthor-users@lists.sourceforge.net>
INFO: Locale=en_GB.utf8
INFO: Converting filenames to UTF-8
INFO: dvdauthor creating VTS
STAT: Picking VTS 01
STAT: Processing tmp_any2dvd/VTSM/vtsm1_1.mpg...
INFO: Video pts = 0.160 .. 0.560
INFO: Audio[0] pts = 0.160 .. 5.152
INFO: Audio[32] pts = 0.160 .. 0.160
STAT: VOBU 1 at 0MB, 1 PGCS
ERR: widescreen conversion should not be set to either noletterbox or nopanscan for 4:3 source material.
Creating DVD ISO file named x.iso
Error: DVD ISO was not successfully created |
Any ideas? I get the same error with:
Code: | any2dvd --force=yes --aspect=4:3 -i Pilot__The_Abbey.VOB |
|
|
Back to top |
|
|
tekknokrat Apprentice
Joined: 17 Apr 2005 Posts: 278 Location: Magdeburg
|
Posted: Sun Apr 01, 2007 3:11 pm Post subject: |
|
|
hi,
don't want to cross post so if someone has the same error with emerging libsoundtouch please let me know in this
thread
regards! _________________ Optimism is solely an absence of information. / Optimismus ist nur ein Mangel an Information.
(Arthur Schopenhauer) |
|
Back to top |
|
|
hulmeman Apprentice
Joined: 02 Jul 2002 Posts: 184 Location: Duchy of Lancaster, England.
|
Posted: Wed Apr 04, 2007 6:52 pm Post subject: |
|
|
shiznix wrote: | Vincepbell wrote: | I can't seem to get this to work.
RUnning an extremely basic command line:
any2dvd -i myvid.avi
My video is an xvid.
It seems my mplayer install can't use the -vo dummy option? The mplayer guys say that theres no such option for -vo, and I should be using -vo null.
Any tips? |
This is incorrect, MPlayer does indeed have a '-vo dummy' option. Try this as an example: Code: | mplayer -vo dummy -identify somefile.avi |
Now try this example using '-vo null -ao null' instead: Code: | mplayer -vo null -ao null -identify somefile.avi |
See the difference ? |
I can't get this to work either, the "-vo dummy" option isn't recognised, and the command just plays audio.
Code: | mplayer -vo dummy -identify Freaky_Eaters_E3_Cheese. avi
MPlayer dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2007 MPlayer TeamCPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50
(Family: 15, Model: 72, Stepping: 2) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing Freaky_Eaters_E3_Cheese.avi.
AVI file format detected.
ID_VIDEO_ID=0
ID_AUDIO_ID=1
VIDEO: [XVID] 608x352 12bpp 25.000 fps 1245.8 kbps (152.1 kbyte/s)
Clip info:Software: VirtualDubMod 1.5.4.1 (build 2178/release)
ID_CLIP_INFO_NAME0=Software
ID_CLIP_INFO_VALUE0=VirtualDubMod 1.5.4.1 (build 2178/release)
ID_CLIP_INFO_N=1
ID_FILENAME=Freaky_Eaters_E3_Cheese.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=XVID
ID_VIDEO_BITRATE=1245808
ID_VIDEO_WIDTH=608
ID_VIDEO_HEIGHT=352
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=115384
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=3362.96
Error opening/initializing the selected video_out (-vo) device.
======================================================================
audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
======================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mp3
Video: no video
Starting playback...
A: 6.3 (06.2) of 35805.0 ( 9:56:44.9) 0.8%
|
Any ideas? Note:
Error opening/initializing the selected video_out (-vo) device |
|
Back to top |
|
|
darklegion Guru
Joined: 14 Nov 2004 Posts: 468
|
Posted: Sun Apr 08, 2007 12:01 pm Post subject: |
|
|
Try this, hulmeman:
Code: | mplayer -vo null -ao null -frames 0 -identify file.avi |
|
|
Back to top |
|
|
shiznix Guru
Joined: 29 Jun 2003 Posts: 367 Location: Adelaide, Australia
|
Posted: Mon Apr 16, 2007 2:24 pm Post subject: |
|
|
hulmeman wrote: | shiznix wrote: | Vincepbell wrote: | I can't seem to get this to work.
RUnning an extremely basic command line:
any2dvd -i myvid.avi
My video is an xvid.
It seems my mplayer install can't use the -vo dummy option? The mplayer guys say that theres no such option for -vo, and I should be using -vo null.
Any tips? |
This is incorrect, MPlayer does indeed have a '-vo dummy' option. Try this as an example: Code: | mplayer -vo dummy -identify somefile.avi |
Now try this example using '-vo null -ao null' instead: Code: | mplayer -vo null -ao null -identify somefile.avi |
See the difference ? |
I can't get this to work either, the "-vo dummy" option isn't recognised, and the command just plays audio. Code: | MPlayer dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2007 MPlayer TeamCPU: AMD Turion(tm) 64 X2 Mobile Technology TL-50 |
|
This is a different issue and is due to the use of an MPlayer SVN snapshot.
In the stable/formal releases of MPlayer, using '-vo dummy' also assumes '-ao dummy', but not so for the SVN.
For the SVN version of MPlayer that you are using you would use: Code: | mplayer -vo dummy -ao dummy -identify Freaky_Eaters_E3_Cheese. avi | to achieve the same result.
The errors you are experiencing with: Code: | ERR: widescreen conversion should not be set to either noletterbox or nopanscan for 4:3 source material. | are due to dvdauthor being more strict on 4:3 material in later versions (have updated the guide noting this).
You have two options here, either edit the XML file located at tmp_any2dvd/xml/any2dvd.xml and remove all instances of Code: | <video widescreen="nopanscan" /> | for 4:3 aspect material and re-run Code: | rm -rf tmp_any2dvd/DVD/* && dvdauthor -x tmp_any2dvd/xml/any2dvd.xml | OR
Downgrade dvdauthor back to 0.6.11
Cheers |
|
Back to top |
|
|
hulmeman Apprentice
Joined: 02 Jul 2002 Posts: 184 Location: Duchy of Lancaster, England.
|
Posted: Fri Apr 27, 2007 8:37 am Post subject: |
|
|
shiznix wrote: |
For the SVN version of MPlayer that you are using you would use: Code: | mplayer -vo dummy -ao dummy -identify Freaky_Eaters_E3_Cheese. avi | to achieve the same result |
Hi, sorry for the delay in responding, but I've been away for some weeks. I'm using mplayer-1.0_rc2_pre20070321-r4 ~amd64 in portage, as suggested in the guide. Your suggestion here does not work, the said command trys to play but fails!
Code: | mplayer -vo dummy -ao dummy -identify Black\ Easter.avi
MPlayer dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3000+ (Family: 15, Model: 31, Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Playing Black Easter.avi.
AVI file format detected.
ID_VIDEO_ID=0
ID_AUDIO_ID=1
AVI: ODML: Building ODML index (2 superindexchunks).
VIDEO: [DX50] 512x384 24bpp 25.000 fps 662.7 kbps (80.9 kbyte/s)
ID_FILENAME=Black Easter.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=DX50
ID_VIDEO_BITRATE=662664
ID_VIDEO_WIDTH=512
ID_VIDEO_HEIGHT=384
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=6
ID_AUDIO_BITRATE=705600
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=5520.16
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [alaw] aLaw/uLaw audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 705.6 kbit/50.00% (ratio: 88200->176400)
ID_AUDIO_BITRATE=705600
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [alaw] afm: alaw (aLaw)
==========================================================================
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
Exiting... (End of file) |
mplayer-bin does work, but I'd rather not use it.
shiznix wrote: |
The errors you are experiencing with:
Code: | ERR: widescreen conversion should not be set to either noletterbox or nopanscan for 4:3 source material. |
are due to dvdauthor being more strict on 4:3 material in later versions (have updated the guide noting this).
|
Thanks, this one's solved! |
|
Back to top |
|
|
shiznix Guru
Joined: 29 Jun 2003 Posts: 367 Location: Adelaide, Australia
|
Posted: Mon Apr 30, 2007 7:36 am Post subject: |
|
|
hulmeman wrote: | Hi, sorry for the delay in responding, but I've been away for some weeks. I'm using mplayer-1.0_rc2_pre20070321-r4 ~amd64 in portage, as suggested in the guide. Your suggestion here does not work, the said command trys to play but fails!
Code: | mplayer -vo dummy -ao dummy -identify Black\ Easter.avi
MPlayer dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3000+ (Family: 15, Model: 31, Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Playing Black Easter.avi.
AVI file format detected.
ID_VIDEO_ID=0
ID_AUDIO_ID=1
AVI: ODML: Building ODML index (2 superindexchunks).
VIDEO: [DX50] 512x384 24bpp 25.000 fps 662.7 kbps (80.9 kbyte/s)
ID_FILENAME=Black Easter.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=DX50
ID_VIDEO_BITRATE=662664
ID_VIDEO_WIDTH=512
ID_VIDEO_HEIGHT=384
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=6
ID_AUDIO_BITRATE=705600
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=5520.16
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [alaw] aLaw/uLaw audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 705.6 kbit/50.00% (ratio: 88200->176400)
ID_AUDIO_BITRATE=705600
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [alaw] afm: alaw (aLaw)
==========================================================================
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
Exiting... (End of file) |
|
Excellent, that's exactly what it's supposed to do.
Remember that you are trying to gain info from the file by using '-identify', not play the file. |
|
Back to top |
|
|
trakinas n00b
Joined: 17 May 2007 Posts: 1
|
Posted: Thu May 17, 2007 6:32 pm Post subject: troubles with audio |
|
|
hi!
the audio from the vob file is being played only in one side. so, I've extracted it from the vob, used sOx do generate all the 6ch and muxed it like [1]here. the final wav plays okay. but when i convert it to ac3 it still plays only in one side. any help?
thanks! |
|
Back to top |
|
|
JohnerH Apprentice
Joined: 01 Mar 2004 Posts: 197 Location: Manchester,United Kingdom
|
Posted: Tue Jun 05, 2007 11:02 pm Post subject: |
|
|
Hi Guys,
Anyone know how to one can predict how much space a combination of files will take up on the DVD?
Reason for this is that I'm converting AVI's but then finding out I don't have enough space on the DVD for all the files I wanted...
Thank you in advance,
J _________________ ------------------------------------------------------
I think I had a thought once but it Died of Lonelyness... |
|
Back to top |
|
|
nickrout Apprentice
Joined: 06 Oct 2002 Posts: 208 Location: New Zealand
|
Posted: Wed Jun 06, 2007 7:07 am Post subject: |
|
|
any2vob --calc -i file1.avi file2.avi |
|
Back to top |
|
|
andreas 1191 n00b
Joined: 20 Jun 2007 Posts: 1
|
Posted: Mon Jun 25, 2007 12:03 am Post subject: tnhx |
|
|
tnhx[post=][/post] |
|
Back to top |
|
|
CrazyTerabyte Apprentice
Joined: 30 Dec 2004 Posts: 193
|
Posted: Sat Jun 30, 2007 6:34 pm Post subject: Re: Howto author AVI->DVD with menus using Linux only ! |
|
|
shiznix wrote: | Creating the menus
[...]
Hide the button_highlight layer & save the background layer.
Do this by selecting the button_highlight layer and using the Opacity slider in the 'Layers, Channels & Paths' dialog box to make it disappear.
[...]
Save the button_highlight layer in the same way. Use the opacity slider to bring the button_highlight layer back up, and hide the background layer. |
Just a quick tip: it is a lot easier to hide the layer by clicking on "eye" icon just at left of layer name. Maybe you should edit the first post to point this easier way of hiding layers. |
|
Back to top |
|
|
FallenAngel10 n00b
Joined: 08 Jul 2007 Posts: 1
|
Posted: Sun Jul 08, 2007 2:19 am Post subject: DvdAuthor ignoring block statements |
|
|
I have created this block in title the logic is correct --- xml excerpt
<pgc>
<vob file="C:\MYSTUFF\MY C++ PROGRAMS\TITLEWRITER\TOOLS\dummy.vob" chapters="00:00:00" />
<pre>
if(g0==123) {g1=12346;g0+=0;call vmgm menu entry title;}
g0=123;
if(g1==12346){g1=12345;jump chapter 1;}
</pre>
<post>{g0=1;call vmgm menu entry title;}</post>
</pgc>
in this statement if(g1==12346){g1=12345;jump chapter 1;}
Dvdauthor is only using the first command g1=12345; the second seems to vanish (shown below)
No errors no warnings
Heres the result from PgcEdit (after dvdauthor is done)
1 if ( gprm(0) != 123 ) then { Goto line 5 }
2 Set gprm(1) =(mov) 12346
3 Set gprm(0) +=(add) 0
4 (CallSS) Call the VMGM Title menu, resume cell 1
5 Set gprm(0) =(mov) 123
6 if ( gprm(1) == 12346 ) then { Set gprm(1) =(mov) 12345 }
********** post commands:
1 Set gprm(0) =(mov) 1
2 (CallSS) Call the VMGM Title menu, resume cell 1
I cannot create a seperate dummy pgc in titles block because of the discontinuity problem
I've deleted the first set command and DvdAuthor then created the LinkPtt (but I need the g1 reset before the chapter jump
I cannot use the Jump title 1,chapter n syntax as it restarts the ttn pre
And it won't let me create a dummy menu without content
I'm Stumped |
|
Back to top |
|
|
|
|
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
|
|