Mcoder Cloud Edition

Mcoder Cloud Edition provided by Mobileleader

View the Project on GitHub mobileleader/McoderCloudEdition

Mcoder Cloud Edition

"Mocder Cloud Edition" is a transcoding software that support various audio and video formats and convert to runs on devices. It offers REST APIs to transcoding operations and maintenance services. And Using predefined presets easily make encoding options.

- Mcoder Cloud Edition is cloud-based multimedia encoding solution.
- Support various input & output format and codec.
- Available using REST Api.

Environment Setting

To change the port number for Rest API server. you must Update in /home/ec2-user/Mcoder/Mcoder.xml

<AppConfig>
	<server>
		<port>8081</port>
	</server>
	...
</AppConfig>

Mount S3 bucket(optional)

Edit a config file for storing your keys (you can check them out under AWS Menu -> Your Account -> Security Credentials)

touch /etc/passwd-s3fs && chmod 640 /etc/passwd-s3fs && echo 'AccessKey:SecretKey' > /etc/passwd-s3fs
If you dont want to leave any trace of your secret key in your shell history, use a text editor to edit the file rather than echoing it.
Create a directory for mounting the S3 filesystem and mount it. Note that you can mount the s3fs anywhere you like:
/usr/bin/s3fs bucketname /mnt/mountpoint

Check it is woking correctly:
grep s3fs /etc/mtab

Rest APIs

The API provides request for Transcoding. For more information about Rest APIs please read the following document.
McoderRestAPIs.pdf

Using X264 library

x264 Video Codec is a software tool allowing you to encode H.264/MPEG-4 AVC video streams. If you want to encode, you can install following command.

# wget http://mirror.yandex.ru/mirrors/ftp.videolan.org/x264/snapshots/x264-snapshot-20140925-2245-stable.tar.bz2
# tar -xvf x264-snapshot-20140925-2245-stable.tar.bz2
# cd x264-snapshot-20140925-2245-stable
# ./configure --enable-static --enable-shared
# make
# make install
# ldconfig

ffmpeg rebuild with x264

# wget http://ffmpeg.org/releases/ffmpeg-1.1.3.tar.gz
# tar -xvf ffmpeg-1.1.3.tar.gz
# cd ffmpeg-1.1.3
# ./configure --enable-shared --disable-static --enable-memalign-hack --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libvpx --enable-libtheora --enable-libvorbis --enable-version3 WORKING_DIRECTORY
# make
# make install
# ldconfig

License

You can use x264 library, for H.264 encoding. and you must check x264 license for commercial usage.
http://x264licensing.com/

Also you can see summary of AVC/H.264 license terms at http://www.mpegla.com/main/programs/AVC/Documents/AVC_TermsSummary.pdf

Support or Contact

if you're looking for more help or have a question to ask, please contact us. If you're in need of technical support, please contact us. mcoder_support@mobileleader.com