
Recherche avancée
Autres articles (87)
-
Liste des distributions compatibles
26 avril 2011, parLe tableau ci-dessous correspond à la liste des distributions Linux compatible avec le script d’installation automatique de MediaSPIP. Nom de la distributionNom de la versionNuméro de version Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
Si vous souhaitez nous aider à améliorer cette liste, vous pouvez nous fournir un accès à une machine dont la distribution n’est pas citée ci-dessus ou nous envoyer le (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (9091)
-
FFmpeg Error "No such filter : 'libvmaf' Mac
4 janvier 2021, par ringola27I want to use FFmpeg to calculate PSNR for video sequences.
At first I installed libvmaf with the instruction from here and here. I installed ffmpeg like here. I tried for a test :



ffmpeg -i output4.mpg -i output1.mpg -lavfi libvmaf -f null -




But I get an Error (below). I think I could solve it with
./configure --enable-libvmaf --enable-version3
or./configure --enable-libvmaf
but unfortunately I can not run it (I don't know how).


I hope anyone can help me to solve this problem.



ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers
 built with Apple clang version 11.0.3 (clang-1103.0.32.59)
 configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.3 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags=-fno-stack-check --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libsrt --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
Input #0, mpeg, from 'output4.mpg':
 Duration: 00:00:09.88, start: 0.533367, bitrate: 363 kb/s
 Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p(tv), 352x288 [SAR 178:163 DAR 1958:1467], 104857 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc
Input #1, mpeg, from 'output1.mpg':
 Duration: 00:00:10.01, start: 0.533367, bitrate: 345 kb/s
 Stream #1:0[0x1e0]: Video: mpeg1video, yuv420p(tv), 352x288 [SAR 178:163 DAR 1958:1467], 104857 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc
[AVFilterGraph @ 0x7ffedbe23180] No such filter: 'libvmaf'
Error initializing complex filters.
Invalid argument



-
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 !


-
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