actions-for-nautilus icon indicating copy to clipboard operation
actions-for-nautilus copied to clipboard

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

Open Creteil opened this issue 11 months ago • 1 comments

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 :

https://github.com/bassmanitram/actions-for-nautilus/assets/27310214/fae436ec-f013-445a-af27-68c732511b7b

Creteil avatar Mar 06 '24 01:03 Creteil

Hey there. I'll take a look, but my own inclination would be to put that in a script.

On Wed, Mar 6, 2024, 02:08 Creteil @.***> wrote:

Hi @bassmanitram https://github.com/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 ?

— Reply to this email directly, view it on GitHub https://github.com/bassmanitram/actions-for-nautilus/issues/61, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADAKLWQZTQLGQ7BIDWFOESDYWZUCJAVCNFSM6AAAAABEIEMWL6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3TANBTGQ2DINI . You are receiving this because you were mentioned.Message ID: @.***>

bassmanitram avatar Mar 06 '24 06:03 bassmanitram