Hey _nop_!
Posting here as haven't posted enough to be able to post in Android Dev
Had a go testing it, with some somewhat strange results
Firstly, when plugged in to HDMI the touch screen goes a bit crazy! It seems to jitter about the place and do some crazy movements that I'm not doing with my finger - will try to get a video to show it better.
Secondly, the tool seems to sometimes say 'HDMI Connected' and sometimes 'HDMI disconnected' - I can't tell the right sequence to get it to say connected. When it does say connected though hitting HDMI on doesn't seem to do anything. Have attached a log cat that will hopefully help a bit more..
Hi and thank you!
Touch can behave this way due to interference from hdmi cable.
Next, would you try playing native videostream from third-party app like QuickPic with HDMI on?
And hdmi judging from log was successfully enabled:
E/PrintK ( 4): == VendorProductId == E/PrintK ( 4): <3>[EDID Info] edid->vpi->manuf=SNY E/PrintK ( 4): <3>[EDID Info] edid->vpi->prodcode=0 211 1 E/PrintK ( 4): <3>[EDID Info] edid->vpi->serial=257 257 E/PrintK ( 4): <3>[EDID Info] edid->vpi->week=1 E/PrintK ( 4): <3>[EDID Info] edid->vpi->year=2009 E/PrintK ( 4): <3>[EDID Info] edid->mdb->mon_name=SONY TV E/PrintK ( 4): <3>[EDID Info] edid->cea->cea->vsdb_hdmi=1 E/PrintK ( 4): <3>[EDID Info] ################################ E/PrintK ( 4): <3>[EDID Info] next_segment_number=0 E/PrintK ( 4): <3>[EDID Info] no more next_segment_number[0], we disable EDID_INT here!! E/PrintK ( 4): <3>next_segment=0x0 E/PrintK ( 4): <3>### action 7 ### E/PrintK ( 4): next segment is 0 E/PrintK ( 4): <3>HDMI Tx Presets Loaded E/PrintK ( 4): <3> E/PrintK ( 4): Cable Connected E/PrintK ( 4): <3> E/PrintK ( 4): DVI Supported Video Format = 0xf0 E/PrintK ( 4): <3>Supported Video Format: 720p E/PrintK ( 4): <3>Supported Video Format: 1080i E/PrintK ( 4): <3>PCLK lock=1
It's a Sony At least some success.
Now to figure out how to output something to hdmi manually...
Would you run this command in term. emulator with su:
while [ 1 == 1 ]; do cp /dev/graphics/fb0 /dev/graphics/fb1; usleep 100000; done;
(ctrl-c to break, I map vol. up as ctrl in terminal emulator).
What do you mean by native videostream? I tried a few different videos but nothing came up on screen. Is anything supposed to come up on the HDMI tool after I hit HDMI On?
Are you on any IRC channels we could talk this through?
I don't use IRC now.
--
Any recorded video by Streak itself should do.
I can't get the HDMI tool to say HDMI Connected now, although you can see from the attached logcat it is noticing the disconnect/connect. What triggers the tool to say HDMI Connected? Also note it seems to switch orientation to profile when disconnected?
I ssh in over the wifi from putty on my laptop - ran up a shell script of your commands provided - no output on screen though..
Another log cat attached - not sure if it's of any help, but it is of a video taken with camera played through hdmi via the stock Gallery app.
Looks like i need to get dock or make a hdmi connector.
Also, hdmi lib contains three quite simple functions:
isHdmiConnected, enableHdmi, disableHdmi
I simply used them to check.
--
I know it's not that simple.
Chip:
http://www.siliconimage.com/products/product.aspx?pid=118
--
Also - check "Send to framebuffer" app - it allows to send pics to framebuffer, i wonder does it work.
Hey,
Tried out that Framebuffer - no image, see attached log.
Related
Hi
Any ideas on how to adjust the a2dp bitpool settings. I am coming from windows mobile where this was easy to do in the registry. The stock bitpool seems to be 32 as per the logcat readout below.
W/BTLD ( 1677): ### :: codec open ::
W/BTLD ( 1677): ### mtu 512, 660 bytes/frame, bitrate 229, nbr ch 0, freq 240
W/BTLD ( 1677): ### alloc : 3, blk len 240, chmode:15, bitpool 32:2, subbands 12
the sound is ok but could be better.
Another interesting part of the logcat is:
V/A2dpAudioInterface( 136): setParameters() bt_headset_name=DRC-BT15;bt_headset_nrec=on
E/AudioHardwareQSD( 136): setParameters() bt_headset_name=DRC-BT15;bt_headset_nrec=on
I/AudioHardwareQSD( 136): Using default acoustic parameters (DRC-BT15 not in acoustic database)
(I wonder what the acoustic database is.)
Any suggestions would be welcome. I did search around and found nothing easily implemented. Also nothing on the market.
Thanks
Has anyone seen a problem with playing AVI movies? I have tried like 3 different video players (RockPlayer, Mobo, Vplayer Pro) and they all play fine for like 20-30 seconds and playback stops. I've tried this with a few movies and they all seem to do the same thing.
I can't figure out why it does this?
Anyone else seeing the same thing?
Here is some of the logcat output that is shown when the video stops playing with MoboPlayer:
Code:
D/WifiService( 112): acquireWifiLockLocked: WifiLock{NetworkLocationProvider ty
pe=2 [email protected]}
I/System.out( 240): [INFO:388216]: LogSource: Running flush
I/System.out( 240): [INFO:388217]: LogSource: Sending payload [bytes=575]
I/System.out( 240): [INFO:388412]: LogSource: Response [http=200,length=265]
I/System.out( 240): [INFO:388413]: LogSource: Read id 8, status code 200
I/ActivityManager( 112): Starting: Intent { flg=0x10000000 cmp=com.google.andro
id.apps.maps/com.google.googlenav.login.AndroidLoginActivitySdk5 (has extras) }
from pid 847
D/SurfaceFlinger( 112): screenshot: sw=216, sh=135, minZ=0, maxZ=21040
D/SurfaceFlinger( 112): screenshot: result = OK
V/AudioFlinger( 82): pause(4097), calling thread 825
V/AudioFlinger( 82): ACTIVE/RESUMING => PAUSING (4097) on thread 0x37540
D/player ( 825): onPause
V/mytag ( 825): ScanFileActivity OnResult
V/item ( 825): read success!
V/item ( 825): write success!
W/Resources( 825): Converting to string: TypedValue{t=0x12/d=0x0 a=2 r=0x7f0b00
03}
W/Resources( 825): Converting to string: TypedValue{t=0x12/d=0x0 a=2 r=0x7f0b00
1d}
W/Resources( 825): Converting to string: TypedValue{t=0x12/d=0x0 a=2 r=0x7f0b00
03}
W/Resources( 825): Converting to string: TypedValue{t=0x12/d=0x0 a=2 r=0x7f0b00
1d}
W/Resources( 825): Converting to string: TypedValue{t=0x12/d=0x0 a=2 r=0x7f0b00
03}
W/Resources( 825): Converting to string: TypedValue{t=0x12/d=0x0 a=2 r=0x7f0b00
1d}
D/dalvikvm( 184): GC_EXPLICIT freed <1K, 31% free 7121K/10311K, paused 2ms+1ms
D/player ( 825): onStop
D/player ( 825): onDestroy
W/ActivityManager( 112): Duplicate finish request for ActivityRecord{41cb8ab0 c
om.clov4r.android.nil/.CMPlayer}
V/AudioFlinger( 82): remove track (4097) and delete from mixer
V/AudioFlinger( 82): PlaybackThread::Track destructor
V/AudioFlinger( 82): removeClient_l() pid 825, tid 108, calling tid 82
D/WifiService( 112): releaseWifiLockLocked: WifiLock{NetworkLocationProvider ty
pe=2 [email protected]}
V/AudioFlinger( 82): Audio hardware entering standby, mixer 0x37540, mSuspende
d 0
V/AudioFlinger( 82): MixerThread 0x37540 TID 107 going to sleep
The output of logcat with Rockplayer looks a bit different as it scrolls the logs as such:
Code:
D/dalvikvm( 847): GC_EXPLICIT freed 320K, 7% free 7162K/7687K, paused 2ms+2ms
D/dalvikvm( 656): GC_EXPLICIT freed 388K, 13% free 6658K/7623K, paused 4ms+1ms
D/WifiService( 112): acquireWifiLockLocked: WifiLock{NetworkLocationProvider ty
pe=2 [email protected]}
D/WifiService( 112): releaseWifiLockLocked: WifiLock{NetworkLocationProvider ty
pe=2 [email protected]}
D/SurfaceFlinger( 112): screenshot: sw=216, sh=135, minZ=0, maxZ=21050
I/ActivityManager( 112): Starting: Intent { flg=0x10000000 cmp=com.google.andro
id.apps.maps/com.google.googlenav.login.AndroidLoginActivitySdk5 (has extras) }
from pid 847
D/SurfaceFlinger( 112): screenshot: result = OK
D/RockPlayer( 948): onPause
W/InputManagerService( 112): Window already focused, ignoring focus gain of: co
[email protected]
V/AudioFlinger( 82): getNextBuffer() no more data for track 4097 on thread 0x3
7540
V/AudioFlinger( 82): BUFFER TIMEOUT: remove(4097) from active list on thread 0
x37540
W/AudioTrack( 948): obtainBuffer() track 0x1fed30 disabled, restarting
V/AudioFlinger( 82): start(4097), calling thread 948 session 11
V/AudioFlinger( 82): ? => ACTIVE (4097) on thread 0xaa220
V/AudioFlinger( 82): mWaitWorkCV.broadcast
V/AudioFlinger( 82): BUFFER TIMEOUT: remove(4097) from active list on thread 0
x37540
W/AudioTrack( 948): obtainBuffer() track 0x1fed30 disabled, restarting
V/AudioFlinger( 82): start(4097), calling thread 948 session 11
V/AudioFlinger( 82): ? => ACTIVE (4097) on thread 0xaa220
V/AudioFlinger( 82): mWaitWorkCV.broadcast
V/AudioFlinger( 82): BUFFER TIMEOUT: remove(4097) from active list on thread 0
x37540
W/AudioTrack( 948): obtainBuffer() track 0x1fed30 disabled, restarting
V/AudioFlinger( 82): start(4097), calling thread 948 session 11
V/AudioFlinger( 82): ? => ACTIVE (4097) on thread 0xaa220
V/AudioFlinger( 82): mWaitWorkCV.broadcast
V/AudioFlinger( 82): BUFFER TIMEOUT: remove(4097) from active list on thread 0
x37540
No problems with moboplayer, I get some random FC with VitalPlayer
maybe you can post a media info about your avi file?
I did a wipe and now I'm no longer having the issue.
What kind of wipe? System wipe????
I have watched 5 movies formatted in avi on my a500 using the preloaded nemoplayer and rockplayer.....
Sent from my XT720 using XDA App
I had avi playing fine at first. I then did a little rooting, got it set up for ad-hoc support and then got netflix running. Now when i try and play avi files, it tells me it cannot play the file. Tried the novo and the built in video player. did the netflix hack break something?
P.S. i am sorry i am little new to this. so go easy on me lol
yeah mobo player is not as good as everyone says it is. why don't you give it a try to mx player. they have a free version just like mobo and i found their playback to be much less troublesome and greater format support than mobo.
+1 to the post above mine
Rockplayer and Moboplayer and diceplayer have never worked nearly as well as Mx player (at least in my experience). It is totally free, and has hardware decoding as well as two modes of software decoding available. In my experience, it plays everything I have thrown at it.
Is there any new news about playing 720p and 1080p video files on this tablet ?
This is very important for me to make a decision for buying it.
Mourningdark said:
I had avi playing fine at first. I then did a little rooting, got it set up for ad-hoc support and then got netflix running. Now when i try and play avi files, it tells me it cannot play the file. Tried the novo and the built in video player. did the netflix hack break something?
P.S. i am sorry i am little new to this. so go easy on me lol
Click to expand...
Click to collapse
After I hacked the moto libdv??.so file into my system/lib my video and mp3 stopped working... If I copy the original back it all works again... wish there was a way to play netflix without breaking everything =(
[email protected] said:
yeah mobo player is not as good as everyone says it is. why don't you give it a try to mx player. they have a free version just like mobo and i found their playback to be much less troublesome and greater format support than mobo.
Click to expand...
Click to collapse
Only problem with mx is that you have to tell the program where your video files are. I have a 1tb drive that I use with my acer and when I tell mx to use it it takes forever to load every single video file in my 1tb into a single folder... I much prefer mobo's file browser approach!! Some of my divx avi's didn't play on mx... they all play on mobo (in soft decode mode)
Would you please somebody help me to find out how plays the following video formats on Iconia A500 :
720P - MKV - more than 4Gb ?
720P - MKV - Under 4 Gb ?
720p - MP4 ?
720p - Avi ?
And other video formats .
mehdi-psp said:
Would you please somebody help me to find out how plays the following video formats on Iconia A500 :
720P - MKV - more than 4Gb ?
720P - MKV - Under 4 Gb ?
720p - MP4 ?
720p - Avi ?
And other video formats .
Click to expand...
Click to collapse
It all depends on the codecs used. MKV, MP4, AVI, etc are just containers multiplexing the video, audio and subtitle streams. For example I can play an 720p avi fine wth mx player and can't play a 480p avi (both play fine on my laptop with vlc). Anyway if you decide to reencode, I found out that setting the desired file size to 1gb and using 2-pass x264 codecs for the video and 128 kbps aac (mp4 file of course) for the audio gives satisfactory results. Video quality could be bit better but on the other hand I'd prefer to have more videos on it. Reencoding takes quite a while, but since I got the iconia I rarely use my laptop, so it sits quietly in the corner and utilizes it's quad-core cpu
Sent from my A500 using XDA Premium App
tkolev said:
It all depends on the codecs used. MKV, MP4, AVI, etc are just containers multiplexing the video, audio and subtitle streams. For example I can play an 720p avi fine wth mx player and can't play a 480p avi (both play fine on my laptop with vlc). Anyway if you decide to reencode, I found out that setting the desired file size to 1gb and using 2-pass x264 codecs for the video and 128 kbps aac (mp4 file of course) for the audio gives satisfactory results. Video quality could be bit better but on the other hand I'd prefer to have more videos on it. Reencoding takes quite a while, but since I got the iconia I rarely use my laptop, so it sits quietly in the corner and utilizes it's quad-core cpu
Sent from my A500 using XDA Premium App
Click to expand...
Click to collapse
Thanks for your explanation , Actually I want to use Iconia A500 as a video payer not any more .
As a matter of fact and with regard to your explanation it will not be usefull for playing video file .
Since a large number of my video files are 1280 * 720 or 1280 * 544 with high bit rate in both audio and video I think I have to change my mind for buying Iconia A500 . Am I right ?
so far, i have used the oem players and they dont work for the movies i am trying to load. i.e.: mp4, avi....etc i downloaded mx player and boom. im in business. this is why i like xda and have been here like flies on s**t......lol
mehdi-psp said:
Is there any new news about playing 720p and 1080p video files on this tablet ?
This is very important for me to make a decision for buying it.
Click to expand...
Click to collapse
No tablet currently can play 1080p natively, as no tablet has a resolution of 1080p or higher. IIRC the next Gen Samsung tabs will have a native resolution higher than 1080p.
I've just started transencoding from 1080p to 720p (bit rate around 1500-2000) for playback on my transformer (i'm using moboplayer and mxplayer). The playback is ok but not quite as smooth as I would like (and is being handled by software).
I found this thread:
http://forum.xda-developers.com/showthread.php?t=1060825
-
that suggest things are simply broken (no video palyer will use hardware decoding) and that I should reencode the streams without b-frames (which will make them significantly larger).
-
I'm currently using mencoder but the guide suggest handbreak. Before I go through the exercise
I have a couple of questions:
Woudl things work better if I use mpeg-2 instead of h.263 ?
-
Will ICS make things better (i.e, should I not go with the larger non-b frame encodings) and just wait till ICS release in a few weeks?
-
Have there been any updates ?
-
Sadly my phone (razr) seems to be faster than my tablet and has no issues playing these videos (though if it uses hardware decoding the sound is way out of sync - by minutes - but if i use software decoding they are in sync - not sure why).
-
I've tested both avi containers and kmv containers - I think I prefer avi as it is smaller (though again I have to double check if the encodings were done with the same set of options)
jake21 said:
I've just started transencoding from 1080p to 720p (bit rate around 1500-2000) for playback on my transformer (i'm using moboplayer and mxplayer). The playback is ok but not quite as smooth as I would like (and is being handled by software).
Click to expand...
Click to collapse
FYI you can tell it to handle with h/w.
The players I tried refused to play it with h/w. Is there another way to force hardware decoding ?
goodintentions said:
FYI you can tell it to handle with h/w.
Click to expand...
Click to collapse
Try BS player lite.
Sent from my PC36100 using Tapatalk
try using h.264 not 263,
try remuxing the stream rather than recoding http://forum.xda-developers.com/showthread.php?t=1102922
its far quicker
bs lite coudlnt' play it using hardware deocding either:
First test file:
mencoder -mc 0 in.mkv -vf crop=1920:800:0:140 -af volume=10:0 -nosub -oac mp3lame -lameopts abr:br=256 -ovc xvid -vf scale=1280:720 -xvidencopts bitrate=1200 -o test3.avi
file test3.avi
test3.avi: RIFF (little-endian) data, AVI, 1280 x 720, 23.98 fps, video: XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)
Second test file:
mencoder in.mkv -af volume=15:0 -of lavf -oac mp3lame -lameopts abr:br=256 -ovc x264 -x264encopts preset=veryslow:tune=film:crf=15:frameref=15:bitrate=1500:fast_pskip=0:threads=auto -vf scale=1280:-10 -o test.mkv
--
mkvinfo test.mkv
+ EBML head
|+ EBML version: 1
|+ EBML read version: 1
|+ EBML maximum ID length: 4
|+ EBML maximum size length: 8
|+ Doc type: matroska
|+ Doc type version: 2
|+ Doc type read version: 2
+ Segment, size 1484420071
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 147)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: Lavf53.3.0
| + Writing application: Lavf53.3.0
| + Segment UID: 0x77 0x2f 0xa7 0xdf 0x88 0x3d 0xd1 0xfd 0x43 0x75 0x02 0x94 0xad 0x96 0x87 0x0a
| + Duration: 6792.096s (01:53:12.096)
|+ Segment tracks
| + A track
| + Track number: 1
| + Track UID: 1
| + Lacing flag: 0
| + Language: und
| + Codec ID: V_MPEG4/ISO/AVC
| + Track type: video
| + Default duration: 41.708ms (23.976 fps for a video track)
| + Video track
| + Pixel width: 1280
| + Pixel height: 720
| + A track
| + Track number: 2
| + Track UID: 2
| + Lacing flag: 0
| + Language: und
| + Codec ID: A_MPEG/L3
| + Track type: audio
| + Audio track
| + Channels: 2
| + Sampling frequency: 48000
| + CodecPrivate, length 12
|+ Tags
| + Tag
| + Targets
| + Simple
| + Name: ENCODER
| + String: Lavf53.3.0
|+ Cluster
jake21 said:
bs lite coudlnt' play it using hardware deocding either:
Here is the command line I used to generate the file:
mencoder in.mkv -af volume=15:0 -of lavf -oac mp3lame -lameopts abr:br=256 -ovc x264 -x264encopts preset=veryslow:tune=film:crf=15:frameref=15:bitrate=1500:fast_pskip=0:threads=auto -vf scale=1280:-10 -o test.mkv
--
mkvinfo test.mkv
Click to expand...
Click to collapse
There's your problem; the mkv container is not supported for hardware decoding. With the current firmwares, I seem to recall only .mp4 is supported.
Here's my re-encode script that I use (I use ffmpeg ; I used to use mencoder, but it's weakness with non-avi formats pushed me to ffmpeg)
Code:
#!/bin/bash
# first argument is input file,
# second argument is output file or directory
# optional third argument is crf, lower is better quality, but I've had issues with large motion screens and values lower than 22
# optional 4th arg is audio bitrate, include k.
threads=2
[email protected]
# debug
#ffmpeg="echo ffmpeg"
ffmpeg="ffmpeg"
if [[ $3 = "" ]] ; then
VRATE="22"
else
VRATE="$3"
fi
if [[ $4 = "" ]] ; then
ARATE="96k"
else
ARATE="$4"
fi
#if [ -d "$2" || -L "$2" ] ; then
if [ -d "$2" ] ; then
echo $1 | grep "\." > /dev/null ; TRET=$?
if (( $TRET == 0 )) ; then
# name as a dot
oname="$2/`echo $1 | rev | cut -f 2- -d. | rev`.mp4"
else
oname="$2/$1.mp4"
fi
else
echo $2 | grep "\." > /dev/null ; TRET=$?
if (( $TRET == 0 )) ; then
# name as a dot
oname="`echo $2 | rev | cut -f 2- -d. | rev`.mp4"
else
oname="$2.mp4"
fi
fi
# tune Values available: film, animation, grain, stillimage, psnr, ssim, fastdecode, zerolatency.
# new ffmpeg crashes with -profile baseline
$ffmpeg -i $1 -acodec libfaac -ac 2 -ab $ARATE -vprofile baseline -vcodec libx264 -x264opts threads=$threads:level=31:keyint=250:keyint_min=25:bframes=0:crf=$VRATE $oname
The script is fairly simple, but I still find it quite useful. Note, don't do "script infile.mp4 . " as that will over write your source file, and I note I don't check for that. Maybe ffmpeg might, but it's a silly enough issue that I'm not fixing that.
I've never had an issue with mx player nor mobo player not doing hardware decoding (even via smb streaming with es file manager) , however since 3.11.1 on revolver, mobo player force closes when I quit, but I think that's a mobo player issue, as it often locks up my Galaxy-S with hardware, or software encoding in the latest version.
[update; ble the provided script did not work with ubuntu 11.10; I think they changed the switches for ffmpeg as it could not parse the switches after x264 nor baseline switch].
Ok thanks. Surprise the first example I have above, which is an avi file, did not work either
--
I'll look at what you have - i have to figure out how to scale down the image to 720p (from the man page it looks like ffmpeg does not support -vf scale=1280:-1)
-
Before I go to the effort of learning how to use ffmpeg; do you know if ICS will resolve this issue ?
[btw I have the same force-close issue with mobo on razr and transformer]
nobeagle said:
There's your problem; the mkv container is not supported for hardware decoding. With the current firmwares, I seem to recall only .mp4 is supported.
Here's my re-encode script that I use (I use ffmpeg ; I used to use mencoder, but it's weakness with non-avi formats pushed me to ffmpeg)
Code:
#!/bin/bash
# first argument is input file,
# second argument is output file or directory
# optional third argument is crf, lower is better quality, but I've had issues with large motion screens and values lower than 22
# optional 4th arg is audio bitrate, include k.
threads=2
[email protected]
# debug
#ffmpeg="echo ffmpeg"
ffmpeg="ffmpeg"
if [[ $3 = "" ]] ; then
VRATE="22"
else
VRATE="$3"
fi
if [[ $4 = "" ]] ; then
ARATE="96k"
else
ARATE="$4"
fi
#if [ -d "$2" || -L "$2" ] ; then
if [ -d "$2" ] ; then
echo $1 | grep "\." > /dev/null ; TRET=$?
if (( $TRET == 0 )) ; then
# name as a dot
oname="$2/`echo $1 | rev | cut -f 2- -d. | rev`.mp4"
else
oname="$2/$1.mp4"
fi
else
echo $2 | grep "\." > /dev/null ; TRET=$?
if (( $TRET == 0 )) ; then
# name as a dot
oname="`echo $2 | rev | cut -f 2- -d. | rev`.mp4"
else
oname="$2.mp4"
fi
fi
# tune Values available: film, animation, grain, stillimage, psnr, ssim, fastdecode, zerolatency.
# new ffmpeg crashes with -profile baseline
$ffmpeg -i $1 -acodec libfaac -ac 2 -ab $ARATE -vprofile baseline -vcodec libx264 -x264opts threads=$threads:level=31:keyint=250:keyint_min=25:bframes=0:crf=$VRATE $oname
The script is fairly simple, but I still find it quite useful. Note, don't do "script infile.mp4 . " as that will over write your source file, and I note I don't check for that. Maybe ffmpeg might, but it's a silly enough issue that I'm not fixing that.
I've never had an issue with mx player nor mobo player not doing hardware decoding (even via smb streaming with es file manager) , however since 3.11.1 on revolver, mobo player force closes when I quit, but I think that's a mobo player issue, as it often locks up my Galaxy-S with hardware, or software encoding in the latest version.
Click to expand...
Click to collapse
I could not get the provided script to work (ffmpeg would not accept the args). I did a little searching and saw one suggestion to install everythign from source and build - BUT the test encodings I made last night worked on both the phone and tablet using hardware encoding. On the phone mx player was fine; on the tablet mx player would only use software encoding but bs lite (which seemed pretty nice) worked fine and indicated it was using hardware decoding.
So I think I'm mostly set. the only issue I have is that sometimes mencoder dies on some streams with floating error when it reads the initial header - so I guess I should track that one down - when I get home tonight I'll post the args I used that worked and then ones that result in floating point error (on some streams).
Thanks for the help !
I recently instaleld Acer_A501_4.066.31_COM_GEN1 on my Australian A501. With this or the 4.066.29 provided by Moscow Desire, I cannot play YouTube videos, neither in the browser or in the YouTube app. The app starts but video will not play. This is with a clean install (cache/system/data wipe). I have tried with 3.5.3, 3.5.4 [stock] and 3.5.5 [latest] YouTube app.
Can provide logcat grabs, but it appears the OMX codec (hardware acceleration) for h264 fails to start on the 3.2.1 ROMs. I had the same problem with some regions of 3.2 rom too.
Any tips appreciated, but for now it's back to 4.483.01 for me (YouTube works fine in this w/ any version of YouTube app).
i had a similar problem. im not sure what browser you are using but in dolphin browser go into the settings and change your display from android to computer i think. and should work.... it will use more data so if your on mobile data you will want to change it back to android to save your data.
galapogos01 said:
I recently instaleld Acer_A501_4.066.31_COM_GEN1 on my Australian A501. With this or the 4.066.29 provided by Moscow Desire, I cannot play YouTube videos, neither in the browser or in the YouTube app. The app starts but video will not play. This is with a clean install (cache/system/data wipe). I have tried with 3.5.3, 3.5.4 [stock] and 3.5.5 [latest] YouTube app.
Can provide logcat grabs, but it appears the OMX codec (hardware acceleration) for h264 fails to start on the 3.2.1 ROMs. I had the same problem with some regions of 3.2 rom too.
Any tips appreciated, but for now it's back to 4.483.01 for me (YouTube works fine in this w/ any version of YouTube app).
Click to expand...
Click to collapse
I'm running 3.2.4, and seems ok here in Moscow. Generally, I don't let any of my apps auto-update, especially the Market App.
So, it's not just youtube. It's anything that tries to use the hardware accelerated h264 codec. MX Video Player in software mode works fine.
There seems to be some issue starting the OMX Codec HW Accel.
Working Logcat
Code:
I/ActivityManager( 135): Displayed com.google.android.youtube/.app.tablet.WatchActivity: +798ms
D/dalvikvm( 1900): GC_CONCURRENT freed 693K, 6% free 21444K/22599K, paused 4ms+4ms
D/YouTube ( 1900): youtube.app.suggest.HistoryDb.query:88 History query returning 0 rows
D/MediaPlayer( 1900): Couldn't open file on client side, trying server side
I/AwesomePlayer( 85): reset
I/AwesomePlayer( 85): cancel player events
I/AwesomePlayer( 85): cancel player events
I/AwesomePlayer( 85): setDataSource_l('http://redirector.c.youtube.com/videoplayback?id=8561f3eee9e535f1&itag=18&source=youtube&uaopt=no-save&el=standard&devKey=ATpxuMO4AN5NR1nGmfaQDBQO88HsQjpE1a8d1GxQnGDm&app=youtube_gdata&ip=0.0.0.0&ipbits=0&expire=1331604646&sparams=id,itag,source,uaopt,ip,ipbits,expire&signature=B58929DFA39322596AF1A07415918502DA795904.ED0E6738CA5428F3A54AD3177B048BF08CE585EF&key=yta1&androidcid=mvapp-android-acer')
D/HAL ( 85): [HAL] hw_get_module:share library path:/system/lib/hw/gralloc.tegra.so
I/NuHTTPDataSource( 85): connect to redirector.c.youtube.com:80/videoplayback?id=8561f3eee9e535f1&itag=18&source=youtube&uaopt=no-save&el=standard&devKey=ATpxuMO4AN5NR1nGmfaQDBQO88HsQjpE1a8d1GxQnGDm&app=youtube_gdata&ip=0.0.0.0&ipbits=0&expire=1331604646&sparams=id,itag,source,uaopt,ip,ipbits,expire&signature=B58929DFA39322596AF1A07415918502DA795904.ED0E6738CA5428F3A54AD3177B048BF08CE585EF&key=yta1&androidcid=mvapp-android-acer @0
I/NuHTTPDataSource( 85): connect to o-o.preferred.eftel-mel1.v11.lscache1.c.youtube.com:80/videoplayback?id=8561f3eee9e535f1&itag=18&source=youtube&uaopt=no-save&el=standard&devKey=ATpxuMO4AN5NR1nGmfaQDBQO88HsQjpE1a8d1GxQnGDm&app=youtube_gdata&ip=0.0.0.0&ipbits=0&expire=1331604646&sparams=id,itag,source,uaopt,ip,ipbits,expire&signature=B58929DFA39322596AF1A07415918502DA795904.ED0E6738CA5428F3A54AD3177B048BF08CE585EF&key=yta1&androidcid=mvapp-android-acer&cms_redirect=yes @0
I/OMXCodec( 85): [OMX.Nvidia.h264.decode] AVC profile = 66 (Baseline), level = 30
I/OMXCodec( 85): [OMX.Nvidia.h264.decode] allocating 10 buffers of size 1566720 on input port
I/OMXCodec( 85): [OMX.Nvidia.h264.decode] allocating 10 buffers from a native window of size 345600 on output port
I/nvos_linux_stub( 85): stub_helper: alloc iovmm
I/nvos_linux_stub( 85): stub_helper: alloc carveout_iram
I/nvos_linux_stub( 85): [email protected]: info=2147483647 DeintType = 2147483647, DeintRate = 2
D/dalvikvm( 907): GC_EXPLICIT freed 145K, 11% free 7049K/7879K, paused 6ms+3ms
D/YouTube ( 1900): youtube.core.player.Tracker.ping:230 Pinging http://video.google.com/s?docid=hWHz7unlNfE&ns=yt&len=11179&el=detailpage&ps=android&rt=6.3&playback=1&plid=cZUZxWkh6DOztSor%0A&av=3203_13&fmt=18
I/AudioService( 135): setCurrentMediaType 2
I/AudioService( 135): setDolbyDefaultEq, MusicEq = 0 , VideoEq = 0
I/AudioService( 135): Current audio device output is Speaker. MediaType=2
I/AudioService( 135): SetNaturalBassOn true
I/AudioService( 135): SetHighFreqEnhancerDepth 0
I/AudioService( 135): SetNaturalBassDepth 0
I/AudioService( 135): setEqSpeaker mediaType= 2, mode= 0
I/nvos_linux_stub( 85): Allocating new output: 640x368 (x 9)
I/OMXCodec( 85): [OMX.Nvidia.h264.decode] allocating 11 buffers from a native window of size 353280 on output port
I/nvos_linux_stub( 85): stub_helper: alloc iovmm
Non-Working Logcat
Code:
I/ActivityManager( 134): Displayed com.google.android.youtube/.app.tablet.WatchActivity: +719ms
D/YouTube ( 3089): youtube.app.suggest.HistoryDb.query:88 History query returning 0 rows
D/MediaPlayer( 3089): Couldn't open file on client side, trying server side
I/AwesomePlayer( 85): reset
I/AwesomePlayer( 85): cancel player events
I/AwesomePlayer( 85): cancel player events
I/AwesomePlayer( 85): setDataSource_l('http://redirector.c.youtube.com/videoplayback?id=8561f3eee9e535f1&itag=18&source=youtube&uaopt=no-save&el=standard&devKey=ATpxuMO4AN5NR1nGmfaQDBQO88HsQjpE1a8d1GxQnGDm&app=youtube_gdata&ip=0.0.0.0&ipbits=0&expire=1331604646&sparams=id,itag,source,uaopt,ip,ipbits,expire&signature=B58929DFA39322596AF1A07415918502DA795904.ED0E6738CA5428F3A54AD3177B048BF08CE585EF&key=yta1&androidcid=mvapp-android-acer')
I/NuHTTPDataSource( 85): connect to redirector.c.youtube.com:80/videoplayback?id=8561f3eee9e535f1&itag=18&source=youtube&uaopt=no-save&el=standard&devKey=ATpxuMO4AN5NR1nGmfaQDBQO88HsQjpE1a8d1GxQnGDm&app=youtube_gdata&ip=0.0.0.0&ipbits=0&expire=1331604646&sparams=id,itag,source,uaopt,ip,ipbits,expire&signature=B58929DFA39322596AF1A07415918502DA795904.ED0E6738CA5428F3A54AD3177B048BF08CE585EF&key=yta1&androidcid=mvapp-android-acer @0
I/NuHTTPDataSource( 85): connect to o-o.preferred.eftel-mel1.v11.lscache1.c.youtube.com:80/videoplayback?id=8561f3eee9e535f1&itag=18&source=youtube&uaopt=no-save&el=standard&devKey=ATpxuMO4AN5NR1nGmfaQDBQO88HsQjpE1a8d1GxQnGDm&app=youtube_gdata&ip=0.0.0.0&ipbits=0&expire=1331604646&sparams=id,itag,source,uaopt,ip,ipbits,expire&signature=B58929DFA39322596AF1A07415918502DA795904.ED0E6738CA5428F3A54AD3177B048BF08CE585EF&key=yta1&androidcid=mvapp-android-acer&cms_redirect=yes @0
D/dalvikvm( 3089): GC_CONCURRENT freed 5906K, 32% free 16291K/23623K, paused 3ms+6ms
I/dalvikvm( 3089): Jit: resizing JitTable from 4096 to 8192
D/dalvikvm( 3089): GC_CONCURRENT freed 1073K, 27% free 17265K/23623K, paused 3ms+5ms
D/dalvikvm( 3089): GC_CONCURRENT freed 849K, 22% free 18463K/23623K, paused 3ms+7ms
I/OMXCodec( 85): [OMX.Nvidia.h264.decode] AVC profile = 66 (Baseline), level = 30
I/OMXCodec( 85): [OMX.Nvidia.h264.decode] allocating 10 buffers of size 1566720 on input port
I/OMXCodec( 85): [OMX.Nvidia.h264.decode] allocating 10 buffers from a native window of size 345600 on output port
I/NuCachedSource2( 85): Keep alive
D/dalvikvm( 2775): GC_EXPLICIT freed 30K, 12% free 14408K/16199K, paused 3ms+37ms
I/ActivityManager( 134): Starting: Intent { cmp=com.google.android.youtube/.app.tablet.WatchActivity (has extras) } from pid 3089
W/Resources( 3089): Converting to string: TypedValue{t=0x12/d=0x0 a=2 r=0x7f08006a}
E/TelephonyManager( 3089): Hidden constructor called more than once per process!
E/TelephonyManager( 3089): Original: com.google.android.youtube, new: com.google.android.youtube
I/AudioService( 134): AudioFocus requestAudioFocus() from [email protected]
D/YouTube ( 3089): youtube.core.async.UserAuthorizer$AuthTokenCallback.run:390 got authToken for [email protected]
I/AudioService( 134): setCurrentMediaType 0
I/AudioService( 134): setDolbyDefaultEq, MusicEq = 0 , VideoEq = 0
I/AudioService( 134): Current audio device output is Speaker. MediaType=0
I/AudioService( 134): SetNaturalBassOn true
I/AudioService( 134): SetHighFreqEnhancerDepth 0
I/AudioService( 134): SetNaturalBassDepth 0
I/AudioService( 134): setEqSpeaker mediaType= 2, mode= 0
I/AwesomePlayer( 85): reset
Can anyone provide a logcat for playing a YouTube video on 3.2.1? Just from the activity creation including any OMX Codec / nvos* entries.
When I record a video on my G6 (from T-mobile) and set the video resolution to FHD 16:9 60fps, the resulting MP4 video files have an incorrect frame rate. I see 59.51fps, instead of the expected 60.00 or 59.94. The result of this is that any video that's more than a few seconds long has audio/video getting out of sync, and the de-sync gets worse further into the video.
Here is the (trimmed) output from the ffprobe utility (from the ffmpeg project):
Code:
> ffprobe take1.mp4
ffprobe version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2007-2017 the FFmpeg developers
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'take1.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2017-10-22 01:04:08
location : [redacted]
location-eng : [redacted]
Duration: 00:02:43.91, start: 0.000000, bitrate: 24154 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709/bt709/smpte170m), 1920x1080, 23980 kb/s, SAR 1:1 DAR 16:9, 59.51 fps, 90k tbr, 90k tbn, 180k tbc (default)
Metadata:
creation_time : 2017-10-22 01:04:08
handler_name : VideoHandle
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 155 kb/s (default)
Metadata:
creation_time : 2017-10-22 01:04:08
handler_name : SoundHandle
I was able to fix the time stamps (PTSs) using the mkvmerge utility, but that isn't the best solution. This does seem like an actual bug. Here's hoping that anyone from LG's engineering team checks this subreddit!