VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member
    Join Date
    Oct 2011
    Location
    Spain
    Search Comp PM
    I'd like to convert the MPEG TS files recorded with an USB TV card, using Me-TV program, to a more common format (AVI).

    I'd like to keep all streams (all audios and all subtitles), but if I first demux all streams and convert the video+audio tracks to AVI, and then I delete the commercials, I'll have to manually resync the subtitles

    Is there any way to delete first the commercials from a MPEG TS file so that the timing of the subtitles remain correct?

    Thanks in advance.
    Quote Quote  
  2. Member netmask56's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Search Comp PM
    Not sure what country you are in - this is important to know as MPEG TS files can be different depending on transmission standards.
    Or post a mediaInfo log of a typical file ( text tree)
    If the video is MPEG2 and NOT H264 you can use ProjectX in Demux mode and edit out commercials using the time line editor, then when you hit demux it produces an audio file a video file and a subtitle file all in sync.
    SONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851
    Quote Quote  
  3. Member
    Join Date
    Oct 2011
    Location
    Spain
    Search Comp PM
    Thanks for answering.

    ProjectX is what I use to demux the files, but I didn't know it had an editor. I am taking a look into it, but I can't find it. Where is it and how do I delete the commercials exactly?

    It is MPEG2:

    Code:
    General
    ID                               : 187 (0xBB)
    Complete name                    : Z:\media\Datos\TDT\test.mpeg
    Format                           : MPEG-TS
    File size                        : 70.1 MiB
    Duration                         : 4mn 17s
    Overall bit rate mode            : Variable
    Overall bit rate                 : 2 284 Kbps
    
    Video
    ID                               : 1101 (0x44D)
    Menu ID                          : 1000 (0x3E8)
    Format                           : MPEG Video
    Format version                   : Version 2
    Format profile                   : Main@Main
    Format settings, BVOP            : Yes
    Format settings, Matrix          : Custom
    Format settings, GOP             : M=3, N=21
    Codec ID                         : 2
    Duration                         : 4mn 16s
    Bit rate mode                    : Variable
    Bit rate                         : 1 977 Kbps
    Maximum bit rate                 : 15.0 Mbps
    Width                            : 704 pixels
    Height                           : 576 pixels
    Display aspect ratio             : 16:9
    Active Format Description        : Full frame 16:9 image
    Frame rate                       : 25.000 fps
    Standard                         : PAL
    Color space                      : YUV
    Chroma subsampling               : 4:2:0
    Bit depth                        : 8 bits
    Scan type                        : Interlaced
    Scan order                       : Top Field First
    Compression mode                 : Lossy
    Bits/(Pixel*Frame)               : 0.195
    Stream size                      : 60.5 MiB (86%)
    
    Audio #1
    ID                               : 1103 (0x44F)
    Menu ID                          : 1000 (0x3E8)
    Format                           : MPEG Audio
    Format version                   : Version 1
    Format profile                   : Layer 2
    Codec ID                         : 3
    Duration                         : 4mn 17s
    Bit rate mode                    : Constant
    Bit rate                         : 128 Kbps
    Channel(s)                       : 2 channels
    Sampling rate                    : 48.0 KHz
    Compression mode                 : Lossy
    Delay relative to video          : -364ms
    Stream size                      : 3.93 MiB (6%)
    Language                         : Spanish
    
    Audio #2
    ID                               : 1104 (0x450)
    Menu ID                          : 1000 (0x3E8)
    Format                           : MPEG Audio
    Format version                   : Version 1
    Format profile                   : Layer 2
    Codec ID                         : 3
    Duration                         : 4mn 17s
    Bit rate mode                    : Constant
    Bit rate                         : 64.0 Kbps
    Channel(s)                       : 1 channel
    Sampling rate                    : 48.0 KHz
    Compression mode                 : Lossy
    Delay relative to video          : -364ms
    Stream size                      : 1.96 MiB (3%)
    Language                         : v.o
    
    Text
    ID                               : 1111 (0x457)
    Menu ID                          : 1000 (0x3E8)
    Format                           : DVB Subtitle
    Codec ID                         : 6
    Duration                         : 4mn 3s
    Delay relative to video          : 5s 296ms
    Language                         : Spanish
    Quote Quote  
  4. Member edDV's Avatar
    Join Date
    Mar 2004
    Location
    Northern California, USA
    Search Comp PM
    Usually if you cut transport streams at I frames (1/2 sec, 12 frame GOP usually for DVB), audio will maintain sync. This should be true for subtitles but I'm not sure.

    But your info shows a 21 frame GOP so I frames will be separated by 21/25 = 0.84 sec
    Format settings, GOP : M=3, N=21
    Last edited by edDV; 21st Oct 2011 at 13:43.
    Recommends: Kiva.org - Loans that change lives.
    http://www.kiva.org/about
    Quote Quote  
  5. Member netmask56's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Search Comp PM
    Edea, Take a look at my Wiki on ProjectX although I haven't updated the images for the latest version it's only cosmetic the changes. When you open ProjectX there is a large preview pane and below that there are transport controls. You scroll to where you want to start your video and insert a cut point - the timeline turns red to the left of the cut point. Then scroll to the start of the first commercial and insert another cut point this time the time line to the right will turn red scroll to the end of the commercial and insert a cut point the time line to the right turns green leaving the commercial portion red. Basically it edits the same way as VideoRedo and many other simple editors. If you are using the latest version of PX then after loading the file you need to click on the cut control tab at the bottom of the screen (there are 3 tabs) You can now get near frame accurate cuts with the fine control navigation tool.
    SONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!