android
Prev Previous Post   Next Post Next
  #1  
Old 07-11-2010, 10:58 PM
srart srart is offline
Junior Member
 
Join Date: Jun 2010
Location: Michigan
Posts: 2
Default Movie transcode with Linux how-to

cd ~/Spinn_Movies

dvdbackup -F -i /dev/sr0

cd $MOVIE_TITLE

mplayer dvd://1 -chapter 3 -vf cropdetect #then use -vf crop=#:#:#:# on next line

###############################################
# You may need to erase the first VOB in the VIDEO_TS folder, if the avi #
# two steps down plays the menu and exits, that is probably the issue #
###############################################

cat VIDEO_TS/*VOB |nice -+19 mencoder -oac copy -o /dev/null -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1000:vhq:vpass=1:vqmin=2:vqm ax=31 -vf crop=$FROM:PREVIOUS,scale=480:272 -

cat VIDEO_TS/*VOB |nice -+19 mencoder -oac copy -o $MOVIE_TITLE.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1000:vhq:vpass=2:vqmin=2:vqm ax=31 -vf crop=$FROM:PREVIOUS,scale=480:272 -

gmplayer $MOVIE_TITLE.avi #to make sure it works so far, this will play on the #spinn, but it is rather large ~1.2gb for a 110 min movie

nice -+19 ffmpeg -i $MOVIE_TITLE.avi -metadata title="movie title nice" -an -pass 1 -b 300k -ss 25 -f mp4 -y /dev/null #-ss is how many seconds to skip

nice -+19 ffmpeg -i $MOVIE_TITLE.avi -acodec libfaac -ac 2 -ab 128k -metadata title="$movie_tile_nice" -pass 2 -b 300k -ss 25 -f mp4 -y $MOVIE_TITLE.mp4

#copy to the SPINN
#check that it works
move $MOVIE_TITLE to ~/Spinn_Movies
rm -r $MOVIE_TITLE #to delete the folder
Reply With Quote

Advertisement [Remove Advertisement]

 

Tags
ffmpeg, mencoder, movie, spin, transcode

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 03:43 PM.