![]() |
|
General Discussion General discussion about SageTV and related companies, products, and technologies. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Utility To Fix Corrupt MPG File
I could swear I have seen references on here to a utility that can attempt to repair a corrupt MPG file. I have not been able to find it again.
Does anyone what I am talking about? I am trying to get Firewire recording working, and most of the time it works great, but sometimes I get a file that won't play. It gets recorded, and even appears to get comskip processed, but the file won't play on SageTV client, HD200, or even WMP. Anyway, if such a utility exists, I would like to have it take a crack at one of these files that wont play. Thanks! |
#3
|
|||
|
|||
you can also try remuxing the file with tsmuxer (which is free)
|
#4
|
|||
|
|||
Does anybody know how and why .mpg files get corrupted? I had it twice recently that 3 hour long recordings (Sunday night football, recorded via my ATSC/OTA tuner) get corrupted. The files would start and play in Sage while the recording is still in progress, though none of the transport controls would work. But they won't play in Sage anymore once the recording was finished.
I was still able to play them using MPC, and I could even jump forward until a certain point, where apparently a corruption was happening. From that point on MPC would still play them, but without the ability to go forward/backward. The audio was also slightly out of sync. Is there a way to prevent this (e.g. some settings) during the recording to prevent this? |
#5
|
|||
|
|||
you could try encoding the streams as transport streams (TS) instead of as a program stream (mpg) by editing the tuner settings in the sage.properties file, TS has more tolerance for error.
things to try: - check tuner drivers, newest isn't always best (although it usually is) - check HD controller drivers, if you're running in AHCI mode make sure you have the vendor specific drivers intalled. The MS ones work but performance isn't good. - defrag the HD - chkdsk the HD - make sure your recording dir is excluded from AV scans - make sure your recording dir is excluded from Windows Search indexing |
#6
|
||||
|
||||
Are your recording drives formatted for 64k blocks? Is your hard drive going bad?
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#7
|
|||
|
|||
Quote:
I'll definetly try using TS instead. My hd pvr recordings (which are h.264 TS) don't show any of these problems, which is also a reason why I believe it's not hard disk related. The hard disk is pretty new as well. The tuner driver is an interesting question as the tuner (Saber DA-1N1-E)gets natively supported in Win 7, but the manufacturer only has an older version on their web site. I used the older driver previously on Vista (with Media Center and Sage), without having problems. So I might try that one as well. |
#8
|
|||
|
|||
One more thing to try is replacing the coax to the tuner card, if it's not shielded correctly or kinked it could be the root cause.
|
#9
|
|||
|
|||
That one is fine. Reception is fine overall.
|
#10
|
|||
|
|||
Also, one more comment about the SATA / AHCI driver. Based on what information are you basing the statement that the Windows inbox driver is worse than the manufacturer's driver?
At least in my case (Win7 x64, 780g based Gigabyte board) the inbox driver performs much better than an AMD driver that I tried. I installed AMD driver (version 1.2.0.125) that I downloaded from the Gigabyte web site, but it performs very erratic, e.g. the system hangs for almost a a minute after log-on with the hard disk LED being on all the time. I also got a 10 second interruption while listening to a song (?!), which I've never had before. So I'm back with the original driver, which works just fine. |
#11
|
|||
|
|||
The original poster is recording with FireWire, I'm doing the same and every once in a while I have this issue. Can you change the encoding type for Firewire recordings? Perhaps this will help solve my problem.
|
#12
|
|||
|
|||
How are you capturing the FW recordings?
|
#13
|
|||
|
|||
From my Motorola DCT6200 (I think that's the model) to a firewire port on my WHS. I'm using the drivers from FireSTB and SGraphRecorder is the capture device.
|
#14
|
|||
|
|||
I think SGraphRecoder lets you provide a graph. The muxer in the graph determines the container type. If you're not using the sage muxer you could try it; by default it writes TS.
|
#15
|
|||
|
|||
This file corruption simply occurs in fire-wire captures... It has nothing to do with defrag etc.. I have recorded to an empty fresh formatted drive and get corruption.
There are threads all over the place in the IEE capture thread. I have a total of 8 other tuners and never got a corrupted file until I started capturing fire-wire.... when capturing HD through fire-wire its hit and miss. I simply gave up on it until I get a HDPVR. I only capture the SD recordings through fire-wire using a different graph that demultiplexes and multiplexes. So it is easy to say you never get corruption.... if you do not capture through fire-wire..
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 11-03-2009 at 07:07 PM. |
#16
|
|||
|
|||
Same here for DVB-T capture in Australia. There are always some kind of errors in the capture recordings. It is just a matter of how bad it is. Most of the time, I can ignore it. Sometimes manual fixing using a tool can fix it all.
At times, it is just beyond repair ................. This was never a problem back in the days when I was using hardware MPEG2 encoder, but OTA signal handling is a different story. http://forums.sagetv.com/forums/show...3&postcount=23
__________________
SageTV 6.6.2 / 42" Plasma Panasonic TH-42PX600A/ Intel Pentium DC E6500/ 2Gb Ram/KWorld DVB-T PC160-2T/ Logitech Harmony Remote X360/ Gigabyte GeForce 8500 GT (Silent)/ Winfast DTV1000T/ WD Caviar Green 808Gb HD/ Win 7 Ultimate/ Mission Cinema 7/ Denon AVR-1800 |
#17
|
||||
|
||||
There hasn't been much development but this tool should help clean up.
TSPE - Transport Stream Packet Editor Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Utility to extract first X bytes from file | carlgar | The SageTV Community | 9 | 03-04-2008 03:24 PM |
Corrupt Installation File | Moat | General Discussion | 2 | 10-21-2006 10:54 PM |
Anyway to recover a wiz.bin.corrupt file? | jbuszkie | SageTV Software | 17 | 03-04-2006 12:28 PM |
Is my Sage Properties File Corrupt? | Esrsa4 | SageTV Software | 4 | 02-18-2005 09:58 PM |
Importing shows after corrupt wiz.bin file. | bling_bling_vr6 | SageTV Software | 3 | 08-04-2003 01:49 PM |