Transcoding Script Trouble
Posted: 29 Mar 2010 02:06
I wrote a little script to try to convert avi files into mpg for use with the Tivo server Galleon. (Tivo boxes can only play mpeg2 files) but the script keeps stopping at a certain point.
Script:
My actual user name was edited to MYUSERNAME btw
The script stops at after these lines and I have to interrupt in order to get to the next iteration:
Script:
Code: Select all
#!/bin/bash
for a in *.avi; do
vlc -I dummy -vvv "$a" --sout "#transcode{vcodec=mp2v,vb=1500,width=720,height=480,fps=24,scale=1,acodec=mpga,ab=128,channels=2}:standard{access=file,mux=ps,dst=\"/home/MYUSERNAME/Videos/TivoFiles/ToTivo/$a.mpg\"}"vlc://quit
done
The script stops at after these lines and I have to interrupt in order to get to the next iteration:
Code: Select all
[0x9d34260] main playlist debug: changing item without a request (current 0/1)
[0x9d34260] main playlist debug: nothing to play