forked from KnightDanila/BAT_FFMPEG
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
118 lines (107 loc) · 17.5 KB
/
index.html
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html>
<head>
<title>BAT_FFMPEG</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--JQuery-->
<script src="https://knightdanila.github.io/js/libs/jquery/jquery.js" type="text/javascript"></script>
<!--GitHub-JS-->
<script src="https://knightdanila.github.io/js/github.js" type="text/javascript"></script>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://knightdanila.github.io/theme/style.css">
<link rel="stylesheet" href="https://knightdanila.github.io/theme/footer/footer.css">
<link rel="stylesheet" href="https://knightdanila.github.io/theme/img/zoom.css">
<link rel="stylesheet" href="https://knightdanila.github.io/theme/code/lazyCode.css">
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/frameworks-c567bfeb1cb9f4ac89533a5e03dbe623.css">
<link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/github-89642c25e1c39ca29fd1d22a91c65558.css">
<link rel="shortcut icon" type="image/png" href="https://github.githubassets.com/images/icons/emoji/unicode/1f3a5.png"/>
<style type="text/css">
body {
background-color: transparent;
}
</style>
</head>
<body>
<div class="version">
<h1><a id="user-content-bat_ffmpeg-movie_camera" class="anchor" aria-hidden="true" href="#bat_ffmpeg-movie_camera"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><a href="https://github.com/KnightDanila/BAT_FFMPEG"> BAT_FFMPEG <g-emoji class="g-emoji" alias="movie_camera" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f3a5.png"><img class="emoji" alt="movie_camera" height="20" width="20" src="https://github.githubassets.com/images/icons/emoji/unicode/1f3a5.png"></g-emoji></a></h1>
</div>
<div class="content">
<!-- START -->
<div class="Box-body p-6">
<article class="markdown-body entry-content" itemprop="text"><h1><a id="user-content-bat_ffmpeg-movie_camera" class="anchor" aria-hidden="true" href="#bat_ffmpeg-movie_camera"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>BAT_FFMPEG <g-emoji class="g-emoji" alias="movie_camera" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f3a5.png"><img class="emoji" alt="movie_camera" height="20" width="20" src="https://github.githubassets.com/images/icons/emoji/unicode/1f3a5.png"></g-emoji></h1>
<h2><a id="user-content-about" class="anchor" aria-hidden="true" href="#about"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>About</h2>
<p>Batch script files for FFMPEG (Microsoft Windows and DOS, OS/2 <a target="_blank" rel="noopener noreferrer" href="https://camo.githubusercontent.com/b1276b15718599b17fec8fb70cc9f00c0fcbb4ae/68747470733a2f2f656d6f6a6970656469612d75732e73332e616d617a6f6e6177732e636f6d2f7468756d62732f3132302f656d6f6a696f6e652f3135312f756e69636f726e2d666163655f31663938342e706e67"><img src="https://camo.githubusercontent.com/b1276b15718599b17fec8fb70cc9f00c0fcbb4ae/68747470733a2f2f656d6f6a6970656469612d75732e73332e616d617a6f6e6177732e636f6d2f7468756d62732f3132302f656d6f6a696f6e652f3135312f756e69636f726e2d666163655f31663938342e706e67" width="50px" data-canonical-src="https://emojipedia-us.s3.amazonaws.com/thumbs/120/emojione/151/unicorn-face_1f984.png" style="max-width:100%;"></a>)</p>
<p>My collection of scripts :)<br>
For converting (audio, video, ...) files using FFMPEG :)</p>
<h2><a id="user-content-how-to-use" class="anchor" aria-hidden="true" href="#how-to-use"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>How to use:</h2>
<p>All these .bat files drag and drop like.<br>
Just drag and drop some files in these bat files :)</p>
<h3><a id="user-content-logic" class="anchor" aria-hidden="true" href="#logic"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Logic</h3>
<p>All files have MAIN Code - where you can find main command(s) for ffmpeg.exe<br>
This main command have comment mark:<br>
<code>REM //////////////////// MAIN \\\\\\\\\\\\\\\\\\\\\\\\\</code><br>
Than main code-command(s) for ffmpeg.exe (Video-ToMP4_FPS-24-25-30-60.bat for example):</p>
<pre><code> ffmpeg -i %%x -r 30 -vcodec libx264 -acodec copy -map_metadata 0 -map 0 -threads 1 "%%~nx_output_FPS30.mp4"
</code></pre>
<h2><a id="user-content-scripts" class="anchor" aria-hidden="true" href="#scripts"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Scripts</h2>
<h3><a id="user-content-video-tomp4_fps-24-25-30-60bat-how-to-change-frame-rate-of-video-fps-of-video-by-ffmpegexe" class="anchor" aria-hidden="true" href="#video-tomp4_fps-24-25-30-60bat-how-to-change-frame-rate-of-video-fps-of-video-by-ffmpegexe"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Video-ToMP4_FPS-24-25-30-60.bat (How to change frame rate of video, fps of video by ffmpeg.exe?)</h3>
<p>Can change frame rate or FPS of video and recode it to container <code>.mp4</code> & video codec <code>x264</code>.<br>
By default it is <code>-r 30</code> - 30 FPS. Choose what you want in MAIN Code:</p>
<pre><code>REM ffmpeg -i %%x -r 24 -vcodec libx264 -acodec copy -map_metadata 0 -map 0 -threads 1 "%%~nx_output_FPS24.mp4"
REM ffmpeg -r "25" -i %%x -vcodec libx264 -acodec copy -map_metadata 0 -map 0 -threads 1 "%%~nx_output_FPS25.mp4"
ffmpeg -i %%x -r 30 -vcodec libx264 -acodec copy -map_metadata 0 -map 0 -threads 1 "%%~nx_output_FPS30.mp4"
REM ffmpeg -r "60" -i %%x -vcodec copy -acodec copy -map_metadata 0 -map 0 -threads 1 "%%~nx_output_FPS60.mp4"
</code></pre>
<h3><a id="user-content-video-togif-ffmpeg-video-to-gif" class="anchor" aria-hidden="true" href="#video-togif-ffmpeg-video-to-gif"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Video-ToGIF (ffmpeg video to GIF)</h3>
<p>Convert video to GIF files.<br>
By different styles:<br>
<code>Video-ToGIF_16Bit-Style.bat</code> - 16 Bit-Style<br>
<code>Video-ToGIF_32ColorsStyle.bat</code> - 32 Colors Style<br>
<code>Video-ToGIF_Fast.bat</code> - fast&quality<br>
<code>Video-ToGIF_HD.bat</code> - max quality\</p>
<h2><a id="user-content-ffmpeg-about-movie_camera" class="anchor" aria-hidden="true" href="#ffmpeg-about-movie_camera"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>FFMPEG About <g-emoji class="g-emoji" alias="movie_camera" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f3a5.png"><img class="emoji" alt="movie_camera" height="20" width="20" src="https://github.githubassets.com/images/icons/emoji/unicode/1f3a5.png"></g-emoji></h2>
<p>FFMPEG WebPage:</p>
<blockquote>
<p><a href="https://www.ffmpeg.org/" rel="nofollow">https://www.ffmpeg.org/</a><br>
FFMPEG About:<br>
Official: <a href="https://www.ffmpeg.org/about.html" rel="nofollow">https://www.ffmpeg.org/about.html</a><br>
Wiki: <a href="https://en.wikipedia.org/wiki/FFmpeg" rel="nofollow">https://en.wikipedia.org/wiki/FFmpeg</a></p>
</blockquote>
<h2><a id="user-content-youtube-dl-about-movie_camera" class="anchor" aria-hidden="true" href="#youtube-dl-about-movie_camera"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>YouTube-DL About <g-emoji class="g-emoji" alias="movie_camera" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f3a5.png"><img class="emoji" alt="movie_camera" height="20" width="20" src="https://github.githubassets.com/images/icons/emoji/unicode/1f3a5.png"></g-emoji></h2>
<p>YouTube-DL WebPage:</p>
<blockquote>
<p><a href="http://rg3.github.io/youtube-dl/" rel="nofollow">http://rg3.github.io/youtube-dl/</a><br>
YouTube-DL About:<br>
Official: <a href="http://rg3.github.io/youtube-dl/" rel="nofollow">http://rg3.github.io/youtube-dl/</a><br>
GitHub: <a href="https://github.com/rg3/youtube-dl">https://github.com/rg3/youtube-dl</a></p>
</blockquote>
<h2><a id="user-content-atomicparsley-about-movie_camera" class="anchor" aria-hidden="true" href="#atomicparsley-about-movie_camera"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>AtomicParsley About <g-emoji class="g-emoji" alias="movie_camera" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f3a5.png"><img class="emoji" alt="movie_camera" height="20" width="20" src="https://github.githubassets.com/images/icons/emoji/unicode/1f3a5.png"></g-emoji></h2>
<p>AtomicParsley WebPage:</p>
<blockquote>
<p><a href="http://atomicparsley.sourceforge.net/" rel="nofollow">http://atomicparsley.sourceforge.net/</a><br>
AtomicParsley About:<br>
Official: <a href="https://sourceforge.net/projects/atomicparsley/" rel="nofollow">https://sourceforge.net/projects/atomicparsley/</a><br>
GitHub: <a href="https://github.com/wez/atomicparsley">https://github.com/wez/atomicparsley</a></p>
</blockquote>
<p><br>
<br>
<br>
\</p>
<h2><a id="user-content-this-links-for-me" class="anchor" aria-hidden="true" href="#this-links-for-me"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>This links for me:</h2>
<p>srt - [<a href="https://trac.ffmpeg.org/ticket/7356" rel="nofollow">https://trac.ffmpeg.org/ticket/7356</a>]<br>
srt EOF - sub.ass - CRLF and sub.srt - LF - [<a href="https://trac.ffmpeg.org/ticket/7362" rel="nofollow">https://trac.ffmpeg.org/ticket/7362</a>]</p>
</article>
</div>
<!-- END -->
</div>
<div id="Footer" class="footer">
<a href="https://github.com/KnightDanila">KnightDanila<img src="https://github.com/fluidicon.png"></a>
</div>
<script>/*
window.onload = function() {
fetch('https://KnightDanila.github.io/BAT_FFMPEG/README.md').then(response=>response.text()).then(data=>{ document.getElementsByClassName('content')[0].innerHTML = marked(data); })//<div\s+id=.+>[\S\s]*?<\/div>
}; */</script>
</body>
</html>