Changes between Version 1 and Version 2 of Software/encoding
- Timestamp:
- 09/29/17 14:00:34 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Software/encoding
v1 v2 1 1 2 == Encoding Movies 2 == Encoding Movies with MEncoder/FFmpeg 3 3 [[PageOutline]] 4 4 5 === Introduction 6 MPlayer is available on JURECA. 7 Please load the required modules first: 5 8 {{{#!ShellExample 6 mencoder mf://*.jpg -mf w=800:h=600:fps=25:type=jpg \ 9 module load Stages/Devel-2017a 10 module load GCC/5.4.0 11 module load MPlayer 12 }}} 13 14 For more details on MEncoder please check [http://www.mplayerhq.hu/DOCS/HTML/en/encoding-guide.html here] 15 16 ==== Images => Movie: 17 18 ===== Example 1: JPEG -> MPEG4 in AVI-container (with vcodec=mpeg4) 19 For details on lavopts check [http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-vcd-dvd.html#menc-feat-vcd-dvd-lavc here] 20 {{{#!ShellExample 21 mencoder mf://*.jpg -mf w=1920:h=1080:fps=25:type=jpg \ 7 22 -ovc lavc \ 8 23 -lavcopts vcodec=mpeg4:mbd=2:trell \ … … 11 26 }}} 12 27 13 === mencoder Examples 28 ===== Example 2: PNG -> MPEG4 in AVI-container (with library x264 through FFmpeg integrated into mencoder) 29 For details on x264encopts check [http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-x264.html here] 30 {{{#!ShellExample 31 mencoder mf://*.png -mf w=1920:h=1080:fps=25:type=png \ 32 -ovc x264 \ 33 -x264encopts \ 34 bitrate=900:bframes=1:me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300:threads=auto \ 35 -oac copy \ 36 -o output.avi 37 }}} 38 39 40 ===== Example 3: PNG -> MPEG4 (ready for !QuickTime 7) 14 41 (ready for !QuickTime 7 limitations - taken from [https://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-quicktime-7.html here]) 15 42 … … 34 61 }}} 35 62 36 === ffmpeg Examples63 ==== ffmpeg Examples 37 64 (https://www.virag.si/2012/01/web-video-encoding-tutorial-with-ffmpeg-0-9) 38 65 {{{#!ShellExample