Skip to main content


Showing posts from June, 2013

Samba Server on Android Media Player

I recently bought an Android-based media player: the Minix Neo X5 . It came with the original firmware , which had issues playing the MTS video files that my digital camera produces, so I promptly upgrade to the latest ver 011 of the firmware. That solved the MTS playback issue, but the firmware itself was not very stable and hang quite frequently. So I promptly installed Clockmod Recovery , followed by the CWM version of Finless V1.2b . Now everything is fast and stable! Next, I needed an SMB server on the media player so that I can manage its content from other PCs in the house. Surprisingly this turned out to be harder than I thought given the hackish nature of Android. SambaDroid was quite easy to install and work with. Unfortunately, it does not support files > 2GB in size. This is quite a major limitation given than many media files these days are > 2GB in size. Samba Server turned out to be a dud. Despite having root access, I couldn't set it up so that it is a

General (lossy) method for normalizing volume of any video file

I have an MKV video file (H264 video, AC3 audio) whose volume I need to normalize. Unfortunately, there doesn't seem to be any lossless way of normalizing the AC3 audio track. So I found out the general (lossy) way of normalizing the audio track of any video file is: > ffmpeg -i input.mkv -vol nnn -vcodec copy output.mkv nnn = 256 (no change) nnn = 128 (half the volume) nnn = 512 (double the volume) etc. This should work for any video file format that ffmpeg recognizes. In addition, I can use the -map commands to remove any unwanted subtitles. > ffmpeg -i input.mkv -map 0:0 -map 0:1 -ac 2 -vol nnn -vcodec copy output.mkv This tells ffmpeg to only include track 0 (video) and 1 (audio) in the output file and ignore the rest.