Skip to content

Instantly share code, notes, and snippets.

@ticapix
Last active January 8, 2022 18:29
Show Gist options
  • Save ticapix/c56831b38ed167d10c3c144c6961b20d to your computer and use it in GitHub Desktop.
Save ticapix/c56831b38ed167d10c3c144c6961b20d to your computer and use it in GitHub Desktop.

for Kidizoom Duo

https://www.vtech-jouets.com/nos-marques/kidizoom

Convert audio (WMA) files to MP3

Using ffmpeg

quality audio range: 1-9 (high - low)

for i in *.wma *.webm *.mp4 *.mkv; do
  ffmpeg -y -i "$i" -codec:a libmp3lame -qscale:a 9 -ar 22050 mp3/"${i%.*}.mp3"
done

Convert video (mp4) file to AVI

Using ffmpeg

quality video range: 2-31 (high - low)

ffmpeg -i video.mp4 -codec:v mjpeg -qscale:v 31 -vf scale=320:240 -r 10 -codec:a libmp3lame -qscale:a 9 -ar 22050 video.avi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment