
Recherche avancée
Autres articles (35)
-
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...)
Sur d’autres sites (4978)
-
CRF/CQP is incompatible with 2pass. FFmpeg error
22 juillet 2020, par user12129980This is my command :



..\ffmpeg -y -i "D:\FFMPEG\ffmpeg-20200129-de1b2aa-win64-static\bin\test\aa_start_with_BAGAN.mp4" -c:v libx264 -preset ultrafast -maxrate 3000k -bufsize 6000k -g 50 -c:a aac -b:a 128k -ac 2 -ar 44100 -an -pass 1 -f mp4 NUL && ..\ffmpeg -i "D:\FFMPEG\ffmpeg-20200129-de1b2aa-win64-static\bin\test\aa_start_with_BAGAN.mp4" -c:v libx264 -s 1280x720 -preset ultrafast -maxrate 500k -bufsize 1000k -vf "scale=1280:-1,format=yuv420p" -g 50 -c:a aac -b:a 128k -ac 2 -ar 44100 -an -pass 2 aa_start_with_BAGAN.mp4_ultrafast_500.mp4




in the output I get
CRF/CQP is incompatible with 2pass
, but I didnt use the cfr/-q option in the command at all, why do I get this error ?
Add the full metadata of FFMpeg maybe someone can help me with this ?
(-g 50 because the default fps is 25 base on the documentation)


`ffmpeg version git-2020-01-29-de1b2aa Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 9.2.1 (GCC) 20200122
 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
 libavutil 56. 38.100 / 56. 38.100
 libavcodec 58. 67.100 / 58. 67.100
 libavformat 58. 36.100 / 58. 36.100
 libavdevice 58. 9.103 / 58. 9.103
 libavfilter 7. 71.100 / 7. 71.100
 libswscale 5. 6.100 / 5. 6.100
 libswresample 3. 6.100 / 3. 6.100
 libpostproc 55. 6.100 / 55. 6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\FFMPEG\ffmpeg-20200129-de1b2aa-win64-static\bin\test\aa_start_with_BAGAN.mp4':
 Metadata:
 major_brand : M4V
 minor_version : 1
 compatible_brands: M4V mp42isom
 creation_time : 2018-04-24T18:21:09.000000Z
 Duration: 00:35:54.00, start: 0.000000, bitrate: 1057 kb/s
 Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv), 640x480 [SAR 1:1 DAR 4:3], 929 kb/s, 25 fps, 25 tbr, 50k tbn, 50 tbc (default)
 Metadata:
 creation_time : 2018-04-24T18:21:09.000000Z
 handler_name : Mainconcept MP4 Video Media Handler
 encoder : AVC Coding
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
 Metadata:
 creation_time : 2018-04-24T18:21:09.000000Z
 handler_name : Mainconcept MP4 Sound Media Handler
Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (NUL) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0000024ec2de0f80] using SAR=1/1
[libx264 @ 0000024ec2de0f80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0000024ec2de0f80] profile Constrained Baseline, level 3.0, 4:2:0, 8-bit
[libx264 @ 0000024ec2de0f80] 264 - core 159 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=50 keyint_min=5 scenecut=0 intra_refresh=0 rc_lookahead=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=3000 vbv_bufsize=6000 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=0
Output #0, mp4, to 'NUL':
 Metadata:
 major_brand : M4V
 minor_version : 1
 compatible_brands: M4V mp42isom
 encoder : Lavf58.36.100
 Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
 Metadata:
 creation_time : 2018-04-24T18:21:09.000000Z
 handler_name : Mainconcept MP4 Video Media Handler
 encoder : Lavc58.67.100 libx264
 Side data:
 cpb: bitrate max/min/avg: 3000000/0/0 buffer size: 6000000 vbv_delay: N/A
frame=53849 fps=999 q=-1.0 Lsize= 496489kB time=00:35:53.92 bitrate=1888.3kbits/s speed=39.9x
video:496266kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.044919%
[libx264 @ 0000024ec2de0f80] frame I:1077 Avg QP:20.39 size: 38800
[libx264 @ 0000024ec2de0f80] frame P:52772 Avg QP:23.39 size: 8838
[libx264 @ 0000024ec2de0f80] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 0000024ec2de0f80] mb P I16..4: 8.4% 0.0% 0.0% P16..4: 51.8% 0.0% 0.0% 0.0% 0.0% skip:39.8%
[libx264 @ 0000024ec2de0f80] coded y,uvDC,uvAC intra: 44.8% 54.5% 18.3% inter: 30.2% 22.0% 2.0%
[libx264 @ 0000024ec2de0f80] i16 v,h,dc,p: 39% 25% 16% 19%
[libx264 @ 0000024ec2de0f80] i8c dc,h,v,p: 35% 23% 24% 17%
[libx264 @ 0000024ec2de0f80] kb/s:1887.41
ffmpeg version git-2020-01-29-de1b2aa Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 9.2.1 (GCC) 20200122
 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
 libavutil 56. 38.100 / 56. 38.100
 libavcodec 58. 67.100 / 58. 67.100
 libavformat 58. 36.100 / 58. 36.100
 libavdevice 58. 9.103 / 58. 9.103
 libavfilter 7. 71.100 / 7. 71.100
 libswscale 5. 6.100 / 5. 6.100
 libswresample 3. 6.100 / 3. 6.100
 libpostproc 55. 6.100 / 55. 6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\FFMPEG\ffmpeg-20200129-de1b2aa-win64-static\bin\test\aa_start_with_BAGAN.mp4':
 Metadata:
 major_brand : M4V
 minor_version : 1
 compatible_brands: M4V mp42isom
 creation_time : 2018-04-24T18:21:09.000000Z
 Duration: 00:35:54.00, start: 0.000000, bitrate: 1057 kb/s
 Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv), 640x480 [SAR 1:1 DAR 4:3], 929 kb/s, 25 fps, 25 tbr, 50k tbn, 50 tbc (default)
 Metadata:
 creation_time : 2018-04-24T18:21:09.000000Z
 handler_name : Mainconcept MP4 Video Media Handler
 encoder : AVC Coding
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
 Metadata:
 creation_time : 2018-04-24T18:21:09.000000Z
 handler_name : Mainconcept MP4 Sound Media Handler
Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (aa_start_with_BAGAN.mp4_ultrafast_500.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0000013691fbda00] using SAR=3/4
[libx264 @ 0000013691fbda00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0000013691fbda00] CRF/CQP is incompatible with 2pass.
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!`



-
Error installing package in anaconda : Attempted to make prefix record for unknown package type
25 janvier 2020, par ashwinidsI’m getting the error below for doing any operation install, update or uninstall
ERROR conda.core.link:_execute(700) : An error occurred while
uninstalling package ’::ffmpeg-3.2.4-2’. Rolling back
transaction : doneValueError(’Attempted to make prefix record for unknown package type :
ffmpeg-3.2.4-2’,)Details about the environment :
OS : ubuntu 18.04
python version : intelpython3Conda info
active environment : base
active env location : /home/p****/intelpython3
shell level : 1
user config file : /home/p****/.condarc
populated config files : /home/p****/.condarc
conda version : 4.7.12
conda-build version : not installed
python version : 3.6.8.final.0
virtual packages : __cuda=10.1
base environment : /home/p****/intelpython3 (writable)
channel URLs : https://conda.anaconda.org/intel/linux-64
https://conda.anaconda.org/intel/noarch
https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/p****/intelpython3/pkgs
/home/p****/.conda/pkgs
envs directories : /home/p****/intelpython3/envs
/home/p****/.conda/envs
platform : linux-64
user-agent : conda/4.7.12 requests/2.20.1 CPython/3.6.8 Linux/5.0.0-36-generic ubuntu/18.04.3 glibc/2.27
UID:GID : 1000:1000
netrc file : None
offline mode : FalseConda list
# packages in environment at /home/p****/intelpython3:
#
# Name Version Build Channel
_tflow_select 2.1.0 gpu anaconda
absl-py 0.8.0 py36_0 anaconda
affine 2.3.0 pypi_0 pypi
asn1crypto 0.24.0 py36_3 intel
astor 0.8.0 py36_0 anaconda
atomicwrites 1.3.0 pypi_0 pypi
attrs 19.3.0 pypi_0 pypi
audioread 2.1.6 py36_0 <unknown>
awscli 1.16.292 pypi_0 pypi
backcall 0.1.0 py36_2 <unknown>
backports 1.0 py36_9 <unknown>
bayesian-optimization 1.0.1 pypi_0 pypi
bleach 2.1.3 py36_2 <unknown>
boto3 1.10.19 pypi_0 pypi
botocore 1.13.28 pypi_0 pypi
bzip2 1.0.6 17 intel
c-ares 1.15.0 h7b6447c_1001 anaconda
causalgraphicalmodels 0.0.4 pypi_0 pypi
certifi 2018.1.18 py36_2 intel
cffi 1.11.5 py36_3 intel
chardet 3.0.4 py36_3 intel
click 7.0 pypi_0 pypi
click-plugins 1.1.1 pypi_0 pypi
cligj 0.5.0 pypi_0 pypi
colorama 0.4.1 pypi_0 pypi
conda 4.7.12 py36_0
conda-env 2.6.0 1
conda-package-handling 1.6.0 py36h7b6447c_0 anaconda
cryptography 2.3 py36_1 intel
cudatoolkit 10.1.243 h6bb024c_0
cudnn 7.6.0 cuda10.1_0 anaconda
cupti 10.1.168 0 anaconda
cvxopt 1.2.3 pypi_0 pypi
cycler 0.10.0 py36_7 intel
cython 0.29.6 py36h7b7c402_0 intel
daal 2019.4 intel_243 <unknown>
daal4py 2019.4 py36h7b7c402_0 intel
dbus 1.13.12 h746ee38_0
decorator 4.3.0 py36_3 <unknown>
descartes 1.1.0 pypi_0 pypi
docutils 0.15.2 pypi_0 pypi
dowhy 0.1.1 pypi_0 pypi
entrypoints 0.2.3 py36_2 <unknown>
expat 2.2.6 he6710b0_0
ffmpeg 3.2.4 2 <unknown>
fiona 1.8.11 pypi_0 pypi
fontconfig 2.12.6 h49f89f6_0
freetype 2.8 hab7d2ae_1
funcsigs 1.0.2 py36_7 intel
gast 0.3.2 py_0 anaconda
geopandas 0.6.2 pypi_0 pypi
get_terminal_size 1.0.0 py36_7 <unknown>
glib 2.63.1 h5a9c865_0
google-pasta 0.1.7 py_0 anaconda
grpcio 1.14.1 py36h9ba97e2_0 anaconda
gst-plugins-base 1.12.4 h33fb286_0
gstreamer 1.12.4 hb53b477_0
h5py 2.9.0 py36h7918eee_0 anaconda
hdf5 1.10.4 hb1b8bf9_0 anaconda
html5lib 1.0.1 py36_4 <unknown>
icc_rt 2019.4 intel_243 <unknown>
icu 58.2 h9c2bf20_1
idna 2.6 py36_3 intel
imageio 2.6.1 pypi_0 pypi
imgaug 0.2.6 pypi_0 pypi
impi_rt 2019.4 intel_243 <unknown>
importlib-metadata 0.23 pypi_0 pypi
intel-openmp 2019.4 intel_243 <unknown>
intelpython 2019.4 0 intel
ipp 2019.4 intel_243 <unknown>
ipykernel 4.6.1 py36_2 <unknown>
ipython 6.3.1 py36_3 <unknown>
ipython_genutils 0.2.0 py36_2 <unknown>
jedi 0.12.0 py36_2 <unknown>
jinja2 2.10.3 pypi_0 pypi
jmespath 0.9.4 pypi_0 pypi
joblib 0.13.2 pypi_0 pypi
jpeg 9b h024ee3a_2
json5 0.8.5 pypi_0 pypi
jsonschema 3.2.0 pypi_0 pypi
jupyter 1.0.0 py36_7 intel
jupyter_client 5.1.0 py36_5 <unknown>
jupyter_console 5.1.0 py36_2 <unknown>
jupyter_core 4.4.0 py36_6 <unknown>
jupyterlab 1.2.3 pypi_0 pypi
jupyterlab-server 1.0.6 pypi_0 pypi
keras 2.3.1 pypi_0 pypi
keras-applications 1.0.8 py_0 anaconda
keras-bert 0.80.0 pypi_0 pypi
keras-embed-sim 0.7.0 pypi_0 pypi
keras-layer-normalization 0.14.0 pypi_0 pypi
keras-multi-head 0.22.0 pypi_0 pypi
keras-pos-embd 0.11.0 pypi_0 pypi
keras-position-wise-feed-forward 0.6.0 pypi_0 pypi
keras-preprocessing 1.1.0 py_1 anaconda
keras-rectified-adam 0.17.0 pypi_0 pypi
keras-self-attention 0.41.0 pypi_0 pypi
keras-transformer 0.31.0 pypi_0 pypi
kiwisolver 1.0.1 py36_2 intel
libffi 3.2.1 11 intel
libgcc-ng 9.1.0 hdf63c60_0 anaconda
libgfortran-ng 7.3.0 hdf63c60_0 anaconda
libiconv 1.14 4 <unknown>
libpng 1.6.36 2 intel
libprotobuf 3.9.2 hd408876_0 anaconda
librosa 0.6.3 pypi_0 pypi
libsodium 1.0.16 3 <unknown>
libstdcxx-ng 9.1.0 hdf63c60_0 anaconda
libtiff 4.0.9 he85c1e1_1
libxcb 1.13 h1bed415_1
libxml2 2.9.8 hf84eae3_0
lightgbm 2.3.1 pypi_0 pypi
llvmlite 0.27.1 py36_0 intel
markdown 3.1.1 py36_0 anaconda
markupsafe 1.0 py36_3 <unknown>
matplotlib 2.1.0 py36hba5de38_0
mercantile 1.1.2 pypi_0 pypi
metaflow 2.0.0 pypi_0 pypi
mistune 0.8.3 py36_2 <unknown>
mkl 2019.4 intel_243 <unknown>
mkl-service 1.0.0 py36h7b7c402_11 intel
mkl_fft 1.0.11 py36h7b7c402_2 intel
mkl_random 1.0.2 py36h7b7c402_4 intel
more-itertools 7.2.0 pypi_0 pypi
mpi4py 3.0.0 py36_3 intel
mpmath 1.1.0 pypi_0 pypi
munch 2.5.0 pypi_0 pypi
nbconvert 5.2.1 py36_2 <unknown>
nbformat 4.4.0 py36_2 <unknown>
networkx 2.4 pypi_0 pypi
ninja 1.9.0 py36hfd86e86_0
noisyopt 0.2.2 pypi_0 pypi
notebook 5.2.2 py36_1 intel
numba 0.42.1 np116py36_2 intel
numexpr 2.6.8 py36_2 intel
numpy 1.16.2 py36h7b7c402_0 intel
numpy-base 1.16.2 py36_0 intel
oauthlib 3.1.0 pypi_0 pypi
olefile 0.46 py_0
openssl 1.0.2r 2 intel
packaging 19.2 pypi_0 pypi
pandas 0.24.1 py36_3 intel
pandocfilters 1.4.1 py36_2 <unknown>
parso 0.2.0 py36_2 <unknown>
path.py 11.0.1 py36_2 <unknown>
pcre 8.43 he6710b0_0
pexpect 4.2.1 py36_4 <unknown>
pickleshare 0.7.4 py36_3 <unknown>
pillow 6.2.1 pypi_0 pypi
pip 19.3.1 pypi_0 pypi
pluggy 0.13.1 pypi_0 pypi
prompt_toolkit 1.0.15 py36_2 <unknown>
protobuf 3.9.2 py36he6710b0_0 anaconda
ptyprocess 0.5.2 py36_2 <unknown>
pulp 2.0 pypi_0 pypi
py 1.8.0 pypi_0 pypi
pyasn1 0.4.8 pypi_0 pypi
pycosat 0.6.3 py36_3 intel
pycparser 2.18 py36_2 intel
pydot 1.4.1 pypi_0 pypi
pyeditline 2.0.0 py36_0 intel
pygments 2.2.0 py36_5 <unknown>
pygmy 0.2.0 pypi_0 pypi
pyopenssl 17.5.0 py36_2 intel
pyparsing 2.2.0 py36_2 intel
pyportfolioopt 0.4.3 pypi_0 pypi
pyproj 2.4.2.post1 pypi_0 pypi
pyqt 5.6.0 py36h22d08a2_6
pyrsistent 0.15.6 pypi_0 pypi
pysocks 1.6.7 py36_1 intel
pytesseract 0.3.0 pypi_0 pypi
pytest 4.6.6 pypi_0 pypi
python 3.6.8 7 intel
python-dateutil 2.6.0 py36_12 intel
python-graphviz 0.13 pypi_0 pypi
pytorch 1.3.1 py3.6_cuda10.1.243_cudnn7.6.3_0 pytorch
pytz 2018.4 py36_3 intel
pywavelets 1.1.1 pypi_0 pypi
pyyaml 4.1 py36_3 intel
pyzmq 16.0.2 py36_6 <unknown>
qt 5.6.2 hd25b39d_14
rasterio 1.1.1 pypi_0 pypi
regex 2019.11.1 pypi_0 pypi
requests 2.20.1 py36_1 intel
requests-oauthlib 1.3.0 pypi_0 pypi
resampy 0.2.1 pypi_0 pypi
rio-cogeo 1.1.6 pypi_0 pypi
rsa 3.4.2 pypi_0 pypi
ruamel_yaml 0.11.14 py36_4 intel
s3transfer 0.2.1 pypi_0 pypi
sacremoses 0.0.35 pypi_0 pypi
scikit-image 0.16.2 pypi_0 pypi
scikit-learn 0.20.3 py36h7b7c402_5 intel
scipy 1.3.3 pypi_0 pypi
seaborn 0.9.0 pypi_0 pypi
sentencepiece 0.1.83 pypi_0 pypi
setuptools 39.0.1 py36_0 intel
shapely 1.6.4.post2 pypi_0 pypi
simplegeneric 0.8.1 py36_7 <unknown>
sip 4.18.1 py36hf484d3e_2
six 1.11.0 py36_3 intel
smp 0.1.4 py36_0 intel
snuggs 1.4.7 pypi_0 pypi
sqlite 3.27.2 4 intel
supermercado 0.0.5 pypi_0 pypi
sympy 1.4 pypi_0 pypi
tbb 2019.6 intel_243 <unknown>
tbb4py 2019.6 py36_intel_0 <unknown>
tcl 8.6.4 24 intel
tensorboard 1.14.0 py36hf484d3e_0 anaconda
tensorflow 1.14.0 gpu_py36h3fb9ad6_0 anaconda
tensorflow-base 1.14.0 gpu_py36he45bfe2_0 anaconda
tensorflow-estimator 1.14.0 py_0 anaconda
tensorflow-gpu 1.14.0 h0d30ee6_0 anaconda
termcolor 1.1.0 py36_1 anaconda
terminado 0.8.1 py36_2 <unknown>
testpath 0.3.1 py36_2 <unknown>
tk 8.6.4 29 intel
torchvision 0.4.2 py36_cu101 pytorch
tornado 4.5.2 py36_5 <unknown>
tqdm 4.36.1 py_0 anaconda
traitlets 4.3.2 py36_3 <unknown>
transformers 2.1.1 pypi_0 pypi
tweepy 3.8.0 pypi_0 pypi
urllib3 1.22 pypi_0 pypi
wcwidth 0.1.7 py36_6 <unknown>
webencodings 0.5.1 py36_0 <unknown>
werkzeug 0.16.0 py_0 anaconda
wheel 0.31.0 py36_3 intel
widgetsnbextension 3.2.0 py36_1 <unknown>
wrapt 1.11.2 py36h7b6447c_0 anaconda
x264 20131218 0 <unknown>
xgboost 0.81 py36_0 intel
xz 5.2.3 2 intel
yaml 0.1.7 2 intel
zipp 0.6.0 pypi_0 pypi
zlib 1.2.11 5 intel
</unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown></unknown> -
ffmpeg - how to use pipe with amovie parameter ?
19 février 2018, par user1347009I am looking for a solution to overlay to mp3 files in which the longer one will be played in the background and the smaller one will continue to play like a loop with that.
My current code is working without pipe :ffmpeg -i 'longer.mp3' -filter_complex "amovie='small.mp3:loop=999'[s];[0][s]amix=duration=shortest" new.mp3
This code works like a charm but what i want to achieve is this :
curl "any-url-to-api-to-audio-file" | ffmpeg -i 'longer.mp3' -filter_complex "amovie='pipe\:0:loop=999'[s];[0][s]amix=duration=shortest" new.mp3
This code is not working and its giving me error as well,
ffmpeg version N-89955-g118e1b0b33 Copyright (c) 2000-2018 the FFmpeg
developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18)
configuration: --enable-openssl --enable-libmp3lame
libavutil 56. 7.100 / 56. 7.100
libavcodec 58. 9.100 / 58. 9.100
libavformat 58. 7.100 / 58. 7.100
libavdevice 58. 0.101 / 58. 0.101
libavfilter 7. 11.101 / 7. 11.101
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
Input #0, mp3, from 'morning_alarm.mp3':
Duration: 00:00:28.06, start: 0.025057, bitrate: 128 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
Metadata:
encoder : LAME3.97
Side data:
replaygain: track gain - -9.200000, track peak - unknown, album gain - unknown, album peak - unknown,
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0101 5088 101 5088 0 0 28080 0 --:--:-- --:--:-- --:--:-- 160k
Stream mapping:
Stream #0:0 (mp3) -> amix:input0
amix -> Stream #0:0 (libmp3lame)
Press [q] to stop, [?] for help
[Parsed_amovie_0 @ 0x26c76c0] Failed to avformat_open_input 'pipe:0'
[AVFilterGraph @ 0x26c3d80] Error initializing filter 'amovie' with args
'pipe\:0:loop=999'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid data found when
processing input
Error while processing the decoded data for stream #0:0
Conversion failed!All i want to do is to overlay two audio files via command line in which 1st audio file will be longer and the second one will be smaller.
The smaller one will be repeated like a loop till the longer one play.Please tell me how can i do that ?