forked from cmarrin/videomonkey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
videoparams.txt
60 lines (50 loc) · 3.12 KB
/
videoparams.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
The purpose of this file is to keep track of all the ffmpeg params. This will serve two purposes: it will allow
me to organize the params so they make more sense and are easier to maintain, and it will allow me to come up
with a rational set of advanced settings
Current Video Params
ffmpeg_vpre: "fastest", "default", "normal", "hq"
ffmpeg_vpre_pass1: "normal-pass1", "hq-pass1"
ffmpeg_profile: "-bf 0 -coder 0 -flags2 -wpred-dct8x8"
ffmpeg_vcodec: "libx264", "mpeg4", "dvvideo", "mpeg1video", "mpeg2video", "wmv1",
output_video_bitrate: <number>
output_video_width: <number>
output_video_height: <number>
output_video_frame_rate: <number>
ffmpeg_acodec: "libfaac", "pcm_s16le", "libmp3lame", "wmav2", "mp2", "ac3"
output_audio_bitrate: <number>
output_audio_sample_rate: <number>
output_audio_channels: <number>
num_cpus: <number>
output_format: "MPEG-4", "DV"
output_video_codec: "H.264", "mpeg4", "DV", "H264", "MPEG-4", "MPEG-2", "MPEG4", "WMV", "Dont Worry About It!"
output_video_profile: "baseline", "main"
output_video_level: <number>
output_audio_codec: "AAC", "PCM", "MP3", "WMA", "MP2", "AC3"
pix_fmt: "-pix_fmt yuv411p", "-pix_fmt yuv420p"
forceFormat: "-f mov", "-f psp"
aspect: "-aspect 16:9", "-aspect 3:2"
qmin: "-qmin "+<number>, "-bf 2", "-qmin 5 -bf 2", "-qmin "+<number>+" -bf 2"
padding: "-padleft 56 -padright 56", "-padtop 32 -padbottom 32", "-padleft 160 -padright 160",
"-padleft 80 -padright 96", "-padleft 240 -padright 240", "-padleft 128 -padright 136"
"-padtop 32 -padbottom 32", "-padtop 48 -padbottom 48", "-padtop 64 -padbottom 64"
"-padtop 96 -padbottom 112", "-padtop 112 -padbottom 112", "-padtop 64 -padbottom 48"
gop_size: "-g 300", "-g 200", "-g 50", "-g 15"
extras: "-sc_threshold 40 -partitions partp4x4 -rc_eq 'blurCplx^(1-qComp)' -refs 1 -coder 1 -level 21 -qmax 51 -bf 1",
"-maxrate 24k -bufsize 5k -g 30", "-maxrate 34k -bufsize 5k -g 30",
"-maxrate "+<number>+" -bufsize "+<number>,
"-bf 1 -level 41 -sc_threshold 40 -partitions partp4x4 -rc_eq 'blurCplx^(1-qComp)' -refs 3 -qmax 51"
thumbnail: "-an -s 72x54 -ss 50 -vframes 1 -f image2"
dashv: "-vcodec"
dashtarget: "-target"
target: "ntsc-vcd", "pal-vcd"
fps: "10", "ntsc", "pal"
tag: "-vtag DX50"
dashb: "-b"
k56: "-maxrate 40k -bufsize 5k -g ntsc", "-maxrate 24k -bufsize 5k -g 30"
-async 50
In PSP section:
if(params.input_video_aspect >= "1.2" && params.input_video_aspect <= "1.5") {
That can't be right!
params.output_video_codec = params.top_crop
but top_crop is never defined
There are many places where output_format, etc., are not set.