mpv.net icon indicating copy to clipboard operation
mpv.net copied to clipboard

how to play .avs video

Open MironHlopcov opened this issue 3 years ago • 3 comments

Hello! I'm find a video player based on ffmpeg that can play avisyntch scripts. I can successfully play a simple script "DirectShowSource("FolderName\test01.avi", fps=25, audio=True)" in ffplay, but I can't find information on how to do it in mpv. I hope for your help.

MironHlopcov avatar Jun 29 '22 14:06 MironHlopcov

Be sure your .avs file is UTF-8 encoded.

stax76 avatar Jun 29 '22 15:06 stax76

Thanks for the quick response. My file encoding is utf8. Mpvnet.com command line output: "[vo/gpu/d3d11] Using a software adapter Behavior of playlist-pos when writing the same value will change (currently restarts, it will stop doing this). [lavf] avformat_open_input() failed Failed to recognize file format."

I'm using avisyntch because the test01.avi file needs a directshow filter. Is this scenario possible with MPV, what can I do wrong?

MironHlopcov avatar Jun 30 '22 07:06 MironHlopcov

I don't know what you are doing wrong, the problem is certainly on your side. mpv supports avisynth certainly very well, both installed and portable avisynth. I just verified that it works. directshow filter is typically not used by experienced users, btw. I suggest you learn how to use staxrip.

stax76 avatar Jun 30 '22 12:06 stax76