mdsh.com/wiki


RecentChanges

TextFormattingRules
AllWikiTopics
OrphanedWikiTopics
ToDoWikiTopics
WikiLockList
RSS
Export2HTML

WikiSearch

SetUsername

StartingPoints
Home
Mencoder @Nov 29, 2008 2:00:08 PM

Encode PAL DTT captured video to Apple iPod Touch format MPEG4

This command:
  • tries to use ffmpeg codecs for decoding
  • nicely deinterlaces the video
  • crops the edges off the video
  • scales the video to a 16:9 representation that will fit onto the iPod Touch with no further scaling
  • encodes the video using libx264 to the best quality MPEG4 AVC (h.264) it can
  • encodes the audio using libfaac to MPEG 4 AAC at 128Kbps
  • multiplexes the audio and video using ffmpeg's MPEG4 file container file format
  • adds headers required by new iPod firmware
mencoder -v input.mpg
-aspect 1050:576 -ofps 25.00 -noskip -mc 0
-vfm ffmpeg
-vf kerndeint=18:0:0:1:0,crop=688:568:16:4,scale=480:272,harddup
-ovc lavc -oac lavc
-lavcopts vglobal=1:vcodec=libx264:vqscale=2:vqmin=2:level=30:mbd=2:trell:v4mv:last_pred=2:dia=-1:vmax_b_frames=0:cmp=3:subcmp=3:vrc_eq="blurCplx^(1-qComp)":autoaspect:aglobal=1:acodec=libfaac:abitrate=128
-of lavf -lavfopts format=ipod
-o output.mp4


This file will play on the iPod Touch and new iPod firmware because the 'ipod' format already includes all the extra headers which you used to need NicMP4Box.exe to include.

Encode DTT captured video to Creative ZenW format AVI

This command:
  • tries to use ffmpeg codecs for decoding
  • nicely deinterlaces the video
  • crops the edges off the video
  • scales the video to a 16:9 representation that will fit onto the ZenW with no further scaling
  • encodes the video using ffmpeg's MPEG 4 simple codec at 768Kbps
  • encodes the audio using mp3lame to MP3 at 192Kbps
  • multiplexes the audio and video using ffmpeg's AVI file container file format
mencoder input.mpg -aspect 1050:576 -ofps 25.00 -noskip -mc 0 -vfm ffmpeg -vf softskip,format=yv12,kerndeint=18:0:0:1:0,crop=${CROP},scale=${SCALE},harddup -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=768:mbd=2:trell=1:v4mv=1:last_pred=2:dia=-1:vmax_b_frames=2:vb_strategy=1:cmp=3:subcmp=3:subcmp=3:precmp=0:vqcomp=0.6:turbo=1:autoaspect=1 -oac mp3lame -lameopts mode=2:cbr=1:br=192:vol=0 -ffourcc XVID -of avi -o output.avi

Encode Quantel MXF to Davina style Adobe Flash Video

This command:
  • drops all but the first two audio tracks
  • resmaples the audio to 22.5Khz
  • encodes the audio to MP3 at 48Kbps
  • uses ffmpeg's MPEG1/2 decoder
  • crops the top 32 lines of VBI off the video
  • drops one field off the video
  • scales the video to 320x240
  • encodes the video using ffmpeg's FLV at 250Kbps
  • multiplexes the audio and video using ffmpeg's Adobe Flash Video container file format
mencoder input.mxf -mc 0 -noskip -af channels=2,resample=22050:0:0 -oac mp3lame -lameopts abr=48000 -vc ffmpeg12 -vf crop=720:576:0:32,field=0,scale=320:240,dsize=16/9 -ovc lavc -lavcopts vcodec=flv:vbitrate=250000 -of lavf -lavfopts format=flv -o output.flv

Encode Quantel MXF to DV Quicktime mov

This command:
  • drops all but the first two audio tracks
  • uses ffmpeg's MPEG1/2 decoder
  • crops the top 32 lines of VBI off the video
  • encodes the video using ffmpeg's DV codec
  • multiplexes the audio and video using ffmpeg's Apple Quicktime MOV container file format
mencoder input.mxf -noskip -mc 0 -af channels=2 -oac pcm -vc ffmpeg12 -vf crop=720:576:0:32,harddup -ovc lavc -lavcopts vcodec=dvvideo -of lavf -lavfopts format=mov -o outout.mov

Encode Quantel MXF to DVCPRO 50 Quicktime mov

This command:
  • drops all but the first two audio tracks
  • uses ffmpeg's MPEG1/2 decoder
  • crops the top 32 lines of VBI off the video
  • encodes the video using ffmpeg's DV codec in YUV422 format
  • multiplexes the audio and video using ffmpeg's Apple Quicktime MOV container file format
mencoder input.mxf -noskip -mc 0 -af channels=2 -oac pcm -vc ffmpeg12 -vf crop=720:576:0:32,harddup -ovc lavc -lavcopts vcodec=dvvideo:format=422P -of lavf -lavfopts format=mov -o outout.mov

VeryQuickWiki Version 2.8.1 | Admin

All contents copyright mdsh.com (C) 2011-2023.