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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th December 2013, 04:11   #1  |  Link
Nozdrum
Registered User
 
Join Date: May 2013
Posts: 31
Can x264 keep the attachments from the input file?

Is it possible to force x264 to keep the attachments from the source files? like the subtitles, so that remuxing the output file is not needed anymore. Any idea?
Nozdrum is offline   Reply With Quote
Old 16th December 2013, 12:20   #2  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 826
x264 is pure video encoder, it doesn't care about any audio, subtitle or another data tracks but video. You should use MKVToolnix to remux your x264 output to include attachments, audio, subtitles or any other metadata you need.
kypec is offline   Reply With Quote
Old 16th December 2013, 16:54   #3  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
@Nozdrum: You could use ffmpeg with libx264 instead of the x264 binary. ffmpeg support passing through audio and subtitles while only encoding the video.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 17th December 2013, 01:17   #4  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
It's always better to remux to optimize the indexing (and therefore seeking). If using mkv, mkvtoolnix is also gives slightly smaller files than ffmpeg's muxer, but it's usually a trivial difference.

If you aren't concerned about seeking performance, the ffmpeg route is reasonable.
foxyshadis is offline   Reply With Quote
Old 23rd December 2013, 06:45   #5  |  Link
Nozdrum
Registered User
 
Join Date: May 2013
Posts: 31
I think mkv merge is still the best, probably I'll stick with it.
Nozdrum is offline   Reply With Quote
Reply

Tags
attachments, mux, output file, subtitles, x264

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 23:51.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.