Open jshupeGitHub opened 5 years ago
Friend
I am trying to run vgtmpeg in a bash script
such as
########################- rip to mpg
vgtmpeg -i /dev/sr0 -vcodec copy -acodec copy /media/scenesavers/data/z/zoltron.mpg
that fails with
./j-sr0_mpg.sh ./j-sr0_mpg.sh: line 6: vgtmpeg: command not found
but if i simply run the line inside my bash vgtmpeg -i /dev/sr0 -vcodec copy -acodec copy /media/scenesavers/data/z/zoltron.mpg
that works
and I can simply enter vgtmpeg and see all the " goods" js@ss-25:~/04_opt_n$ vgtmpeg vgtmpeg version 4.0.25 Copyright (c) 2010-2018 Alberto Vigata and the FFmpeg developers built on Jun 8 2018 00:52:10 with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609 based on ffmpeg version n4.0 configuration: --prefix=/root/buildbot/ffgmt/slave/release_linux-x86_64_nb/build/vgtmpeg-builds/ffgmt/linux-x86_64/build --enable-doc --pkg-config-flags=--static --pkg-config=pkg-config --disable-shared --enable-static --enable-pthreads --arch=x86_64 --extra-libs=-lpthread --extra-libs=-ldl --extra-libs=-static --enable-gpl --enable-nonfree --disable-shared --disable-indevs --disable-outdevs --disable-network --enable-libfdk-aac --enable-encoder=libfdk_aac --enable-libvpx --enable-encoder=libvpx_vp8 --enable-libxvid --enable-encoder=libxvid --enable-libx264 --enable-encoder=libx264 --enable-libx265 --enable-encoder=libx265 --enable-libvorbis --enable-encoder=libvorbis --disable-encoder=vorbis --enable-encoder=mpeg4 --enable-libmp3lame --enable-encoder=libmp3lame --enable-libopus --enable-encoder=libopus --enable-decoder=libopus --enable-protocol=bluray --enable-libbluray libavutil 56. 14.100 / 56. 14.100 libavcodec 58. 18.100 / 58. 18.100 libavformat 58. 12.100 / 58. 12.100 libavdevice 58. 3.100 / 58. 3.100 libavfilter 7. 16.100 / 7. 16.100 libswscale 5. 1.100 / 5. 1.100 libswresample 3. 1.100 / 3. 1.100 libpostproc 55. 1.100 / 55. 1.100 Hyper fast Audio and Video encoder usage: vgtmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
--
i am on a ubuntu 18.04 w 2 dvd sr0 , sr1 why does my "call" fail in the script and yet work by itself
thanks
jim s
is vgtmpeg in the path? Seems like your bash script is not seeing vgtmpeg in its env path
Friend
I am trying to run vgtmpeg in a bash script
such as
!/bin/bash
~~batch audio cd to wav########################- rip to mpg
vgtmpeg -i /dev/sr0 -vcodec copy -acodec copy /media/scenesavers/data/z/zoltron.mpg
that fails with
./j-sr0_mpg.sh ./j-sr0_mpg.sh: line 6: vgtmpeg: command not found
but if i simply run the line inside my bash vgtmpeg -i /dev/sr0 -vcodec copy -acodec copy /media/scenesavers/data/z/zoltron.mpg
that works
and I can simply enter vgtmpeg and see all the " goods" js@ss-25:~/04_opt_n$ vgtmpeg vgtmpeg version 4.0.25 Copyright (c) 2010-2018 Alberto Vigata and the FFmpeg developers built on Jun 8 2018 00:52:10 with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609 based on ffmpeg version n4.0 configuration: --prefix=/root/buildbot/ffgmt/slave/release_linux-x86_64_nb/build/vgtmpeg-builds/ffgmt/linux-x86_64/build --enable-doc --pkg-config-flags=--static --pkg-config=pkg-config --disable-shared --enable-static --enable-pthreads --arch=x86_64 --extra-libs=-lpthread --extra-libs=-ldl --extra-libs=-static --enable-gpl --enable-nonfree --disable-shared --disable-indevs --disable-outdevs --disable-network --enable-libfdk-aac --enable-encoder=libfdk_aac --enable-libvpx --enable-encoder=libvpx_vp8 --enable-libxvid --enable-encoder=libxvid --enable-libx264 --enable-encoder=libx264 --enable-libx265 --enable-encoder=libx265 --enable-libvorbis --enable-encoder=libvorbis --disable-encoder=vorbis --enable-encoder=mpeg4 --enable-libmp3lame --enable-encoder=libmp3lame --enable-libopus --enable-encoder=libopus --enable-decoder=libopus --enable-protocol=bluray --enable-libbluray libavutil 56. 14.100 / 56. 14.100 libavcodec 58. 18.100 / 58. 18.100 libavformat 58. 12.100 / 58. 12.100 libavdevice 58. 3.100 / 58. 3.100 libavfilter 7. 16.100 / 7. 16.100 libswscale 5. 1.100 / 5. 1.100 libswresample 3. 1.100 / 3. 1.100 libpostproc 55. 1.100 / 55. 1.100 Hyper fast Audio and Video encoder usage: vgtmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
--
i am on a ubuntu 18.04 w 2 dvd sr0 , sr1 why does my "call" fail in the script and yet work by itself
thanks
jim s