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!
+ Reply to Thread
Results 1 to 10 of 10
-
-
-
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)
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
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%)
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%)
-
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.
-
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)
Similar Threads
-
2 video streams in 1 transport stream ?
By illus in forum DVB / IPTVReplies: 1Last Post: 19th Jul 2012, 18:43 -
muxing .264 stream to .mkv, or to .mp4 first, an then to .mkv ?
By codemaster in forum Video ConversionReplies: 2Last Post: 20th Sep 2011, 20:50 -
Cannot extract an h264 out of a transport stream (.ts --> .mp4)
By dirk205 in forum Video ConversionReplies: 0Last Post: 13th Sep 2011, 02:39 -
Avanti -FFmpeg Conversion to Transport stream
By manding74 in forum Video ConversionReplies: 20Last Post: 6th Jul 2011, 08:44 -
Remux H.264 Transport Stream as .mp4 (or other)
By Maddux in forum MacReplies: 7Last Post: 2nd Jun 2008, 13:41