VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 4 of 4
  1. Hey there,

    I have this video file on .ts format.
    It contains advertisements at the beginning and the end. In addition, audio is somewhat faster than the video.

    Here what I did:

    1. I trimmed out the necessary part using Avidemux. It seems to recognize and cut i-frames correctly with Ffmpeg.

    2. I delay the audio to 100ms using Ffmpeg command line.
    ffmpeg.exe -i [input.ts] -itsoffset 0.1 -i [input.ts] -vcodec copy -acodec copy -map 0:0 -map 1:1 [output.ts]

    3. Video played okay but playtime was incorrect. Playtime shown in the media player was shorter than the actual content.
    Regardless of its playtime, it continued to play till the end.

    Please advise me if I did something wrong.

    4. Alternatively, I used eac3to to demux the file, and mux that into MKV container.
    While splitting and muxing it, MKVToolnix seems to fail to delay the audio properly.

    Any suggestion?

    Here's the Mediainfo of the original.

    ID : 17488 (0x4450)
    Complete name : D:\W**.ts
    Format : MPEG-TS
    File size : 17.3 GiB
    Duration : 2 h 0 min
    Start time : UTC 2014-07-26 20:14:35
    End time : UTC 2014-07-26 22:14:55
    Overall bit rate mode : Variable
    Overall bit rate : 20.6 Mb/s
    Network name : D**
    Original network name : A**

    ID : 576 (0x240)
    Menu ID : 192 (0xC0)
    Format : MPEG Video
    Format version : Version 2
    Format profile : Main@High
    Format settings, BVOP : Yes
    Format settings, Matrix : Custom
    Format settings, GOP : Variable
    Codec ID : 2
    Duration : 2 h 0 min
    Bit rate mode : Variable
    Maximum bit rate : 24.0 Mb/s
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate : 23.976 (24000/1001) FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Scan order : 2:3 Pulldown
    Compression mode : Lossy
    Time code of first frame : 14:14:15:10
    Time code source : Group of pictures header
    GOP, Open/Closed : Open
    Color primaries : BT.709
    Transfer characteristics : BT.709
    Matrix coefficients : BT.709

    ID : 577 (0x241)
    Menu ID : 192 (0xC0)
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format version : Version 2
    Format profile : LC
    Muxing mode : ADTS
    Codec ID : 15
    Duration : 2 h 0 min
    Bit rate mode : Variable
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 kHz
    Frame rate : 46.875 FPS (1024 spf)
    Compression mode : Lossy
    Delay relative to video : -264 ms

    ID : 513 (0x201)
    Menu ID : 192 (0xC0)
    List : 576 (0x240) (MPEG Video) / 577 (0x241) (AAC) / 326 (0x146) (ARIB STD B24/B37)
    Service name : W**
    Service provider : W**
    Service type : digital television
    Quote Quote  
  2. Hi,
    You may try to sinc play time with VLC.

    You play the video and press J to go forward and K to go backward.
    Each hit will move the sound by 50 ms.

    When you feel you're synchronized ,just re-record your video.
    To do so: Click on View/advanced controls.
    A brand new recording button will appear to you.
    Set up the destination file, first. Tools/preferences/readings-codecs/capture files.

    P.S. The names of the tabs and descriptions might be slightly different as my VLC version is in French.
    Quote Quote  
  3. Thanks! But re-recording sounds like re-encoding.
    Quote Quote  
  4. Member netmask56's Avatar
    Join Date
    Sep 2005
    Sydney, Australia
    Search Comp PM
    TSDoctor will demux it for you and eliminate any transmissions errors, same for VideoRedo Suite....... just *might* be ok in the free program ProjectX altho the bit rate might defeat it. You can get trial versions. Also Womble will edit and or demux altho you will lose subtitles if that's important. TSDoctor is the best IMO especially since MPEG4 was introduced into Australian TV, prior to that I used ProjectX for tracks similar to yours but at a lower bit rate.
    BeyonWiz T3 PVR ~ Popcorn A-500 ~ Samsung ES8000 65" LED TV ~ Windows 7 64bit ~ Yamaha RX-A1070 ~ QnapTS851-4G
    Quote Quote  

Similar Threads