solidsnakex37 55 Posted October 21, 2024 Posted October 21, 2024 I am trying to figure out why, when playing a certain movie on a web browser (FireFox/Chrome) I get the error No compatible streams are currently available. Please try again later or contact your system administrator for details. This also happens when playing it on Chromecast, but the movie has no issue direct playing via Nvidia Shield or Emby Theater. The logging seems like it's having an issue remuxing the file, it first attempts to do an ffmpeg-remux, then it tried 2 transcodes and then returns the error. Another odd observation, is that if I jump to a chapter, it will play the movie. But when playing from the beginning, I have the issue. I zipped up another set of logs when jumping to Chapter 2 which plays the movie file, for comparison. I can't figure out what the issue is on this one, appreciate the help hardware_detection-63865104068.txt ffmpeg-remux-a3f7e4fc-9f16-428d-97b5-d6f6a1771fba_1.txt ffmpeg-transcode-e8600638-0ef8-46cb-b006-c1c3f160b9b0_1.txt ffmpeg-transcode-9cfc4de4-4a44-49a2-854f-fb996ac9f591_1.txt embyserver.txt Jump to Chapter 2 (working).zip
visproduction 315 Posted October 21, 2024 Posted October 21, 2024 I suspect Audio: dts in stream one may be causing your problem. Audio stream #2 ac3 should be able to be transcoded for browser playback. Neither Audio dts nor ac3 can playback directly in current released straight web browsers. Transcoding either of these audio, if it works correctly, probably takes extra time. Why is there a line in ffmpeg-transcode after about 2 seconds of transcoding? Line 152 10:41:26.583 [q] command received. Exiting. [segment @ 0x1117000] Opening '/transcode/transcoding-temp/813380/813380.m3u8.tmp' for writing SegmentComplete=video:0 Index=7 Start=21.021000 End=23.231544 Duration=2.210544 offset_pts=0 start_pts=21021000 Frames=53 filename=813380_7.ts elapsed=00:00:01.51 frame= 557 fps=367 q=18.0 Lsize=N/A time=00:00:14.27 bitrate=N/A throttle=off speed=9.42x video:60284kB audio:320kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [aac @ 0x2b88100] Qavg: 1382.801 EXIT Where did the q command come from. Is that a user input to stop the transcoding? Maybe it takes extra time for this transcoding attempt with 2 audios and only the 2nd audio codec is one that works. I bet if you get rid of the DTS audio track using an video editor or full version of ffmpeg, then the problem of playback will go away. I think DTS being a licensed required audio codec is what is causing the problem. Just a guess.
solidsnakex37 55 Posted October 21, 2024 Author Posted October 21, 2024 42 minutes ago, visproduction said: I suspect Audio: dts in stream one may be causing your problem. Audio stream #2 ac3 should be able to be transcoded for browser playback. Neither Audio dts nor ac3 can playback directly in current released straight web browsers. Transcoding either of these audio, if it works correctly, probably takes extra time. Why is there a line in ffmpeg-transcode after about 2 seconds of transcoding? Line 152 10:41:26.583 [q] command received. Exiting. [segment @ 0x1117000] Opening '/transcode/transcoding-temp/813380/813380.m3u8.tmp' for writing SegmentComplete=video:0 Index=7 Start=21.021000 End=23.231544 Duration=2.210544 offset_pts=0 start_pts=21021000 Frames=53 filename=813380_7.ts elapsed=00:00:01.51 frame= 557 fps=367 q=18.0 Lsize=N/A time=00:00:14.27 bitrate=N/A throttle=off speed=9.42x video:60284kB audio:320kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [aac @ 0x2b88100] Qavg: 1382.801 EXIT Where did the q command come from. Is that a user input to stop the transcoding? Maybe it takes extra time for this transcoding attempt with 2 audios and only the 2nd audio codec is one that works. I bet if you get rid of the DTS audio track using an video editor or full version of ffmpeg, then the problem of playback will go away. I think DTS being a licensed required audio codec is what is causing the problem. Just a guess. I am not sure where that q command is coming from, it takes about 10 seconds from when I hit play, to when it throws the error but I am not quitting or backing out from the playback attempt. I just tried using Embys convert feature to convert the file into h264/aac, but it won't play that file either. If I choose the commentary track on the original file, it also won't play. It seems to only play if I skip to any chapter other than chapter 1. I even tried removing the item from Emby, performing a library scan to remove it from the DB, then scanning it back in just too see, but same issue.
visproduction 315 Posted October 22, 2024 Posted October 22, 2024 (edited) Solid, If' it's just the one movie, then it's probably the file that has issues. You could try remuxing and maybe get rid of the DTS audio track. MKVtools, AVIDemux (more complex) or full version of ffmpeg, possibly VLC - in convert mode, could remux the file and remove DTS audio. ffmpeg is more effort to get the command just right. VLC may not be able to remove the extra audio. All of these softwares, once you set it up, would probably take maybe 1 to 2 minutes to do the whole file on a typical computer. All you are doing is dropping an audio and resetting the timeline data for the video. That would be my first step to fix it. Once you remux and hopefully, fix time line errors and metadata and get a good copy, you could burn it directly to a blu-ray data disc with the full size and DTS audio. This would probably play back fine on a blu-ray player. Such .mkv files work fine in full surround on an upper end Panasonic blu-ray player. I was surprised this was possible. I thought you had to use a store bought blu-ray. Anyway... hope that helps. Edited October 22, 2024 by visproduction
solidsnakex37 55 Posted October 22, 2024 Author Posted October 22, 2024 1 hour ago, visproduction said: Solid, If' it's just the one movie, then it's probably the file that has issues. You could try remuxing and maybe get rid of the DTS audio track. MKVtools, AVIDemux (more complex) or full version of ffmpeg, possibly VLC - in convert mode, could remux the file and remove DTS audio. ffmpeg is more effort to get the command just right. VLC may not be able to remove the extra audio. All of these softwares, once you set it up, would probably take maybe 1 to 2 minutes to do the whole file on a typical computer. All you are doing is dropping an audio and resetting the timeline data for the video. That would be my first step to fix it. Once you remux and hopefully, fix time line errors and metadata and get a good copy, you could burn it directly to a blu-ray data disc with the full size and DTS audio. This would probably play back fine on a blu-ray player. Such .mkv files work fine in full surround on an upper end Panasonic blu-ray player. I was surprised this was possible. I thought you had to use a store bought blu-ray. Anyway... hope that helps. Hey Vis, So wouldn't the convert feature in Emby perform the same? I used Emby to convert it to H264 for video, and AAC for audio, but that wouldn't play either. I also tried it on the beta version of Emby 4.9.0.30, still failed However, I was able to successfully play the movie in Jellyfin and it played immediately via the browser. 1
Luke 42079 Posted October 24, 2024 Posted October 24, 2024 On 10/22/2024 at 6:05 PM, solidsnakex37 said: Hey Vis, So wouldn't the convert feature in Emby perform the same? I used Emby to convert it to H264 for video, and AAC for audio, but that wouldn't play either. I also tried it on the beta version of Emby 4.9.0.30, still failed Hi, can we please see an example of that? Thanks.
solidsnakex37 55 Posted November 1, 2024 Author Posted November 1, 2024 On 10/23/2024 at 7:38 PM, Luke said: Hi, can we please see an example of that? Thanks. Below is a video example, quick summary: Converting the original media using Emby does not help with playback Selecting a chapter other than the 1st chapter in the converted media doesn't work as it does in the original file Playback on the original file fails, unless I choose Chapter 2 it will begin transcoding/playback immediately 2024-11-01 12-18-45.mkv
visproduction 315 Posted November 2, 2024 Posted November 2, 2024 Solid, Your download is a screen grab of your set up and play back attempts. Can you play it on any video player on your computer? blu-ray version of Sleepy Hollow is playback encrypted. see: https://forum.makemkv.com/forum/viewtopic.php?t=4184 The bitrate is also at 24 mbps which is 12 times the size that I have and it uses MPEG2Video which had the option to run enrypted. If true, then it should only playback on a blu-ray player or licensed blu-ray player software.
solidsnakex37 55 Posted November 4, 2024 Author Posted November 4, 2024 On 11/2/2024 at 9:46 AM, visproduction said: Solid, Your download is a screen grab of your set up and play back attempts. Can you play it on any video player on your computer? blu-ray version of Sleepy Hollow is playback encrypted. see: https://forum.makemkv.com/forum/viewtopic.php?t=4184 The bitrate is also at 24 mbps which is 12 times the size that I have and it uses MPEG2Video which had the option to run enrypted. If true, then it should only playback on a blu-ray player or licensed blu-ray player software. That was what Luke had quoted/asked for. It works in Jellyfin. However, the Jellyfin logging shows the issue where as I didn't see this error in the Emby logs. The Emby Converted file doesn't work in Emby, but Jellyfin plays it back without problem. [mp4 @ 0x146adc04cdc0] Track 1 starts with a nonzero dts 458416, while the moov already has been written. Set the delay_moov flag to handle this case. [hls @ 0x56280979e340] Opening '/transcode/6ab7b7afe97bbac06b876d31af4455853.mp4' for writing [mp4 @ 0x146adc04cdc0] Packet duration: -16 / dts: 577160 is out of range Seems the above is the issue but Emby doesn't detect it or log it just to clarify below from my original post, the issue is with emby transcoding the file. both with the conversion option and on the fly transcoding On 10/21/2024 at 12:00 PM, solidsnakex37 said: the movie has no issue direct playing via Nvidia Shield or Emby Theater.
visproduction 315 Posted November 4, 2024 Posted November 4, 2024 Does the current version of ffmpeg have a problem with DTS-HD? Nvidia and Emby Theater work, apparently. Is this something to do with higher end DTS-HD and the current ffmpeg encoder in Emby Server? see: https://superuser.com/questions/1525896/how-to-extract-a-dtshd-audio-stream-from-a-mkv-file-using-ffmpeg
Carlo 4561 Posted November 7, 2024 Posted November 7, 2024 @solidsnakex37The conversion you did took a MPEG2VIDEO codec and converted it to H.264 which has better compression and came out bigger. Can you create a 5-minute sample (from beginning) of the original file? You can do this with ffmpeg ffmpeg -i original.ext -ss 0 -t 300 -c copy sample.ext Then add it to a library and test playback to make sure it's a good test file to reproduce this. Once you know it's a good test file upload it here. Carlo
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