<commit_before>---
layout:			script-page
title:			"Extract audio from video"
share_desc:		"A python script that converts MP4 files to MP3."


author:			"<NAME>"
author-link:	https://www.facebook.com/harshil.goel.77
date:			2015-06-05

asked-by:		"<NAME>"
asked-by-link:	https://www.facebook.com/josh.adie
asked-by-email:	<EMAIL>
asked-by-date:	2015-06-05

category:		script-pitch

tags:			["audio", "video", "python", "extract", "mp4-to-mp3", "ubuntu"]
keywords:		audio, video, python, extract, mp4 to mp3
comments:		true

short-desc:		"A python script that converts MP4 files to MP3."

---

<div class="para">
Following is a script that converts a MP4 file into MP3 in python.
</div>

<div class="para">
	<emphasis class="bold">Prerequisite :</emphasis>
</div>

<div class="para">
	<ul>
		<li>python2.7</li>
		<li>mplayer</li>
		<li>lame</li>
	</ul>
	To install each of these, execute the lines below
</div>

{% highlight text %}
sudo apt-get install python2.7
sudo apt-get install mplayer
sudo apt-get install lame<commit_msg>Script 3 added<commit_after>---
layout:			script-page
title:			"Extract audio from video"
share_desc:		"A python script that converts MP4 files to MP3."


author:			"<NAME>"
author-link:	https://www.facebook.com/harshil.goel.77
date:			2015-06-05

asked-by:		"<NAME>"
asked-by-link:	https://www.facebook.com/josh.adie
asked-by-email:	<EMAIL>
asked-by-date:	2015-06-05

category:		script-pitch

tags:			["audio", "video", "python", "extract", "mp4-to-mp3"]
keywords:		audio, video, python, extract, mp4 to mp3
comments:		true

short-desc:		"A python script that converts MP4 files to MP3."

---

<div class="para">
Following is a script that converts a MP4 file into MP3 in python.
</div>

<div class="para">
	<emphasis class="bold">Prerequisite :</emphasis>
</div>

<div class="para">
	<ul>
		<li>python2.7</li>
		<li>mplayer</li>
		<li>lame</li>
	</ul>
	To install each of these, execute the lines below
</div>

{% highlight text %}
sudo apt-get install python2.7
sudo apt-get install mplayer
sudo apt-get install lame
{'fraction_non_alphanumeric': 0.15583781143136297, 'fraction_numerical': 0.03175378602833415, 'mean_word_length': 3.970873786407767, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1692318', 'n_tokens_mistral': 857, 'n_tokens_neox': 785, 'n_words': 228}