Skip to content
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

Using pipe to another command to display progress bar... #61

Open
Creteil opened this issue Mar 6, 2024 · 1 comment
Open

Using pipe to another command to display progress bar... #61

Creteil opened this issue Mar 6, 2024 · 1 comment

Comments

@Creteil
Copy link

Creteil commented Mar 6, 2024

Hi @bassmanitram ,

My original command that work fine :

ffmpeg -y -i "%d/%b" "%d/%w.mp4"

My same command using pipe to another one to display progress bar :

ffmpeg -y -i "%d/%b" "%d/%w.mp4" 2>&1 | LANG=C yad --progress --pulsate --center --no-buttons --auto-close --title "Video Converting" --progress-text="Please wait while your video(s) file(s) gets converted..." --height=50

This last one doesn't work, running « nautilus --no-desktop », report error :

ffmpeg version 6.1.1-0ubuntu1~22.04.sav0.1 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
  configuration: --prefix=/usr --extra-version='0ubuntu1~22.04.sav0.1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-amf --enable-gnutls --enable-ladspa --enable-lcms2 --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libharfbuzz --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --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 --enable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-avisynth --enable-libfdk-aac --enable-libilbc --enable-librist --enable-vapoursynth --enable-libvmaf --enable-crystalhd --enable-libmfx --enable-libsvthevc --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-libsvtav1 --enable-shared
  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
Unrecognized option '-progress'.
Error splitting the argument list: Option not found

Do you have any idea on how to fix it ?

Here is a video of command directly launch from shell :

simplescreenrecorder-2024-03-06_02.10.46.mp4
@bassmanitram
Copy link
Owner

bassmanitram commented Mar 6, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants