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