Convert an output file from EyeTV to upload to YouTube

I've been digitizing some analog tapes with EyeTV on Mac. When I try to upload a resulting file, occasionally uploading stops at "95% processing". My solution is to convert the file with VLC. The script I came up with is:

/Applications/VLC.app/Contents/MacOS/VLC -I rc input.mp4 --sout='#transcode{vcodec=mp1v,scale=1,acodec=mpga,samplerate=44100}:std{access=file,mux=mpeg1,dst=output.mp4}'

The resulting file cannot be viewed with QuickTime Player, but once you upload it to YouTube, you can view it. I needed to do this quite a few times, but so far it's been working reliably.