VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. Member
    Join Date
    Sep 2010
    Location
    India
    Search Comp PM
    Hello,

    I have a mp4 movie file and separate srt subtitle file. How do I add srt into mp4 without hard-coding it? I don't want any re-encoding of the video or audio stream in mp4, but just merge subtitle to it. Is there any software for it? I found that handbrake tries to alter video-audio components when I try to add subtitle, or did I miss some settings in handbrake?

    Thanks in advance
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Use a multiplexer like Mymp4boxgui. Add the mp4. Add the srt. Click Save as and last click Mux.
    Quote Quote  
  3. Depends form player capabilities - hardcoded are most universal but this imply video recoding (as such long time and loss of quality).
    Quote Quote  
  4. Member
    Join Date
    Sep 2010
    Location
    India
    Search Comp PM
    Hi,

    Just bought Bigasoft Total Video Converter 5 and tried to incorporate subtitle into mp4. I kept the video and audio as 'copy' mode and the preview video showed subtitle in it. But the product file did not incorporate it. Wrote a mail to Bigasoft and awaiting reply. Submitting query here to get quick resolution. Please...anyone...it is frustrating...
    Quote Quote  
  5. Don't buy anything. Use My MP4Box GUI like Baldrick suggested.
    They that give up essential liberty to obtain a little temporary safety deserve neither liberty or safety.
    --Benjamin Franklin
    Quote Quote  
  6. Member
    Join Date
    Sep 2010
    Location
    India
    Search Comp PM
    Hi,

    Yes I used mymp4boxgui but unsuccessful. I shall explain in detail

    My initial mp4 is this

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 5 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 1h 34mn
    Bit rate : 2 500 Kbps
    Maximum bit rate : 23.9 Mbps
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Variable
    Frame rate : 23.976 fps
    Minimum frame rate : 15.873 fps
    Maximum frame rate : 24.390 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.113
    Stream size : 1.64 GiB (87%)
    Writing library : x264 core 112
    Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=abr / mbtree=1 / bitrate=2500 / ratetol=1.0 / qcomp=0.60 / qpmin=3 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
    Encoded date : UTC 2015-10-19 18:55:29
    Tagged date : UTC 2015-10-19 03:42:15
    Color primaries : BT.709
    Transfer characteristics : BT.709
    Matrix coefficients : BT.709

    Audio
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : 40
    Duration : 1h 34mn
    Bit rate mode : Variable
    Bit rate : 384 Kbps
    Maximum bit rate : 773 Kbps
    Channel(s) : 6 channels
    Channel positions : Front: L C R, Side: L R, LFE
    Sampling rate : 48.0 KHz
    Compression mode : Lossy
    Delay relative to video : 83ms
    Stream size : 259 MiB (13%)
    Language : English
    Encoded date : UTC 2015-10-19 03:41:26
    Tagged date : UTC 2015-10-19

    I wanted to recode aac to ac3 which I can do successfully using avidemux or Bigasoft TVC5. Both of them didnot alter video file like all other encoders did even when I chose video as 'copy'. I was told that medioinfo might give me wrong info as video altered, and so I used bitrate viewer to check the product files. The satisfied product file is this

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 5 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 1h 34mn
    Bit rate mode : Variable
    Bit rate : 2 500 Kbps
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Variable
    Frame rate : 23.976 fps
    Minimum frame rate : 15.873 fps
    Maximum frame rate : 24.390 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.113
    Stream size : 1.64 GiB (87%)
    Writing library : x264 core 112
    Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=abr / mbtree=1 / bitrate=2500 / ratetol=1.0 / qcomp=0.60 / qpmin=3 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
    Encoded date : UTC 2015-11-18 16:23:04
    Tagged date : UTC 2015-11-18 16:27:13
    Color primaries : BT.709
    Transfer characteristics : BT.709
    Matrix coefficients : BT.709

    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 : 1h 34mn
    Bit rate mode : Constant
    Bit rate : 384 Kbps
    Channel(s) : 6 channels
    Channel positions : Front: L C R, Side: L R, LFE
    Sampling rate : 48.0 KHz
    Bit depth : 16 bits
    Compression mode : Lossy
    Stream size : 259 MiB (13%)
    Encoded date : UTC 2015-11-18 16:23:04
    Tagged date : UTC 2015-11-18 16:27:13

    Now I want to incorporate srt subtitle file into this without any video or audio alteration. Bigasoft and mymp4boxgui replies as successul operation but srt never gets incorporated. Why is that?...or any other way or setting that I need to change?
    Help is appreciated
    If I try incorporating srt into original fine, everything goes fine and it gets incorporated
    Last edited by socrates; 20th Nov 2015 at 12:16. Reason: additional info
    Quote Quote  

  7. Hi

    May be you should post a short sample of your video + of the .srt file?


    I just tested again: adding an .srt to a AVC H.264 MP4, that contains 6-channel .ac3 sound, and even a 2nd track: .mp3, 2-channel (simple test) — but using an old "Yamb 2.0/MP4Box" *, not "mympa4boxgui". It just worked (again)...

    * Under (old...) Windows XP 32-bits. And under Win. 8 64-bits, with some problems in that case, to force "Yamb/MP4Box" to work (because of a wide screen PC...), but it worked also.

    Attached: "MediaInfo" report.
    Last edited by bulgom; 20th Nov 2015 at 14:04.
    Quote Quote  
  8. Member
    Join Date
    Sep 2010
    Location
    India
    Search Comp PM
    Hi all

    Thanks for the various suggestions and effort. I should say that that suggestion from bulgom solved the problem. Now I rencode aac to ac3 within mp4 without altering video using avidemux or Bigasoft TVC, and then use YAMB to mux srt subtitle into it. The resultant file is just the way I want it....whew! Thank you again- solved a month long of irritation....
    Quote Quote  



Similar Threads