Avisynth not refferecing subtitles

Here you can submit bugreports
Post Reply
azz
Posts: 16
Joined: Sat May 21, 2016 11:41 pm

Avisynth not refferecing subtitles

Post 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
admin
Site Admin
Posts: 1680
Joined: Sat Feb 08, 2014 10:39 pm

Re: Avisynth not refferecing subtitles

Post 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
azz
Posts: 16
Joined: Sat May 21, 2016 11:41 pm

Re: Avisynth not refferecing subtitles

Post 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
Post Reply