https://londonhuawiki.wpi.edu/index.php?title=Help_with_Video_Encoding&feed=atom&action=historyHelp with Video Encoding - Revision history2024-03-28T15:41:42ZRevision history for this page on the wikiMediaWiki 1.31.8https://londonhuawiki.wpi.edu/index.php?title=Help_with_Video_Encoding&diff=293&oldid=prevVjmanzo at 17:19, 21 February 20172017-02-21T17:19:00Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 17:19, 21 February 2017</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l42" >Line 42:</td>
<td colspan="2" class="diff-lineno">Line 42:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''What makes it all break?'''</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''What makes it all break?'''</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>When a video doesn't play correctly, it is often because of unusual combinations of these sub-components of the file. For example, a the file's container may claim to contain video written in the AVC (advanced video codec) format, with audio formatted in PCM (pulse-code modulation). But then, the actual audio and video files actually be written in other formats, like IOSM for the video and MP3 for the audio. Often, a computer can scan through all of this information and can try various combinations of audio and video decoders in order to determine a set that work properly, regardless of what the file info says. But web browsers and mobile devices generally don't have the processing power available to do these things, and rely instead on the files being labelled and encoded very precisely according to a specific standards. Into this mix, you can also add the complication that modern standards such as MP4 are actually still evolving and being revised, so many products are not quite caught up to the latest revisions...</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>When a video doesn't play correctly, it is often because of unusual combinations of these sub-components of the file. For example, a the file's container may claim to contain video written in the AVC (advanced video codec) format, with audio formatted in PCM (pulse-code modulation). But then, the actual audio and video files actually be written in other formats, like IOSM for the video and MP3 for the audio. Often, a computer can scan through all of this information and can try various combinations of audio and video decoders in order to determine a set that work properly, regardless of what the file info says. But web browsers and mobile devices generally don't have the processing power available to do these things, and rely instead on the files being labelled and encoded very precisely according to a specific standards. Into this mix, you can also add the complication that modern standards such as MP4 are actually still evolving and being revised, so many products are not quite caught up to the latest revisions...</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[[Category: Writings, Papers, Tutorials,and Documentation]] [[Category: Advisor:Manzo]]</del></div></td><td colspan="2"> </td></tr>
</table>Vjmanzohttps://londonhuawiki.wpi.edu/index.php?title=Help_with_Video_Encoding&diff=292&oldid=prevVjmanzo: Created page with "== Encoding Media == Many formats and techniques exist for compressing, encoding, and packaging audio and visuals into a final video file. A number of different standards exi..."2017-02-21T17:18:09Z<p>Created page with "== Encoding Media == Many formats and techniques exist for compressing, encoding, and packaging audio and visuals into a final video file. A number of different standards exi..."</p>
<p><b>New page</b></p><div>== Encoding Media ==<br />
<br />
Many formats and techniques exist for compressing, encoding, and packaging audio and visuals into a final video file. A number of different standards exist, and many variations or partial implementations of those standards are out there. This page has suggestions for formatting and tools to ensure that your video file plays correctly on this wiki and in most web browsers.<br />
<br />
=== Tools to encode ===<br />
==== On Campus ====<br />
The following tools are available on campus and can produce files that will work perfectly with all devices.<br />
{| class="wikitable"<br />
|-<br />
! Tool Name<br />
! Where is it<br />
! What to do<br />
|-<br />
| Camtasia Studio (Edit and encode)<br />
| All WPI lab, Tech suite, and Loaner Laptop machines<br />
| Import Media, Add to timeline, Set video size to "recording dimensions" and then Produce and Share, using the Mp4 Only up to 720p preset. Techsmith's tutorial site: [http://www.techsmith.com/tutorial.html]<br />
|-<br />
| Adobe Media Encoder (Encode)<br />
| Library Multimedia Lab, SL 123 Lab, IMGD Labs, Library Anderson Lab B<br />
| Drop a video onto the interface, change the preset to H.264, and Press the green play button to start encoding.<br />
|-<br />
| Adobe Premiere (Edit and Encode)<br />
| Library Multimedia Lab, SL 123 Lab, IMGD Labs, Library Anderson Lab B<br />
| Start a new project (click Ok on the settings page), File > Import media, Drop a video onto the timeline, and select File > Export > Media. When the Export box comes up, change the Format (dropdown menu) to H.264 and click Export.<br />
|}<br />
==== Other ====<br />
These tools are free, but may require some fiddling to use. They are capable of producing compatible files, but some formats may not work correctly in various circumstances. If you use these tools, test the results!!!<br />
*Zamzar [http://www.zamzar.com/]<br />
**Zamzar is free, easy to use, and produces correctly formatted media. Limited to 100 MB files.<br />
*Handbrake [https://handbrake.fr/]<br />
**Handbrake is free and cross platform. It does not '''always''' produce correctly formatted files, however.<br />
*VLC [http://www.videolan.org/vlc]<br />
**Primarily a video player, but also able to convert to MP4 (from the Media > Save/convert menu).<br />
*FFMPEG [https://www.ffmpeg.org/]<br />
**The ultimate video converter, but it is a command-line only program. A simple command like this would work for most video files: <br />
**ffmpeg -i inputFile.ext -c:v libx264 -v:b 1000k -c:a copy output.mp4<br />
**However, for some of the more unusual files, a more complex command may be needed<br />
<br />
=== Formatting ===<br />
Generally, the best video format to use is mp4. The wiki can play other formats including mov, wmv, and flv, but these might not play as reliably. One of the most confusing aspects of video formatting is that the file extension does not always indicate what kind of file your video is. This is because video files are actually containers that contain several files! There's generally some data written into the file that describes the kind of content to expect, and then there are audio and video files packed in, each of which contain their own descriptive data and content. <br />
<br />
'''What makes it all break?'''<br />
When a video doesn't play correctly, it is often because of unusual combinations of these sub-components of the file. For example, a the file's container may claim to contain video written in the AVC (advanced video codec) format, with audio formatted in PCM (pulse-code modulation). But then, the actual audio and video files actually be written in other formats, like IOSM for the video and MP3 for the audio. Often, a computer can scan through all of this information and can try various combinations of audio and video decoders in order to determine a set that work properly, regardless of what the file info says. But web browsers and mobile devices generally don't have the processing power available to do these things, and rely instead on the files being labelled and encoded very precisely according to a specific standards. Into this mix, you can also add the complication that modern standards such as MP4 are actually still evolving and being revised, so many products are not quite caught up to the latest revisions...<br />
<br />
[[Category: Writings, Papers, Tutorials,and Documentation]] [[Category: Advisor:Manzo]]</div>Vjmanzo