sh: nice: not found
-
Hi, on original Synology DSM system I dont have “nice” command. So, I cannot encode video file. I see “renice” on DSM. Can I use this command or what can I do?
SSH capture:HEREhttps://ww.wp.xz.cn/plugins/video-embed-thumbnail-generator/
-
In the plugin settings page, go to the FFMPEG Settings tab. The last option is “Run nice”. Disable it.
thanks. Yes I make this and now I have error: Error while opening encoder for output stream #0:1 – maybe incorrect parameters such as bit_rate, rate, width or height
My output is like:ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers built on Jun 11 2015 06:12:22 with gcc 4.6.4 (crosstool-NG 1.19.0) configuration: --prefix=/usr/syno --incdir='${prefix}/include/ffmpeg' --arch=i686 --target-os=linux --cross-prefix=/usr/local/i686-pc-linux-gnu/bin/i686-pc-linux-gnu- --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl --enable-shared --disable-static --enable-version3 --enable-nonfree --enable-libfaac --enable-encoders --enable-pthreads --disable-bzlib --disable-protocol=rtp --disable-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffserver --disable-ffplay --disable-devices --disable-bzlib --disable-altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --disable-vaapi --disable-decoder=amrnb --disable-encoder=zmbv --disable-encoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=eac3 --disable-decoder=dca --disable-decoder=eac3 --disable-decoder=truehd --cc=/usr/local/i686-pc-linux-gnu/bin/i686-pc-linux-gnu-ccache-gcc --enable-yasm --enable-libx264 --enable-encoder=libx264 libavutil 52. 38.100 / 52. 38.100 libavcodec 55. 18.102 / 55. 18.102 libavformat 55. 12.100 / 55. 12.100 libavdevice 55. 3.100 / 55. 3.100 libavfilter 3. 79.101 / 3. 79.101 libswscale 2. 3.100 / 2. 3.100 libswresample 0. 17.102 / 0. 17.102 libpostproc 52. 3.100 / 52. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/...../wp-content/plugins/video-embed-thumbnail-generator/images/sample-video-h264.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf55.33.100 Duration: 00:00:01.02, start: 0.021333, bitrate: 123 kb/s Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 109 kb/s, 23.98 fps, 23.98 tbr, 11988 tbn, 47.95 tbc Metadata: handler_name : VideoHandler Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 2 kb/s Metadata: handler_name : SoundHandler Input #1, image2, from '/..../wp-content/uploads/2015/08/logo_blog.png': Duration: 00:00:00.04, start: 0.000000, bitrate: N/A Stream #1:0: Video: png, rgba, 300x30, 25 tbr, 25 tbn, 25 tbc [libx264 @ 0x80a0580] using SAR=256/81 [libx264 @ 0x80a0580] frame MB size (45x80) > level limit (1620) [libx264 @ 0x80a0580] DPB size (3 frames, 4147200 bytes) > level limit (2 frames, 3110400 bytes) [libx264 @ 0x80a0580] MB rate (86313) > level limit (40500) [libx264 @ 0x80a0580] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX [libx264 @ 0x80a0580] profile Constrained Baseline, level 3.0 [libx264 @ 0x80a0580] 264 - core 119 r0+5 73bd4c7 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to '/.../wp-content/uploads/2015/09/sample-video-h264-720.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf55.33.100 Stream #0:0: Video: h264 (libx264), yuv420p, 720x1280 [SAR 256:81 DAR 16:9], q=-1--1, 90k tbn, 23.98 tbc Metadata: rotate : 0 Stream #0:1(eng): Audio: aac, 48000 Hz, stereo, s16, 160 kb/s Metadata: handler_name : SoundHandler Stream mapping: Stream #0:0 (h264) -> overlay:main (graph 0) Stream #1:0 (png) -> scale (graph 0) overlay (graph 0) -> Stream #0:0 (libx264) Stream #0:1 -> #0:1 (aac -> libfaac) Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or heightSorry for change location with “/…/”
Please read the Wiki page linked at the bottom of the FFMPEG Settings page. https://github.com/kylegilman/video-embed-thumbnail-generator/wiki/Interpreting-FFMPEG-or-LIBAV-messages
You’re running an old version of FFMPEG that needs some special parameters in order to encode H.264. Turn on the option that says “Enable legacy FFMPEG parameters.”
thanks.
The topic ‘sh: nice: not found’ is closed to new replies.