mdsh.com/wiki


RecentChanges

TextFormattingRules
AllWikiTopics
OrphanedWikiTopics
ToDoWikiTopics
WikiLockList
RSS
Export2HTML

WikiSearch

SetUsername

StartingPoints
Home
Mencoder

Encode Flip 720p50 h.264 video to PAL SD DV

mencoder -v
-noskip -mc 0
-vf scale=704:576:1,expand=720:0,tinterlace=4,harddup
-ofps 25
-ovc lavc
-lavcopts vcodec=dvvideo
-af channels=2
-srate 48000
-oac pcm
-of lavf
-lavfopts format=mov
-o output.mov
input.mp4



Encode graphics files into DV Quicktime mov at FIELD rate

This command:
  • is verbose
  • takes all .png files in a folder at 50 files per second
  • interlaces the files taking even lines from even frames and odd lines from odd frames. The stream's height is unchanged.
  • ensures the video to 25 (interlaced) frames per second
  • encodes the video using ffmpeg's DV codec
  • multiplexes the video using ffmpeg's Apple Quicktime MOV container file format
mencoder -v
mf://*.png
-mf fps=50:type=png
-vf tinterlace=4,harddup
-ofps 25
-ovc lavc
-lavcopts vcodec=dvvideo
-of lavf
-lavfopts format=mov
-o outout.mov


Encode random file off-the-Internet to DV Quicktime mov

This command:
  • is verbose
  • never skips a frame, ensuring sync is preserved
  • ensures there are 2 two audio tracks
  • ensures the audio sample rate is 48,000 Hz
  • encodes the audio as uncompressed PCM
  • scales the video up to 720x576 (PAL) full screen (probably slightly wrong!)
  • ensures the video is output at 25 FPS
  • encodes the video using ffmpeg's DV codec
  • multiplexes the audio and video using ffmpeg's Apple Quicktime MOV container file format
mencoder -v
-noskip -mc 0
-af channels=2 -srate 48000
-vf scale=720:576,harddup
-ofps 25
-oac pcm
-ovc lavc
-lavcopts vcodec=dvvideo
-of lavf
-lavfopts format=mov
-o outout.mov
video.mp4


Encode PAL DTT captured video to Apple iPod Touch format MPEG4

This command:
  • is verbose
  • never skips a frame, ensuring sync is preserved
  • 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
-noskip -mc 0
-aspect 1050:576 -ofps 25.00
-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
input.mpg


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:
  • is verbose
  • never skips a frame, ensuring sync is preserved
  • 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 -v
-noskip -mc 0
-aspect 1050:576 -ofps 25.00
-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
input.mpg


Encode Quantel MXF to Davina style Adobe Flash Video

This command:
  • is verbose
  • never skips a frame, ensuring sync is preserved
  • drops all but the first two audio tracks
  • resmaples the audio to 22.5Khz
  • 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 audio to MP3 at 48Kbps
  • encodes the video using ffmpeg's FLV at 250Kbps
  • multiplexes the audio and video using ffmpeg's Adobe Flash Video container file format
mencoder -v
-mc 0 -noskip
-af channels=2,resample=22050:0:0
-vc ffmpeg12
-vf crop=720:576:0:32,field=0,scale=320:240,dsize=16/9
-oac mp3lame
-lameopts abr=48000
-ovc lavc
-lavcopts vcodec=flv:vbitrate=250000
-of lavf
-lavfopts format=flv
-o output.flv
input.mxf


Encode Quantel MXF to DV Quicktime mov

This command:
  • is verbose
  • never skips a frame, ensuring sync is preserved
  • drops all but the first two audio tracks
  • uses ffmpeg's MPEG1/2 decoder
  • takes in top-field-first and outputs bottom-field-first (as DV always is)
  • crops the top 32 lines of VBI off the video
  • encodes the audio as uncompressed PCM
  • encodes the video using ffmpeg's DV codec
  • multiplexes the audio and video using ffmpeg's Apple Quicktime MOV container file format
mencoder -v
-noskip -mc 0
-af channels=2
-vc ffmpeg12
-vf phase=t,crop=720:576:0:32,harddup
-oac pcm
-ovc lavc
-lavcopts vcodec=dvvideo
-of lavf
-lavfopts format=mov
-o outout.mov
input.mxf


Encode Quantel MXF to DVCPRO 50 Quicktime mov

This command:
  • is verbose
  • never skips a frame, ensuring sync is preserved
  • drops all but the first two audio tracks
  • uses ffmpeg's MPEG1/2 decoder
  • takes in top-field-first and outputs bottom-field-first (as DV always is)
  • crops the top 32 lines of VBI off the video
  • encodes the audio as uncompressed PCM
  • 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 -v
-noskip -mc 0
-af channels=2
-vc ffmpeg12
-vf phase=t,crop=720:576:0:32,harddup
-oac pcm
-ovc lavc
-lavcopts vcodec=dvvideo:format=422P
-of lavf
-lavfopts format=mov
-o outout.mov
input.mxf


Mencoder is mentioned on: Video


VeryQuickWiki Version 2.8.1 | Admin

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