All pastes #2049654 Raw Edit

Someone

public text v1 · immutable
#2049654 ·published 2011-04-23 08:32 UTC
rendered paste body
bash-4.1$ bash -x coverter.sh 
+ mkdir /home/server/output
mkdir: cannot create directory `/home/server/output': File exists
+ mkdir /home/server/input
mkdir: cannot create directory `/home/server/input': File exists
+ cd /home/server/input
+ for f in './*'
+ ffmpeg -ar 44100 -target pal-dvd -r 29.97 -bufsize 20M -i './Avatar - The Last Airbender Ep. 01 - The Boy in the Iceberg.mkv' '/home/server/output/./Avatar - The Last Airbender Ep. 01 - The Boy in the Iceberg.mkv.mpg'
FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
  built on Feb  3 2011 09:39:49 with gcc 4.4.4
  configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/man --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-libdc1394 --enable-libfaad --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvpx --enable-libx264 --enable-runtime-cpudetect --enable-vaapi --disable-vdpau --enable-memalign-hack --enable-pthreads --enable-x11grab --enable-bzlib --enable-zlib --enable-shared --enable-static --disable-debug --extra-cflags='-I/tmp/build/tmp-ffmpeg/ffmpegdeps/usr/include -DRUNTIME_CPUDETECT' --extra-ldflags='-L/tmp/build/tmp-ffmpeg/ffmpegdeps/usr/lib -lssl -lcrypto -lz -lusb'
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.73. 2 / 52.73. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.19. 0 /  1.19. 0
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
Unknown input format: 'dvd'
+ for f in './*'
+ ffmpeg -ar 44100 -target pal-dvd -r 29.97 -bufsize 20M -i ./final /home/server/output/./final.mpg
FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
  built on Feb  3 2011 09:39:49 with gcc 4.4.4
  configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/man --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-libdc1394 --enable-libfaad --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvpx --enable-libx264 --enable-runtime-cpudetect --enable-vaapi --disable-vdpau --enable-memalign-hack --enable-pthreads --enable-x11grab --enable-bzlib --enable-zlib --enable-shared --enable-static --disable-debug --extra-cflags='-I/tmp/build/tmp-ffmpeg/ffmpegdeps/usr/include -DRUNTIME_CPUDETECT' --extra-ldflags='-L/tmp/build/tmp-ffmpeg/ffmpegdeps/usr/lib -lssl -lcrypto -lz -lusb'
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.73. 2 / 52.73. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.19. 0 /  1.19. 0
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
Unknown input format: 'dvd'
+ mkdir final/
mkdir: cannot create directory `final/': File exists
+ cd /home/server/output
+ dvdauthor -t -o final/ --video=pal final final.iso
DVDAuthor::dvdauthor, version 0.7.0.
Build options: gnugetopt iconv freetype fribidi fontconfig
Send bug reports to <dvdauthor-users@lists.sourceforge.net>

INFO: no default video format, must explicitly specify NTSC or PAL
INFO: dvdauthor creating VTS
STAT: Picking VTS 01

STAT: Processing final...

STAT: Processing final.iso...
STAT: VOBU 0 at 0MB, 1 PGCs
ERR:  no VOBUs found.
+ mkisofs -dvd-video -v -o final.iso final
Setting input-charset to 'ISO-8859-1' from locale.
2.01.01a78 (i686-pc-linux-gnu)
Scanning final
Scanning final/VIDEO_TS
Scanning final/AUDIO_TS
mkisofs: No such file or directory. Failed to open 'final//VIDEO_TS/VIDEO_TS.IFO'.
mkisofs: Can't open VMG info for 'final/'.
mkisofs: Unable to parse DVD-Video structures.
mkisofs: Could not find correct 'VIDEO_TS' directory.
mkisofs: Unable to make a DVD-Video image.
+ rm final
rm: cannot remove `final': Is a directory
+ exit
bash-4.1$