Digital Video Forums  

Go Back   Digital Video Forums > Other > Archive (Closed) > Video File Formats > MP4, MKV, MPEG-4 AVC (H.264)

LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 24 Dec 2012, 03:54 PM   #1
Junior Member
Junior Member
Join Date: Dec 2012
Posts: 1
Default Mediacoder conversion stages and subtitles

Hey guys,

I'm converting a video for a mobile device and want to hardcode subtitles in mediacoder. And so far so good using mediacoder has worked for numerous amounts of videos. However the latest video I'm trying to convert now does not convert correctly with a mencoder, and avisynth as source codecs. The subtitles are separate .ass files which have successfully hardcoded in the past. I've been able to successfully convert videos using ffmpeg as the source codec, but subtitles do not render into the final video file. Avisynth produces a file but the video stream is much faster than the audio stream, but the converted video has subtitles.

I'm not familiar with the internals of the file formats, but as I understand the conversion process begins by feeding the file into a source codec that produces the raw video, which is then fed into an encoder (x264 in this case) and creates the converted video stream. The same happens with the audio in that a separate audio stream is created also. Then two streams are fed into a multiplexer to finally form the file that contains the streams.

If this is correct, then I want to know when the subtitles are finally hardcoded to the video. Are the subtitle options passed into the multiplexer? Or are they passed into the video encoder?
ChazZeromus is offline   Reply With Quote
Old 25 Dec 2012, 06:16 AM   #2
MilesAhead's Avatar
Join Date: Nov 2006
Posts: 2,615

I would give TEncoder a try. Hard subs are encoded into the video by the video encoder. According to the change log for TEncoder, 3.1 has fixed the problem where ffmpeg could not read .avs scripts. That is where you would use TextSub() filter to hard code the subs if they are text based.. such as .srt .ass .ssa. For image subs you use VobSub() filter.

If you use AvsPMod editor specialized to AviSynth then you can see a preview of the effect of the filters. As example, if the subtitles appear in the frame etc..
MilesAhead is offline   Reply With Quote


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PS3 3D Support Coming In Stages admin Latest News 1 27 Apr 2010 06:12 PM
Help with MediaCoder KnightWalker30 MediaCoder 13 30 Jun 2008 07:27 PM
MediaCoder & Soft Subtitles gonwk MediaCoder 4 18 Jun 2007 04:40 AM
Subtitles Disappear after conversion Stormblade Conversion/Encoding 0 11 Aug 2002 11:29 AM
subtitles and conversion Kabuki_Jo AVI, DivX/Xvid 6 10 Jun 2002 12:51 PM

All times are GMT +10. The time now is 06:14 AM.

Kirsch designed by Andrew & Austin

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit