Jump to content


Photo

Transcoding issue on Raspberry PI


  • Please log in to reply
11 replies to this topic

#1 Sock OFFLINE  

Sock

    Newbie

  • Members
  • 6 posts
  • Local time: 07:57 PM

Posted 14 June 2019 - 03:46 PM

Hi, I've recently set up a RaspberryPi as an Emby Server. Overall, it works surprisingly well! Convinced me to stump for Emby premier :)

 

Unfortunately there's one specific issue I'm seeing when the client can't stream directly (I'm using a Fire TV and Chromecast).

 

Initially, transcoding works fine - the movie plays without any issues. But about 30mins - 1 hour in, the film starts stuttering - it'll play ~10 seconds, then jump back 2, play another 10 and jump back... Makes it un watchable unfortunately :( 

 

My initial thoughts were that it was just due to the Pi being underpowered, but that doesn't explain why it works fine for ~1 hr!

 

I've attached the server and transcode logs for the most recent incident.

 

Any help greatly appreciated!



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 131589 posts
  • Local time: 02:57 PM

Posted 14 June 2019 - 03:53 PM

Hi there, can we look at an example? Please attach the information requested in how to report a media playback issue. thanks !



#3 Sock OFFLINE  

Sock

    Newbie

  • Members
  • 6 posts
  • Local time: 07:57 PM

Posted 14 June 2019 - 04:01 PM

Apologies, I thought I had, misunderstood the attach files ctrl apparently :) 

 

Sorry for the number of files - my guess is it's starting a new transcode every time it skips... Included everything just in case!

 

Thanks Luke

Attached Files



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 131589 posts
  • Local time: 02:57 PM

Posted 15 June 2019 - 01:15 PM

Hi @Sock, are you able to test other input besides avi files and see how that compares? Thanks.



#5 Sock OFFLINE  

Sock

    Newbie

  • Members
  • 6 posts
  • Local time: 07:57 PM

Posted 15 June 2019 - 01:58 PM

Hi Luke, I see the same behaviour whenever transcoding is required (e.g. h264 Level is too high). I'll try and find an example to grab the logs



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 131589 posts
  • Local time: 02:57 PM

Posted 15 June 2019 - 02:46 PM

Do you have any mkv's to try with? Thanks.



#7 Sock OFFLINE  

Sock

    Newbie

  • Members
  • 6 posts
  • Local time: 07:57 PM

Posted 16 June 2019 - 03:34 AM

Hi Luke, yes, same behaviour with MKV. I've attached the logs. Thanks

Attached Files



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 131589 posts
  • Local time: 02:57 PM

Posted 16 June 2019 - 01:52 PM

Do you have any with the h264 codec, as opposed to mpeg4. These are all divx, right?



#9 Sock OFFLINE  

Sock

    Newbie

  • Members
  • 6 posts
  • Local time: 07:57 PM

Posted 19 June 2019 - 05:31 PM

Hi @Luke, sorry, missed your reply.

 

There's a bit of a hodge-podge of codecs as I changed over the years. Yes, the older stuff is largely divx/xvid and avi, and newer stuff is h264.

 

To be clear, you want me to find an h264, mkv file where transcoding is required, right? I'll find one and grab the logs



#10 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 131589 posts
  • Local time: 02:57 PM

Posted 20 June 2019 - 01:46 AM

That would be very helpful, thanks. You could also try the beta server as it has a newer ffmpeg build.



#11 Sock OFFLINE  

Sock

    Newbie

  • Members
  • 6 posts
  • Local time: 07:57 PM

Posted 21 June 2019 - 06:25 AM

Hi @Luke, I have an h264 MKV here that was transcode due to level to high (51). Same behaviour. Logs attached

 

It appears to happen every time conversion is required. It plays fine while the transcoding is ongoing, but seems to get confused once the transcode has finished and keeps restarting transcodes. 

 

RE the beta server - I'm using dietpi and not entirely sure how to go about that. I'd rather stick to the stable releases if possible, but if it'll help I'll give it a go. 

Attached Files



#12 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 131589 posts
  • Local time: 02:57 PM

Posted 21 June 2019 - 12:31 PM

Ok yes that would be helpful. Thanks.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users