Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - the method of VideoView VS my using of MediaPlay

the method of VideoView VS my using of MediaPlay

All your problems with Audio, Video and Images.

the method of VideoView VS my using of MediaPlay

Postby raito_yagami » Thu Sep 09, 2010 10:12 pm

discriptions:
condition: 1. to play the mp4 file.
2. when PlayerDriver throws a warn of Video track fell behind.

the program i use VideoView:(of course its inner also use MediaPlayer)
after the warn, the program can also run normally.
the program i use MediaPlayer:
after the warn, there will be two errors by MediaPlayer and the program stop.

question 1:
It is interesting that my program sometimes can run normally but sometimes with that warn and errors.

question 2:
when the program using MediaPlayer run normally,there's also an error,but there's no effect to program's running.
what cause this error?

question 3:
why the VideoView can continue to run after the warn but when using MediaPlayer cannot ?
I saw the source code of VideoView , compare to my code in program using MediaPlayer ,I found nothing special place.

other:
someone said that the warn is the problem of emulator itself when it plays videos.

----------------------
and here is the warn and errors:

my program using VideoView:

09-10 03:38:23.229: VERBOSE/VideoView(713): reset duration to -1 in openVideo
09-10 03:38:23.869: WARN/PlayerDriver(554): Using generic video MIO //not this warn
09-10 03:38:24.179: DEBUG/AudioSink(554): bufferCount (4) is too small and increased to 12
09-10 03:38:24.500: INFO/ARMAssembler(586): generated scanline__00000077:03010104_00000004_00000000 [ 22 ipp] (41 ins) at [0x18f398:0x18f43c] in 2049981 ns
09-10 03:38:26.268: WARN/AudioFlinger(554): write blocked for 69 msecs //not this warn
09-10 03:38:32.400: WARN/AudioFlinger(554): write blocked for 46 msecs //not this warn
09-10 03:38:35.993: WARN/AudioFlinger(554): write blocked for 75 msecs //not this warn

09-10 03:38:36.139: WARN/PlayerDriver(554): Video track fell behind //here

09-10 03:38:36.149: WARN/MediaPlayer(713): info/warning (700, 44) //not this warn
09-10 03:38:36.149: INFO/MediaPlayer(713): Info (700,44)
09-10 03:38:49.000: WARN/AudioFlinger(554): write blocked for 51 msecs //not this warn
09-10 03:38:50.799: WARN/AudioFlinger(554): write blocked for 49 msecs //not this warn
09-10 03:38:53.059: WARN/AudioFlinger(554): write blocked for 377 msecs //not this warn

---------------------------------------------------------------------------------

my program using MediaPlayer:

normal running(sometimes):

09-09 19:58:26.220: WARN/PlayerDriver(31): Using generic video MIO
09-09 19:58:26.618: DEBUG/AudioSink(31): bufferCount (4) is too small and increased to 12
09-09 19:58:26.940: ERROR/SW_DEC(31): PV SW DECODER is used for MPEG4 //here
09-09 19:58:27.049: WARN/MediaPlayer(197): info/warning (1, 44)
09-09 19:58:27.149: INFO/MediaPlayer(197): Info (1,44)
09-09 19:58:37.199: WARN/AudioFlinger(31): write blocked for 77 msecs, 1 delayed writes, thread 0xb308 //not this warn
09-09 19:58:43.559: WARN/AudioFlinger(31): write blocked for 70 msecs, 2 delayed writes, thread 0xb308 //not this warn
------------

when errors(sometimes)

09-09 20:04:10.270: WARN/PlayerDriver(31): Using generic video MIO
09-09 20:04:10.578: DEBUG/AudioSink(31): bufferCount (4) is too small and increased to 12
09-09 20:04:10.669: ERROR/SW_DEC(31): PV SW DECODER is used for MPEG4 //here
09-09 20:04:10.749: WARN/MediaPlayer(197): info/warning (1, 44)
09-09 20:04:10.829: INFO/MediaPlayer(197): Info (1,44)

09-09 20:04:25.179: WARN/PlayerDriver(31): Video track fell behind //here

09-09 20:04:25.188: ERROR/MediaPlayer(197): error (1, 48) //here
09-09 20:04:25.188: ERROR/MediaPlayer(197): Error (1,48) //here

S O S
WAIT FOR YOUR HELP! ^ ^ THKS
raito_yagami
Junior Developer
Junior Developer
 
Posts: 14
Joined: Mon Sep 06, 2010 5:48 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 8 guests