JosteinG 1 Posted November 7 Posted November 7 Streaming (without transcoding) a largish (2.2GB) MP4-file from the android app causes significant lagging when changing among several audio stream (5 AAC streams), while streaming an MKV-file with the same video- and audio settings is unproblematic (as long as I've started emby on the chromecast beforehand). The files were encoded on Handbrake (1.11.2). Preset Chromecast 1080p30, only with more audio streams added. Emby server is running on an rpi 4, transcoding disabled for my user. What is the reason? Is it fixable?
Luke 43757 Posted November 8 Posted November 8 Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks!
JosteinG 1 Posted November 8 Author Posted November 8 I want to stream the film "TESTFILE" to chromecast 2ed, using the Android app. I start up chromecast. Then Emby on my phone. Start emby on chromecast. Go into the "__test" folder and start playing TESTFILE2.mkv. The film starts quickly, and the controls on the Android app is responsive. I am able to jump backwards and forwards quite easily. I can change the language without problems. I pause TESTFILE2.mkv. I then navigate to playing TESTFILE1.mp4. I click "play" and nothing happens. Nothing keeps happening for over a minute. I "play" again. Now it starts loading a long time. Then it plays - or the sound plays, no video. I open the controls and jump ahead. There is no response. I change the language. There is no response, until it suddenly jumps forward to where I clicked, and keeps playing with video, and the new language. I try again to change the language. That is no longer possible. The controls are now unresponsive. I back out. I've also attached the mediainfo reports for testfile1.mp4 and testfile2.mkv. These were both made using the Chromecast 1080p30 preset in Handbrake. Interesting thing is - the MKV has a constant bitrate, while the MP4 has a variable bitrate. The only changes I made to the preset was to add more languages (and subtitles) and change the container from default (mp4 for Testfile1.mp4) to MKV (for testfile2.mkv). I've deactivated transcoding in the user I'm using to stream to chromecast. ffmpeg-directstream-2d4ee6bb-2d72-4e7e-8e80-ba04803c3b28_1.txt ffmpeg-directstream-ee06e63c-6f8e-4dc1-b9e6-ed363713911b_1.txt embyserver.txt TESTFILE2.mkv.MediaInfo.txt TESTFILE1.mp4.MediaInfo.txt
Solution Luke 43757 Posted November 9 Solution Posted November 9 HI, are you able to update to Emby Server 4.10 and see if that helps ?
JosteinG 1 Posted November 9 Author Posted November 9 Indeed, that appears to have fixed it! I'll check some more later, but it is way better than before. The only (slight) problem now is that it is no longer possible to change subtitles while the file is streaming to the chromecast. To change subtitles, I have to back out, change the subs, and pressing "resume". 1
Luke 43757 Posted November 9 Posted November 9 1 hour ago, JosteinG said: The only (slight) problem now is that it is no longer possible to change subtitles while the file is streaming to the chromecast. To change subtitles, I have to back out, change the subs, and pressing "resume". HI there, can you please provide a specific example? In my testing it seems to be working. How to Report a Problem Thanks !
JosteinG 1 Posted November 17 Author Posted November 17 (edited) Sorry about the delay, I haven't had time before now. But, the problem with direct play of mp4-files is back! And I still can't change subtitles while the film is streaming to chromecast And suddenly the colors of some videos (not all) are dreadfully dull and unsaturated when streamed to chromecast (but normal otherwise)! Should I make two more topics, one for the non-changeable subtitles (an annoyance) and one for the unsaturated video? Or should I continue all in this thread? I have done the same as before. Turned on the chromecast. Startet emby on android. Connected emby to chromecast. Started playing a video. If the video actually will play, I try to jump forward and backwards to check how responsive it is. I then press the CC-icon to change the subtitles while the film is playing, but it is completely unresponsive. If the video won't play it will often try to load (the twirly thing appears or title briefly flashes to the screen) but in the end it remains unresponsive. I have testfile 1, 2, 3, 4 and 5. Testfile 1, 2 and 3 are pretty much identical (made from the same source in handbrake with the chromecast1080p30 preset).TESTFILE3 is identical to TESTFILE1, only with constant framerate. Testfile4.mkv is made likevise. TESTFILE5 was remuxed from TESTFILE4 with the command "ffmpeg -i TESTFILE4.mkv -map 0 -c copy -c:s mov_text TESTFILE5.mp4" All mkv-files will directplay (TESTFILE2 and TESTFILE4). TESTFILE1 wouldn't directplay before I updated the server, but does now(?). TESTFILE3 and TESTFILE5 will not play at all. It is not possible to change subtitles (while streaming it to chromecast, before playing, or when playing on the phone it is no problem) in neither TESTFILE1.mp4, TESTFILE2.MKV nor TESTFILE4.mkv In addition the colors of TESTFILE4.mkv looks unsaturated when streaming from chromecast, but not when playing on the phone (or in other players). Attached are all the logs + mediainfo All problems persists even after restarting the server. embyserver (2).txt ffmpeg-directstream-aba0f4e5-6926-4cc6-98ea-8d54d09d5c4d_1.txt ffmpeg-directstream-56ff49e5-4da9-4632-a066-1e47cfd90fc2_1.txt hardware_detection-63930542089.txt embyserver-63930542066.txt ffmpeg-directstream-c24fffb9-d7d1-4678-923b-6cc3655b5084_1.txt ffmpeg-directstream-b2c62ad2-1fef-4a07-ba56-7663c2968177_1.txt ffmpeg-directstream-10b9127a-b416-4648-93f8-28ee89a0a763_1.txt ffmpeg-directstream-404b2f66-8de3-466d-86a2-60ba17f105db_1.txt ffmpeg-directstream-2fe5a88c-fe79-43c4-bc97-8ac87712801d_1.txt ffmpeg-directstream-9e9a11c8-ec4c-4a36-ad5a-c3dad49d6868_1.txt TESTFILE1.mp4.MediaInfo.txt TESTFILE2.mkv.MediaInfo.txt TESTFILE3.mp4.MediaInfo.txt TESTFILE4.mkv.MediaInfo.txt TESTFILE5.mp4.MediaInfo.txt Edited November 17 by JosteinG
Luke 43757 Posted November 19 Posted November 19 @JosteinGalso can you please reboot your chromecast device and try again? We just pushed out a large update to our chromecast receiver. thanks.
JosteinG 1 Posted November 22 Author Posted November 22 Reenabled transcoding and rebooted the server. No effect. The files that should be direct play won't (transcodes), it is still not possible to change subtitles while playing, and testfile 4 (and 5) is still unsaturated. embyserver-63930902400.txt ffmpeg-directstream-b4fb1964-5eff-4a31-811b-b7d855e84533_1.txt ffmpeg-directstream-0629f3af-6c71-479c-91e3-f9acabb2e89d_1.txt ffmpeg-directstream-32b812b9-5bd1-41fa-b3d6-7140df4eec8f_1.txt ffmpeg-directstream-a40a71d2-9170-4cf8-b8cc-2d9fe8107381_1.txt ffmpeg-directstream-05c867ac-f948-4211-a7ad-cba46863fd79_1.txt ffmpeg-directstream-4acd80c3-b8f4-4582-8be3-c0949e7838b6_1.txt ffmpeg-directstream-73f8c3ed-ac72-4788-9b8a-99988a3344cc_1.txt ffmpeg-directstream-ef31892f-a383-484b-8406-7745adbbe3cc_1.txt ffmpeg-directstream-b1b28572-caf2-4198-bdf4-51b977268bd9_1.txt ffmpeg-directstream-ce914905-a922-4a02-97c8-5f49637bc73e_1.txt embyserver (3).txt
Luke 43757 Posted November 22 Posted November 22 It’s not direct playing because you have a secondary audio track selected. There’s no way for the chromecast to select secondary audio on its own. If you select the first audio track then it B may direct play
JosteinG 1 Posted November 22 Author Posted November 22 Fascinating, I did not know that! Anyway, it still don't work. Now I have made sure that transcoding is possible (will transcode small files rather easily, but not bigger), but the problems with Testfile 1, 3 and 5 persists even when I choose primary audio track. ffmpeg-directstream-a280ba90-6136-40b6-88e0-9bd57f809290_1.txt ffmpeg-directstream-6fc596e8-81b1-4b0d-803c-82d607ceb5ce_1.txt ffmpeg-directstream-2adf3ea8-3c7a-489e-b1c0-e09142712d33_1.txt ffmpeg-directstream-85f4341b-8527-4790-9b2d-29f8eb535c71_1.txt ffmpeg-directstream-ddaeb5e3-325a-408b-916d-9e9a2a9d9987_1.txt ffmpeg-transcode-7fbb4778-c29f-472a-a637-80284798ef28_1.txt ffmpeg-transcode-ac074144-1cdf-4e2f-a74b-f9d6f59b7f37_1.txt ffmpeg-transcode-8bf51678-ec1b-4ef4-b597-2b754aa89232_1.txt ffmpeg-transcode-e2136b0c-699b-4f61-abde-273073d23427_1.txt ffmpeg-transcode-7dfd38b3-404d-42e0-9d05-9846bc2691a8_1.txt ffmpeg-transcode-a9b3bf32-6644-44f5-a7ac-af86f0c320ec_1.txt ffmpeg-transcode-441150da-0581-4747-8aa6-70219790ea18_1.txt embyserver (4).txt ffmpeg-transcode-e45375eb-8f04-41ea-9723-859f458ec7ac_1.txt
Luke 43757 Posted November 22 Posted November 22 Quote even when I choose primary audio track. What exactly happened?
JosteinG 1 Posted November 23 Author Posted November 23 Same as before. Emby is running on Chromecast. I first try to play a MKV-file (TESTFILE2), everything works (except changing subs). I pause. I choose a mp4-file (TESTFILE1) Click "play", and nothing happens. I wait, click again - the controls for TESTFILE2 disappear, the loading spiral show up briefly on the tv, then nothing. Same third time. I've made a video (attached). I never change from the default audio track when I try to play the files. Vid 20261123 122613378.mp4 embyserver (5).txt ffmpeg-directstream-5871a167-ba42-47d1-bdb7-6bc7fcdc0b1a_1.txt ffmpeg-directstream-1acf6cf8-4b81-49fa-b2c9-80dcbe18db4b_1.txt
Luke 43757 Posted November 23 Posted November 23 By the way from 0 to 0:46, these dialogs open with an animation. You're clicking the button twice, which is also why you have to tap outside twice to make it go away.
JosteinG 1 Posted November 24 Author Posted November 24 Yes, but why won't the mp4-file directplay when the identical mkv-file will?
Luke 43757 Posted November 24 Posted November 24 i don't see any log examples of an mp4. which one is that?
JosteinG 1 Posted Monday at 08:21 PM Author Posted Monday at 08:21 PM There wasn't any ffmpeg-logs made when I tried to directplay mp4-files. Now no ffmpeg-logs are made at all. With transcoding turned on, mp4-files will directplay - eventually (long pause from I press play until anything happens). Pausing isn't possible now either. I'll reboot the server and try again tomorrow. embyserver (7).txt embyserver (6).txt
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now