VideoHelp Forum
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. Member
    Join Date
    Aug 2014
    Location
    Tunisia
    Search Comp PM
    My avs file :
    Code:
    LoadPlugin("F:\Rango\Production\Pro\ffms2.dll")
    FFVideoSource("F:\Rango\Production\video.mkv")
    LoadPlugin("F:\Rango\Production\Pro\vsfilter.dll")
    Textsub("F:\Rango\Production\sub.ass")
    TextSub("F:\Rango\Production\Pro\logo.ass")
    My x264 .bat file :
    Code:
    x264.exe --preset slow --crf 19 --tune animation  --output "F:\Rango\Production\HD.mkv" "HD.avs"
    "pause"
    Dll Files : ffms2.dll + vsfilter.dll

    every thing is in its place but when the encoding finish .. there is no sound in the vidéo ? is there any dll file missing ? or any missing command ?
    Quote Quote  
  2. vanilla x264 builds do not encode audio. x264 is an AVC video encoder

    You can include in your batch file some provisions other audio encoders and muxing, or use ffmpeg libx264 which can encode audio & video simultaneously
    Quote Quote  
  3. ffVideoSource() doesn't include the audio. And x264 doesn't doesn't encode the audio even if you had audio. You have to deal with the audio it separately.
    Quote Quote  
  4. download ENCODE.zip
    and add some lines to your bat script, you need to encode AAC audio out of your avs script and then mux video and audio into mp4
    remember mp4box.exe needs js32.dll, libgpac.dll, msvcr100.dll to be in that directory, they are also in that zip
    Quote Quote  
  5. I usually just mux the original audio with the encoded video with mmg.
    Quote Quote  
  6. yes, instead of that mp4box line it could be there:
    mkvmerge -o _video.mkv raw_video.h264 audio.m4a
    and add mkvmerge.exe in that directory

    but maybe there could be AC3 inside of mkv instead of AAC then ... or better use your original audio, you just demux your original mkv and use that audio ...
    Last edited by _Al_; 18th Aug 2014 at 19:17.
    Quote Quote  
  7. Where did he say he needed AAC? He's making MKV files so he probably doesn't mind AC3 or whatever is in the source.
    Quote Quote  
  8. he did not say that, that is why I corrected myself
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!