New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ffms2 decoding plugin conflicts with ffmpeg shared encoder (Linux) #194
Comments
|
L-SMASH does work with ffmpeg shared. However, with ffmpeg shared it doesn't show progress. Except ffmpeg -progress pipe:1 |
|
I can't reproduce this on Ubuntu 20.04. Built a fresh FFmpeg from the release/4.3 branch with --enable-shared, linked FFMS2 against it, and then tried to use said ffplay to play back the test script using FFMS2. It played fine. The odd behavior of shared!FFmpeg not showing any file info or progress is there, but it does encode from the script to the output without issue (although it seemed partially dependent on what the output file was configured to encode to). Dumping to a log with FFmpeg: FFMS2: Script: |
|
I'll check your config. I have explicitly specified --disable-static. It looks like there is also hybrid build where shared and static are enabled (by default).
I also observed similar behavior in vapoursynth in ffmpeg shared. But it worked. |
|
Linux mpv can open avisynth scripts with sound.
TDecimate allows to make fps correction while watching the video. But most likely, if mpv is built with ffmpeg 4.3.1, which is built with avisynth support. The ffmpeg libraries are responsible for avs decoding. There is no mention of avisynth in configure mpv. |
ffms2 linking with ffmpeg 4 shared libs. Export to ffmpeg 4.3.1 (for encoding) only works fine if ffmpeg is static (compiled with avisynth support, of course). If ffmpeg is shared, nothing happens in the terminal - a white window. I think this is because of the recursion.
I personally have no problem using ffmpeg static for export. But, for example, Arch Linux repository has avisynthplus, ffmpeg shared (with --enable-avisynth --enable-shared) and ffms2 (with --enable-avisynth). Most likely, this bundle is not working there. I can't check. I am using Ubuntu 16.04 (GCC 10), ffmpeg 4.3.1.
Let me remind that shared differs from static in that shared has 8 libav libs, and static contains them inside the ffmpeg bin.
By the way, internal scripts (like Colorbars) work fine in ffmpeg shared. The problem is ffms2.
The text was updated successfully, but these errors were encountered: