HopelessFantasy / openetna

Automatically exported from code.google.com/p/openetna
0 stars 0 forks source link

No Video playback (mp4) #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open Mediaplayer and try to play a mp4 file
2. nothing happens
3. if you choose "information" (or something like that), the application crashes

What is the expected output? What do you see instead?
Should play mp4 as it did with 1.5

What version of the boot.img and system.img are you using?
boot 1.2 system 4.1

Can you provide logcat output during that error?
no

Please provide any additional information below.

Original issue reported on code.google.com by 17floy...@gmail.com on 31 Jul 2010 at 7:36

GoogleCodeExporter commented 9 years ago
It works with a different mediaplayer (nsw).

So maybe we can reinstall the original android mediaplayer for 2.1, like you 
already did with the music player.

I'll try to find the .apk the next days.

Original comment by 17floy...@gmail.com on 31 Jul 2010 at 9:01

GoogleCodeExporter commented 9 years ago
How is the status in 4.2?

Original comment by polyth...@gmail.com on 21 Aug 2010 at 7:40

GoogleCodeExporter commented 9 years ago
Sound works with with standard mediaplayer as well as with nsw.
But no video in both.

Original comment by 17floy...@gmail.com on 21 Aug 2010 at 7:51

GoogleCodeExporter commented 9 years ago
I test with different files on my RTSP server and we have no video for 
H263 - H264 and MP4 video. 

Original comment by cyril.po...@gmail.com on 25 Aug 2010 at 9:50

GoogleCodeExporter commented 9 years ago
2 logs when I play a video

08-25 11:58:46.721 W/PlayerDriver( 1156): Using generic video MIO
08-25 11:58:47.201 I/PlayerDriver( 1156): buffering (4)
08-25 11:58:48.911 D/dalvikvm( 1189): GC_EXPLICIT freed 2136 objects / 103688 
bytes in 294ms
08-25 11:58:51.001 W/MediaPlayer( 5608): info/warning (1, 44)
08-25 11:58:51.001 E/SW_DEC  ( 1156): PV SW DECODER is used for MPEG4
08-25 11:58:51.021 I/MediaPlayer( 5608): Info (1,44)
08-25 11:58:51.071 D/MediaPlayer( 5608): getMetadata

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

08-25 12:00:44.831 W/PlayerDriver( 1156): Using generic video MIO
08-25 12:00:45.412 E/SW_DEC  ( 1156): PV SW DECODER is used for H.263
08-25 12:00:45.641 I/PlayerDriver( 1156): buffering (5)
08-25 12:00:46.951 D/dalvikvm( 1189): GC_EXPLICIT freed 5875 objects / 281200 
bytes in 312ms
08-25 12:00:49.482 W/MediaPlayer( 5608): info/warning (1, 44)
08-25 12:00:49.501 I/MediaPlayer( 5608): Info (1,44)
08-25 12:00:49.501 D/MediaPlayer( 5608): getMetadata

Original comment by cyril.po...@gmail.com on 25 Aug 2010 at 10:08

GoogleCodeExporter commented 9 years ago
I think it's clearly a problem with SW decoder

08-25 12:24:07.851: WARN/PlayerDriver(1156): Using generic video MIO
08-25 12:24:08.091: ERROR/SW_DEC(1156): PV SW DECODER is used for H.263
08-25 12:24:08.311: INFO/PlayerDriver(1156): buffering (4)
08-25 12:24:12.561: WARN/AudioFlinger(1156): write blocked for 216 msecs, 58 
delayed writes, thread 0xb7d8
08-25 12:25:39.541: WARN/PlayerDriver(1156): Using generic video MIO
08-25 12:25:39.811: ERROR/SW_DEC(1156): PV SW DECODER is used for H.263
08-25 12:25:40.031: INFO/PlayerDriver(1156): buffering (4)
08-25 12:25:44.591: WARN/AudioFlinger(1156): write blocked for 255 msecs, 59 
delayed writes, thread 0xb7d8
08-25 12:30:01.501: WARN/PlayerDriver(1156): Using generic video MIO
08-25 12:30:01.701: ERROR/SW_DEC(1156): PV SW DECODER is used for H.263
08-25 12:30:01.921: INFO/PlayerDriver(1156): buffering (4)
08-25 12:30:13.651: WARN/PlayerDriver(1156): Using generic video MIO
08-25 12:30:13.901: ERROR/SW_DEC(1156): PV SW DECODER is used for H.263
08-25 12:30:14.121: INFO/PlayerDriver(1156): buffering (5)
08-25 12:30:18.251: WARN/AudioFlinger(1156): write blocked for 216 msecs, 60 
delayed writes, thread 0xb7d8
08-25 12:33:47.251: WARN/PlayerDriver(1156): Using generic video MIO
08-25 12:33:47.701: INFO/PlayerDriver(1156): buffering (4)
08-25 12:33:51.481: ERROR/SW_DEC(1156): PV SW DECODER is used for MPEG4
08-25 12:33:51.871: WARN/AudioFlinger(1156): write blocked for 220 msecs, 61 
delayed writes, thread 0xb7d8

Original comment by cyril.po...@gmail.com on 25 Aug 2010 at 10:37

GoogleCodeExporter commented 9 years ago
libopencore_player.so call a dependency called libopencorehw.so, but file don't 
exist.

I copy the file of the 4.1 the problem change " sorry, impossible to read this 
video " 

( and youtube hang less ) 

Original comment by cyril.po...@gmail.com on 25 Aug 2010 at 2:13

GoogleCodeExporter commented 9 years ago
I'll try to get hardware decoding support working.

Original comment by polyth...@gmail.com on 26 Aug 2010 at 3:15

GoogleCodeExporter commented 9 years ago
I don't find a Android version of "ldd" 
I make one online if you need > you upload the file.so and it give you 
dependency
>> http://ww2.poissonnier.net/openlib/

Original comment by CineXPla...@gmail.com on 27 Aug 2010 at 12:58

GoogleCodeExporter commented 9 years ago
.mp4s can be played with 4.3, but they are flickering like mad.
Sound is clear though.

Original comment by 17floy...@gmail.com on 5 Sep 2010 at 4:23

GoogleCodeExporter commented 9 years ago
I am able to play the Mp4 video's by ES Player but with conditions.
eg I open the file with ES player.
The file plays in horizontal mode but with flickering, sound is ok though.
I turn the phone in vertical mode and video gets adjusted in vertical mode . 
the sound and video is clear now since video size is reduced. 

Original comment by mok...@gmail.com on 9 Sep 2010 at 11:07

GoogleCodeExporter commented 9 years ago
Can confirm.
Videos (mp4) do work within rockplayer in systemmode, as long as they are not 
enlarged on the fly.

Gui seems to be pretty slow though.

Original comment by 17floy...@gmail.com on 9 Sep 2010 at 11:53

GoogleCodeExporter commented 9 years ago
3gp videos flickers to with this logcat
D/SurfaceFlinger( 1178): postBuffer 2
E/copybit ( 1178): copyBits failed (Operation not permitted)
D/copybit ( 1178): 0: src={w=320, h=240, f=0, rect={0,0,320,240}}
D/copybit ( 1178):     dst={w=480, h=320, f=0, rect={0,0,480,320}}
D/copybit ( 1178):     flags=00020008
D/SurfaceFlinger( 1178): postBuffer 2
D/SurfaceFlinger( 1178): postBuffer 2
E/copybit ( 1178): copyBits failed (Operation not permitted)
D/copybit ( 1178): 0: src={w=320, h=240, f=0, rect={0,0,320,240}}
D/copybit ( 1178):     dst={w=480, h=320, f=0, rect={0,0,480,320}}
D/copybit ( 1178):     flags=00020008
D/SurfaceFlinger( 1178): postBuffer 2
E/copybit ( 1178): copyBits failed (Operation not permitted)
D/copybit ( 1178): 0: src={w=320, h=240, f=0, rect={0,0,320,240}}
D/copybit ( 1178):     dst={w=480, h=320, f=0, rect={0,0,480,320}}
D/copybit ( 1178):     flags=00020008
D/SurfaceFlinger( 1178): postBuffer 2
D/SurfaceFlinger( 1178): postBuffer 2
E/copybit ( 1178): copyBits failed (Operation not permitted)
D/copybit ( 1178): 0: src={w=320, h=240, f=0, rect={0,0,320,240}}
D/copybit ( 1178):     dst={w=480, h=320, f=0, rect={0,0,480,320}}
D/copybit ( 1178):     flags=00020008
__________________________________________________
Also, copybit error can occurs in standby mode or when some app is running/
not specific may be?

Original comment by Fedo...@gmail.com on 17 Sep 2010 at 6:23

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I really think copybit errors are related to this issue:
Just read this somewhere:
"On the G1 copybit is used for all window compositions and video
> playback (CC and scaling), on this h/w copybit is very fast and
> provide very good up and down scaling."
Apparently copybit is related to video playback. Maybe the fact that copybit is 
lacking some permissions prevent it to do his job correctly ?

Furthermore, this issue on a galaxy port of CyanogenMod looks extremly close to 
our issue, and they managed to fix it !!
http://code.google.com/p/gaosp/issues/detail?id=2

Original comment by Tetsuo6...@gmail.com on 20 Sep 2010 at 2:43

GoogleCodeExporter commented 9 years ago
Good catch... Except you'll notice polytheus has a comment on that thread dated 
July 15, so I'm *guessing* he saw it already ;)
It sure would be nice to get rid of the copybit errors, even if it doesn't 
solve any of the problems we're experiencing, just cuz it noises up my logcat. 
heh :)

Original comment by grant.bo...@gmail.com on 20 Sep 2010 at 3:31

GoogleCodeExporter commented 9 years ago
so,
I am on the new 1.7 and this issue still persists 

Original comment by Bear60009@gmail.com on 20 Sep 2010 at 7:53

GoogleCodeExporter commented 9 years ago
@grant.bowering:
Ok my bad. Yet i don't see the comment your mentionning ... Maybe on the 
(insanely huge) XDA Topic ?
And this issue has no owner ?

Am i wrong to think that there isn't only Polytheus working on that project 
(even i admit he did some very good job) ? Isn't that the point of Open Etna ? 
:D

Anyway this issue is one of the last real drawback of Open Etna. After that i 
consider it as "complete".

Original comment by Tetsuo6...@gmail.com on 21 Sep 2010 at 8:37

GoogleCodeExporter commented 9 years ago
Really, you don't see it?  It's the second post from the bottom in the link you 
sent.  Polytheus only said "Please explain how you fixed this issue, because I 
get the same error on a different project/device.", I'm not sure if he even saw 
yet that there was a reply.  I was just giving you a hard time, hence the wink 
;)
Yeah, personally the mono audio (Issue 85) is the big thing for me, and then 
video (including this issue, Issue 111, and Issue 123, which I suspect are all 
related) is the second biggest thing, and then I'm satisfied.  Can't call it 
"complete" until everyone can make calls though; I think there are still issues 
with 128 KB SIMs aren't there?

Original comment by grant.bo...@gmail.com on 21 Sep 2010 at 4:08

GoogleCodeExporter commented 9 years ago
i'm using beeline-russia 128kB sim-card. Calls&sms is ok

Original comment by Fedo...@gmail.com on 21 Sep 2010 at 8:08

GoogleCodeExporter commented 9 years ago
@FedosIS: 
??? Wrong Issue ???

@grant.bowering:
ahah ok i got it :D
I'am failing. Next time you wink, do it multiple times and add links and 
screenshots :p
Anyway this polytheus doesn't speak much but every letter he spare on comments 
is recycled in pure awesome code for our dear GW620.

Original comment by Tetsuo6...@gmail.com on 21 Sep 2010 at 8:34

GoogleCodeExporter commented 9 years ago
@Tetsuo6995 this about saying openetna complete. After solving this issue i can 
call it complete.)

Original comment by Fedo...@gmail.com on 21 Sep 2010 at 9:31

GoogleCodeExporter commented 9 years ago
when i wanna to play mp4 files, first frame of video came to screen but it 
freeze and sound of video plays normali,and when i wanna came out of video 
player it crashesh and i force quit it.
but for wmv it says it cannot play it, but it caould play it with android 1.5 
orginal rom

Original comment by ali.fara...@gmail.com on 24 Sep 2010 at 7:20

GoogleCodeExporter commented 9 years ago
update: 4.5-rc1:
SystemMode: Sound is clear, but no video at all
NormalMode: Video runs ok, but sound is a mess (scratchy or silent)

(Both tested with rockplayer)

Original comment by 17floy...@gmail.com on 24 Sep 2010 at 7:44

GoogleCodeExporter commented 9 years ago
With 6.0 rc4, the sound and the videos runs well but there is a time lag 
between the sound and the images.

Original comment by kris10d...@gmail.com on 1 Oct 2010 at 7:27

GoogleCodeExporter commented 9 years ago
As a lot of things, video playback is now working but slow because we don't 
have hardware acceleration yet.

Can someone confirm that videos are working (just a little slow ?)

If image is delayed compare to sound, it would confirm that it's the video 
acceleration that is wrong.

Thanks !

Original comment by Tetsuo6...@gmail.com on 5 Oct 2010 at 10:31

GoogleCodeExporter commented 9 years ago
Confirm!
Video is slow but works.

Original comment by 17floy...@gmail.com on 5 Oct 2010 at 11:13

GoogleCodeExporter commented 9 years ago

Original comment by Tetsuo6...@gmail.com on 5 Oct 2010 at 11:21