
Recherche avancée
Autres articles (100)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 ;
Sur d’autres sites (11171)
-
"Couldn't find ffmpeg or avconv" error while importing pydub
14 avril 2020, par Vidya ReddyI am trying to convert .mp3 file to .wav. I am facing issue. I have tried all the suggestions given in stackoverflow but no use. ffmpeg is also installed successfully. Please find below code I am using



from pydub import AudioSegment
src = 'Audio_1.mp3'
dst = 'Audio_2.wav'
sound = AudioSegment.from_mp3(src)
sound.export(dst, format="wav")




I am facing below errors :



RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work
FileNotFoundError: [WinError 2] The system cannot find the file specified




I have tried all the existing solutions in stackoverflow but nothing could help. ffmpeg is installed successfully but still the issue. Please help me in this


-
FFMPEG, running through subprocess, getting error : "pipe: : Invalid data found when processing input"
19 avril 2020, par mamba9999Im writing a program which getting the stream from ip camera, do with frame what i need and send to ffmpeg for transcoding. Then ffmpeg should convert video and send to output url.
But when i running script, i get the error : "pipe: : Invalid data found when processing input".
Im really newby in ffmpeg. Please help, what i doing wrong.




cap = cv2.VideoCapture("rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov")

command = [
 "ffmpeg",
 "-i", "-",
 "-f", "mpegts",
 "-vcodec", "mpeg1video",
 "-s", "960x540",
 "-b:v", "1000K",
 "-r", "30",
 "-bf", "0",
 "-codec:a", "mp2",

 "http://127.0.0.1:8888/yoursecret"
]

proc = subprocess.Popen(command, stderr=subprocess.PIPE, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
out, err = proc.communicate()


print(err)

while True:
 ret, frame = cap.read()
 # _, buf = cv2.imencode('.jpg', frame)
 # img_byte = io.BytesIO(buf.tobytes())
 try: 
 proc.stdin.write(frame.tostring())
 print("SENDED")
 except IOError as e:
 print(e) 
 proc.stdin.close()
 proc.wait() 

proc.stdin.close()
proc.wait()




Traceback



ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.17)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_2 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
pipe:: Invalid data found when processing input



-
How do I fix the "Packet mismatch -92141241 11 214124" error in FFmpeg ?
25 octobre 2024, par SacherHow do I fix the "Packet mismatch -92141241 11 214124" error .

I'm going to answer my own question, because the phrase packet size mismatch comes up regularly in posts relating to ffmpeg, but I've nowhere seen a satisfactory solution to it.

My command is :


ffmpeg -rw_timeout 1000000 -i rtmp://ip/appName/StreamName -vn -ar 16000 -ac 1 -f segment -segment_format wav -segment_time 3 %d.wav




The error is :



[segment e X5b4a87e55e0 Upening I.wav for writing
[segment @ Øx5634a87e53e0] Opening '2.wav' for writing
[segment @ 8x5634a87e53e0] Opening '3.wav' for writing
[segment @ Øx5634a87e53e0] Opening '4.wav' for writing
[segment @ Øx5634a87e53e0] Opening '5.wav' for writing
[segment @ 8x5634a87e53e0] Opening '6.wav' for writing
[segment @ Øx5634a87e53e0] Opening '7.wav' for writing
[segment @ Øx5634a87e53eØ] Opening '8.wav' for writing
[segnent @ 0x5634a87e53e0] Opening '9.wav' for writing
[segnent @ 0x5634a87e53e0J Opening '10.wav' for writing
[segment @ Øx5634a87e53eØJ Opening '11.wav' for writing
[segment @ Øx5634a87e53eØ] Opening '12.wav' for writing
[segment @ Øx5634a87e53eØ] Opening '13.wav' for writing
[segment @ Øx5634a87e53eØ] Opening '14.wav' for writing
[segment @ 0x5634a87e53e0] Opening '15.wav' for writing
[segment @ Øx5634a87e53e0] Opening '16.wav' for writing
[segment @ 0x5634a87e53e0] Opening '17.wav' for writing
[flv @ 0x5634a87df740J Packet mismatch -92244280 11 167729
[flv @ 0x5634a87df740] Packet mismatch -594165790 48656 216385
[flv @ ex5634a87df740] Packet mismatch -289696512 49936 2663212
[flv @ 0x5634a87df740] Packet mismatch -606269659 56848 323169
[flv @ 0x5634a87df740] Packet mismatch -1989457532 419680 372849
[flv @ 0x5634a87df740] Packet mismatch -1243998453 49937 422786




How do I fix ?



Thanks !