SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-02-2017, 11:05 AM
HokiePerogi HokiePerogi is offline
Sage Advanced User
 
Join Date: Oct 2008
Posts: 187
MKV PlaybackException

I have one MKV file that is causing me issues in v9. When I try to play it on my server or extenders, I get a sage.PlaybackException: ERROR (04,0x80004005): There was a problem rendering the video portion of the content for playback.

When I clear the dialog, Sage tunes to a live tv channel.

The file plays back fine on the server via VLC.

VLC reports the following Codec information for Stream 0 and 1:
Stream 0:
Type: Video
Codec: h264 - MPEG-4 AVC (part 10) (avc1)
Language: English
Resolution: 1920x1080
Frame rate: 23.976215
Decoded format: Planar 4:2:0 YUV

Stream 1:
Type: Audio
Codec: DTS Audio (dts)
Language: English
Channels: 3F2R/LFE
Sample rate: 48000 Hz
Bitrate: 1536 kb/s

I didn't see any reference in my Sage log file to the playing of this title.

How can I further debug?

I appreciate the help.
__________________
Server: AMD Phenom II X6 3.20 GHz ♠ 16 GB RAM (15.7 usable)
Capture: HDHomeRun PRIME ♠ Ceton InfiniTV 4 PCIe (Clear-QAM only)
Tuning: OpenDCT v0.5.20-RC2
Software: Windows 7 Ultimate 64-bit ♠ SageTV v9.0.12.504 ♠ Java 1.8.0_111
Clients: 4 x STX-HD300 ♠ 3 x STX-HD200 ♠ MacOS Placeshifter
Reply With Quote
  #2  
Old 04-03-2017, 11:58 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Seeing a server log from when you try to play it on an extender would be the most useful thing.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #3  
Old 04-08-2017, 05:22 AM
HokiePerogi HokiePerogi is offline
Sage Advanced User
 
Join Date: Oct 2008
Posts: 187
Quote:
Originally Posted by Narflex View Post
Seeing a server log from when you try to play it on an extender would be the most useful thing.
Attached are the relevant logs lines.

Thanks for the help.
Attached Files
File Type: txt sagetv_0_snippet.txt (155.5 KB, 150 views)
__________________
Server: AMD Phenom II X6 3.20 GHz ♠ 16 GB RAM (15.7 usable)
Capture: HDHomeRun PRIME ♠ Ceton InfiniTV 4 PCIe (Clear-QAM only)
Tuning: OpenDCT v0.5.20-RC2
Software: Windows 7 Ultimate 64-bit ♠ SageTV v9.0.12.504 ♠ Java 1.8.0_111
Clients: 4 x STX-HD300 ♠ 3 x STX-HD200 ♠ MacOS Placeshifter
Reply With Quote
  #4  
Old 04-10-2017, 11:13 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
My suspicion is that port 7818 is not open on your server and is blocked by a firewall. That's why the clients can't playback that file. Can you check to see if that's it?
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #5  
Old 04-17-2017, 11:43 AM
HokiePerogi HokiePerogi is offline
Sage Advanced User
 
Join Date: Oct 2008
Posts: 187
Quote:
Originally Posted by Narflex View Post
My suspicion is that port 7818 is not open on your server and is blocked by a firewall. That's why the clients can't playback that file. Can you check to see if that's it?
Hmm. I explicitly configured my Windows Firewall to allow both TCP and UDP 7818 inbound.

I then tried the local client on my server (I run in service mode). I got the same result again. I've attached the client log this time.

Any other theories?
Attached Files
File Type: txt sagetvclient_0.txt (163.7 KB, 151 views)
__________________
Server: AMD Phenom II X6 3.20 GHz ♠ 16 GB RAM (15.7 usable)
Capture: HDHomeRun PRIME ♠ Ceton InfiniTV 4 PCIe (Clear-QAM only)
Tuning: OpenDCT v0.5.20-RC2
Software: Windows 7 Ultimate 64-bit ♠ SageTV v9.0.12.504 ♠ Java 1.8.0_111
Clients: 4 x STX-HD300 ♠ 3 x STX-HD200 ♠ MacOS Placeshifter
Reply With Quote
  #6  
Old 04-17-2017, 03:48 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
OK, now it looks like it's probably something else. Does that MKV file play in VLC or other players? I know it detected it's format OK originally; but when it's trying to render it's not finding the audio or video streams at all.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #7  
Old 04-17-2017, 04:44 PM
HokiePerogi HokiePerogi is offline
Sage Advanced User
 
Join Date: Oct 2008
Posts: 187
Quote:
Originally Posted by Narflex View Post
OK, now it looks like it's probably something else. Does that MKV file play in VLC or other players? I know it detected it's format OK originally; but when it's trying to render it's not finding the audio or video streams at all.
Yes, it plays like a charm on VLC, both when played locally on the server (Windows) and over SMB to my iMac running VLC.
__________________
Server: AMD Phenom II X6 3.20 GHz ♠ 16 GB RAM (15.7 usable)
Capture: HDHomeRun PRIME ♠ Ceton InfiniTV 4 PCIe (Clear-QAM only)
Tuning: OpenDCT v0.5.20-RC2
Software: Windows 7 Ultimate 64-bit ♠ SageTV v9.0.12.504 ♠ Java 1.8.0_111
Clients: 4 x STX-HD300 ♠ 3 x STX-HD200 ♠ MacOS Placeshifter
Reply With Quote
  #8  
Old 04-18-2017, 06:41 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
I've seen this happen, myself, from time to time... I've never tracked it down, since it happens pretty rarely and I have very few mkv files... but, when it has happened, I've just remuxed the container from mkv to mp4 and that has fixed it for me.

Code:
ffmpeg -i LostInTranslation.mkv -vcodec copy -acodec copy LostInTranslation.mp4
When I've done it, I've just used the ffmpeg that ships with SageTV.
Reply With Quote
  #9  
Old 04-18-2017, 09:15 AM
HokiePerogi HokiePerogi is offline
Sage Advanced User
 
Join Date: Oct 2008
Posts: 187
Quote:
Originally Posted by stuckless View Post
I've seen this happen, myself, from time to time... I've never tracked it down, since it happens pretty rarely and I have very few mkv files... but, when it has happened, I've just remuxed the container from mkv to mp4 and that has fixed it for me.

Code:
ffmpeg -i LostInTranslation.mkv -vcodec copy -acodec copy LostInTranslation.mp4
When I've done it, I've just used the ffmpeg that ships with SageTV.
Well, that partially worked. Thanks.

However, it only kept the first audio track in the mp4 which 7.1 DTS. I don't have a receiver on every one of my extenders so I need to either have it keep all the audio tracks in the new file, or have it use Stream 3 (ACC) when creating the mp4.
__________________
Server: AMD Phenom II X6 3.20 GHz ♠ 16 GB RAM (15.7 usable)
Capture: HDHomeRun PRIME ♠ Ceton InfiniTV 4 PCIe (Clear-QAM only)
Tuning: OpenDCT v0.5.20-RC2
Software: Windows 7 Ultimate 64-bit ♠ SageTV v9.0.12.504 ♠ Java 1.8.0_111
Clients: 4 x STX-HD300 ♠ 3 x STX-HD200 ♠ MacOS Placeshifter
Reply With Quote
  #10  
Old 04-18-2017, 11:04 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
If you use the '-map' flag for FFMPEG you can select the streams. More info on that here:

https://trac.ffmpeg.org/wiki/Map
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #11  
Old 04-18-2017, 11:47 AM
HokiePerogi HokiePerogi is offline
Sage Advanced User
 
Join Date: Oct 2008
Posts: 187
Quote:
Originally Posted by Narflex View Post
If you use the '-map' flag for FFMPEG you can select the streams. More info on that here:

https://trac.ffmpeg.org/wiki/Map
Awesome. I was actually looking at that when you posted. I was able to get it to work and keep it in the MKV container. All I needed to do was remove the 0:5 stream (zho, ac3 audio) from the original .mkv.

Thanks for all the help.
__________________
Server: AMD Phenom II X6 3.20 GHz ♠ 16 GB RAM (15.7 usable)
Capture: HDHomeRun PRIME ♠ Ceton InfiniTV 4 PCIe (Clear-QAM only)
Tuning: OpenDCT v0.5.20-RC2
Software: Windows 7 Ultimate 64-bit ♠ SageTV v9.0.12.504 ♠ Java 1.8.0_111
Clients: 4 x STX-HD300 ♠ 3 x STX-HD200 ♠ MacOS Placeshifter
Reply With Quote
  #12  
Old 04-19-2017, 06:43 AM
waynedunham waynedunham is offline
Sage Icon
 
Join Date: Sep 2004
Posts: 1,469
Was this perchance something recorded off of Comcast/Xfinity? The reason I ask is that at least prior to V9 when I would get an unplayable recording I would use the SageTV built in conversion feature. Many times I would get a viewable recording but it would have the wrong audio track. Either the SAP, or many times the visually impaired track with things like "Two people sit at a desk near an open window" just under the main audio.

Now that I am using V9 I haven't run into any unviewable recordings, but have run into instances that default to the wrong audio track. Luckily I can just hit the "Audio" button on the SageTV Remote (using SageTV Hd Extenders for all viewing) and it will switch tracks. One or two hits on the Audio button will bring in the correct audio.

I guess what I'm basically saying is that Audio track issues are quite common on Comcast/Xfinity. I have looked at some of these files over the years in VLC and it usually reports some oddity in the audio tracks.
__________________
Wayne Dunham

Last edited by waynedunham; 04-19-2017 at 06:45 AM. Reason: Speeling Airrors
Reply With Quote
  #13  
Old 04-19-2017, 06:48 AM
HokiePerogi HokiePerogi is offline
Sage Advanced User
 
Join Date: Oct 2008
Posts: 187
Quote:
Originally Posted by waynedunham View Post
Was this perchance something recorded off of Comcast/Xfinity? The reason I ask is that at least prior to V9 when I would get an unplayable recording I would use the SageTV built in conversion feature. Many times I would get a viewable recording but it would have the wrong audio track. Either the SAP, or many times the visually impaired track with things like "Two people sit at a desk near an open window" just under the main audio.

Now that I am using V9 I haven't run into any unviewable recordings, but have run into instances that default to the wrong audio track. Luckily I can just hit the "Audio" button on the SageTV Remote (using SageTV Hd Extenders for all viewing) and it will switch tracks. One of two hits on the Audio button will bring in the correct audio.

I guess what I"m basically saying is that Audio track issues are quite common on Comcast/Xfinity. I have looked at some of these files over the years in VLC and it usually reports some oddity in the audio tracks.
This was a bluray backup actually. We host a lot of au pairs in my house, as my wife works for an au pair company....any one in need of live-in childcare ? As such, I typically keep all the audio tracks and subs so that our house guests can watch movies too in their native language or at least with their native subtitles while they are staying with us.
__________________
Server: AMD Phenom II X6 3.20 GHz ♠ 16 GB RAM (15.7 usable)
Capture: HDHomeRun PRIME ♠ Ceton InfiniTV 4 PCIe (Clear-QAM only)
Tuning: OpenDCT v0.5.20-RC2
Software: Windows 7 Ultimate 64-bit ♠ SageTV v9.0.12.504 ♠ Java 1.8.0_111
Clients: 4 x STX-HD300 ♠ 3 x STX-HD200 ♠ MacOS Placeshifter
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PlaybackException Error wayner SageTV Software 12 03-05-2017 05:03 PM
PlaybackException: Error (-10,0..... pvr599 SageTV Software 2 06-02-2010 06:14 AM
PlaybackException srothwell SageTV Beta Test Software 2 01-15-2009 08:31 AM
Error: PlaybackException maudib SageTV Software 1 03-01-2008 10:45 AM
PlaybackException after a few days. hchucky SageTV Beta Test Software 21 06-09-2005 09:26 AM


All times are GMT -6. The time now is 05:47 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.