Difference between revisions of "Transcode Video"
(→OTA HDTV to DVD with AC3 stream copy transcode Script) |
(→OTA HDTV to DVD with AC3 stream copy transcode Script) |
||
Line 31: | Line 31: | ||
=OTA HDTV to DVD with AC3 stream copy transcode Script= | =OTA HDTV to DVD with AC3 stream copy transcode Script= | ||
− | < | + | <verbatium> |
#!/bin/sh<br> | #!/bin/sh<br> | ||
Line 50: | Line 50: | ||
/usr/bin/nice -19 /usr/bin/mythcommflag --file /myth/tv/$1<br> | /usr/bin/nice -19 /usr/bin/mythcommflag --file /myth/tv/$1<br> | ||
− | </ | + | </verbatium> |
Revision as of 23:22, 10 August 2008
How to transcode video for iPod, iPhone, PSP, PDA, or other portable devices. There are a lot of different ways to transcode video for use on portable devices, both automated and manually. Some of these methods may be out of date and no longer work.
Contents
nuvexport
nuvexport is a utility that can be run from the commandline. You select the output format, the videos you'd like to transcode, and it does it for you. It does not automatically transcode for you, however
See Nuvexport.
mythtranscode
mythTV can automatically transcode videos after recording them using mythtranscode. It can only transcode to RTJPEG and MPEG4, however, which may not be what your device requires.
mythnuv2mkv
See Mythnuv2mkv.
nuv2avi
See Nuv2avi.
3gp Video
Transcoding video to 3gp format for mobile phones
See Transcoding into a 3gp Video.
video2ipod
a perl script that can be installed as a User-Job to automatically transcode video for the iPod. May work for other portable devices as well.
http://wiki.1.jeffornot.com:8000/index.php/Video2ipod
Other iPod exporting Scripts
Here are some alternatives to video2ipod
http://myth2ipod.com/
http://www.gentoo-wiki.com/TIP_MythTV_to_iPod
OTA HDTV to DVD with AC3 stream copy transcode Script
<verbatium>
- !/bin/sh
- Step 1, generate DVD formated DVD preserving AC3 stream
/usr/bin/nice -19 /usr/bin/mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd:tsaf -vf scale=720:-3,harddup -lavcopts vcodec=mpeg2video:vbitrate=3000:keyint=15 /myth/tv/$1 -o /myth/tv/$1.tmp
- Step 2, replace orig with transcoded file
/usr/bin/nice -19 mv /myth/tv/$1.tmp /myth/tv/$1
- Step 3, clean up sync issues and sync table using mythtranscode. NOTE: output is .tmp file again
/usr/bin/nice -19 /usr/bin/mythtranscode --mpeg2 --buildindex -i /myth/tv/$1 --showprogress
- Step 4, replace DVD transcoded file with output of mythtranscode.
/usr/bin/nice -19 mv /myth/tv/$1.tmp /myth/tv/$1
- OPTIONAL Step 5, Flag commercials on final file
/usr/bin/nice -19 /usr/bin/mythcommflag --file /myth/tv/$1
</verbatium>