hmm...I don't see the crash. Which codebase are you using? Are you testing on the emulator or device?
-Ravi On Jun 29, 10:09 pm, jschen <jschen....@gmail.com> wrote: > Hi > > I use ffmpeg to convert from mpeg2 to mpeg4 format. > ffmpeg -i test_1080i_25fps_15Mbps.mpg -b 3000k -r 25 -s 1024x768 > -vcodec mpeg4 -t 3 test_1024x768.mp4 > ffmpeg -i test_1080i_25fps_15Mbps.mpg -b 3000k -r 25 -s 800x600 > -vcodec mpeg4 -t 3 test_800x600.mp4 > > Media server will die when I try to play test_1024x768.mp4 but it can > play test_800x600.mp4 well. > Any idea? Thank in advance. > > Please find these 2 clips as attached file. > > On 6月29日, 下午7時42分, RaviY <yend...@pv.com> wrote: > > > Please attach the clip. > > > On Jun 29, 5:24 am, jschen <jschen....@gmail.com> wrote: > > > > Hi all, > > > > I try to play a 1024x768 video file by media framework and I always > > > got "media server died!". > > > However, it can play 800x600 video file without any problem.. > > > Here are logcat.. > > > How can I figure out what the problem is? Thanks. > > > === > > > V/WindowManager( 1672): Dispatching to Window{9808abc8 > > > com.android.gemdia/com.android.gemdia.local_play paused=false}: > > > KeyEvent{action=1 code=66 repeat=0 meta=0 scancode=28 mFlags=9} > > > V/WindowManager( 1672): Delivering key 66 to Window{9808abc8 > > > com.android.gemdia/com.android.gemdia.local_play paused=false} > > > V/WindowManager( 1672): Waiting for next key: now=155502, repeat @ > > > 10154501 > > > W/PlayerDriver( 1837): Using generic video MIO > > > I/ServiceManager( 1637): service 'media.audio_flinger' died > > > I/ServiceManager( 1637): service 'media.player' died > > > I/ServiceManager( 1637): service 'media.camera' died > > > W/AudioSystem( 1672): AudioFlinger server died! > > > W/MediaPlayer( 1827): MediaPlayer server died! > > > E/MediaPlayer( 1827): error (100, 0) > > > V/WindowManager( 1672): finishedKey: client=android.view.IWindow$Stub > > > $pr...@98241d70, force=false > > > V/WindowManager( 1672): finishedKey: > > > client=android.os.binderpr...@98168f90, force=false, > > > last=android.os.binderpr...@98168f90 (token=AppWindowToken{98108da8 > > > token=HistoryRecord{980dcbd0 {com.android.gemdia/ > > > com.android.gemdia.local_play}}}) > > > V/WindowManager( 1672): finishedKey: last paused=false > > > V/WindowManager( 1672): releasePendingPointer null > > > I/ ( 1852): ServiceManager: 0x804ac38 > > > D/AudioHardwareALSA( 1852): Mixer: element name: 'Master' > > > D/AudioHardwareALSA( 1852): Mixer: element name: 'Front' > > > D/AudioHardwareALSA( 1852): Mixer: master 'Front' found. > > > D/AudioHardwareALSA( 1852): Mixer: route 'Master' found. > > > D/AudioHardwareALSA( 1852): Mixer: route 'Master' found. > > > D/AudioHardwareALSA( 1852): Mixer: route 'Bluetooth' not found. > > > D/AudioHardwareALSA( 1852): Mixer: route 'Master' found. > > > D/AudioHardwareALSA( 1852): Mixer: route 'Bluetooth A2DP' not found. > > > D/AudioHardwareALSA( 1852): Mixer: element name: 'Mic Boost' > > > D/AudioHardwareALSA( 1852): Mixer: element name: 'Capture' > > > D/AudioHardwareALSA( 1852): Mixer: master 'Capture' found. > > > D/AudioHardwareALSA( 1852): Mixer: route 'Capture' found. > > > D/AudioHardwareALSA( 1852): Mixer: route '' not found. > > > D/AudioHardwareALSA( 1852): Mixer: route 'Bluetooth Capture' not > > > found. > > > D/AudioHardwareALSA( 1852): Mixer: route 'Capture' found. > > > D/AudioHardwareALSA( 1852): Mixer: route 'Bluetooth A2DP Capture' not > > > found. > > > D/AudioHardwareALSA( 1852): mixer initialized. > > > I/AudioHardwareALSA( 1852): Initialized ALSA PLAYBACK device > > > AndroidPlayback > > > D/AudioHardwareALSA( 1852): Set PLAYBACK PCM format to S16_LE (Signed > > > 16 bit Little Endian) > > > D/AudioHardwareALSA( 1852): Using 2 channels for PLAYBACK. > > > D/AudioHardwareALSA( 1852): Set PLAYBACK sample rate to 44100 HZ > > > D/AudioHardwareALSA( 1852): Buffer size: 16384 > > > D/AudioHardwareALSA( 1852): Latency: 371519 > > > I/AudioFlinger( 1852): AudioFlinger's thread ready to run for output 0 > > > I/AudioHardwareALSA( 1852): Initialized ALSA PLAYBACK device > > > AndroidPlayback_Speaker_normal > > > D/AudioHardwareALSA( 1852): Set PLAYBACK PCM format to S16_LE (Signed > > > 16 bit Little Endian) > > > D/AudioHardwareALSA( 1852): Using 2 channels for PLAYBACK. > > > D/AudioHardwareALSA( 1852): Set PLAYBACK sample rate to 44100 HZ > > > D/AudioHardwareALSA( 1852): Buffer size: 16384 > > > D/AudioHardwareALSA( 1852): Latency: 371519 > > > I/CameraService( 1852): CameraService started: pid=1852 > > > E/AudioService( 1672): Media server died. > > > E/AudioService( 1672): Media server started. > > > === > > > > test_800x600.mp4 > 1771KViewDownload > > test_1024x768.mp4 > 1807KViewDownload --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---