Page 1 of 1

Avisynth not refferecing subtitles

Posted: Wed May 25, 2016 10:58 am
by azz
Hi

the avisynth scripts are not passing through DVD subtitle stream info in the inbound mkv file.

FFMPEG works directly with the following filter.

-filter_complex "[0:v]scale=640:480[video];[1:s:0]scale=640:480[sub];[video][sub]overlay[out]" -map [out]

The ffmpeg action FFAStrans is failing with the following output error in the ffmpeg pipe:
Input #0, avisynth, from '\\VBOXSVR\SharedFolder\_Scratch\20160525110551\20160525-111139-778-6EFBEFD4458F\enc_av_customff_20160525-111151-429-2642A432E8E1.avs':
Duration: 00:07:17.28, start: 0.000000, bitrate: 0 kb/s
Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 640x360, 50 fps, 50 tbr, 50 tbn, 50 tbc
Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Stream specifier ':s:0' in filtergraph description [0:v]scale=640:480[video];[0:s:0]scale=640:480[sub];[video][sub]overlay[out] matches no streams.

thanks
arran

Re: Avisynth not refferecing subtitles

Posted: Wed May 25, 2016 4:31 pm
by admin
There is no subtitle track in AviSynth so you have to specify an external file to stream 1 and use that. You do this by adding "-i X:\MyCoolSub.srt " to your custom ffmpeg options.

-steipal

Re: Avisynth not refferecing subtitles

Posted: Thu May 26, 2016 4:43 pm
by azz
Thanks

I was getting an input error when i added the input mkv into my custom ffmpeg, as i gave this a go. I'll experiment some more.

thanks
azz