SageTV Community  

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


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.

Thread Tools Search this Thread Display Modes
Old 08-31-2020, 07:35 AM
gary201 gary201 is offline
Sage Advanced User
Join Date: Dec 2010
Location: Rochester NY
Posts: 150
Sage won't recognize some video files

For several years I've been using PlayOn to record streamed shows off the net (netflix, hulu, pbs, etc.) After moving the recorded files into a defined Import folder, Sage recognizes them (e.g. you can see them on the Videos > Folders page within Sage). Once there, I typically use BMT to update the metadata of the recognized files (season/episode info etc), and flag them as Sage recorded shows so that it appears in the Recordings page.

However, I have a bunch of videos that Sage just refuses to recognize. Enabling the file recovery setting in the file (advanced_video_file_recovery=true) has no effect. I've tried re-streaming/recording them, moving them out and back between rescans, to a different import folder, etc. All of my efforts seem to fail to get Sage to even recognize these files at all.

I have noticed that some (but not all) of them have an apostrophe, parenthesis, or extended character like "" in the filename and Title field of the files embedded metadata. Removing those didn't seem to change the outcome, but leads me to think Sage is ignoring them because of something it doesn't like about the filename or internal metadata.

I've no idea what to try/do next.
Reply With Quote
Old 08-31-2020, 05:44 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
Join Date: Dec 2006
Posts: 2,754
What does Mediainfo details show about an example file that Sage won't recognize? Please post the details here.
Reply With Quote
Old 09-04-2020, 11:45 AM
gary201 gary201 is offline
Sage Advanced User
Join Date: Dec 2010
Location: Rochester NY
Posts: 150
Two screen shots of example files that sage won't recognize in the import folder are attached.
Attached Images
File Type: jpg image.jpg (102.1 KB, 238 views)
File Type: jpg image3.jpg (93.0 KB, 216 views)
Reply With Quote
Old 09-05-2020, 08:33 AM
gary201 gary201 is offline
Sage Advanced User
Join Date: Dec 2010
Location: Rochester NY
Posts: 150
More detail from one of the two:

Complete name : \\nas2.home.lcl\Multimedia\SageTV\Imports\PlayOn\_WontScan\Murdoch Mysteries\Season 7\Murdoch Mysteries - s07e09 Midnight Train to Kingston.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 1.03 GiB
Duration : 44 min 37 s
Overall bit rate : 3 297 kb/s
Collection : Murdoch Mysteries
Season : 7
Part : 9
Track name : s07e09 Midnight Train to Kingston
Performer : Murdoch Mysteries
Performer/Sorted by : Murdoch Mysteries
ContentType : TV Show
Writing application : Lavf57.56.101
Cover : Yes
Comment : Detective Murdoch accompanies convicted murderer James Gillies to his hanging.
Browsepath : Netflix | Search results for "mysteries" | Murdoch Mysteries | Season 7
Date : 2013
HasChapters : 0
PLVF : 1
Path :
Properties : PENvbnRlbnRSYXRpbmc+VFYtUEc8L0NvbnRlbnRSYXRpbmc+PEhEQXZhaWxhYmxlPlRydWU8L0hEQXZhaWxhYmxlPjxJc1BpblByb3RlY3RlZD5GYWxzZTwvSXNQaW5Qcm90ZWN0ZWQ+PFJlbGVhc2VZZWFyPjIwMTM8L1JlbGVhc2VZZWFyPjxGb3JlaWduTWV0YWRhdGFQcm92aWRlcj5uZXRmbGl4LmNvbTwvRm9yZWlnbk1ldGFkYXRhUHJvdmlkZXI+PElEPjcwMjk3MjgxPC9JRD48TGFyZ2VUaHVtYm5haWw+aHR0cHM6Ly9hcnQtcy5uZmx4aW1nLm5ldC8xZjcwYy82OWIyZmQyYjlhNGE2NzY3ODIyODAwNTg1MDAwMmFkM2VmODFmNzBjLmpwZzwvTGFyZ2VUaHVtYm5haWw+PFNlcmllc0VwaXNvZGU+OTwvU2VyaWVzRXBpc29kZT48U2VyaWVzU2Vhc29uPjc8L1Nlcmllc1NlYXNvbj48U2VyaWVzVGl0bGU+TXVyZG9jaCBNeXN0ZXJpZXM8L1Nlcmllc1RpdGxlPjxSZWNvcmRpbmdUaW1lTGltaXQgLz48UHJvdmlkZXJOYW1lPk5ldGZsaXg8L1Byb3ZpZGVyTmFtZT48UmVjb3JkSW5Db25zb2xlU2Vzc2lvbj5mYWxzZTwvUmVjb3JkSW5Db25zb2xlU2Vzc2lvbj48YnJvd3NlUGF0aD5OZXRmbGl4IHwgU2VhcmNoIHJlc3VsdHMgZm9yICJteXN0ZXJpZXMiIHwgTXVyZG9jaCBNeXN0ZXJpZXMgfCBTZWFzb24gNzwvYnJvd3NlUGF0aD4=
ProviderName : Netflix
RecordingTimestamp : 2017-05-23T16:46:18
Sourceid :
Thumbnailurl :
Title/Sort : s07e09 Midnight Train to Kingston

ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 44 min 35 s
Bit rate : 3 200 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.116
Stream size : 988 MiB (94%)
Writing library : x264 core 148 r2748 97eaef2
Encoding settings : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x1:0x111 / me=dia / subme=4 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=4 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=4 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=18 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=0 / rc=cbr / mbtree=0 / bitrate=3200 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=3200 / vbv_bufsize=3200 / nal_hrd=none / filler=0 / ip_ratio=1.41 / pb_ratio=2.00 / aq=1:1.00
Codec configuration box : avcC

ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 44 min 37 s
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 61.1 MiB (6%)
Default : Yes
Alternate group : 1
Reply With Quote
Old 09-05-2020, 10:51 PM
xjim1's Avatar
xjim1 xjim1 is offline
Sage Advanced User
Join Date: Sep 2010
Location: colorado
Posts: 221
Well, I would normally ask if they're playable in another player, but my experience is that Sage doesn't appear to inspect the file before displaying it, as long as it has a valid extension and is not zero length. I just created a test.mp4 in an import folder with a bunch of text in it, and Sage saw it after a rescan.

I've also seen my share of bizarre behavior:
A problem where, in one of my import directories, it would not recognize a valid sub-folder containing mp4 files. If I would create another sub-folder beneath that one and move the video files there, or if I put the videos in the top level import directory, it would see it just fine.

In another instance, I had to rename the file to something completely different AND move it to a separate directory for it to be seen.

Don't know if this is much help. Just to be clear, I'm referring only to the Videos section, nothing to do with Recordings.
Reply With Quote

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
Media Library doesn't recognize .ts files recorded by Sage plawlor SageTV Software 8 06-06-2013 05:33 AM
Does sage recognize mp4 or m4v? gveres SageTV Software 0 02-09-2009 10:28 PM
SageTV with English User Interface to recognize media files written in cyrillic? krasev SageTV Software 9 09-11-2006 07:29 PM
How to get Sage 2.2.7 to recognize both tuners jmcqueen Hardware Support 20 10-03-2005 09:21 AM

All times are GMT -6. The time now is 11:14 AM.

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