#9341 closed defect (invalid)
aselect: Invalid chars
Reported by: | xamarin | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug: Can't create output video extracting 2 slices of input video and joining them.
How to reproduce: use command:
% ffmpeg -report -y -i in.mp4 -vf "select='between(t,01:12.75,01:14)+between(t,12:44.7,12:56)', setpts=N/FRAME_RATE/TB" -af "aselect='between(t,01:12.75,01:14)+between(t,12:44.7,12:56)', asetpts=N/SR/TB" -c:v libx265 -x265-params pass=1 -b:v 1700k -c:a aac -b:a 160k -f mp4 NUL && ffmpeg -y -i in.mp4 -vf "select='between(t,01:12.75,01:14)+between(t,12:44.7,12:56)', setpts=N/FRAME_RATE/TB" -af "aselect='between(t,01:12.75,01:14)+between(t,12:44.7,12:56)', asetpts=N/SR/TB" -c:v libx265 -x265-params pass=2 -b:v 1700k -c:a aac -b:a 160k -f mp4 out.mp4 ffmpeg version 4.4-essentials_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers built with gcc 10.2.0 (Rev6, Built by MSYS2 project) configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
Change History (3)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
The time values must be in seconds.
comment:3 by , 3 years ago
Thank you very much. Now worked perfectly fine using seconds even with decimals:
ffmpeg -report -y -i in.mp4 -vf "select='between(t,72.75,74)+between(t,644.7,670)', setpts=N/FRAME_RATE/TB" -af "aselect='between(t,72.75,74)+between(t,644.7,670)', asetpts=N/SR/TB" -c:v libx265 -x265-params pass=1 -b:v 1700k -c:a aac -b:a 160k -f mp4 NUL && ffmpeg -y -i in.mp4 -vf "select='between(t,72.75,74)+between(t,644.7,670)', setpts=N/FRAME_RATE/TB" -af "aselect='between(t,72.75,74)+between(t,644.7,670)', asetpts=N/SR/TB" -c:v libx265 -x265-params pass=2 -b:v 1700k -c:a aac -b:a 160k -f mp4 out.mp4
Note:
See TracTickets
for help on using tickets.
ffmpeg log: