VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Member
    Join Date
    Jan 2012
    Location
    Budapest
    Search Comp PM
    Hello!

    It is well known, that the lossless (direct stream copy) transformation of Transport stream files (MTS TS M2TS) into MP4 & MKV format cause FPS problems.
    Forexample 25i files were tranformed into wrong 50p files by ffmpeg commandline and FFMPEG-based softwares.

    Can you recommend a converter, which know the direct-stream copy technology, which can preserve the original frame-rate of tranport stream videos, and which doesn't based on FFMPEG?

    Thank you for your reply!
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Quote Quote  
  3. Member
    Join Date
    Jan 2012
    Location
    Budapest
    Search Comp PM
    Originally Posted by Baldrick View Post

    Both based on ffmpeg, therefore they produced the same fps problems ((
    Quote Quote  
  4. Originally Posted by Stears555 View Post
    Originally Posted by Baldrick View Post

    Both based on ffmpeg, therefore they produced the same fps problems ((

    actually neither are based on ffmpeg

    you can try ffmbc - it has fewer issues with interlaced transport streams

    or gdsmux (comes with haali media splitter) - it's a directshow based muxer, so if your directshow filters are configured properly it has a better chance of working properly
    Quote Quote  
  5. Member
    Join Date
    Jan 2012
    Location
    Budapest
    Search Comp PM
    Originally Posted by poisondeathray View Post
    Originally Posted by Stears555 View Post
    Originally Posted by Baldrick View Post

    Both based on ffmpeg, therefore they produced the same fps problems ((

    actually neither are based on ffmpeg

    you can try ffmbc - it has fewer issues with interlaced transport streams

    or gdsmux (comes with haali media splitter) - it's a directshow based muxer, so if your directshow filters are configured properly it has a better chance of working properly
    Hello!

    I tried hali's gdsmux, but it produced wrong fps too...
    Quote Quote  
  6. maybe your directshow filters aren't configured properly? or you have abnormal stream ?

    you can try ffmbc
    Quote Quote  
  7. The ffmpeg handling of interlaced transport stream is a very well known issue . Do you see how ffmbc gets the fps correct? It even identifies the interlacing, field order correctly:

    Sample 1080i50 AVCHD stream:

    FFMPEG
    Code:
    Input #0, mpegts, from 'test.mts':
      Duration: 00:00:20.29, start: 1.000033, bitrate: 17281 kb/s
      Program 1 
        Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc
        Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 256 kb/s
        Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    FFMBC
    Code:
    Input #0, mpegts, from 'test.mts':
      Duration: 00:00:20.32, start: 0.974189, bitrate: 17259 kb/s
      Program 1
        Stream #0.0[0x1011](und): Video: h264 (High), yuv420p, 1920x1080i tff [PAR 1:1 DAR 16:9], 25.00 fps
        Stream #0.1[0x1100](und): Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s
        Stream #0.2[0x1200](und): Subtitle: pgssub
    When remuxed, the fps is correct . However, interlaced AVC handling can be problematic in mkv or mp4 by other applications. Usually it's best to leave in transport stream

    FFMPEG

    Code:
    Format                                   : MPEG-4
    Format profile                           : Base Media
    Codec ID                                 : isom
    File size                                : 39.6 MiB
    Duration                                 : 20s 288ms
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 16.4 Mbps
    Writing application                      : Lavf54.31.100
    
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4.0
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 2 frames
    Format settings, GOP                     : M=2, N=13
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 20s 280ms
    Bit rate mode                            : Variable
    Bit rate                                 : 16.0 Mbps
    Width                                    : 1 920 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Constant
    Frame rate                               : 50.000 fps
    Original frame rate                      : 25.000 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Interlaced
    Scan order                               : Top Field First
    Bits/(Pixel*Frame)                       : 0.154
    Stream size                              : 38.9 MiB (98%)
    
    Audio
    ID                                       : 2
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Mode extension                           : CM (complete main)
    Format settings, Endianness              : Big
    Codec ID                                 : ac-3
    Duration                                 : 20s 288ms
    Bit rate mode                            : Constant
    Bit rate                                 : 256 Kbps
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 48.0 KHz
    Bit depth                                : 16 bits
    Compression mode                         : Lossy
    Stream size                              : 634 KiB (2%)
    FFMBC
    Code:
    Format                                   : MPEG-4
    Format profile                           : Base Media / Version 2
    Codec ID                                 : mp42
    File size                                : 39.5 MiB
    Duration                                 : 20s 288ms
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 16.3 Mbps
    Writing application                      : FFmbc 0.7
    
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4.0
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 2 frames
    Format settings, GOP                     : M=2, N=13
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 20s 280ms
    Bit rate mode                            : Variable
    Bit rate                                 : 16.0 Mbps
    Width                                    : 1 920 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Constant
    Frame rate                               : 25.000 fps
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Interlaced
    Scan order                               : Top Field First
    Bits/(Pixel*Frame)                       : 0.309
    Stream size                              : 38.9 MiB (98%)
    
    
    Audio
    ID                                       : 2
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Mode extension                           : CM (complete main)
    Format settings, Endianness              : Big
    Codec ID                                 : ac-3
    Duration                                 : 20s 288ms
    Bit rate mode                            : Constant
    Bit rate                                 : 256 Kbps
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 48.0 KHz
    Bit depth                                : 16 bits
    Compression mode                         : Lossy
    Delay relative to video                  : 40ms
    Stream size                              : 634 KiB (2%)
    If you cannot figure it out, upload a small sample stream, there might be some other things wrong with it
    Quote Quote  
  8. Member
    Join Date
    Jan 2012
    Location
    Budapest
    Search Comp PM
    Here is the file: http://dictaphone.atw.hu/mozdony.MTS (it's only 70 Mbyte, PAL Progressive segmented frame 24Mbit/s)
    Last edited by Stears555; 26th Dec 2012 at 15:16.
    Quote Quote  
  9. This isn't an interlaced (content) transport stream (it's 25p content , but encoded interlaced)

    gdsmux and mkvmerge will get the framerate correct, but only directshow players will play it properly - ffmpeg based ones (e.g. vlc, smplayer) will misinterpret the field rate as the frame rate (same ffmpeg problem)
    Quote Quote  
  10. Member
    Join Date
    Jan 2012
    Location
    Budapest
    Search Comp PM
    Are there any development in that problematic situation?
    Quote Quote  



Similar Threads

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