I see that the mpeg player is capable of handling standard mpeg video
as of now I am converting widescreen video's using the following avconv command
avconv -i "inputFile.mp4" -r 20 -s 166x96 -b 128k "outputFile.mpeg"
I was wondering however if there is a better codec that mpeg1 supports such as mp4, webm, mkv's or whatever that allows same quality or so video's at smaller filesizes.
I download a lot of podcasts such as Linux action show.... Leo Laporte's this week in tech and so on..... considering there are quite a few.... a format that would allow smaller filesizes would be very handy
Post Merge: September 11, 2012, 05:03:41 AM
Ok I have been reading the wiki... and see that if I am right the optimal codec would be mpeg2.....
So I have the following bash script going through and doing my podcast folders
#!/bin/bash
convertEp()
{
cd "$HOME/Music/gpodder-downloads/$1"
for f1 in *.mp4; do
f2="${f1%.mp4}.mpeg"
if [ ! -f "Rockbox/$f2" ]; then
avconv -i "$f1" -s 176x100 -vcodec mpeg2video -b 229k -ab 192k -ac 2 -ar 44100 -acodec libmp3lame "Rockbox/${f1%.mp4}.mpeg"
fi
done
}
convertEp 'podcast 1 folder'
convertEp 'podcast 2 folder'
#and so on
Seems to be going pretty well, any comments welcome... also feel free to use the code
