Greetings, everyone. I'm new here, but I've been basically self-studying encoding video for the past years. This question is basically about video reencoding to play MP4 on my android. I hope this is the right place.
I just recently tried copying my older MKV videos to my android, where I use Rockplayer to view them. Those videos have a video stream, one subtitle stream, and two audio streams. The problem with my Rockplayer is that even though it can play MKVs, it does not allow for toggling of subtitles and audio streams.
I chose as output format MP4 with h264 and aac codec with hardcoded subtitles. I had many files to convert, so I wanted to use Windows command-line utilities in order to encode. I needed a small video size to fit many episodes on my phone, the video just needed to be watchable.
I basically used mencoder to hardcode the subtitles onto the video stream and only use one audio stream. However the available mencoder's windows builds don't support an mp4 output, so I had to output it to a temporary avi. Then I used ffmpeg to copy the avi's streams into an mp4 file. I didn't use FFMPEG to convert the video in the first place since it doesn't hardsub.
These were the relevant parts of the batch file:
Now, I have the files that play perfectly on MPC-HC, but on the phone itself it has a couple of problems.Code:mencoder "%fOnly%.mkv" -ovc x264 -oac faac -x264encopts bitrate=284 -sid 0 -aid 1 -vf scale=480:320 -o temp.avi ffmpeg -i "temp.avi" "%fOnly%.mp4"
1. If you play the video linearly, the audio is out of sync with the video. The problem disappears though if you skip forward by moving the slider.
2. There are artifacts during motion scenes. When the characters are talking the mouths become pixelated, for example.
3. There are the same artifacts with the hardcoded subtitles. When the words switch there are some remnants left behind.
What could be the possible causes of those problems? I'm using Rockplayer, and I have no problems viewing other videos with it.
+ Reply to Thread
Results 1 to 3 of 3
-
-
if you just want to convert the multi audio/subs to single audio/subs then you can use mkvtoolnix to do it with just a re-merge. install it and open mkvmergegui. check only the streams you want to keep, give the output a destination and click start muxing.
Last edited by aedipuss; 14th Oct 2011 at 20:45. Reason: miss spelling
--
"a lot of people are better dead" - prisoner KSC2-303 -
The problem with that is that I need to hardsub the mkv srt softsubs onto the video so that the phone player can play them, so I'll have to reencode it anyway. And whenever I do that, it's introducing the unsynching and artefacting problem in my phone's player.
The only clue to the problem I have is that the aac audio files in the mkv seem to be "malformatted".
Similar Threads
-
phone to use in europe
By MJA in forum Off topicReplies: 3Last Post: 7th Nov 2011, 17:13 -
Phone books?
By stiltman in forum Off topicReplies: 16Last Post: 18th Sep 2011, 16:01 -
video conversion for mobile phone
By sumeshkri in forum Video ConversionReplies: 1Last Post: 3rd Nov 2010, 17:49 -
7" i-phone
By ocgw in forum ComputerReplies: 1Last Post: 3rd Feb 2010, 12:02 -
Avi conversion to support mobile phone type
By sterankin in forum Video ConversionReplies: 7Last Post: 3rd Jul 2008, 14:51