Try this for flv rip


#!/bin/bash
#Convert into flash video
#Add audio

file=$1

new="${file##*/}"
base="${new%.*}"
echo "$file --> ${base}.flv"

ffmpeg -i "$file" -deinterlace -acodec libmp3lame -ab 128000 -ar 44100 -vcodec flv -b 1000000 -pass 1 -y /dev/null
ffmpeg -i "$file" -deinterlace -acodec libmp3lame -ab 128000 -ar 44100 -vcodec flv -b 1000000 -pass 2 -y "${base}.flv"

This requires a custom compiled ffmpeg - I used this config:
./configure --enable-gpl --enable-postproc --enable-libvorbis --enable-libdc1394 --enable-libgsm --enable-libmp3lame --enable-libfaad --enable-libfaac --enable-pthreads --enable-libx264 --enable-libxvid --enable-shared --enable-nonfree

Reply

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
More information about formatting options