
Recherche avancée
Autres articles (92)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (22257)
-
crf is not recognized in loops with find
19 septembre 2022, par Hondoif i use "find" to encode all files in subdirectories the option crf is not recognized at all. If i use "find", the picture quality is poor because, i think, he uses a predefined worse option. If i use ffmpeg without "find", the option works.
for example
works :

ffmpeg -i 1.mkv -c:v libx265 -tune grain -x265-params crf=20 -map 0:v -map 0:a -c:a copy -map 0:s? -c:s copy -disposition:s:0 0 out.mkv


works not :

find ./ -name '*.mkv' -exec bash -c 'ffmpeg -i "$0" -c:v libx265 -tune grain -x265-params -crf=20 -map 0:v -map 0:a -c:a copy -map 0:s? -c:s copy -disposition:s:0 0 "${0%%.mkv}.MKV"' {} \;


What's the problem with the line in find ? Everything in find works, only the crf option does not work.


Greetings
Hondo


-
FileNotFoundError : [WinError 2] The system cannot find the file specified (using ffmpeg.probe())
28 octobre 2022, par Hjalti Geir ÁgústssonI'm trying to access metadata for a video using ffmpeg.probe() and it gives this error message. There is very little info on probe online.


import os
import ffmpeg


os.chdir('E:/F/Salvaged goods/Videos/Miro/Kvikmyndir/Blade_Runner_2049.1080p.WEB-DL.H264.AC3-EVO')

pprint(ffmpeg.probe(filename='Blade_Runner_2049.1080p.WEB-DL.H264.AC3-EVO.mkv', cmd='ffprobe'))




I have also tried this, and got the same error message :


pprint(ffmpeg.probe(filename='E:/F/Salvaged goods/Videos/Miro/Kvikmyndir/Blade_Runner_2049.1080p.WEB-DL.H264.AC3-EVO/Blade_Runner_2049.1080p.WEB-DL.H264.AC3-EVO.mkv', cmd='ffprobe'))



Here is the Traceback :


Traceback (most recent call last):
 File "C:\Users\hjalt\PycharmProjects\HelloWorld\app_builder.py", line 50, in <module>
 pprint(ffmpeg.probe(filename='Blade_Runner_2049.1080p.WEB-DL.H264.AC3-EVO.mkv', cmd='ffprobe'))
 File "C:\Users\hjalt\PycharmProjects\HelloWorld\venv\lib\site-packages\ffmpeg\_probe.py", line 20, in probe
 p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 File "C:\Users\hjalt\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 969, in __init__
 self._execute_child(args, executable, preexec_fn, close_fds,
 File "C:\Users\hjalt\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1438, in _execute_child
 hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
</module>


-
Cannot find specified path : Whisper Error, python 3.7.7
4 janvier 2023, par Ammar Ahmed SiddiquiTraceback (most recent call last) :
File "C :\Users\SAMSUNG\Desktop\Whisper\test.py", line 4, in 
audio = whisper.load_audio("audio.mp3")
File "C :\Users\SAMSUNG\AppData\Local\Programs\Python\Python37\lib\site-packages\whisper\audio.py", line 44, in load_audio
.run(cmd=["ffmpeg", "-nostdin"], capture_stdout=True, capture_stderr=True)
File "C :\Users\SAMSUNG\AppData\Local\Programs\Python\Python37\lib\site-packages\ffmpeg_run.py", line 320, in run
overwrite_output=overwrite_output,
File "C :\Users\SAMSUNG\AppData\Local\Programs\Python\Python37\lib\site-packages\ffmpeg_run.py", line 285, in run_async
args, stdin=stdin_stream, stdout=stdout_stream, stderr=stderr_stream
File "C :\Users\SAMSUNG\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 800, in init
restore_signals, start_new_session)
File "C :\Users\SAMSUNG\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 1207, in _execute_child
startupinfo)
FileNotFoundError : [WinError 2] The system cannot find the file specified