2007-02-23, 04:14 PM
whurlston Wrote:I had not done any recording or watching of recordings lately so I had not seen this, but I did some testing after looking at your logs.Let me explain what is happening.
I see what's happening but sub will have to take it from there (I know the what, not the why). I was looking at your logs and noticed that your recordings started twice. The first time with a .mpg extention which stops recording about 30 seconds later and then starts recording with a .dvr-ms extention. I set up a test recording and here's what happened. (I am only posting snips of my logs. They are pretty much identical to stemarks.)
Started recording a show
This file actually gets saved with a .dvr-ms extention instead of .mpg and is only 5.5k but roughly 30 seconds later:Code:02:13:37.987 INFO BDARecorder:::StartRecording(Silicondust HDHomeRun Tuner (10100B5D) 0, 1, C:\PVR\Recordings\Inside the Actors Studio\Inside the Actors Studio_20070223_01000300.mpg, T:15,110,10~P:10~V:208~A:209~PMT:233~N:>110.10 (eng))
Since the .dvr-ms file already exists, it renames this file to "Inside the Actors Studio_20070223_01000300-1.dvr-ms"Code:02:14:03.941 VERBOSE BDARecorder::StopRecording()
02:14:04.050 VERBOSE BDARecorder::StopRecording() finished
02:14:04.550 VERBOSE getSetting(BDADisableStatusChecks)
02:14:04.550 INFO BDARecorder:::StartRecording(Silicondust HDHomeRun Tuner (10100B5D) 0, 1, C:\PVR\Recordings\Inside the Actors Studio\Inside the Actors Studio_20070223_01000300.dvr-ms, T:15,110,10~P:10~V:208~A:209~PMT:233~N:>110.10 (eng))
Now the recording database is pointing to the file without the "-1" which is only 5.5k. If you go to the recordings directory and delete the 5.5k file and take the "-1" out of the other filename, you can go back into GB-PVR and watch your recording.
This is where sub will have to take over
When a recording is initiated for the first time, GB-PVR supplies a suggested file name, always with the .mpg extension "Inside the Actors Studio_20070223_01000300.mpg". The recording plugin returns the final name, which may be different from the suggested name if it needs to be. You might end up with a .ts file or .dvr-ms file etc.
After 20 seconds or so the Recording Service checks that the file is growing correctly, but finding it is only 5.5k decides to try restarting the recording. This time it uses the new filename "Actors Studio_20070223_01000300-1.dvr-ms". The database is updated to reflect the new filename.
Typically a 5.5k .dvr-ms file means that no video or audio data is present on the audio/video pids specified. This could be because the audio/video pids are incorrect, or because the device its tuned to some other frequency with entirely different set of channels and associated audio/video pids, or because the device is supplying no data.