Jump to content

Movie looks like it starts but doesn't and stays at 0seconds


Go to solution Solved by visproduction,

Recommended Posts

Posted (edited)

As title says i wanted to watch a movie and it pretends to be playing but it shows a black screen instead. Checking the mobile app, i can see in the remote that it's still at 0 seconds. I use the mobile app to cast to my chromecast, the media and emby are on my truenas nas. I restarted the jail that has the emby install. When i stumbled on this post that seemed very similar i also restarted the chromecast and just to be safe also my acces point. That didn't help. 

I tried different movies and those started playing. Added logs and hope that sheds clarity. I'm on Emby Server 4.6.7.0

 

PS: I could play the movie in the mobile app, in the webbrowser, in VLC. I even cast my screen to the chromecast and then played the movie on my phone (not the same as casting directly sadly so i stopped) All those options the movie is fine. I checked the video info that Emby shows for both movies and seems to use the same codecs.

 

Movie that didn't work --ffmpeg-remux-f672b93e-207a-4010-8a7b-07da70914c1f_1.txt Movie that worked -- ffmpeg-remux-b1950dbc-304b-4adc-a00b-7f02ae234230_1.txt embyserver.txt

Edited by jerren
Fixed typo's
  • 2 weeks later...
Posted

Since it's been about a week, did anyone get a chance to look at this yet?

  • Like 1
ggibson793
Posted

I am having this same problem, but only with programs that I dvr'd from live tv. Movies play just fine, live tv plays just fine, but anything that I dvr from live is not working.

Posted

HI, so just to confirm, this is only when playing on Chromecast, right?

  • Solution
visproduction
Posted

You have two very different audio sources 5.1 with ver low bit rate and handler GPAC ISO Audio for the problem video.  And the audio that works is a more proper DTS 5.1 with the expected bit rate and encoder Lavc58.62.100.  If the GPAC ISO doesn't work for this audio, that could explain your problem.  Both have similar videos.

 

There are comments about that GPAC ISO not supporting small packet sizes on this forum entry: https://github.com/bytedeco/javacv/issues/1587

"

saudet commented on Feb 9, 2021

The packet size depends on the encoder, that's not something we can set. In the case of PCM, since that's what the frames are already encoded in, it basically just copies the frame data, but it looks like it doesn't support frame/packet size smaller than 65520. You might want to try and ask upstream about that to get more information: https://ffmpeg.org/contact.html

However, that's a strange limitation. It sounds as though this "ugly hack" may need to be updated for 32-bit PCM as well:
https://github.com/bytedeco/javacv/blob/master/src/main/java/org/bytedeco/javacv/FFmpegFrameRecorder.java#L832-L847

"

 

Posted

Yeah this is when playing on the chromecast, the file works anywhere else.

 

I searched a bit for that GPAC ISO Audio handler and found plenty of people having problems with it so it could be that it's just that. I had just based myself on the Audio part that Emby shows at the bottom of the movie page. And while i got that it showed undefined 5.1 i didn't know that would be an issue. Even found another post on Github that had the same issue basically they connect, see the loading bar and then get a black screen. Gives me something to try. I'll report back if i have an update.

image.png.fcc8c75279f041d305a816c392df8f84.png

  • 2 weeks later...
Posted

The problem was indeed the audio handler, thanks alot visproduction! Tried several different files and they all played fine.

ggibson793 yours seems like a different problem so i would make your own topic so they can look into it more.

Posted
2 hours ago, jerren said:

The problem was indeed the audio handler, thanks alot visproduction! Tried several different files and they all played fine.

ggibson793 yours seems like a different problem so i would make your own topic so they can look into it more.

Thanks for the feedback !

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...