| Both sides previous revision Previous revision | Next revisionBoth sides next revision |
| melt [2018/06/06 13:39] – [VOC export profile encoding profile] bjoern | melt [2018/06/14 01:22] – andi |
|---|
| =melt encoding sniplets | = melt encoding sniplets |
| |
| ==VOC export profile encoding profile | == VOC export profile encoding profile |
| <code> | <code> |
| <consumer pix_fmt="yuv420p" rescale="bilinear" width="1920" aspect="1,77778" top_field_first="2" preset="medium" f="mp4" flags2="-dct8x8" g="13" maxrate="5000k" bufsize="8192k" threads="0" vcodec="libx264" progressive="1" real_time="-3" bf="2" ab="192k" target="/mnt/usb/lnp256_fade2b.mp4" vpre="medium" r="50" height="1080" minrate="100k " acodec="aac" deinterlace_method="yadif" crf="21" ar="48000" vprofile="main" movflags="+faststart" mlt_service="avformat"/> | <consumer pix_fmt="yuv420p" rescale="bilinear" width="1920" aspect="1,77778" top_field_first="2" preset="medium" f="mp4" flags2="-dct8x8" g="13" maxrate="5000k" bufsize="8192k" threads="0" vcodec="libx264" progressive="1" real_time="-3" bf="2" ab="192k" target="/mnt/usb/lnp256_fade2b.mp4" vpre="medium" r="50" height="1080" minrate="100k " acodec="aac" deinterlace_method="yadif" crf="21" ar="48000" vprofile="main" movflags="+faststart" mlt_service="avformat"/> |
| </code> | </code> |
| |
| ==group sniplets to uncut.mlt | == group sniplets to uncut.mlt |
| <code> | <code> |
| melt -consumer xml babylon-2018-05-26_21-08-38-22834.ts babylon-2018-05-26_21-11-38-22834.ts > uncut.mlt | melt -consumer xml babylon-2018-05-26_21-08-38-22834.ts babylon-2018-05-26_21-11-38-22834.ts > uncut.mlt |
| |
| |
| ==dg50 encoding | == dg50 encoding |
| Direkter encode aus den fuse-ts files | Direkter encode aus den fuse-ts files |
| <code> | <code> |
| </code> | </code> |
| |
| ==timvideo | == timvideo |
| <code>xvfb-run -a melt /encode-final/lca2014-intro.dv \ | <code>xvfb-run -a melt /encode-final/lca2014-intro.dv \ |
| -filter watermark:"/encode-tmp/gentilli/101/101-title.png" \ | -filter watermark:"/encode-tmp/gentilli/101/101-title.png" \ |
| </code> | </code> |
| |
| ==channel mapping | == channel mapping |
| melt ./${file[$i]} $INOUT -profile pal -filter channelcopy to=1 from=0 \ | melt ./${file[$i]} $INOUT -profile pal -filter channelcopy to=1 from=0 \ |
| -consumer avformat:./${output[$i]}.webm progress=1 vb=1000k quality=good deadline=good \ | -consumer avformat:./${output[$i]}.webm progress=1 vb=1000k quality=good deadline=good \ |
| deinterlace=1 deinterlace_method=yadif | deinterlace=1 deinterlace_method=yadif |
| | |
| | == shotcut/kdenlive project file rendern |
| | |
| | melt -progress -track --project 1005.mlt -consumer avformat:./1005-cut.mp4 f=mp4 acodec=aac ab=192k vcodec=libx264 crf=20 bufsize=8192k minrate=100k maxrate=5000k vprofile=main vlevel=4.0 movflags=+faststart pix_fmt=yuv420p |
| | |
| | |
| | TODO: force mono when using camera.mts files in project. Workaround: |
| | ffmpeg -i 1005-cut.mp4 -c:v copy -af "pan=mono|c0=c0" -c:a aac -b:a 128k 1005-cut2.mp4 |
| | |
| ==melt transcode (fosdem) | == melt transcode (fosdem) |
| <code bash> | <code bash> |
| #!/bin/bash | #!/bin/bash |