Roger's woze

December 31, 2010

mplayer has poor audio video playback

Filed under: Uncategorized — rogerdpack @ 5:04 pm

(this when it was a video “grabbed” from a DVD, using mencoder).

fix: re-encode that video, either using ffmpeg:

>ffmpeg -i HP_AND_THE_CHAMBER_OF_SECRETS_edited_version.fulli_unedited.tmp.mpg -target ntsc-dvd -t 1600 yo.mpg

or mencoder with harddup.

Or watch it in VLC.

ffmpeg woe

Filed under: Uncategorized — rogerdpack @ 4:44 pm
first comment

meant “your -target ntsc-dvd is in the wrong location”

December 28, 2010

substruct InvalidAuthenticityToken

Filed under: Uncategorized — rogerdpack @ 10:48 am

This meant (with search button) “your form needs to go to /search/query not just /search” I think…maybe?

ref: http://efreedom.com/Question/1-3834588/PayPal-IPN-Stopped-Working-422-Error

December 24, 2010

rails functional test how to test generated html for regex match

Filed under: Uncategorized — rogerdpack @ 1:03 pm

assert_select “body”, /asdf/

(body contains that)

rmagick woe

Filed under: Uncategorized — rogerdpack @ 12:09 pm

unable to find entry point (mingw) meant “you have a mismatch imagemagick version from your installed gem version somehow”

December 22, 2010

[ANN] Sensible cinema 0.19.4 released

Filed under: Uncategorized — rogerdpack @ 5:39 pm

see changelog in github.com/rdp/sensible-cinema

mencoder audio video gets out of sync by like a second

Filed under: Uncategorized — rogerdpack @ 3:04 pm

This happens for some reason, even with mplayer playing back dvd’s or what not.

the fix was, since I was ripping to mpeg, not avi, to add “-vf harddup”

This allowed it to playback right in windows media player and mplayer, though VLC handled it either way.

December 20, 2010

ffmpeg what does -target ntsc-dvd mean?

Filed under: Uncategorized — rogerdpack @ 2:35 pm

http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2010-April/025051.html

has your answer (it sets those options…I think :)

December 18, 2010

ffmpeg and mencoder musings

Filed under: Uncategorized — rogerdpack @ 2:32 pm

it appears that when you split “straight” using ffmpeg, it works, with mencoder,

the video is right on, but the audio is..off somehow.

Same applies for mplayer with its EDL’s

except that when it’s playing back it’s actually playing back fine…just the split fails…except it fails for the edl, too…

reindex *does* fix it for mencoder…but that won’t fix edl’s!

audio comes *before* the speaking for some reason…

what about at second 60? 3000? 0? same offset for mencoder?’

(60 is ok, 120 is messed,

what about that page that was describing splitting with transcode and that some audio couldn’t fit or something…

avidemux might not be reliable for testing audio…

maybe it gets back in sync sometimes?

for sure when using the oss mplayer -edl, the sound something or other was off. Like by a second.

December 17, 2010

easymock woe

Filed under: Uncategorized — rogerdpack @ 11:04 am
Testcase: canRetryConnections(org.familysearch.digitalarchive.sharedclientapis.ApiConnectionTest):        Caused an ERROR
java.net.HttpURLConnection is not an interface
java.lang.IllegalArgumentException: java.net.HttpURLConnection is not an interface
at java.lang.reflect.Proxy.getProxyClass(Proxy.java:362)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
at java.lang.reflect.Proxy.getProxyClass(Proxy.java:362)
at org.easymock.internal.JavaProxyFactory.createProxy(JavaProxyFactory.java:13)
at
meant “you need to use easymock classextension in your pom, and your import must then be”
import org.easymock.classextension.EasyMock;
instead of
import org.easymock.EasyMock; // don’t use this line!
Older Posts »

Powered by WordPress