|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Searching File Format with WebUI
I recently had one of the harddrives in my storage server die. This was made more complicated by the fact that it wasn't just a stand-alone drive, but a member of a VG running under LVM in my linux box. I got it sorted out and repaired the filesystem and thought that I was all set, but I just noticed something weird. Some of my imported media files are now actually snippets of sage recordings! The filenames and file sizes are what they originally were, but when you try to watch them they are definitely MPEG2 sage recordings instead of MPEG4 video.
So far I've been using avicodec to analyze a few files at a time and check for MPEG2 files so I'll know which files are a lost cause, but this is tedious since it takes a few to several seconds to parse each file. Sage has already done this for me for every file, as evidenced by the "File Format: AVI[MPEG4-Video" contained on the detailed info page for any given file when you look at it from the web interface. Is there any way to search for "MPEG2" in the file format field so that I can use Sage to find all my broken files in one pass? |
#2
|
|||
|
|||
I don't know about doing it in the webserver, but you could script it in Linux easily enough.
for every file run a command (ffmpeg, exif) if it is a "bad" file move it somewhere. Send me a PM if you need help with it. B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Play AVI file from DVD drive | jusjoken | SageMC Custom Interface | 3 | 04-04-2008 03:34 PM |
Delete comskip file won't go away. | Les | SageTV Customizations | 0 | 02-29-2008 08:28 PM |
Sage 6.1.9 and 6.2 beta KEEP LOCKING UP | kambo | SageTV Linux | 6 | 11-18-2007 08:11 PM |