Repairing a corrupt recording

Frequently Asked Questions and How To topics for new users.

Moderators: Gully, peteru

Post Reply
User avatar
DaveR
Wizard
Posts: 2527
Joined: Tue May 29, 2007 01:24
Location: Sydney

Repairing a corrupt recording

Post by DaveR » Tue Apr 01, 2008 18:51

I had a recording that the beyonwiz refused to play after I had edited it. So I copied it, as a tvwiz 'file', to my PC to investigate what was wrong with it. Sure enough one of the 'header' files was corrupt. The stat file was 0 KB and when I tried to open it with a hex editor Windows said I was trying to open a link!

So I copied a stat file from another recording and bingo!!! The tvwiz recording can now be played by the beyonwiz. 8)

FYI The stat file that I used was from a completely different recording. Different channel. Hugely different length and size. But it still worked.
cheers
DaveR

IceTV, T4, T3, T2, P2, S1, FV-L1(P1 fw), TRF-2460, HDR-7500 and Skippa

sub3R
Wizard
Posts: 2638
Joined: Sun Sep 09, 2007 12:20
Location: Port Macquarie NSW. Reception from Middle Brother.

Post by sub3R » Tue Apr 01, 2008 19:09

Hi Dave,
Did you by any chance try renaming the corrupt recording? I have had a similar situation caused by editing a good recording on the BW & it was made playable again by renaming the recording on the BW. I don?t know if the stat file was 0KB though.
Dennis
U4, Bluey USB tuner, WizTV > Yamaha RX-V3900 > Sony KDL46X2000 TV ||
U4, Bluey USB tuner > Sony KD-43X85J TV > Yamaha YAS-209 || FTA EPG ||
Harmony 650s || (U4s on 19.3.20200901 & T2 on 19.3.20200823) ||
Technicolor DJA0230TLS modem/router, Ethernet LAN, Win10 Home 64 ||

User avatar
DaveR
Wizard
Posts: 2527
Joined: Tue May 29, 2007 01:24
Location: Sydney

Post by DaveR » Tue Apr 01, 2008 19:27

sub3R wrote:Did you by any chance try renaming the corrupt recording?
Nope. But I just did, and it did not work.

Interestingly, the tvwiz folder that I transferred to my PC did not include the date or time in the folder name, like tvwiz folders normally do. I wonder if this had something to do with the corrupt stat file.

I'm still not sure what the stat file is for. But after renaming a recording that has a corrupt stat file the new name is not saved.
Last edited by DaveR on Tue Apr 01, 2008 21:30, edited 1 time in total.
cheers
DaveR

IceTV, T4, T3, T2, P2, S1, FV-L1(P1 fw), TRF-2460, HDR-7500 and Skippa

sub3R
Wizard
Posts: 2638
Joined: Sun Sep 09, 2007 12:20
Location: Port Macquarie NSW. Reception from Middle Brother.

Post by sub3R » Tue Apr 01, 2008 19:43

Ok, good info. Looks like there are at least 2 known different types of recording corruption caused by editing a recording by the BW. Next time I get a corrupt recording caused by editing I?ll copy it to the PC & see what it shows.
Dennis
U4, Bluey USB tuner, WizTV > Yamaha RX-V3900 > Sony KDL46X2000 TV ||
U4, Bluey USB tuner > Sony KD-43X85J TV > Yamaha YAS-209 || FTA EPG ||
Harmony 650s || (U4s on 19.3.20200901 & T2 on 19.3.20200823) ||
Technicolor DJA0230TLS modem/router, Ethernet LAN, Win10 Home 64 ||

User avatar
tonymy01
Uber Wizard
Posts: 6373
Joined: Fri Jun 01, 2007 15:25
Location: Sydney, Australia DP-S1-1TB, DP-P2-2TB, DP-T4-2TB, DP-T4-BB... too many!
Contact:

Post by tonymy01 » Tue Apr 01, 2008 20:26

Dave, you will find on one thread or another where I had a file that wouldn't play, and found the stat file was 0bytes for some reason. I simply copied one from a recording of similar length and same channel (thru telnet) and it played fine. Good to know that you can copy any old stat file across, this could be another good web interface function of my proposed recent idea "superWizremote" app I think, where you can select a recording and say "repair" via a web interface and superWizremote copies across a stat file.
Regards
Tony

User avatar
DaveR
Wizard
Posts: 2527
Joined: Tue May 29, 2007 01:24
Location: Sydney

Post by DaveR » Tue Apr 01, 2008 21:28

Good Idea Tony. The app can just copy any stat file. And if none exist it can just write a new generic one.
cheers
DaveR

IceTV, T4, T3, T2, P2, S1, FV-L1(P1 fw), TRF-2460, HDR-7500 and Skippa

prl
Wizard God
Posts: 32708
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Post by prl » Tue Apr 01, 2008 21:38

What is the stat file for, and why isn't it inside the header.tvwiz file? It seems to have vast acres of spare space!
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

sub3R
Wizard
Posts: 2638
Joined: Sun Sep 09, 2007 12:20
Location: Port Macquarie NSW. Reception from Middle Brother.

Repairing a corrupted edited recording

Post by sub3R » Sat Jan 16, 2010 13:58

Repairing a corrupted edited recording.

Another method is to convert the corrupted edited tvwiz recording to an .mpg file.

I had a recording containing two consecutive shows which came up with ?error loading media file? after trying to delete the 2nd show using ?delete A -> B? (this recording had previously been edited with ?keep A -> B?). The corrupted recording was listed in the file player as having a time duration of ?0 sec?.

I carried out the following to make the recording playable as an .mpg file:
  1. Copied the recording from the Int HDD to the Ext HDD then onto the PC?s HDD.
  2. Noticed that tvwiz files were numbered 0010 through to 0148 inclusive (all 32,768kB) plus 0383 (32,768kB), plus the header.tvwiz, stat & trunc files. I suspected 0383 was causing the problem so after carrying out a few tests this was deleted.
  3. Used WizFX to convert the tvwiz recording to a .ts file. (When this was copied back onto the Ext HDD & replayed with the Wiz, the video was fine but audio was absent).
  4. Ran the .ts file through 'VideoReDo TVSuite > Quickstream Fix' to fix any errors & also create an .mpg file.
  5. Copied the .mpg file back onto the Wiz Int HDD (via the Ext HDD) & this replayed fine with normal navigation. The file was as per the last ?delete A -> B? edit.
Notes:
With WizFX I created a .ts file from the full tvwiz recording (including 0383) & when examined with 'VideoReDo TVSuite' & found I could only navigate approx 40% through the recording which appeared to be up to the position where I set the ?A? marker to delete the 2nd show. When I finally found a way to get into the last part of the recording I noticed the very start of this (0383) contained severe pixilation & was obviously the last part of the recording (end of the 2nd show). It appears that when ?popup? was pressed to set the ?B? marker at the end of the 2nd recording, the ?B? marker was somehow set a short distance from the end leaving a short section at the end which was number 0383.

I tried renaming the corrupted recording but still got the ?error loading media file? when attempting to replay.

I tried replacing the ?stat? file with a ?stat? file from a known good recording as per Dave??s recommendation but in this case it didn?t fix the recording. I tried this with & without file 0383. The ?stat? file was the normal 1kB anyway whereas Dave?s was 0kB.

The above recording was recorded & edited with 01.05.301 f/w.
Dennis
U4, Bluey USB tuner, WizTV > Yamaha RX-V3900 > Sony KDL46X2000 TV ||
U4, Bluey USB tuner > Sony KD-43X85J TV > Yamaha YAS-209 || FTA EPG ||
Harmony 650s || (U4s on 19.3.20200901 & T2 on 19.3.20200823) ||
Technicolor DJA0230TLS modem/router, Ethernet LAN, Win10 Home 64 ||

User avatar
tonymy01
Uber Wizard
Posts: 6373
Joined: Fri Jun 01, 2007 15:25
Location: Sydney, Australia DP-S1-1TB, DP-P2-2TB, DP-T4-2TB, DP-T4-BB... too many!
Contact:

Post by tonymy01 » Sat Jan 16, 2010 14:19

Sometimes you get that (0 sec duration) files when you delete or move stuff, and either going to standby or reindexing seems to fix it, did you try those things? It seems to be more of a potential to happen when you do multiple edits on a file (which can cause another issue of having stuffed pointers in the header.tvwiz file...).
Tony

sub3R
Wizard
Posts: 2638
Joined: Sun Sep 09, 2007 12:20
Location: Port Macquarie NSW. Reception from Middle Brother.

Post by sub3R » Sat Jan 16, 2010 19:10

Yes I tried reindexing & switching to standby a couple of times Tony, but no joy.
I agree the risk is greater when doing more than one edit on the same recording ? I carry out a single edit on every recording I make with rarely an issue.
Dennis
U4, Bluey USB tuner, WizTV > Yamaha RX-V3900 > Sony KDL46X2000 TV ||
U4, Bluey USB tuner > Sony KD-43X85J TV > Yamaha YAS-209 || FTA EPG ||
Harmony 650s || (U4s on 19.3.20200901 & T2 on 19.3.20200823) ||
Technicolor DJA0230TLS modem/router, Ethernet LAN, Win10 Home 64 ||

User avatar
NaturalSelector
Apprentice
Posts: 46
Joined: Fri Aug 14, 2009 00:15
Location: Here
Contact:

Post by NaturalSelector » Wed Jan 05, 2011 21:49

I was wondering if you folks have ever come accross a corruption with a file on the Beyonwix (DP-P2) where after editing the filename, the whole recording dissapears.. (90% of the time, never to be seen again.. 10% of the time it might reappear in a weeks time or so)

When i use WizFX after it indexes the contents of the P2 the 'missing' recordings are displayed with a square (ascii character) in fron of the filename.

I am unable to copy these files to my PC. (As soon as i choose a place to copy them to, the transfer box pops up and a split second later it dissapears.. nothing at all is copied)

Is there any way i can delete them from the P2?

Incase this helps at all: I have a 500Gb DP-P2. from a few years back. it was just after the 500gb model was released.
Firmware Version: DPP2-01.05.302
[I realise there is an updated firmware available, but this is the only problem we have experienced.. so i don't want to upgrade, and potentially introduce more problems, like the ones i read about on here and DTVforum!]

Thanks

IanSav
Uber Wizard
Posts: 16846
Joined: Tue May 29, 2007 15:00
Location: Melbourne, Australia

Post by IanSav » Wed Jan 05, 2011 22:03

Hi NaturalSelector,

Please stop splattering the forum with the same question.

I answered this for you the *first* time you asked.

Regards,
Ian.

User avatar
NaturalSelector
Apprentice
Posts: 46
Joined: Fri Aug 14, 2009 00:15
Location: Here
Contact:

Post by NaturalSelector » Wed Jan 05, 2011 22:15

Sorry champ,
i havn't ment to negitively 'splatter' the forums with anything.. I have been searching for hours and hours, before posting, then i found a topic that was partially similar to what i was looking for.. then as i kept searching i found topics that more accuratley fitted the problem i was having..(And some of the topics were fairly old, so i wasn't sure if they would be truley relevant.)

My sincere apologies for any inconvienience i have caused you and others. :oops:
I thought i was doing the right thing by trying to find an existing topic, instead of asking what could have been a 'common problem'

Unfortunatley the manuals were lost a year or so ago when we moved twice.. i did try an google for a manual, but figured if i kept searching Beyonwiz forums i would find my answer.

Thanks for your help in answering my question.. twice :)
I'll give the re-indexing thing a crack.

IanSav
Uber Wizard
Posts: 16846
Joined: Tue May 29, 2007 15:00
Location: Melbourne, Australia

Post by IanSav » Wed Jan 05, 2011 22:25

Hi NaturalSelector,

The problem with asking the same question repeatedly in different places is that it makes it *much* harder for people who follow to find the answers they seek.

You can access an online copy of the manual here: http://www.beyonwiz.com.au/downloads.php

Regards,
Ian.

User avatar
NaturalSelector
Apprentice
Posts: 46
Joined: Fri Aug 14, 2009 00:15
Location: Here
Contact:

Post by NaturalSelector » Thu Jan 06, 2011 08:57

Yes i'm currently experiencing said hardness..

Fantastic - Thanks for the link to the manual.
Did you know that the 'Soundtrack button' can be found bottom right of the remote?? :wink:

prl
Wizard God
Posts: 32708
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Post by prl » Thu Jan 06, 2011 09:10

NaturalSelector wrote:...
i havn't ment to negitively 'splatter' the forums with anything.. I have been searching for hours and hours, before posting, then i found a topic that was partially similar to what i was looking for.. then as i kept searching i found topics that more accuratley fitted the problem i was having..(And some of the topics were fairly old, so i wasn't sure if they would be truley relevant.). ...
Hi, NS. Welcome to the forum. Your error is one often made by new posters, and they all get the same advice. :D

In addition to what Ian has mentioned, the people on the forum most likely to answer your questions read all the topics in the forum. Your post will get seen by someone who may be able to help.

Also, as a search tip, try searching with the options "Search for all terms" and "Display results as: Posts". I find that that usually gets me the best results.

You might want to have a look at the How Best To Post About Problems With Your Beyonwiz FAQ. The content of your post (as opposed to the number of times it was posted) was enough for the regulars to have a good idea of what the problem was, but Ian's advice in the FAQ is good for more complicated or obscure problems, especially if someone needs to be able to reproduce the problem themselves in order to help.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

User avatar
NaturalSelector
Apprentice
Posts: 46
Joined: Fri Aug 14, 2009 00:15
Location: Here
Contact:

Post by NaturalSelector » Thu Jan 06, 2011 12:23

Thanks for that prl. Good to know.

Last night as i worked the search engine, i eventually worked out how to find the best Topics relating to my problem..
Unfortunatley the first couple of tiems i posted, i thought that was as close as i was going to get.. but as my searching abilities were sharpened, the results became more precise. So i felt i perhaps should write in those too..
Glad to know that you responsive folk check the whole forum!.. Elsewhere people seem to only stick to a single/specialised forum/topic, where unless it's posted in the exact place, no-one takes notice..

Thanks folks for helping me out and showing me the ropes of the beyonwiz forum :)
DP-P2, HDMI
DP-H1
Samsung 26" LCD TV
More stuff
Other suff

prl
Wizard God
Posts: 32708
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Post by prl » Thu Jan 06, 2011 12:36

NaturalSelector wrote:... Elsewhere people seem to only stick to a single/specialised forum/topic, where unless it's posted in the exact place, no-one takes notice..

Thanks folks for helping me out and showing me the ropes of the beyonwiz forum :)
The Beyonwiz forum is relatively small and fairly specialised, compared to the rambling edifice of the DTV forum, where I only read and post in PVRs, DVRs, HDD & DVD Recorders and Electronic Program Guide Information.

And no problems about the assistance, both with your re-indexing problems and the meta-assistance about the forum.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Post Reply

Return to “FAQs and Tips”