Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (66)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number 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
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (5947)

  • FFmpeg Error "No such filter : 'libvmaf' Mac

    4 janvier 2021, par ringola27

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

    


  • 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