Re: [FFmpeg-user] How to use libplacebo with FFmpeg?

2024-03-26 Thread Dennis Mungai
On Wed, 27 Mar 2024 at 01:49, Hartman Tam  wrote:

> On 26/03/2024 22:19, Dennis Mungai wrote:
> > You can start with
> >
> > ffmpeg -h filter=libplacebo
> >
> > Google's first result on a usable example demonstrating upscaling with
> this
> > filter:https://stackoverflow.com/a/76793322/4675388
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-requ...@ffmpeg.org  with subject "unsubscribe".
>
> Tried. Nope.
>
> `
> $ ffmpeg -h filter=libplacebo
> ffmpeg version 6.1-1build2~22.04 Copyright (c) 2000-2023 the FFmpeg
> developers
>built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
>configuration: --prefix=/usr --extra-version='1build2~22.04'
> --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
> --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl
> --disable-stripping --disable-librav1e --enable-gnutls --enable-ladspa
> --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b
> --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d
> --enable-libflite --enable-libfontconfig --enable-libfreetype
> --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm
> --enable-libjack --enable-libmp3lame --enable-libmysofa
> --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse
> --enable-librabbitmq --enable-librist --enable-librubberband
> --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex
> --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame
> --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp
> --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg
> --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal
> --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio
> --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libvpl
> --disable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883
> --enable-chromaprint --enable-frei0r --enable-libsvtav1 --enable-libx264
> --enable-libplacebo --disable-librav1e --enable-shared
>WARNING: library configuration mismatch
>avcodec configuration: --prefix=/usr
> --extra-version='1build2~22.04' --toolchain=hardened
> --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu
> --arch=amd64 --enable-gpl --disable-stripping --disable-librav1e
> --enable-gnutls --enable-ladspa --enable-libaom --enable-libass
> --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio
> --enable-libcodec2 --enable-libdav1d --enable-libflite
> --enable-libfontconfig --enable-libfreetype --enable-libfribidi
> --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack
> --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg
> --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq
> --enable-librist --enable-librubberband --enable-libshine
> --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt
> --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab
> --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265
> --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq
> --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl
> --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl
> --enable-pocketsphinx --enable-librsvg --enable-libvpl --disable-libmfx
> --enable-libdc1394 --enable-libdrm --enable-libiec61883
> --enable-chromaprint --enable-frei0r --enable-libsvtav1 --enable-libx264
> --enable-libplacebo --disable-librav1e --enable-shared --enable-version3
> --disable-doc --disable-programs --disable-static --enable-libaribb24
> --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract
> --enable-libvo_amrwbenc --enable-libsmbclient
>libavutil  58. 29.100 / 58. 29.100
>libavcodec 60. 31.102 / 60. 31.102
>libavformat60. 16.100 / 60. 16.100
>libavdevice60.  3.100 / 60.  3.100
>libavfilter 9. 12.100 /  9. 12.100
>libswscale  7.  5.100 /  7.  5.100
>libswresample   4. 12.100 /  4. 12.100
>libpostproc57.  3.100 / 57.  3.100
> Unknown filter 'libplacebo'.
>
> `
>
> Despite the `--enable-libplacebo` is in the config flag, it can't find
> the libplacebo filter. Neither with `ffmpeg -filter` either
>
> `
> $ ffmpeg -filters | grep placebo
> ffmpeg version 6.1-1build2~22.04 Copyright (c) 2000-2023 the FFmpeg
> developers
>built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
>configuration: --prefix=/usr --extra-version='1build2~22.04'
> --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
> --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl
> --disable-stripping --disable-librav1e --enable-gnutls --enable-ladspa
> --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b
> 

Re: [FFmpeg-user] How to use libplacebo with FFmpeg?

2024-03-26 Thread Hartman Tam

On 26/03/2024 22:19, Dennis Mungai wrote:

You can start with

ffmpeg -h filter=libplacebo

Google's first result on a usable example demonstrating upscaling with this
filter:https://stackoverflow.com/a/76793322/4675388
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org  with subject "unsubscribe".


Tried. Nope.

`
$ ffmpeg -h filter=libplacebo
ffmpeg version 6.1-1build2~22.04 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
  configuration: --prefix=/usr --extra-version='1build2~22.04' 
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu 
--incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl 
--disable-stripping --disable-librav1e --enable-gnutls --enable-ladspa 
--enable-libaom --enable-libass --enable-libbluray --enable-libbs2b 
--enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d 
--enable-libflite --enable-libfontconfig --enable-libfreetype 
--enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm 
--enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg 
--enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq 
--enable-librist --enable-librubberband --enable-libshine --enable-libsnappy 
--enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh 
--enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis 
--enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 
--enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 
--enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 
--disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg 
--enable-libvpl --disable-libmfx --enable-libdc1394 --enable-libdrm 
--enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libsvtav1 
--enable-libx264 --enable-libplacebo --disable-librav1e --enable-shared
  WARNING: library configuration mismatch
  avcodec configuration: --prefix=/usr --extra-version='1build2~22.04' 
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu 
--incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl 
--disable-stripping --disable-librav1e --enable-gnutls --enable-ladspa 
--enable-libaom --enable-libass --enable-libbluray --enable-libbs2b 
--enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d 
--enable-libflite --enable-libfontconfig --enable-libfreetype 
--enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm 
--enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg 
--enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq 
--enable-librist --enable-librubberband --enable-libshine --enable-libsnappy 
--enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh 
--enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis 
--enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 
--enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 
--enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 
--disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg 
--enable-libvpl --disable-libmfx --enable-libdc1394 --enable-libdrm 
--enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libsvtav1 
--enable-libx264 --enable-libplacebo --disable-librav1e --enable-shared 
--enable-version3 --disable-doc --disable-programs --disable-static 
--enable-libaribb24 --enable-libopencore_amrnb --enable-libopencore_amrwb 
--enable-libtesseract --enable-libvo_amrwbenc --enable-libsmbclient
  libavutil  58. 29.100 / 58. 29.100
  libavcodec 60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter 9. 12.100 /  9. 12.100
  libswscale  7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
Unknown filter 'libplacebo'.

`

Despite the `--enable-libplacebo` is in the config flag, it can't find 
the libplacebo filter. Neither with `ffmpeg -filter` either


`
$ ffmpeg -filters | grep placebo
ffmpeg version 6.1-1build2~22.04 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
  configuration: --prefix=/usr --extra-version='1build2~22.04' 
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu 
--incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl 
--disable-stripping --disable-librav1e --enable-gnutls --enable-ladspa 
--enable-libaom --enable-libass --enable-libbluray --enable-libbs2b 
--enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d 
--enable-libflite --enable-libfontconfig --enable-libfreetype 
--enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm 
--enable-libjack 

Re: [FFmpeg-user] How to use libplacebo with FFmpeg?

2024-03-26 Thread Dennis Mungai
On Wed, 27 Mar 2024 at 01:07, Hartman Tam  wrote:

> Hello all,
>
> As subject. I found out libplacebo is enabled on FFmpeg but I couldn't
> find any documentation associated with it. Can anyone guide me on how to
> use it? I want to upscale some old video I got using GLSL shaders.
>
> Thanks,
> Hartman
>

You can start with

ffmpeg -h filter=libplacebo

Google's first result on a usable example demonstrating upscaling with this
filter: https://stackoverflow.com/a/76793322/4675388
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


[FFmpeg-user] How to use libplacebo with FFmpeg?

2024-03-26 Thread Hartman Tam

Hello all,

As subject. I found out libplacebo is enabled on FFmpeg but I couldn't 
find any documentation associated with it. Can anyone guide me on how to 
use it? I want to upscale some old video I got using GLSL shaders.


Thanks,
Hartman
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Starting FFmpeg with nginx rmtp

2024-03-26 Thread Micael Silva
On Tue, Mar 26, 2024 at 10:17 AM Mayiani, Martin Martine - mayianmm <
mayia...@jmu.edu> wrote:

> Hello,
>
> I am trying to run ffmpeg with nginx rmtp and I am getting this error when
> I try to start ffmpeg from the terminal.
>
> " [in#0 @ 0x4c90380] Error opening input: Input/output error
> Error opening input file rtmp://localhost/src/.
> Error opening input files: Input/output error
> Exiting normally, received signal 2."
>
> Any idea on what I am doing wrong?
>
> Thanks
>

You need to post the full command and error output. But seems to be a bad
URL.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


[FFmpeg-user] Starting FFmpeg with nginx rmtp

2024-03-26 Thread Mayiani, Martin Martine - mayianmm
Hello,

I am trying to run ffmpeg with nginx rmtp and I am getting this error when I 
try to start ffmpeg from the terminal.

" [in#0 @ 0x4c90380] Error opening input: Input/output error
Error opening input file rtmp://localhost/src/.
Error opening input files: Input/output error
Exiting normally, received signal 2."

Any idea on what I am doing wrong?

Thanks


Martin Mayiani
Operation Specialist WMRA & WEMC
540.568.4045
wmra.org

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] ffplay - no delay between playbacks when looping

2024-03-26 Thread Paul B Mahol
On Tue, Mar 26, 2024 at 10:07 AM Bouke / edit 'B  wrote:

>
> > On 26 Mar 2024, at 09:57, computermaster360 
> wrote:
> >
> > I want to loop a short wav sample, which is an 8-bar melody:
> >
> >ffplay -loop 0 sample.wav
> >
> > There is a small, but perceptible delay between individual playbacks
> > of the sample, which throws the melody off. Is there a way to make the
> > playback completely continuous with no delay?
>
> Not tested, but I would try to do the loop in FFmpeg and pipe to FFplay.
> This way FFplay will get just samples, bypassing whatever happens on
> restart playback of the file.
>

Yes, because ffplay resets audio output/filters state, and does not support
gapless playback.


>
> Bouke
>
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] ffplay - no delay between playbacks when looping

2024-03-26 Thread Bouke / edit 'B
 
> On 26 Mar 2024, at 09:57, computermaster360  
> wrote:
> 
> I want to loop a short wav sample, which is an 8-bar melody:
> 
>ffplay -loop 0 sample.wav
> 
> There is a small, but perceptible delay between individual playbacks
> of the sample, which throws the melody off. Is there a way to make the
> playback completely continuous with no delay?

Not tested, but I would try to do the loop in FFmpeg and pipe to FFplay.
This way FFplay will get just samples, bypassing whatever happens on restart 
playback of the file.

Bouke


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


[FFmpeg-user] ffplay - no delay between playbacks when looping

2024-03-26 Thread computermaster360
I want to loop a short wav sample, which is an 8-bar melody:

ffplay -loop 0 sample.wav

There is a small, but perceptible delay between individual playbacks
of the sample, which throws the melody off. Is there a way to make the
playback completely continuous with no delay?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".