[G1 Q&A, Help & Troubleshooting] Fnorder:
Has anyone had issues playing videos in recent CM roms? Somewhere between android 1.5 and 1.6 files I've encoded with below broke. While sound plays, the video output is blank:

mencoder "$2" -o "$2.tmp.mp4" -vf dsize=480:352:2,scale=-8:-8,harddup -oac faac -faacopts mpeg=4:object=2:raw:br=128 -of lavf -lavfopts format=mp4 -ovc x264 -x264encopts bframes=0:bitrate=512:threads=auto:global_header
ffmpeg -i "$2.tmp.mp4" -vcodec copy -acodec copy "$2.and.mp4"

I've checked and it's not the ramhack patch, and it's been tried on multiple players. Oddly a short video ripped from youtube works. I think it's an android 1.5 -> 1.6 change that requires new encoder lines. Can someone post mencoder/ffmpeg/etc commands that produce videos playable in a recent rom?

Logcat output from a failed attempt.

11-30 08:10:16.625 I/ActivityManager( 331): Start proc com.android.camera for activity com.android.camera/.MovieView: pid=1202 uid=10021 gids={1006, 1015, 2001, 3003}
11-30 08:10:21.515 I/ActivityManager( 331): Displayed activity com.android.camera/.MovieView: 5089 ms (total 5089 ms)
11-30 08:10:21.905 W/QCvdec ( 315): vdec: Creating H264 Decoder [0x9fae0]
11-30 08:10:21.905 W/QCvdec ( 315): vdec: NAL lenght [0]
11-30 08:10:21.905 W/QCvdec ( 315): vdec: START CODE....
11-30 08:10:21.975 W/ADSP_RTOS_SVC( 315): VDL_QDSP_rtos_event_cb
11-30 08:10:21.975 W/ADSP_RTOS_SVC( 315): VDL_QDSP_rtos_event_cb
11-30 08:10:23.066 W/AudioFlinger( 315): write blocked for 83 msecs
11-30 08:10:32.765 W/WindowManager( 331): Key dispatching timed out sending to com.android.camera/com.android.camera.MovieView
11-30 08:10:32.765 W/WindowManager( 331): Dispatch state: {{KeyEvent{action=1 code=66 repeat=0 meta=0 scancode=28 mFlags=8} to Window{43baf640 org.connectbot/org.connectbot.ConsoleActivity paused=false} @ 1259568605596 lw=Window{43baf640 org.connectbot/org.connectbot.ConsoleActivity paused=false} lb=android.os.BinderProxy@43a65fa0 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{43afca90 com.android.camera/com.android.camera.MovieView paused=false}}}
11-30 08:10:32.775 W/WindowManager( 331): Current state: {{null to Window{43afca90 com.android.camera/com.android.camera.MovieView paused=false} @ 1259568632775 lw=Window{43afca90 com.android.camera/com.android.camera.MovieView paused=false} lb=android.os.BinderProxy@43965188 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{43afca90 com.android.camera/com.android.camera.MovieView paused=false}}}
11-30 08:10:34.255 I/ActivityManager( 331): ANR in process: com.android.camera (last in com.android.camera)
11-30 08:10:34.255 I/ActivityManager( 331): Annotation: keyDispatchingTimedOut
11-30 08:10:34.255 I/ActivityManager( 331): CPU usage:
11-30 08:10:34.255 I/ActivityManager( 331): Load: 4.83 / 4.41 / 3.88
11-30 08:10:34.255 I/ActivityManager( 331): CPU usage from 17087ms to 3261ms ago:
11-30 08:10:34.255 I/ActivityManager( 331): mediaserver: 58% = 39% user + 19% kernel / faults: 1703 minor 61 major
[snip: nothing useful]
11-30 08:10:34.835 I/Process ( 331): Sending signal. PID: 1202 SIG: 3
11-30 08:10:34.865 I/dalvikvm( 1202): threadid=7: reacting to signal 3
11-30 08:10:35.035 I/Process ( 331): Sending signal. PID: 331 SIG: 3
11-30 08:10:35.035 I/dalvikvm( 331): threadid=7: reacting to signal 3
[snip:more of the last line]
11-30 08:10:38.965 W/WindowManager( 331): Continuing to wait for key to be dispatched
11-30 08:10:44.245 W/WindowManager( 331): Key dispatching timed out sending to com.android.camera/com.android.camera.MovieView
11-30 08:10:44.255 W/WindowManager( 331): Dispatch state: {{KeyEvent{action=1 code=66 repeat=0 meta=0 scancode=28 mFlags=8} to Window{43baf640 org.connectbot/org.connectbot.ConsoleActivity paused=false} @ 1259568605596 lw=Window{43baf640 org.connectbot/org.connectbot.ConsoleActivity paused=false} lb=android.os.BinderProxy@43a65fa0 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{43b0c3b8 Panel:com.android.camera/com.android.camera.MovieView paused=false}}}
11-30 08:10:44.255 W/WindowManager( 331): Current state: {{null to Window{43afca90 com.android.camera/com.android.camera.MovieView paused=false} @ 1259568644259 lw=Window{43afca90 com.android.camera/com.android.camera.MovieView paused=false} lb=android.os.BinderProxy@43965188 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{43b0c3b8 Panel:com.android.camera/com.android.camera.MovieView paused=false}}}
11-30 08:10:45.485 I/WindowManager( 331): WIN DEATH: Window{43adbe58 com.android.browser/com.android.browser.BrowserActivity paused=false}
11-30 08:10:50.045 I/ActivityManager( 331): Start proc com.android.bugreport for broadcast com.android.bugreport/.BugReportReceiver: pid=1213 uid=10034 gids={1007, 1015}
11-30 08:10:50.275 I/ActivityManager( 331): Process com.android.browser (pid 673) has died.
11-30 08:10:50.675 W/WindowManager( 331): Continuing to wait for key to be dispatched
11-30 08:10:50.675 W/WindowManager( 331): No window to dispatch pointer action 1
11-30 08:10:52.125 I/ActivityManager( 331): Killing process com.android.camera (pid=1202) at user's request