Recherche avancée

Médias (0)

Mot : - Tags -/masques

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (97)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (14711)

  • "Couldn't find ffmpeg or avconv" error while importing pydub

    14 avril 2020, par Vidya Reddy

    I 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 mamba9999

    Im 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 Sacher

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