yend...@yendurid630:~/pv-ohd/google-master$ adb shell "cd /
sdcard;pvplayer_engine_test -test 803 803 -source test_1024x768.mp4"
SDK Labeled: pvdev_core_integration.857299 built on 20090708

Test Program for pvPlayer engine class.
  Input file name 'test_1024x768.mp4'
  Test case range 803 to 803
  Compressed output Video(No) Audio(No)
  Log level 8; Log node 1 Log Text 1 Log Mem 0

Starting Test 803: Play Until EOS
Creating Player...
Create Done...
Calling AddDataSource...
AddDataSource Complete...
Calling Init...
Init Complete...
Adding Video Sink...
Add Video Sink Complete...
Adding Audio Sink...
Add Audio Sink Complete...
Adding Text Sink...
Add Text Sink Complete...
Calling Prepare...
Prepare Complete...
Calling Start...
Playback started.
Playback status(time) 1003 ms
------------------------------
Playback status(time) 2005 ms
------------------------------
Playback status(time) 3011 ms
------------------------------
Playback status(time) 4017 ms
------------------------------
Playback status(time) 5021 ms
------------------------------
Playback status(time) 6022 ms
------------------------------
Playback status(time) 7010 ms
------------------------------
EOS received. Stopping playback.
Calling Stop...
Stop Complete...
Removing Video Sink...
Remove Video Sink Complete...
Removing Audio Sink...
Remove Audio Sink Complete...
Removing Text Sink...
Remove Text Sink Complete...
Calling Reset...
Reset Complete...
Remove DataSource Complete...
Deleting Player...
Results for Test Case 803:
  Successes 2, Failures 0
Total Execution time for file test_1024x768.mp4 is : 13.226000 seconds
Test output begins
Number of tests: 2
Successes: 2
Failures: 0

Errors: 0

Test output ends


On Jul 9, 11:00 am, jschen <jschen....@gmail.com> wrote:
> I use pvplayer_engine_test to do the test under emulator(master
> branch) and segmentation fault occured.
>
> reproduce procedure:
> adb shell
> #cd sdcard
> #/system/bin/pvplayer_engine_test -test 803 803 -source test_1024x768.mp4
> ...
> PVLOG:TID(0xbecc4c9c):Time=885:PVPlayerEngine::DoStart() Out
> PVLOG:TID(0xbecc4c9c):Time=885:PVPlayerEngine::Run() Out
> PVLOG:TID(0xbecc4c9c):Time=2112:PVPlayerEngine::StartPlaybackClock()
> StartNPT 0 StartTS 0
> PVLOG:TID(0xbecc4c9c):Time=2112:PVPlayerEngine::PVPlayerWatchdogTimerEvent()
> WatchDog timer expired
> [1] + Stopped (signal)        /system/bin/pvplayer_engine_test -test
> 803 803 -source test_1024x768.mp4
> #
> [1]   Segmentation fault      /system/bin/pvplayer_engine_test -test
> 803 803 -source test_1024x768.mp4
>
> According to adb logcat, I use addr2line to know that the segmentation
> fault occur on openore/codecs_v2/video/m4v_h263/dec/src/idct_vca.cpp:446
> is it clip format problem or opencore problem? Thanks.
> logcat is as attached file.
>
> 427 void idctrow1_intra(int16 *blk, PIXEL *comp, int width)
> 428 {
> 429     /* shortcut */
> 430     int32 tmp;
> 431     int i = 8;
> 432     int offset = width;
> 433     uint32 word;
> 434
> 435     comp -= offset;
> 436     while (i--)
> 437     {
> 438         fflush(stdout);
> 439         tmp = ((blk[0] + 32) >> 6);
> 440         blk[0] = 0;
> 441         CLIP_RESULT(tmp)
> 442
> 443         word = (tmp << 8) | tmp;
> 444         word = (word << 16) | word;
> 445         *((uint32*)(comp += offset)) = word;
> 446         *((uint32*)(comp + 4)) = word;
> 447
>
> On Thu, Jul 2, 2009 at 1:52 PM, jschen<jschen....@gmail.com> wrote:
> > MediaPlayer server still die even if I use master branch to run on
> > both emulator and device.
> > Maybe the only different between our test environment is player. I use
> > media player of APIDemo in SDK directory to play video.
> > It's quite strange...
>
> > On Wed, Jul 1, 2009 at 7:43 PM, RaviY<yend...@pv.com> wrote:
>
> >> Yes. I am using the emulator as well, but from the master branch.
>
> >> On Jul 1, 2:07 am, jschen <jschen....@gmail.com> wrote:
> >>> Hi,
> >>> I do see the problem on the emulator of android-sdk-linux_x86-1.5_r2.
> >>> Are you also testing on emulator?
> >>> I am trying to build android code and run it the device to see if the
> >>> behavior is the same..
> >>> Thanks
>
> >>> -jschen
>
> >>> On Wed, Jul 1, 2009 at 3:35 AM, RaviY<yend...@pv.com> wrote:
>
> >>> > 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
>
>
>
>  logcat.txt
> 53KViewDownload
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to