View Single Post
ldrn's Avatar
Posts: 201 | Thanked: 88 times | Joined on Aug 2007 @ San Francisco, CA
#38
That'd be great! It could be passed without issue; the way I do it does add a bit of extra time (about 10 seconds on my machine) to the process up front, though. I know there are better ways to do it -- you can extract the audio first -- I just haven't bothered.

The bug can be summed up as: mencoder has trouble with mkvs when it has to also decode the audio for some reason; I know nothing of the technical details. The workaround I use is a bash script; I thought about modifying tablet-encode, but I know almsot no perl.

Problem with how I do it is, what if you are not on a Linux system? I don't know if other systems work the same way or how to adapt it.

Here's what I do, without the stuff specific to me:
Code:
#!/bin/bash
        TEMPFILE=`mktemp`
        rm $TEMPFILE
        mplayer "$1" -ao pcm:fast:file=$TEMPFILE -vc null -vo null
        ~/bin/tablet-encode --preset mplayer -m-audiofile -m$TEMPFILE --gui $1 $2
        rm $TEMPFILE