Gstreamer sdk media player tutorial error - android

I am able to successfully build and compile all the gstreamer tutorials.In case of the 5th tutorial, I gave the default uri as file://C:/users/abc/desktop/one.mp4. After building and compiling the application successfully, the output screen displays no such resource found.
Addtionally, in the same tutorial, if I fetch the file from sd card, in the case of .mp4 file, the error written is "Error received from armvideodec-omxgoogleh 264 decoder: Internal data stream error" and in case of .ts file the error is error received from element decodebin21 : Your Gstreamer installation is missing a plugin.
The logcat displays GStreamer+basesrc error. gst_base_src_activate_pull :Failed to start pull mode.Please help

Related

Do not play m3u8 with chrome cast android

I getting errors when try to play m3u8 : W/MediaControlChannel: received unexpected error: Invalid Request.
W/MediaQueue: Error fetching queue item ids, statusCode=2100,
statusMessage=null.
I don’t understand if the problem is with the server CORS or the if the error is in the android app.
Link - "https://cdn.dev.yomobile.xyz/test/hls/c35ce4c4-d8a9-49ea-98a3-b98f99d4b8d4/master.m3u8"
You can see projects with my code integration cast https://github.com/OlegKopeykin/chromecast-simple

Undefined is not an object N.ScaleNone Error on Android with expo-av

I'm using Expo managed workflow, version 38.0.8 and expo-av 8.2.1, I'm getting this error only on android, when I sent to production via OTA. Video format is .mp4
I just passed a second argument, overrideFileExtensionAndroid, in video source and solved my problem

Invalid resource path specified

I have copied the app-debug.apk from outputs of android studio project and trying to run the apk file on the phone but getting this error :
Invalid resource path specifed
This is my project structure :
For me the cause of this error is the method you sent the file to your device.
I sent the apk file using whatsapp messenger and this error was shown.
But when I sent the file using Bluetooth the apk was installed successfully.

avformat_open_input returns -2 (Android)

I'm using this FFMPEG port for Android.
My Goal is to read RTSP stream eventually.
I can open a stream from a local file (located at "/storage/emulated/0/bunny.mp4") ,
using *avformat_open_input* function.
However when I try to open the same file from remote location like *"http_://192.168.1.183/bunny.mp4*" , it returns error -2 .
The whole cpp code is here.
Any ideas ?
Check if you have INTERNET permission in your manifest.
Also check that you are building ffmpeg with tcp and rtsp protocol enabled. And codecs enabled, too. I believe FFMPEG's configure prints this info when building and also it's in the build log.
Also, there's a FFMPEG function to print error message by code, don't remember the name though. So you can call it and see what -2 error means.
This here project has FFMPEG configured correctly https://github.com/dannoy/dolphin-player look in the p folder

Flex styles are not loaded at run time in android devices

i want to load my styles(in swf format) at run time for my flex mobile application. for that requirement, i have compiled my css files into swf format and i loaded for my application using "StyleManager.loadStyleDeclarations("style.swf");" . i get my styles for application when i run it on my desktop, but after building my files into apk format , i couldn't get the styles applied for my application in device. when i debug my application from my android device, i got the following error message.
Error: Unable to load style(RSL app:/framework_4.5.1.21328.swz failed to load. Error #2032: Stream Error. URL: app:/framework_4.5.1.21328.swz): style.swf.
at Function/<anonymous>()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\styles\StyleManagerImpl.as:1551]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at ModuleInfoProxy/moduleEventHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\modules\ModuleManager.as:1149]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at ModuleInfo/moduleErrorHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\modules\ModuleManager.as:816]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::FlexModuleFactory/update()
at mx.core::FlexModuleFactory/displayError()
at mx.core::FlexModuleFactory/rslErrorHandler()
at mx.core::RSLListLoader/listIOErrorHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\RSLListLoader.as:286]
at mx.core::RSLItem/itemErrorHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\RSLItem.as:275]
at mx.core::CrossDomainRSLItem/itemErrorHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
please help me to solve on this issue.
thanks in advance
The problem is caused by Flex 4 generating unnecessary RSLs when compiling CSS files as SWF.
Todd Anderson has solved this problem by using ANT and a project called flex-runtime-css.
You can find out more here:
http://custardbelly.com/blog/2010/10/20/flex-4-and-runtime-style-sheets/

Categories

Resources