I wonder if some good folks online can help me out with my problem. I want to remux a .m2ts into a .mv4 (or .mp4) with the latest version of FFMPEG. From last years release of FFMPEG, I see TrueHD in a MP4 container is now supported. I want to mux (not transcode).
The file contains 2 streams, 1 Video, 1 Audio, the audio has AC3 fallback included “AC3 core + True-HD. Peak 5445Kbps (core 640Kbps) Sample Rate: 48KHz Channels 5.1”
The command is ffmpeg -i 00000.m2ts -strict -2 -c copy dex2.mp4.
The result is a smaller file 11.4Gb to 10.2Gb, and streams 3 is missing. This is the AC3 fallback. Does anyone know how to remux and combine the both the TrueHD and AC3 with fallback
I did read that MP4 has a limitation with multi audio streams, I could save as M4V, this supports multiply audio streams, but not sure how it will handle TrueHD.
I also notice a difference in bitrates if anyone has any comments there
Any Help will be very welcome
Original with from FFProbe
Input #0, mpegts, from '00001.m2ts':
Duration: 00:53:03.20, start: 4200.000000, bitrate: 29399 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
Stream #0:1[0x1100]: Audio: truehd (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), s32 (24 bit)
Stream #0:2[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s
[Attachment 57229 - Click to enlarge]
The Result is 10.2GB from FFProbe
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'dex2.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.65.100
Duration: 00:53:03.18, start: 0.000000, bitrate: 26407 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 22953 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1(und): Audio: truehd (mlpa / 0x61706C6D), 48000 Hz, 5.1(side), s32 (24 bit), 3408 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id : [0][0][0][0]
+ Reply to Thread
Results 1 to 2 of 2
-
-
By default ffmpeg only maps 1 video, 1 audio and 1 subtitle track. If you want 2 audio tracks you need to map explicitly.
Code:ffmpeg -i 00000.m2ts -map 0 -strict -2 -c copy dex2.mp4
Similar Threads
-
Keep core AC3 track or encode TrueHD to E-AC3?
By slap_monster in forum AudioReplies: 1Last Post: 4th Dec 2020, 11:45 -
How to easily convert a Blu-ray to MP4/M4V/MKV using free tools
By Baldrick in forum User guidesReplies: 18Last Post: 29th Mar 2018, 03:20 -
Convert 5 individual 1080i m2ts with Dolby AC3 to MP4 1080p 50fps
By bloodhand in forum Video ConversionReplies: 61Last Post: 11th Feb 2017, 14:16 -
How to extract CEA-608 CC within an mp4/m4v file into an SRT file on a Mac?
By Emm_W in forum SubtitleReplies: 2Last Post: 13th Sep 2016, 13:03 -
How To Convert iTunes M4V to MP4?
By denim44 in forum Video ConversionReplies: 4Last Post: 12th May 2016, 13:35