yashsingh1/xdaforums huggingface dataset:
[Google Chromecast] huisinro:
About YouTube issues on old AMLogic chips, can you guys do more testing? on my dual core g35 chip, it's extremely slow, and the dongle becomes very hot. When I open a Youtube video inside chrome browser, it takes a long time to load the video, audio is normal, but video comes frame by frame, severely behind the audio. I am starting to think the issue might be caused by the lower performance.

If I cast YouTube to YouMap on this old g35 dongle, I had to wait long, and finally the video loading icon appears, keeps going for 20 seconds, then time out, and saying please choose another video. It seems to me that the slow speed causes the cast device not receiving any responses in time.

I am still debugging it, but I'd appreciate if you try to find more info from your AMLogic chips.
[Google Chromecast] osm0sis:
I definitely have no problem streaming from YouTube in Chrome on my aml g18ref TV box, which I imagine has a bit more power than a stick, so I don't believe that's the cause of the loading -> timeout (please choose another). Any specific tests or logs you'd like?
[Google Chromecast] huisinro:
Hi osm0sis,

Can you try to collect adb logcat for the whole youtube casting to youmap session?

adb logcat > aml-logcat.txt

then start to cast YouTube to AMLogic

control-C when done,
[Google Chromecast] rockmeister:
[MENTION=4359394]huisinro[/MENTION], is there a timeline for when it will be available on Amazon Playstore? I have Amazon App credits expiring shortly and would love to purchase it via Amazon...

Rockmeister
[Google Chromecast] huisinro:
will submit to amazon within this week, hopefully it will get approved. Thanks,
[Google Chromecast] huisinro:
App submitted to Amazon, under review right now.
[Google Chromecast] rayzor666:
Do you still need logs from amlogic devices. I can do one now if you like
[Google Chromecast] huisinro:
yes, if you can do it
[Google Chromecast] rayzor666:
here you are not sure if i did it right i couldn't get adb to work properly so i used a logcat app instead
[Google Chromecast] huisinro:
This app is now available in Amazon app store for purchase at a price of $7.99, thanks.

http://www.amazon.com/gp/product/B013KQ9FYM
[Google Chromecast] goodhur:
Excellent, just purchased.

The store description says that you can cast Google play movies (not a big deal for me) I have not been able to in cast google movies with youmap on the fire TV. If it doesn't work on the firetv, I would change the description quickly. You'll get pummeled in the reviews. You need to temper expectations.

Posted using Tapatalk
[Google Chromecast] huisinro:
[MENTION=5588887]goodhur[/MENTION], I am right now watching a Google play movies, it works for me. Perhaps only good for USA? Can you test more? try some free trailers.

What is the error messages do you get?
[Google Chromecast] goodhur:
I am in the U.S. too. I can cast trailers. However, any purchases (I am guessing rentals too) result in error code: GPM: 1

FireTV box unrooted

Edit: cast screen on android does work for play movies just not direct app casting. Your screenshot has the play movies chromecast splash screen. If that is how you do it, I would add that to your description.

Posted using Tapatalk
[Google Chromecast] huisinro:
[MENTION=5588887]goodhur[/MENTION], thanks, I will test more, and update the description, I tested some trailers, and a free movie. It seems other purchased movies does not work.

Very interestingly, google play movies (even paid ones) can cast to google nexus 7 device running our YouMap receiver. I think it depends on the device.
[Google Chromecast] goodhur:
I think it actually requires the play movies app to be installed. So it might work for a rooted FireTV device . For instance when you try a nexus player with the lollirock rom unless the actual Netflix app installed on the Nexus Player it will not cast

(edit: this post is not pertaining to actual youmap app, just about chromecasting in general).

Posted using Tapatalk
[Google Chromecast] osm0sis:
http://1drv.ms/1TfLoW4

I did a Play Music cast, which worked great, then a screen cast from the notification shade of my N7 which showed all odd and green on the TV, then I hammered YouTube with retries and I think after that tried screen casting from the Chromecast app, also green. Hope it helps! :)
[Google Chromecast] huisinro:
Hi Osm0sis,

That's good observation.

I noted that if you start mirroring from Chromecast, then open Google Play Movies, movie works, and only plays on the TV, devices show a remote control, same behavior as if casting directly from Google Play Movies. I guess you must have noted this too. This way, always works, the difference is the resolution, it seems stuck on 1280 * 720.
[Google Chromecast] darren1:
Could we fix the resolution Youmap runs at to a set resolution using Xposed framework and the Xposed mod App Settings? I will have a play with my G-Box MX2 (Amlogic) box later in the week, it's currently not working but should be able to fix it.
[Google Chromecast] osm0sis:
He could probably let us choose the reported cast resolution in YouMap as a setting even. :good:

Same hardware I'm running. Play Music casting works, screen casting is green and broken (resolution/color format issue?), YouTube doesn't work (please choose another error). I'm still hopeful huisinro can work around it however. :)
[Google Chromecast] ThauExodus:
Can add prices in Euro to google play? The price difference between Amazon store and google play is more than one Euro, which I don't get. Google seems to not updating the currency conversion...
[Google Chromecast] huisinro:
[MENTION=3005789]ThauExodus[/MENTION], it seems to do with taxes, for example, France EURincl. 20% tax. I just let google auto set the prices for other countries, and it comes out much higher than Amazon store, as you noted. Sorry about that. If you have amazon store, you can purchase from there too.
[Google Chromecast] huisinro:
[MENTION=4544860]osm0sis[/MENTION] and darren1, Yes, working hard on AMLogic issues. About the resolution, it's not as simple as just changing some settings, most android devices only support 1280 * 720 in H264 hardware decoding. If changing it to 1920*1080, hardware decoder will fail. Will play with it, google chromecast app seems to be stuck on 1280 * 720, we will put our free sender app soon to xda (it requires rooted devices though)

To debug AMLogic issue, can you guys try to run this sample code, we use the same technique to render the video:

https://github.com/taehwandev/MediaCodecExample
[Google Chromecast] neonblind:
Wow. Awesome App. Youtube, Pandora, TuneIn, Web Video Caster and TvPortal works great. Tested with FireTv and an Asus Memo Pad HD7 (ME173x/Android 4.2.2).

Unfortunately BubbleUPNP does not recognize your receiver. Maybe it's the same thing the official Google Chromecast app doesn't find it. For me BubbleUPNP is by far the best DLNA/Chromecast etc. tool. It supports local files, several streaming sites and cloud services. Maybe you can find a way to support this app too.
[Google Chromecast] ThauExodus:
Hm.. Thanks.

The problem is, I have some money on my google account, but a few cents are missing and the only way to add new money is buying a play store card, which starts at 15€...
[Google Chromecast] huisinro:
[MENTION=3005789]ThauExodus[/MENTION], which country are you in? I will reduce that price for you temporally.
[Google Chromecast] ThauExodus:
Germany.

Thank you!

EDIT: now the prices raised and is at 8,70€
[Google Chromecast] osm0sis:
Got that compiled somewhere for us?
[Google Chromecast] huisinro:
I've lowered the price in Germany, may need to wait for a couple of hrs to take effect, it's about 7.63 Euro now.
[Google Chromecast] ThauExodus:
Got it! Thank you very much for this.
[Google Chromecast] huisinro:
I've attached the video decoder example apk, please place a file called video.mp4 into /sdcard folder
[Google Chromecast] osm0sis:
I copied a (TV show) -x264.mp4 as /sdcard/video.mp4 and when I select "Decoder | Video Decoder " it just goes back to the initial screen, so I assume that means it's failing. For comparison, I can play the same file, even on software decoder using MX Player.
[Google Chromecast] huisinro:
@ osm0sis, right, high level video player has no issues, only these low level media codec fails on AMLogic. If you have another different android device, can you test the apk too? Thanks.
[Google Chromecast] osm0sis:
Yup, works on my old Galaxy Nexus even. ;)
[Google Chromecast] ekms:
Does anyone get only black screens when attempting to cast a Chrome tab?

I also only get the Netflix splash screen and loading dots when attempting to cast Netflix. Youtube seems to be the only site that consistently casts for me.
[Google Chromecast] huisinro:
What is your device model and android version? it seems does not have VP8 decoder. Can you check if audio from chrome tab mirroring works?

How do you cast netflix? I never see YouMap from NetFlix cast icon.
[Google Chromecast] ekms:
I'm using my desktop PC/Macbook Pro/Galaxy Note 2 to try to cast to my Fire TV Stick. None of the tab casting works but Youtube works fine. on all my devices, there is no audio either when trying to Chrome cast.

My attempt to cast Netflix is using the cast button in the Netflix video browser.
[Google Chromecast] huisinro:
Ahh, fire TV stick has trouble in chrome tab casting, the fire TV box works very well, which is very weird, since both run android 4.2.2
[Google Chromecast] rayzor666:
Same result here. Also chromecast screen mirroring works allthough laggy. Chrome tab casting works without audio except youtube which forever loads on youmap. Screen casting from windows 10 pc also works fine but no audio if that helps at all
[Google Chromecast] Wizballs:
Chromecast receiver (Google store paid) stopped working completely on both of my receiver devices. Ie no detected receivers when trying to cast.
[Google Chromecast] huisinro:
A tip to cast Google Play Movies & TV, for trailers, you can cast directly from inside Play Movies app. For purchased movies, you can cast too. However, you first start Cast Screeen from the Chromecast app, then open Google Play Movies & TV app, all movie work, and play only on the TV, devices show a remote control, same behavior as if casting directly from Google Play Movies.
[Google Chromecast] Wizballs:
It started working again today. Weird it wouldn't work yesterday even with a few reboots.
[Google Chromecast] lolwatpear:
is anyone not able to cast netflix to the device using YouMap? everything else i've tried seems to work (plex, youtube). I never get a box to connect to the device.
[Google Chromecast] goodhur:
On FireTV? It won't work app direct with youmap. Install Netflix on the fire TV and just use their built in Netflix dial protocol casting from your mobile device. You actually use the Chromecast icon within Netflix.

On Android box, I haven't tried. May lack needed DRM. Try enabling Chromecast screen casting first from your mobile device before playing. Video quality is dependent on your devices' hardware

Posted using Tapatalk
[Google Chromecast] lolwatpear:
No, I'm using it on an LG Gpad 8.3. Screen casting isn't what I want. I have both netflix apps on my phone and tablet, and I can't get a cast box. And I was wrong about youtube working. It actually isn't. The only thing working for me is plex.
[Google Chromecast] goodhur:
Plex has it's own protocol too. Your box may be using that. When you cast from Plex, does the receiving device say Plex for android or does it say Chromecast under the device name?

Posted using Tapatalk
[Google Chromecast] lolwatpear:
Oh I see, so yeah, it appears to only be a plex to plex connection and it's not even using YouMap. What could be the issue?

edit: Okay, I definitely got it working. It's showing YouApp as the device, and I can cast for youtube and google music. Netflix won't show the casting the box though.
[Google Chromecast] huisinro:
The apk is updated:

(1) fixed fire TV stick chrome tab casting crash issue. Now, both fire TV stick and fire TV box work well, including audio.

(2) No need to click Start menu any more, immediately after installation. When the app is launched, service will start automatically.
[Google Chromecast] schneid:
Ouch! Bought the paid app and now the app is gone. no good dead goes unpunished.

Reinstalled the free APK. Google Cast from Chrome sees my FTV but casting no longer works.

BUMMER. i really liked this app.
[Google Chromecast] goodhur:
Check your app library in the Google play store. It should still be there

Posted using Tapatalk
[Google Chromecast] huisinro:
[MENTION=4544860]osm0sis[/MENTION], I've attached a software decoder version of the sample app, can you test again on your AMLogic boxes? Does it run?

Working hard to fix AMLogic issues, but still not much ideas on the YouTube issue.

again you need to push video.mp4 to /sdcard
[Google Chromecast] osm0sis:
[MENTION=4359394]huisinro[/MENTION], As far as I can tell this one doesn't work at all, not even on my Nexus 5. :confused:
[Google Chromecast] vpoet:
When casting a movie from Vudu to stick, the Vudu UI is shown, but the movie does not start playing. YouTube, etc. work fine.
[Google Chromecast] huisinro:
What stick are you using? Android version ?
[Google Chromecast] vpoet:
Fire TV stick, software 54.1.2.2_user_122066120
[Google Chromecast] huisinro:
I will test this. Vudu is from android app?
[Google Chromecast] vpoet:
I'm casting from the Vudu app on iOS. PM me if you need a Vudu account or anything.
[Google Chromecast] huisinro:
I tested VUDU iOS App casting to YouMap, only movie trailers work, full movie does not work. This is same as Google Play Movies, DRM-ed materials do not work.

If you have android devices, you can use screen casting from Chromecast app, then play the movie, which should work.
[Google Chromecast] huisinro:
[MENTION=4544860]osm0sis[/MENTION], thanks, I noted your message , will send another one.
[Google Chromecast] huisinro:
[MENTION=4544860]osm0sis[/MENTION], can you test the attached sample apk? It will display some text messages, like, Using software mediacodec, failed to ....
[Google Chromecast] huisinro:
[MENTION=4544860]osm0sis[/MENTION], thanks, No need for the logcat. I used google's software H264 decoder, as it only supports some types of H264, so I can imagine your mp4 is not supported. I will try to use ffmpeg to decode, which is more powerful.
[Google Chromecast] osm0sis:
Ah, interesting since on my N5 the hardware decoder sample worked with the same mp4. ffmpeg would be fantastic! :)
[Google Chromecast] bigwillie1:
[MENTION=4359394]huisinro[/MENTION], I have been testing you app (v1.1.0) on my firetv and I am impressed.

I have updated my FireTV to Fire OS 5 (based on android 5.1.0 instead of 4.2.2). When I run the app I am not able to get to the settings page. After I select the app it just goes back to the screen it was before (issue 1). When I was on Fire OS 3 I did not have the issue.

Another issue (nr 2) I have is when I want to mirror my phone (HTC One M8 GPE) to the FIRETV selecting the YoumapCAST it doesn't work. This is kinda weird, because the apps google music, Youtube, Synology Audiostation, NOS.NL do work.

Do you have a solution for issue 1 and 2?
[Google Chromecast] huisinro:
@ bigwillie1, thanks for using our app, and reporting the bugs.

I requested android 5 preview, should have it within next few days, then will look at issue (1). On Nexus 7 5.1, it works OK. That settings page has issues on fire TV, even on 4.4, the top toolbar somehow not showing up.

As for issue (2), do you know if your phone is officially supported by google chromecast app? In order to mirror, google services must be available, and it must be installed into the /system/priv-app/PrebuiltGmsCore, i.e., some of the mirroring code needs to run as root. When you mirror your phone to YouMap, what is the symptoms? It flashes quickly and see a black screen?
[Google Chromecast] MikeCL1041:
I've only been using the app for a few days, but it disconnects when casting Google Play Music. Yesterday it worked flawlessly, but other days when a song ends it will stop casting and I'll need to reconnect to keep it playing.

Any ideas?
[Google Chromecast] bigwillie1:
My phone and tablet are supported (HTC One M8 GPE, Nexus 7 (2013)) by google chromecast.

When tapping on the YouMap (AFTB) to cast screen to FireTV I get a black screen on the FireTV and the error "Can't connect to client device, remote control disabled."

I have tested it once with the older firmware of the FireTV (FIRE OS 3 based on android 4.2.2) and there the screen casting worked.
[Google Chromecast] ashutosh90:
[MENTION=4359394]huisinro[/MENTION]

I have a few questions:

I am using a Moto G (2nd Gen) (Android 5.0.2 lollipop stock)

1. Will your app appear as a "Chromecast Device" on the official Chromecast app ?

2. Lollipop has this feature called "Cast screen" on the pull down quick settings menu, will your app be detected as a device in this "Cast Screen" option ?

3. Can I install this app on a Kitkat device and use it to mirror / stream from my Lollipop Moto G (2nd Gen) ?

And I have a suggestion too: Android Lollipop has a white theme (Google Launcher has white background) and your app also has a white icon... So white on white cancel out each other and your app appears as if it has no icon... Can you change the app's icon to a more visible color ? (like Material Design Red... or black maybe ?)
[Google Chromecast] huisinro:
To your three questions, the answers are YES, that is exactly what this app is supposed to do. If you observe issues, please post here. We use two tablets with android 5, to test the app, very similar to your config.

Thanks for your suggestion, will corrrect that issue.
[Google Chromecast] t3chwizard:
Quick question. Would you possibly consider making an application like this for Linux and making it open source as well? Specifically making it work with Arch Linux and all other major Linux distros. Many Linux users as well as myself would greatly appreciate it if you would do such a thing. Maybe also release a version for Windows too. I've been looking for something to emulate what the Chromecast can do on Linux for a long time since the Chromecast came out.
[Google Chromecast] huisinro:
[MENTION=5358604]rjmxtech[/MENTION], we are working on Linux and Windows version, core pieces are working, but not sure when we will make them available. About open source, I am sure about that. Thanks.
[Google Chromecast] huisinro:
Hi bigwillie1, Thanks for the update, so it's all to do with android 5. It works well on my Nexus 7 5.0.2. I still haven't got the fire TV android 5 preview installed, can you share some info about how to do that? I requested on Amazon a few days ago, and told me to wait for 48hrs, but still not updated to 5.0.
[Google Chromecast] huisinro:
This is most likely due to WIFI issue, is your WIFI with good signal?
[Google Chromecast] MikeCL1041:
Yes, WIFI signal is good. It happens when I try to cast from my tablet and phone. It happened again today, so as soon as it did I switched over to my Chromecast and it worked without any issues.

Thanks
[Google Chromecast] osm0sis:
Black outline would handle the icon issue nicely. :)
[Google Chromecast] bigwillie1:
I did the same. Registered as an developer and selected to that I wanted FIRE OS 5 on my AFTV the next morning after pressing search for software update it updated to FIRE OS 5.
[Google Chromecast] huisinro:
Thanks. I finally got the android 5 preview installed, and I can reproduce those two issues you reported. The first one is fixed, but still working on the 2nd black screen from screen cast (audio works OK).
[Google Chromecast] Kaiser Wilhelm II:
I've got the app on my Fire TV and a Fire stick. I've had success casting from YouTube, BT Sport and TuneIn Radio. With YouTube though, it can be jerkier than casting direct to the paired YouTube app on the Fire.

However, the Chromecast app doesn't pick up the Fire TV decices with the app on them and I often get notications regarding it not being able to start on port 8008.
[Google Chromecast] huisinro:
On Chromecast app, you need to go Cast Screen from left panel to find YouMap, the main app won't find it, which is the desired behavior.
[Google Chromecast] Kaiser Wilhelm II:
Aaah, OK. Tried your instructions and it works really well. (Sony Tablet Z1 to Fire stick).

Any hope of being able to support various DRM schemes? I would assume that Android /FireOS offers libraries for DRM which maybe you could interface with?
[Google Chromecast] cmullen:
Ever consider running your sw on a tablet with remote touch pad app, porting touchpad server sw ( http://pheodor.ru/android/bluetooth-touchpad-instruction/ ) to Android (its written in java) and run server sw on your Android smart phone? You would mirror cast smartphone screen to tablet and would get a "tablet view and experience" of you smartphone.
[Google Chromecast] huisinro:
[MENTION=644432]Kaiser Wilhelm II[/MENTION] About DRM stuff, I guess you are right. It depends on the system. For example, if you run YouMap on google Nexus 7 devices, then you can cast any movies from Play Movie app, whereas on Fire TV, can only cast trailers. Technically speaking, it can be done, but this may make content providers unhappy, so I haven't spent any efforts on this yet. Thanks for the suggestions, though.
[Google Chromecast] huisinro:
Hi cmullen, YouMap already runs well on Android tablets or phones. I am not sure if I understand your suggestions about using the touchpad server, can you explain more? in particular, from which device to control wat other device? Thanks.
[Google Chromecast] cmullen:
Goal is to run an android tablet as a "dumb" graphic device connected to smart phone. Your sw and touchpad app on inexpensive android tablet. Now on high end smartphone mirror cast screen to tablet and install to be ported trackpad server sw. Now your older low end tablet is a high end tablet since high end smartphone is doing all the processing. Also your phone and tablet data and apps are always in sync because your tablet is just letting you get a bigger view of your smartphone. When you want to upgrade just get a better smartphone and keep the old tablet yet tablet seems faster and more powerful.
[Google Chromecast] huisinro:
Thanks, I got that. How do you control the smart phone from the dumb tablet? right on the dumb tablet, and the more powerful phone can be put inside your pocket? I wanted to understand how the smart phone is controlled.
[Google Chromecast] cmullen:
Yes, smartphone nearby (maybe charging) and you control the smartphone via the low end "dumb" tablet by tapping and swiping on tablet. Probably change smartphone launcher after you "connect". Sort of like the Windows remote desktop connection experience but without RDC protocol, etc.
[Google Chromecast] huisinro:
Thanks, we have similar ideas too. However, in order to control the smart phone (from the dumb tablet), the smart phone requires some special permissions, for example, may need to be rooted to take mouse/keyboard events. Are you trying to use bluetooth to control the smart phone?
[Google Chromecast] cmullen:
Yes the "dumb" tablet runs the touchpad app that uses Bluetooth protocol to send info to smartphone. Smartphone needs server sw to accept the tablet touchpad app Bluetooth data feed. URL above has server sw for Windows and Linux. Sw written in Java. From same URL you can link up to client app which you would run on dumb tablet.
[Google Chromecast] huisinro:
If you look at our app, there are setting at the bottom about vnc control, as shown in attached image. Those settings are there for controlling the sender device, if our Android VNC Server is installed, you can view and control the sender device. Is this something similar to your suggestions?
[Google Chromecast] cmullen:
Yes. If I load your Android VNC Server sw on the smartphone and allow "remote control" then mirror cast to dumb tablet I could tap and swipe away on dumb tablet and I would get a "tablet" view and experience of my smartphone? If so touchpad Bluetooth app is not needed.