Transcoding
|
Posts: 22
Threads: 1
Joined: Oct 2015
[Solved]
Nov 09, 2015, 01:02 AM
This is a good solution, now we need plex developers to acknowledge the work done here, and see the lengths we will go to have transcoding when they could make this an option.
Not all ARM is gimp...
Good Job everyone.
Posts: 1
Threads: 0
Joined: Nov 2015
Reputation:
1
[Solved]
Nov 10, 2015, 06:54 PM
Tried everything described, and works as a charm!
Only thing is.. My rasplex does the bigger movies a little better because of the wired ethernet.
Chromecast plays everything real nice, so it's better then before!!
Nice workaround!
Posts: 22
Threads: 1
Joined: Oct 2015
[Solved]
Nov 10, 2015, 08:56 PM
(Nov 10, 2015, 06:54 PM)MrMennens Wrote: Tried everything described, and works as a charm!
Only thing is.. My rasplex does the bigger movies a little better because of the wired ethernet.
Chromecast plays everything real nice, so it's better then before!!
Nice workaround!
Glad it works for you many heads made this possible.
Posts: 24
Threads: 3
Joined: Oct 2015
Reputation:
0
[Solved]
Nov 11, 2015, 02:27 PM
Very nice, I'll try everything in a few days and post feedback. Thankyou for the easier guide!
Posts: 3
Threads: 0
Joined: Jan 2016
Reputation:
0
[Solved]
Jan 23, 2016, 03:46 PM
(Nov 07, 2015, 11:09 AM)lukas Wrote: 3. Create your own Chromecast App
If you have an existing web server of webspace somewhere, these steps might be slightly different.
The version of the landing page attached is a copy from the original landing page. However, I have modified the plex.js file so that the transcoding validation is disabled.
- Use WinSCP to connect to your Raspberry Pi.
- Navigate to the folder that contains the web server content (e.g. /var/www/html/)
- Create a new folder (e.g. plex)
- Upload the Chromecast landing page to the new folder (plex_chromecast_landing_page.zip).
- Verify that the web server is working by opening the URL in a browser: http://YOUR.RASPBERRY.PI.IP/plex/
- Visit the Google Cast SDK: https://cast.google.com/publish/#/overview
- Click on "Add new Application"
- Choose "Custom Receiver"
- Enter "Plex" as name and the URL from above as Receiver Application URL
- Add the application and note down your application ID. This should be a mixture of 8 characters and digits.
I'm having trouble with this step. I've got nginx running on my odroid and I've verified that it's working. Should I extract the landing page to the /var/www/html/plex/ folder or leave it as a zip? Having tried both the Chromecast button is absent in the odroid's PMS web client if I update it with my AppID (with the console warning "main.fb320e3bfecc532050fa.js:1332 No receivers are available").
If I extract the zip and navigate to my odroid ( http://192.168.1.74/plex) the page loads, but is blank, and some 404 spew in the console because it's looking for the js files in a /production/ folder.
I feel like I'm doing something wrong here, any advice?
Is it ok that the Google Cast App is unpublished?
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Jan 23, 2016, 09:19 PM
You definitely need to extract the zip folder. Do bear in mind that the zip file contains a plex.js instead of a main*.js file so you will need to modify that in order for it to work.
Posts: 3
Threads: 0
Joined: Jan 2016
Reputation:
0
[Solved]
Jan 23, 2016, 10:07 PM
(Jan 23, 2016, 09:19 PM)Mike Wrote: You definitely need to extract the zip folder. Do bear in mind that the zip file contains a plex.js instead of a main*.js file so you will need to modify that in order for it to work.
By modify do you mean I need to rename plex.js to match the main*.js from my PMS, or is there an additional modification I need to make to make to plex.js to make it work?
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Jan 23, 2016, 10:52 PM
You need to make the same modification to main*.js that you would have done to plex.js. The dummy Chrome app needs to use a *.js file that points to and matches the Plex server or the nginx server. Does that make sense?
As my teacher would say, I should make a diagram.
Posts: 3
Threads: 0
Joined: Jan 2016
Reputation:
0
[Solved]
Jan 24, 2016, 01:05 AM
(This post was last modified: Jan 24, 2016, 01:57 AM by shreek.
Edit Reason: moar testing
)
(Jan 23, 2016, 10:52 PM)Mike Wrote: You need to make the same modification to main*.js that you would have done to plex.js. The dummy Chrome app needs to use a *.js file that points to and matches the Plex server or the nginx server. Does that make sense?
As my teacher would say, I should make a diagram.
OK; dug through the thread again this time and saw where you guys were getting the landing page from chromecast.plex.tv/production. Seeing how that worked showed me how it should look running from my machine, which basically came down to the directions suggesting the files be put into a folder called "plex", but most of the paths expected the files to be in a folder called "production". Renaming the folder appears to have sorted the issue. I've got the cast icon on my PMS server's web client. I'm not able to test it just this second cuz my wife is watching Masterchef Jr to prevent her from strangling my sleepless toddler. Will update later once I can actually test it without risking toddler life and limb.
EDIT: Tested, got "Couldn't find media", or "Failed to load media", or some such. Restarted the PMS service and everything is running great now. ODROID is transcoding Battlestar on all 8 cores. Plex Beta app on Android seems to be struggling to connect to my chromecast, but I'll get a little more diagnosticizing in before I ask for help.
EDIT2: Got the beta app working, it's just a little finicky. I had been juggling between production and custom from my original testing trying to get the chromecast app working. Once I had it working for browser casting I changed it back to custom, noted my AppID was saved and tried to cast from the app (and failed). I went back in to settings and changed to production and back to custom then clicked in the AppID field and hit OK. From there it was able to connect. Once I tried to play a movie it tried for a few seconds and then choked. Disconnecting the app caused the chromecast to suddenly start playing (with ASS subtitles which have been my transcoding test case). Reconnected the phone and it stopped. Turned subs off and it worked. Turned subs back on and it kept working.
So it's a little awkward, but what do you want from a beta app.
Posts: 3
Threads: 0
Joined: Jan 2016
Reputation:
0
[Solved]
Jan 26, 2016, 03:38 PM
The only plex.js I can find is the one in the /var/www/html/plex/js folder. Is this the correct one? I can't find string 9AC194DC. Please help?
|
|
Recent Posts
|
About Swap
jonescelinaa Apr 10, 2024, 06:58 AM
|
Tracker Status: Error Connection Time Out
jonesPhedra Apr 04, 2024, 08:17 AM
|
Split Tunnel Docker Containers
jonesPhedra Mar 27, 2024, 03:10 AM
|
Plex server not powerful enough, but only with s...
jonesPhedra Mar 27, 2024, 03:02 AM
|
game Geometry Dash Scratch
jonescelinaa Jan 31, 2024, 04:21 AM
|
Latest unread posts | Unanswered posts |
|