This issue is only on youtube iframe playback on ( 4.3/4.4 on Nexus 7). I go to any media site embedding YT player in an Iframe and the sound does not play. The player will launch and will show controls but, no sound. The logcat msg is :
I/OMXClient( 3004): Using client-side OMX mux.
E/OMX-VDEC-1080P( 180): Extension: OMX.google.android.index.storeMetaDataInBuffers not implemented
E/OMXNodeInstance( 180): OMX_GetExtensionIndex OMX.google.android.index.storeMetaDataInBuffers failed
E/ACodec ( 3004): [OMX.qcom.video.decoder.avc] storeMetaDataInBuffers failed w/ err -2147483648
...
I/OMXClient( 3004): Using client-side OMX mux.
E/OMXMaster( 3004): A component of name 'OMX.qcom.audio.decoder.aac' already exists, ignoring this one.
I/SoftAAC2( 3004): Reconfiguring decoder: 0->44100 Hz, 0->2 channels
D/audio_hw_primary( 180): select_devices: out_snd_device(2: speaker) in_snd_device(0: )
D/ACDB-LOADER( 180): ACDB -> send_afe_cal
jsfiddle to reproduce the bug or just go to any media portal that embeds Youtube clips... this link is fine on my laptop and my phone. Its just the N7 where i've seen bug.
Workaround - use Chrome Beta as browser. But that does not really work if focus is on media heavy environment adapted for tablets.
My question: is it a Chrome problem or just a nexus 7 problem?
--EDIT
sample iframe from 'the dish' that has the issue:
<iframe class="youtube-player" type="text/html" src="http://www.youtube.com/embed/MYrY8aFCUCQ?version=3&rel=1&fs=1&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent" frameborder="0" id="fitvid994988"></iframe>
Related
I have an application (decoding module) which fails to create mediacodec for decoding H264 encoded stream while running on the Nexus 6P. But it perfectly works under Google PIXEL XL phone.
I am also giving a small snap of the error I am getting while I debug it using android studio logcat. Any Help will be highly appreciated.
Error Snap
E/OMX-VDEC-1080P: Failed to call stream on OUTPUT due to HW_OVERLOAD
E/OMX-VDEC-1080P: empty_this_buffer_proxy failure due to HW overload
E/OMX-VDEC-1080P: ERROR: Sending OMX_ErrorInsufficientResources to Client
E/OMX-VDEC-1080P: Failed to qbuf to driver
E/ACodec: [OMX.qcom.video.decoder.avc] ERROR(0x80001000)
E/ACodec: signalError(omxError 0x80001000, internalError -2147483648)
Codec reported err 0x80001000, actionCode 0, while in state 6
E/NuPlayerDecoder: Decoder (video) reported error : 0x80001000
E/NuPlayer: received error(0x80001000) from video decoder, flushing(0), now shutting down
E/MediaPlayer: error (1, -2147479552)
E/MediaPlayer: Error (1,-2147479552)
D/EasyMovieTexture: OnError
E/NuPlayerDecoder: failed to flush OMX.qcom.video.decoder.avc (err=-38)
12-29 20:21:41.075 2737-10644/? E/NuPlayer: received error(0xffffffda) from video decoder, flushing(2), now shutting down
D/NuPlayerDriver: notifyListener_l(0xeed2aae0), (100, 1, -38), loop setting(0, 0)
E/MediaPlayer: Error (1,-38)
D/EasyMovieTexture: OnError
E/OMX-VDEC-1080P: Failed to call stream on OUTPUT
E/OMX-VDEC-1080P: empty_this_buffer_proxy failure
I guess error code -38 is coming because I want to start the mediaplayer in an incorrect state (Here as the codec is giving me an error, mediaplayer is in the ERROR state).
I tested on Google PIXEL XL and Nexus 6P and I am getting this problem for Nexus 6P.
On Nexus 4, with Android 5.1.1 I have the following problem that drives me mad:
When trying to record the screen (on Kubuntu 15.04) with:
adb shell screenrecord --verbose /sdcard/Download/intro9.mp4
just few seconds (1-4) are recorded and then recording stops by itself.
In the logcat there is relevant output:
09-16 14:12:46.943 5733-5742/? I/OMXClient﹕ Using client-side OMX mux.
09-16 14:12:46.946 188-4537/? E/OMX-VENC-720p﹕ Is component secure 0
09-16 14:12:46.969 188-188/? E/OMX-VENC-720p﹕ set_parameter: metamode is valid for input port only
09-16 14:12:46.969 188-188/? E/OMXNodeInstance﹕ setParameter(50:qcom.encoder.avc, OMX.google.android.index.storeMetaDataInBuffers(0x7f00001c): Output:1 en=0 GB=0) ERROR: UnsupportedSetting(0x80001019)
09-16 14:12:46.969 5733-5742/? E/ACodec﹕ [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -1010
09-16 14:12:46.971 188-4537/? E/OMX-VENC-720p﹕ WARNING: Unsupported Color format [2130708361]
09-16 14:12:46.972 188-4537/? E/OMX-VENC-720p﹕ C2D init is successful
09-16 14:12:46.972 188-188/? E/OMX-VENC-720p﹕ WARNING: Unsupported Color format [2130708361]
09-16 14:12:46.973 188-5092/? E/OMX-VENC-720p﹕ venc_set_intra_period: nPFrames = 600 nBFrames = 0
09-16 14:12:46.982 188-5743/? E/OMX-VENC-720p﹕ Allocated virt:0xb3e4b000, FD: 41 of size 1474560 at index: 0
09-16 14:12:46.982 188-5743/? E/OMX-VENC-720p﹕ Allocated virt:0xb3ce3000, FD: 43 of size 1474560 at index: 1
09-16 14:12:47.011 188-5743/? E/OMX-VENC-720p﹕ open Color conv for RGBA888
After Ctrl-C:
09-16 14:13:21.482 188-716/? E/OMX-VENC-720p﹕ ion recon buffer free failed
09-16 14:13:21.482 188-716/? E/OMX-VENC-720p﹕ ion recon buffer free failed
09-16 14:13:21.521 188-5744/? E/OMX-VENC-720p﹕ ioctl VEN_IOCTL_CMD_READ_NEXT_MSG failed
09-16 14:13:21.521 188-5092/? E/OMX-VENC-720p﹕ Destroy C2D instance
The console outpus is:
Main display is 768x1280 #60.00fps (orientation=0)
Configuring recorder for 768x1280 video/avc at 4.00Mbps
Content area is 768x1280 at offset x=0 y=0
I've tried different solutions like lowering the bitrate, restarting the phone, using telecine, using different PC, turning off MTP but with no luck. In the past when faced the same problem even downgraded the Android to 4.4 but again no luck.
Did someone had this problem and how did you solved it?
P.S. The weird thing is that everything was working as expected initially: I was able to record about 2 minutes of screen recording with Telecine (few times). And then for no apparent reason it started to behave like this...
It turns out the reason is pretty simple: when Android Studio or Eclipse is running it obviously sends some adb messages periodically that interrupt the recording. The solution is stop the AS or eclipse and then to record.
Answers to many questions about this theme doesn't help me! It's not the problem that audio needs to be started first by a click or any other type of action.
I want to Play a number of different short mp3's on my website. The best approach I've found is the following. It works on Internet Explorer and Chrome (other Desktop browsers not tested) and on mobile devices with iOS. But not on Android.
In my html I initialize an audio device:
<audio id="mp3play" src=""></audio>
It's only for defining the name "mp3play".
In the header of the html I have the following javascript:
<SCRIPT language=JavaScript>
<!--
function play(name) {
var oAudio = document.getElementById("mp3play");
oAudio.stop;
oAudio.src = name;
oAudio.play();
}
//-->
Now I can invoke the player with the following link:
<a href="javascript:play('stuff/voc/WAVvow/011001.MP3');"
This works fine, even on Android.
But for special requirements I do not use filenames for mp3's. I've made a Perl script to deliver the pm3 data depending on a computation. For this I use the following link:
<a href="javascript:play('../cgi-bin/playmp3.pl?185004');"
This Perl code "playmp3.pl" sends a header and then the complete mp3 data:
($entry[0] has a pointer to the desired data, $entry[1] the length)
open(DAT, "<../wbtde/DictData/dv8.dat");
binmode DAT;
seek(DAT, $entry[0], 0);
read(DAT, $mp3, $entry[1]); # Lesen des Eintrages
close DAT;
print "Content-type: audio/mpeg\n\n";
print $mp3;
Also this works fine on IE, Chrome and iOS browsers, but not on Android.
I can invoke the script also directly with
www.mysite.com/cgi-bin/playmp3.pl?185004
Also this is working fine on IE, Chrome and iOS browser, but not on Android. Android tells me it can not play this type of content. But with content type audio/mpeg3 it's also not playing.
This is the Android error log when I tap one link only:
D/CDX_Player( 2402): >>>>>>>> CedarX Player Version: 00010707
I/CedarPlayerWrapper( 2402): setDataSource('http://www.example.com/cgi-bin/playmp3.pl?062013')
I/ChromiumHTTPDataSource( 2402): connect to http://www.example.com/cgi-bin/playmp3.pl?062013 #0
W/MediaPlayer( 967): info/warning (701, 0)
I/MediaPlayer( 967): Info (701,0)
D/sft_http_stream( 2402): reset stream
I/NuCachedSource2( 2402): ERROR_END_OF_STREAM
W/demux_http( 2402): unknown file format!
E/demux_http( 2402): open error, destroy stream handle
E/DemuxSftNetwork_Component( 2402): cedar demuxer open error
E/CedarXPlayer( 2402): CedarXPlayer:prepare error!
E/MediaPlayer( 967): error (1, -2147483648)
E/MediaPlayer( 967): Error (1,-2147483648)
I/CDX_Player( 2402): cancel prepare!
D/CDX_Player( 2402): >>>>>>>> CedarX Player Version: 00010707
I/CedarPlayerWrapper( 2402): setDataSource('http://www.example.com/cgi-bin/playmp3.pl?062013')
W/MediaPlayer( 967): info/warning (701, 0)
I/ChromiumHTTPDataSource( 2402): connect to http://www.example.com/cgi-bin/playmp3.pl?062013 #0
I/MediaPlayer( 967): Info (701,0)
D/sft_http_stream( 2402): reset stream
I/NuCachedSource2( 2402): ERROR_END_OF_STREAM
W/demux_http( 2402): unknown file format!
E/demux_http( 2402): open error, destroy stream handle
E/DemuxSftNetwork_Component( 2402): cedar demuxer open error
E/CedarXPlayer( 2402): CedarXPlayer:prepare error!
E/MediaPlayer( 967): error (1, -2147483648)
E/MediaPlayer( 967): Error (1,-2147483648)
I/CDX_Player( 2402): cancel prepare!
Another try:
I've saved the output from Perl script to a file with the name "test.MP3". Then I've prepared a link in my html as
<a href="javascript:play('stuff/test.MP3');"
This works on Android! So I can assume that the output of the Perl script is correct.
Is it a question of content type?
Is it a question of the filename (.pl instead of mp3)?
It is the Filename!
Fortunately Android accepts the addition ".mp3" to the Perl call:
www.mysite.com/cgi-bin/playmp3.pl?185004.mp3
I've changed the Perl script to remove that addition and now it works on all platforms.
I'm trying to use the
cordova opentok plugin to create a WebRTC app on my android device. I'm able to send both audio and video from my device using the plugin, but I am only able to receive video. I am getting some errors/warnings that seem to be related the audio problems, but I'm not sure how to debug these:
05-12 14:15:53.142: W/AudioRecord(14619): AUDIO_INPUT_FLAG_FAST denied by client
When I try to run the application on Google Glass, both audio input and output are not working, and I get the following warnings:
05-12 12:58:29.950: W/AudioTrack(26682): AUDIO_OUTPUT_FLAG_FAST denied by client
05-12 12:58:31.192: W/AudioRecord(26682): AUDIO_INPUT_FLAG_FAST denied by client
I'm also getting the following error while streaming:
05-12 13:26:23.702: D/audio_hw_primary(183): select_devices: out_snd_device(0: ) in_snd_device(16: handset-mic)
05-12 13:26:23.702: D/(183): Failed to fetch the lookup information of the device 00000004
05-12 13:26:23.702: E/ACDB-LOADER(183): Error: ACDB AudProc vol returned = -19
I've searched these errors and haven't come up with anything useful for debugging this problem. Any suggestions on how to debug these, or where to go from here? Thanks.
I have a camera by Cisco and like to stream it's video stream to my android phone.
It's coded in MPEG4 so there should be no problem, but it's not working anymore (it worked with another camera a few weeks ago). Any idea what I might try ? I don't know what's wrong here.
I/ActivityManager( 79): Starting activity: Intent { cmp=com.Projekt1/.CameraView }
I/System.out(18792): SDPURL - rtsp://10.42.0.103:554/live.sdp
I/NotificationService( 79): enqueueToast pkg=com.Projekt1 callback=android.app.ITransientNotification$Stub$Proxy#44a22218 duration=0
D/MediaPlayer(18792): Couldn't open file on client side, trying server side
I/ActivityManager( 79): Displayed activity com.Projekt1/.CameraView: 270 ms (total 270 ms)
W/MediaPlayer(18792): info/warning (1, 26)
I/MediaPlayer(18792): Info (1,26)
E/PlayerDriver( 52): Command PLAYER_INIT completed with an error or info PVMFFailure
E/MediaPlayer(18792): error (1, -1)
E/MediaPlayer(18792): Error (1,-1)
D/VideoView(18792): Error: 1,-1
W/PlayerDriver( 52): PVMFInfoErrorHandlingComplete
Sorry Nils you have the right codec but Android supports only .3gp Streaming for video, i see you have
rtsp://10.42.0.103:554/live.sdp