<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 28/06/12 4:26 PM, Nick Rout wrote:
    <blockquote
cite="mid:CALmzFLYQJG5yeHwxhmeE7Tc5BB=AFXnBZcnuMcknAM2k9n5Zug@mail.gmail.com"
      type="cite">
      <pre wrap="">On Thu, Jun 28, 2012 at 6:19 PM, Damian <a class="moz-txt-link-rfc2396E" href="mailto:myth@surr.co.uk">&lt;myth@surr.co.uk&gt;</a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hello all,

My kids were on a BBC1 TV program about Glastonbury festival a couple of
years ago. The recoding has survived various Myth problems and re-installs,
but I now fear that I've lost it for good.

I have tried and failed to 'export' this file into a more usable format
several times over the years I have had it. Exporting a recording from
MythTV seems to be one of the hardest things to do for some reason, but I'm
not here to complain. Just want to see if there's anything I can do from
here.

I got the impression from a recent thread that creating a cut list and
trascoding a recording with 'lossless' quality would create an MPG file (as
opposed to an nuv). I did that a few days ago. The job seemed to take a very
long time, but I was happy to see that it was no longer in the job queue the
following morning.

Running mythlink.pl showed me that the file was still an nuv file.

Last night, I thought I'd try it again, but found a problem. The recording
is still there from within MythTV, but only partially. If I play the
recording, it just closes after about 15 minutes. I obviously tried this
several times and have also tried playing the file using VLC from a Windows
machine. The file seems to be damaged.

I doubt there's anything that I can do, but would love to hear if any
recovery is possible.
</pre>
      </blockquote>
      <pre wrap="">
I assume you don't have the original file from before you did the
transcode to nuv?

Anyway have you tried something like

ffmpeg -i damagedfile.nuv -vcodec copy -acodec copy newfile.nuv


</pre>
    </blockquote>
    Similarly, mencoder may be able to help with the forceidx flag to
    rebuild the index if the data is there, for example this script: <br>
<a class="moz-txt-link-freetext" href="http://www.mattgrill.com/2009/03/converting-nuv-mythtv-video-to-avi-divx-without-transcoding/">http://www.mattgrill.com/2009/03/converting-nuv-mythtv-video-to-avi-divx-without-transcoding/</a><br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <blockquote><code>#!/bin/bash</code><br>
      <code>
        video="$1"</code><br>
      <code>
        mencoder -ni -oac mp3lame -ovc copy -vf harddup -noskip
        -skiplimit 0 -o test.avi "$video"</code><br>
      <code>
        mv "$video" "$video.done"</code><br>
      <code>
        newvideo="${video/%nuv/avi}"</code><br>
      <code>
        mencoder -forceidx -oac copy -ovc copy -aspect 16:9 -o
        "$newvideo" test.avi</code><br>
      <code>
        rm test.avi</code><br>
    </blockquote>
    It would be worth hunting in the logs to see if you can find any
    reference to this transcode job, see if any error was reported.<br>
    <br>
    I would also make a backup copy of whatever copies of the file you
    still have before running ffmpeg/mencoder/anything on it, just in
    case anything else goes wrong and makes it worse. Depending on how
    much other writing's happenned to the drive, you could even look
    into un-delete tools to see if you can get the original back ( I
    personally haven't tried this on linux, so can't really help much
    here ).<br>
    <br>
    Andrew<br>
    <br>
  </body>
</html>