Skip navigation
Currently Being Moderated

Importing .ts files from cable box

Jul 20, 2009 12:09 PM

I've read up a lot on the following problem elsewhere, but wanted to come straight here after not having a lot of luck.

 

I have .ts files of 720p HD video that I captured from a motorola cable box with CapDVHS. They play just fine on my computer, no apparent problems anywhere, with audio or anything.

 

I've read up on muxing/demuxing and have tried countless variations of trying to import them into Premiere/Encore/AME after sending them through various programs and I have yet to completely succeed. USUALLY, the problem is that the audio begins to get out of sink over the course of the 2 hour file, maybe by a couple of seconds at the end(at the beginning it is fine), but other times AME has produced m2v files that cut out with 30 minutes to go and are just black video for the remainder and there are others.

 

So, what I want to know is, if you were me and you had my files and you wanted to import them into Premiere/Encore, etc. What would you do? What are your steps for success? Anyone have any experience with this type of file and Adobe software?

 

I'd like to be able to edit the video and produce Blu-rays from these files...

 
Replies
  • Currently Being Moderated
    Jul 20, 2009 12:31 PM   in reply to AndreiTarr

    I'd get a video camera and shoot the material I want myself, not ripping from a cable box. If you want to continue on this road, use Nero, Cyberlink or any other consumer software, including Notepad. Be aware of the legal limitations however.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 20, 2009 12:48 PM   in reply to AndreiTarr
    But I don't think handling video of all types is too much to ask.

     

    If you want a bloated program that is highly unstable, full of bugs and leaves a 150+ GB footprint, no. Luckily Adobe chose not to go that route and kept to what they are supposed to be good in and even then there are bugs, instabilities and things to be improved.

     

    It is utterly ridiculous to expect a 'pro' editor to be able to handle all kinds of consumer and non-suitable material. There is freeware/shareware for that.

     

    When you go to the butcher for a nice steak, do you expect him to repair the soles of your shoes as well, since he uses cows in his trade? And do you expect him to also sell shoe laces?

     

    A jack-of-all-trades is the last thing we are waiting for.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 20, 2009 12:59 PM   in reply to AndreiTarr

    DGAVCIndex

    AviSynth

    VirtualDub

    Lagarith

     

    1. Use DGAVCIndex to demux the audio stream(s) and make a frame index of the video stream.
    2. Create an .avs script that has one line in it:
      • AVCSource("FrameIndexOfMyCableBoxTSFile.dga")
    3. Load the .avs script file into VirtualDub and save as a Lagarith .avi file.
    4. Import the demuxed audio stream and the Lagarith .avi file into Pr and edit away.

     

    -Jeff

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 20, 2009 1:06 PM   in reply to Jeff Bellune

    Nice simple workflow Jeff. Hope it gets the OP to editing the game films.

     

    Thanks,

     

    Hunt

     

    [Edit] PS for similar, with a client's wife's cooking show TV programs, I just hooked the DVR up to my A-D unit, and did a straight Capture using it's software to DV-AVI. These edited fine and the difference in the TV feed and the output DVD were very acceptable. No device control between the software and the DVR, but hey, with the remote in one hand and the mouse in the other, very little extra footage was Captured.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 20, 2009 1:10 PM   in reply to Bill Hunt

    Hunt,

     

    Thanks.  It works on my .m2ts files when I know what the audio and video

    codecs are.  I hope it works on his .ts files.  It's all going to depend

    on what codec his capturing program used to create the .ts files.

     

    The workflow is simple, but it will take a little bit of time in the

    Quick Start guides and help files for DGAVCIndex and VirtualDub to get

    the exact steps required in each program.

     

    -Jeff

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 20, 2009 5:16 PM   in reply to AndreiTarr

    So, what I want to know is, if you were me and you had my files and you wanted to import them into Premiere/Encore, etc. What would you do?

     

    I'd probably use other software.  Premiere tends to like pro media from pro cameras.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 20, 2009 6:46 PM   in reply to AndreiTarr

    So it comes down to info about the source .ts file.  Frame rate?  Codec used (most likely H.264)?  The log file (not the .dga file) created by DGAVCIndex should have some useful info about the frame rate and codec.

     

    The frame rate reported in VirtualDub during export is the speed at which VDub is processing the video, not the intended or actual playback rate.  But that's me only guessing at what you saw and where you saw it because you sort of glossed over that part.

     

    -Jeff

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 20, 2009 7:34 PM   in reply to AndreiTarr

    Since the codec in the .ts file is MPEG2, you made a good choice (the

    only choice!) switching to DGMPEGDec.  The source statement in your

    script is appropriate as well.

     

    After you load the .avs script file into VirtualDub, go to File>File

    Information and make sure the frame size, frame rate and number of

    frames match what DGMPEGDec logged.

     

    Instead of exporting to .avi right away, try just playing the file in

    VirtualDub.  Then, after you export, try playing it in WMP.  How do

    those frame rates compare?

     

    -Jeff

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 20, 2009 8:12 PM   in reply to AndreiTarr

    In the DGMPEGDec log file, the coded# and playback# represent the number

    of frames.

     

    Since it plays fine in VDub before you export, it is the export that is

    likely messing things up.  Here's what I do:

     

       1. Go to the Video menu.  Select Fast Recompress.

       2. Got to the Video menu again.  Select Compression.

       3. In the dialog box that opens, select Lagarith from the codec list.

       4. Click the Configure button.  Do you have a multi-core processor?

          If so, check Use Multithreading.  In the Mode drop-down list,

          select YUY2 and click OK.  Click OK again.

       5. Go to the File menu and choose Save As AVI...

     

    You should be good to go.

     

    This stuff is not easy.  The encoding schemes, file structures, varying

    decoder quality, application design and the occasional lame attempt at

    copy protection all conspire against the end user.  Most users aren't

    pirating copyrighted material; they just want to buy or record one time

    only, and then watch it when they want, on the device(s) that they

    want.  Unfortunately, taking HD material and converting to SD or smaller

    involves lots of computing power, and for the most part, lots of

    different computer programs.  And there's lots of places in the workflow

    to make errors that will be genuinely fatal to the end result.

     

    -Jeff

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 21, 2009 5:58 AM   in reply to AndreiTarr

    I'm running out of ideas.

     

    1. Try exporting from VirtualDub as Uncompressed instead of Lagarith.  Does that help?
    2. Load your Lags .avi from VirtualDub into a program called GSpot.  Please post a screenshot of the GSpot window here.

     

    -Jeff

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 21, 2009 7:37 AM   in reply to Jeff Bellune

    I would think that this FPS issue could be handled along the way in Jeff's suggested workflow. If not, and G-Spot will tell you what you are dealing with, I use a conversion program, DigitalMedia Converter, to go NTSC to PAL and PAL to NTSC a lot. On the files that I am given (all sorts of CODEC's), it has worked fine with Frame Rate conversions. It would be one more step, but might be worth it. Still, there has got to be a way to address this issue in the current workflow - IMHO.

     

    Good luck,

     

    Hunt

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 21, 2009 4:06 PM   in reply to AndreiTarr

    GSpot indicates that VirtualDub created a proper Lagarith 720p60 .avi file.  The error is in your playback chain.  Whatever program or programs you are using to view the exported file, they are smurfing the playback.

     

    Anything that could mess up DirectShow, like Codec packs for example, is the likely culprit.

     

    For essentially bullet-proof playback, I use the KMPlayer here.  Many folks use Media Player Classic.  Windows Media Player is very susceptible to bad codecs and corrupted filters.

     

    -Jeff

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 21, 2009 4:49 PM   in reply to AndreiTarr

    AVI needs to be transcoded, AC3 will pass through.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 21, 2009 4:55 PM   in reply to Harm Millaard

    Harm is correct, but the good news is that all of that can be done in

    Encore.

     

    You're welcome.

     

    -Jeff

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 21, 2009 5:08 PM   in reply to AndreiTarr

    For DVD there is no alternative to MPEG2-DVD. That is the only format allowed.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 21, 2009 5:11 PM   in reply to AndreiTarr

    H.264 takes longer to transcode, but produces better quality than MPEG2

    at similar bit rates.  That's even more important when sports videos are

    involved.  As always, test a short segment and compare for yourself. 

    And if burning to BD, make sure to use an RE disc to avoid wasting a

    blank disc.

     

    -Jeff

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)