Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
7th October 2010, 06:11 | #1 | Link |
Registered User
Join Date: May 2002
Posts: 167
|
Can flac or .ass files be muxed into a MP4 container?
I have a MKV file that I wanted to convert into MP4, and avoid re-encoding as much as possible to preserve quality which is why I want to do it manually and avoid automated encoding tools such as handbrake.
After extracting it with MeGui I was left with a .h264 video file, .flac audio file, and a .ass subtitles file. Any attempt to mux the .flac and/or .ass file into an MP4 container failed. First of all, I want to ask if its even possible (without breaking standards and thus making the file incompatible with many devices) to put FLAC audio into an MP4 container? If not then no problem, I can convert it to AAC, a bit of quality loss is acceptable if its the only way. I have no idea what to do with the .ass subtitle file though since I have never worked with soft subtitles before, how can I mux this into an MP4 file without breaking any standards? Do I need to convert it into another format? And if so, how? Finally, if I am forced to go with hard coded subtitles, what would be the best way to encode the video and subtitle track together? I am aware that this would mean I would need to re-encode the video and thus suffer some quality loss... Thanks
__________________
"A train station is where a train stops. A bus station is where a bus stops. On my desk I have a workstation..." - ComradOtter |
7th October 2010, 07:33 | #2 | Link | |
契約者
Join Date: Jun 2008
Posts: 1,576
|
Quote:
The option you can try is to convert audio into alac (but not sure if there is alac decoder in ffdshow... and if it work on devices other that PC...) and subtitles into srt (they will be converted again into ttxt whe you'll mux them to mp4 using mp4box). But anyway this will be ugly. Another option for audio is probably AAC with highest quality setting. Last edited by Keiyakusha; 7th October 2010 at 07:36. |
|
7th October 2010, 07:49 | #3 | Link |
nvidia user
Join Date: Sep 2010
Location: Russia, Abakan
Posts: 92
|
Cyber Akuma,
Why do you need to put .ass subtitles in the container? Do not convert them, leave the outer .ass subtitles. (For compatibility with hardware player subtitles can be sewn into the video.) Last edited by zmaster; 7th October 2010 at 07:51. |
29th October 2010, 14:04 | #4 | Link |
Registered User
Join Date: May 2002
Posts: 167
|
(sorry for not replying to this in a while)
I don't want my videos to be made up of multiple files and would much rather have all the video, audio, subtitles, etc in one file. Is there any way for me to add these subtitles to the MP$ file? Or do I need to convert them to another format before doing so? Also, if I run into a player that can't so soft subtitles, what would be a good way to make a hard subtitled video with these files?
__________________
"A train station is where a train stops. A bus station is where a bus stops. On my desk I have a workstation..." - ComradOtter |
29th October 2010, 15:50 | #5 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
they have to be converted to mp4 timed text format (TTXT). Subrip can do that.
however, mp4box reads .srt files and automatically converts them into ttxt when muxing to mp4. flac audio doesnt fit. i suggest to use the MKV container that can accept both FLAC audio and ASS subs.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
30th October 2010, 18:21 | #9 | Link | ||
Registered User
Join Date: May 2002
Posts: 167
|
Quote:
I couldn't even figure out how to load the subtitles into SubRip, even with googling it. Subtitle Workshop loaded the .ass file just fine and gave me many different formats to work with, but I didn't see the TTXT subtitle format, does Subtitle Format support exporting to this format? Quote:
The original file already is a MKV, I'm trying to convert it to MP4.
__________________
"A train station is where a train stops. A bus station is where a bus stops. On my desk I have a workstation..." - ComradOtter Last edited by Cyber Akuma; 30th October 2010 at 19:01. |
||
31st October 2010, 08:32 | #11 | Link |
Skittle
Join Date: Mar 2008
Posts: 539
|
Perhaps this was true years ago but not in 2010+! The ones that ONLY support mp4 certainly will not support ASS or FLAC. Most hardware players (like WDTV, popcorn hour etc), some bluray players, and even modern TV's support MKV now.
|
13th October 2022, 16:30 | #12 | Link | |
SuperVirus
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
|
Overdue update
Quote:
Since 2017, apparently. :-|
__________________
«Your software patents have expired.» |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|