[Google Chromecast] osm0sis:
It force closes on my N5 before it can show "failed to ...", it happens directly after it displays " Using software MediaCodec for h264"; but I'll do you one better:

08-19 09:31:10.067 V/WindowManager( 751): Adding window Window{2ce96d19 u0 Starting net.thdev.mediacodec} at 7 of 13 (after Window{39ea906a u0 rs.pedjaapps.alogcatroot.app/rs.pedjaapps.alogcatroot.app.LogActivity})
08-19 09:31:10.083 I/art (30041): Late-enabling -Xcheck:jni
08-19 09:31:10.085 I/ActivityManager( 751): Start proc 30041:net.thdev.mediacodec/u0a93 for activity net.thdev.mediacodec/net.thdev.mediacodecexample.MainActivity
08-19 09:31:10.204 D/OpenGLRenderer(30041): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
08-19 09:31:10.210 D/Atlas (30041): Validating map...
08-19 09:31:10.218 V/WindowManager( 751): Adding window Window{21b9b8db u0 net.thdev.mediacodec/net.thdev.mediacodecexample.MainActivity} at 7 of 14 (before Window{2ce96d19 u0 Starting net.thdev.mediacodec})
08-19 09:31:10.241 I/Adreno-EGL(30041): <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 01/14/15, ab0075f, Id3510ff6dc
08-19 09:31:10.241 I/OpenGLRenderer(30041): Initialized EGL, version 1.4
08-19 09:31:10.259 D/OpenGLRenderer(30041): Enabling debug mode 0
08-19 09:31:10.288 I/Keyboard.Facilitator( 1096): onFinishInput()
08-19 09:31:10.309 I/ActivityManager( 751): Displayed net.thdev.mediacodec/net.thdev.mediacodecexample.MainActivity: +248ms
08-19 09:31:11.001 I/ActivityManager( 751): START u0 {cmp=net.thdev.mediacodec/net.thdev.mediacodecexample.MainActivity (has extras)} from uid 10093 on display 0
08-19 09:31:11.009 V/WindowManager( 751): addAppToken: AppWindowToken{aca568d token=Token{1da43b24 ActivityRecord{259107b7 u0 net.thdev.mediacodec/net.thdev.mediacodecexample.MainActivity t18758}}} to stack=1 task=18758 at 1
08-19 09:31:11.052 V/WindowManager( 751): Adding window Window{18246853 u0 net.thdev.mediacodec/net.thdev.mediacodecexample.MainActivity} at 8 of 14 (after Window{21b9b8db u0 net.thdev.mediacodec/net.thdev.mediacodecexample.MainActivity})
08-19 09:31:11.144 I/ActivityManager( 751): Displayed net.thdev.mediacodec/net.thdev.mediacodecexample.MainActivity: +120ms
08-19 09:31:11.146 I/Keyboard.Facilitator( 1096): onFinishInput()
08-19 09:31:12.082 I/ActivityManager( 751): START u0 {cmp=net.thdev.mediacodec/net.thdev.mediacodecexample.decoder.VideoDecoderActivity} from uid 10093 on display 0
08-19 09:31:12.085 V/WindowManager( 751): addAppToken: AppWindowToken{d568ecb token=Token{1f65559a ActivityRecord{2d50ca45 u0 net.thdev.mediacodec/net.thdev.mediacodecexample.decoder.VideoDecoderActivity t18758}}} to stack=1 task=18758 at 2
08-19 09:31:12.097 V/ActivityManager( 751): Display changed displayId=0
08-19 09:31:12.104 I/ActivityManager( 751): Config changes=480 {1.0 302mcc220mnc en_US ?layoutDir sw360dp w598dp h335dp 480dpi nrml land finger -keyb/v/h -nav/h s.20}
08-19 09:31:12.107 I/InputReader( 751): Reconfiguring input devices. changes=0x00000004
08-19 09:31:12.107 I/InputReader( 751): Device reconfigured: id=4, name='touch_dev', size 1080x1920, orientation 1, mode 1, display id 0
08-19 09:31:12.177 V/WindowManager( 751): Adding window Window{3cbd4ca7 u0 net.thdev.mediacodec/net.thdev.mediacodecexample.decoder.VideoDecoderActivity} at 9 of 16 (after Window{18246853 u0 net.thdev.mediacodec/net.thdev.mediacodecexample.MainActivity})
08-19 09:31:12.236 V/WindowManager( 751): Adding window Window{2d4afcfd u0 SurfaceView} at 9 of 16 (before Window{3cbd4ca7 u0 net.thdev.mediacodec/net.thdev.mediacodecexample.decoder.VideoDecoderActivity})
08-19 09:31:12.569 I/SampleTable(30041): There are reordered frames present.
08-19 09:31:12.713 I/OMXClient(30041): Using client-side OMX mux.
08-19 09:31:12.714 E/OMXMaster(30041): A component of name 'OMX.qcom.audio.decoder.aac' already exists, ignoring this one.
08-19 09:31:12.722 D/VideoDecoder(30041): format : {height=404, width=720, csd-1=java.nio.ByteArrayBuffer[position=0,limit=10,capacity=10], max-input-size=99804, mime=video/avc, durationUs=1127960166, csd-0=java.nio.ByteArrayBuffer[position=0,limit=31,capacity=31]}
08-19 09:31:12.723 W/OMXNodeInstance(30041): [1:google.h264.decoder] component does not support metadata mode; using fallback
08-19 09:31:12.723 E/ACodec (30041): [OMX.google.h264.decoder] storeMetaDataInBuffers failed w/ err -1010
08-19 09:31:12.729 I/Choreographer(30041): Skipped 30 frames! The application may be doing too much work on its main thread.
08-19 09:31:12.734 E/SoftAVC (30041): Decoder failed: -2
08-19 09:31:12.734 E/ACodec (30041): [OMX.google.h264.decoder] ERROR(0x80001001)
08-19 09:31:12.735 E/ACodec (30041): signalError(omxError 0x80001001, internalError -2147483648)
08-19 09:31:12.735 E/MediaCodec(30041): Codec reported err 0x80001001, actionCode 0, while in state 6
08-19 09:31:12.739 E/AndroidRuntime(30041): FATAL EXCEPTION: Thread-5759
08-19 09:31:12.739 E/AndroidRuntime(30041): Process: net.thdev.mediacodec, PID: 30041
08-19 09:31:12.739 E/AndroidRuntime(30041): java.lang.IllegalStateException
08-19 09:31:12.739 E/AndroidRuntime(30041):	at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
08-19 09:31:12.739 E/AndroidRuntime(30041):	at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:1033)
08-19 09:31:12.739 E/AndroidRuntime(30041):	at net.thdev.mediacodecexample.decoder.VideoDecoderThread.run(VideoDecoderThread.java:92)
08-19 09:31:12.740 W/ActivityManager( 751): Force finishing activity 1 net.thdev.mediacodec/net.thdev.mediacodecexample.decoder.VideoDecoderActivity
08-19 09:31:12.748 W/ActivityManager( 751): Force finishing activity 2 net.thdev.mediacodec/net.thdev.mediacodecexample.MainActivity
08-19 09:31:12.756 W/InputMethodManagerService( 751): Focus gain on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@ab0fdf2 (uid=10093 pid=30041)
08-19 09:31:12.762 I/WindowManager( 751): Screen frozen for +673ms due to Window{3cbd4ca7 u0 net.thdev.mediacodec/net.thdev.mediacodecexample.decoder.VideoDecoderActivity}

I'd imagine if it doesn't work on my N5 it won't work on my TV box, but if you like I can get you a log from it later tomorrow when I'm home.