Compare commits

...

6 Commits

Author SHA1 Message Date
Reto Kromer
19d249a09b Merge pull request #194 from amiaopensource/structure 2017-05-22 16:07:40 +02:00
Ashley
04abe26b53 updates contributors list (#193) 2017-05-22 15:59:43 +02:00
Ashley
ab3a8b25cf adds strip metadata recipe (#192)
- adds strip metadata recipe
2017-05-22 15:48:15 +02:00
Reto Kromer
40e8f8c73c move "Repair" 2017-05-22 14:51:17 +02:00
Ashley
129540fbfc Merge pull request #191 from amiaopensource/licence
CC BY 4.0
2017-05-20 18:47:53 -04:00
Reto Kromer
8578f01e1c CC BY 4.0 2017-05-20 18:43:23 +02:00
2 changed files with 53 additions and 25 deletions

View File

@@ -30,8 +30,8 @@
<p>For instructions on how to install FFmpeg on Mac, Linux, and Windows, refer to Reto Kromers <a href="https://avpres.net/FFmpeg/#ch1" target="_blank">installation instructions</a>.</p> <p>For instructions on how to install FFmpeg on Mac, Linux, and Windows, refer to Reto Kromers <a href="https://avpres.net/FFmpeg/#ch1" target="_blank">installation instructions</a>.</p>
<p>For Bash and command line basics, try the <a href="https://learnpythonthehardway.org/book/appendixa.html" target="_blank">Command Line Crash Course</a>. For a little more context presented in an ffmprovisr style, try <a href="http://explainshell.com/" target="_blank">explainshell.com</a>!</p> <p>For Bash and command line basics, try the <a href="https://learnpythonthehardway.org/book/appendixa.html" target="_blank">Command Line Crash Course</a>. For a little more context presented in an ffmprovisr style, try <a href="http://explainshell.com/" target="_blank">explainshell.com</a>!</p>
<h5>License</h5> <h5>License</h5>
<p><a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank"><img alt="Creative Commons License" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png"></a><br> <p><a href="https://creativecommons.org/licenses/by/4.0/" target="_blank"><img alt="Creative Commons License" src="https://i.creativecommons.org/l/by/4.0/88x31.png"></a><br>
This work is licensed under a <a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>.</p> This work is licensed under a <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">Creative Commons Attribution 4.0 International License</a>.</p>
<h5>Sister projects</h5> <h5>Sister projects</h5>
<p><a href="http://dd388.github.io/crals/" target="_blank">Script Ahoy</a>: Community Resource for Archivists and Librarians Scripting</p> <p><a href="http://dd388.github.io/crals/" target="_blank">Script Ahoy</a>: Community Resource for Archivists and Librarians Scripting</p>
<p><a href="https://datapraxis.github.io/sourcecaster/" target="_blank">The Sourcecaster</a>: an app that helps you use the command line to work through common challenges that come up when working with digital primary sources.</p> <p><a href="https://datapraxis.github.io/sourcecaster/" target="_blank">The Sourcecaster</a>: an app that helps you use the command line to work through common challenges that come up when working with digital primary sources.</p>
@@ -1206,7 +1206,7 @@
</div> </div>
</div> </div>
<!-- ends RIAA equalization --> <!-- ends RIAA equalization -->
</div> </div>
<div class="well"> <div class="well">
<h4>Preservation</h4> <h4>Preservation</h4>
@@ -1658,6 +1658,33 @@ foreach ($file in $inputfiles) {
</div> </div>
<!-- ends SMPTE bars + Sine wave --> <!-- ends SMPTE bars + Sine wave -->
</div>
<div class="well">
<h4>Repair</h4>
<!-- Fix A/V async 1 -->
<span data-toggle="modal" data-target="#avsync_aresample"><button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="bottom" title="Fix A/V sync issues by resampling audio">Fix AV Sync: Resample audio</button></span>
<div id="avsync_aresample" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="well">
<h3>Fix AV Sync: Resample audio</h3>
<p><code>ffmpeg -i <i>input_file</i> -c:v copy -c:a pcm_s16le -af "aresample=async=1000" <i>output_file</i></code></p>
<dl>
<dt>ffmpeg</dt><dd>starts the command</dd>
<dt><i>input_file</i></dt><dd>path, name and extension of the input file</dd>
<dt>-c:v copy</dt><dd>Copy all mapped video streams.</dd>
<dt>-c:a pcm_s16le</dt><dd>Tells ffmpeg to encode the audio stream in 16-bit linear PCM (<a href="https://en.wikipedia.org/wiki/Endianness#Little-endian" target="_blank">little endian</a>)</dd>
<dt>-af "aresample=async=1000"</dt><dd>Stretch/squeezes samples to given timestamps, with maximum of 1000 samples per second compensation <a href="https://ffmpeg.org/ffmpeg-filters.html#aresample-1" target="_blank">[more]</a></dd>
<dt><i>output_file</i></dt><dd>path, name and extension of the output file. Try different file extensions such as mkv, mov, mp4, or avi.</dd>
</dl>
<p class="link"></p>
</div>
</div>
</div>
</div>
<!-- ends Fix A/V async 1 -->
</div> </div>
<div class="well"> <div class="well">
<h4>Other</h4> <h4>Other</h4>
@@ -2156,32 +2183,28 @@ e.g.: <code>ffmpeg -f concat -safe 0 -i mylist.txt -c copy <i>output_file</i></c
</div> </div>
<!-- ends Generate Video Fingerprint --> <!-- ends Generate Video Fingerprint -->
</div> <!-- Strip metadata -->
<div class="well"> <span data-toggle="modal" data-target="#strip_metadata"><button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="bottom" title="Strip metadata">Strip metadata</button></span>
<h4>Repair</h4> <div id="strip_metadata" class="modal fade" tabindex="-1" role="dialog">
<!-- Fix A/V async 1 -->
<span data-toggle="modal" data-target="#avsync_aresample"><button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="bottom" title="Fix A/V sync issues by resampling audio">Fix AV Sync: Resample audio</button></span>
<div id="avsync_aresample" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog modal-lg"> <div class="modal-dialog modal-lg">
<div class="modal-content"> <div class="modal-content">
<div class="well"> <div class="well">
<h3>Fix AV Sync: Resample audio</h3> <h3>Strips metadata from video file</h3>
<p><code>ffmpeg -i <i>input_file</i> -c:v copy -c:a pcm_s16le -af "aresample=async=1000" <i>output_file</i></code></p> <p><code>ffmpeg -i <i>input_file</i> -map_metadata -1 -c:v copy -c:a copy <i>output_file</i></code></p>
<dl> <dl>
<dt>ffmpeg</dt><dd>starts the command</dd> <dt>ffmpeg</dt><dd>starts the command</dd>
<dt><i>input_file</i></dt><dd>path, name and extension of the input file</dd> <dt>-i <i>input_file</i></dt><dd>path, name and extension of the input file</dd>
<dt>-c:v copy</dt><dd>Copy all mapped video streams.</dd> <dt>-map_metadata -1</dt><dd>sets metadata copying to -1, which copies nothing</dd>
<dt>-c:a pcm_s16le</dt><dd>Tells ffmpeg to encode the audio stream in 16-bit linear PCM (<a href="https://en.wikipedia.org/wiki/Endianness#Little-endian" target="_blank">little endian</a>)</dd> <dt>-vcodec copy</dt><dd>copies video track</dd>
<dt>-af "aresample=async=1000"</dt><dd>Stretch/squeezes samples to given timestamps, with maximum of 1000 samples per second compensation <a href="https://ffmpeg.org/ffmpeg-filters.html#aresample-1" target="_blank">[more]</a></dd> <dt>-acodec copy</dt><dd>copies audio track</dd>
<dt><i>output_file</i></dt><dd>path, name and extension of the output file. Try different file extensions such as mkv, mov, mp4, or avi.</dd> <dt><i>output_file</i></dt><dd>Makes copy of original file and names output file</dd>
</dl> </dl>
<p class="link"></p> <p class="link"></p>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!-- ends Fix A/V async 1 --> <!-- ends Strip metadata -->
</div> </div>

View File

@@ -49,7 +49,7 @@ You can read our contributor code of conduct [here](https://github.com/amiaopens
## Contributors ## Contributors
* Gathered using [octohatrack](https://github.com/LABHR/octohatrack) * Gathered using [octohatrack](https://github.com/LABHR/octohatrack)
GitHub Contributors: *GitHub Contributors*:
ablwr (Ashley) ablwr (Ashley)
dericed (Dave Rice) dericed (Dave Rice)
edsu (Ed Summers) edsu (Ed Summers)
@@ -58,33 +58,38 @@ kfrn (Katherine Frances Nagels)
kgrons (Kathryn Gronsbell) kgrons (Kathryn Gronsbell)
kieranjol (Kieran O'Leary) kieranjol (Kieran O'Leary)
llogan (Lou) llogan (Lou)
pjotrek-b (Peter B.)
privatezero (Andrew Weaver) privatezero (Andrew Weaver)
retokromer (Reto Kromer) retokromer (Reto Kromer)
rfraimow rfraimow
All Contributors: *All Contributors*:
ablwr (Ashley) ablwr (Ashley)
audiovisualopen audiovisualopen
brainwane (Sumana Harihareswara) brainwane (Sumana Harihareswara)
bturkus
dericed (Dave Rice) dericed (Dave Rice)
edsu (Ed Summers) edsu (Ed Summers)
Fizz24 Fizz24
jamessam (Jim) jamessam (Jim Sam)
jfarbowitz (Jonathan Farbowitz) jfarbowitz (Jonathan Farbowitz)
jronallo (Jason Ronallo) jronallo (Jason Ronallo)
kellyhaydon (metacynic)
kfrn (Katherine Frances Nagels) kfrn (Katherine Frances Nagels)
kgrons (Kathryn Gronsbell) kgrons (Kathryn Gronsbell)
kieranjol (Kieran O'Leary) kieranjol (Kieran O'Leary)
llogan (Lou) llogan (Lou)
mulvya mulvya
pjotrek-b (Peter B.)
privatezero (Andrew Weaver) privatezero (Andrew Weaver)
retokromer (Reto Kromer) retokromer (Reto Kromer)
rfraimow rfraimow
richardpl (Paul B Mahol)
todrobbins (Tod Robbins) todrobbins (Tod Robbins)
Repo: amiaopensource/ffmprovisr Repo: amiaopensource/ffmprovisr
GitHub Contributors: 11 GitHub Contributors: 12
All Contributors: 18 All Contributors: 22
## AVHack Team ## AVHack Team