Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (67)

  • Publier sur MédiaSpip

    13 juin 2013

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (9249)

  • VideoCapture fails to open videos in Ubuntu

    27 février 2016, par onepiece
    VideoCapture vc;
    vc.open("example.avi");
    vc.isOpen(); //false

    Also doesn’t work for absolute paths and mp4 videos.

    Other solutions I’ve encountered online :

    • Install ffmpeg. I have done this.
    • Add ffmpeg files to PATH. The answer is for Windows, and it seems for Ubuntu the path is /usr/local/share/OpenCV/3rdparty. However that directory only has a lib subdirectory with a single file libippicv.a. The ffmpeg installation guide says the compiled ffmpeg programs are in ~/bin, and I’ve tried adding ~/bin/ffmpeg (executable, could be the opencv_ffmpeg.dll Linux equivalent) to my PATH.
    • Change the video’s codec. The file I have is in MPEG-4 AVC, but replacing the XVID in the post with AVC did not output any video.
    • I was thinking of trying more video samples, but I’ve already tried three and am not sure where to get definitely readable videos.
  • Make UDP-RTMP bridge with FFMPEG

    3 mai 2017, par Jorge Anzola

    I need to make this chain, using computer 2 as a "bridge" between Computer 1 and the streming server.

    Computer 1 ----> Computer 2 ----> Streaming server (Wowza).

    So I’m trying to set this :
    Computer 1 —(via UDP)—> Computer 2 —(Via RTMP)—> Wowza

    What I’ve tried :

    1. At Computer 1

    Entry :

    ffmpeg -i sample.mp4 -c:v copy -c:a copy -f mpegts udp://192.168.0.109:5010

    Result : Worked. Computer 1 sends the data correctly.

    2. At Computer 2

    Entry :

    ffmpeg -i upd://192.168.0.109:5010 output.mp4

    Result : Worked. Computer 2 gets data correctly. Output.mp4 is generated well.

    Entry :

    ffmpeg -i sample.mp4 -c:v copy -c:a copy -f flv rtmp://wowzaServerAddress

    Result : Worked. Wowza shows online the video from sample.mp4

    Entry :

    ffmpeg -re -i udp://@:5010 -f flv rtmp://wowzaServerAddress

    Result :

    stuck at :

    ffmpeg version N-77234-g906c0b7 Copyright (c) 2000-2015 the FFmpeg
    built with gcc 5.2.0 (GCC)
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
    libavutil 55. 10.100 / 55. 10.100
    libavcodec 57. 17.100 / 57. 17.100
    libavformat 57. 20.100 / 57. 20.100
    libavdevice 57.0.100 / 57. 0.100
    libavfilter 6.21.100 / 6. 21.100
    libswscale 4.0.100 / 4. 0.100
    libswresample 2. 0.101 / 2. 0.101
    libpostproc 54. 0.100 / 54. 0.100
    **Entry:**
       ffmpeg -i udp://192.168.0.109:5010 -c:v copy -c:a copy -f flv rtmp://wowzaServerAddress
    **Result:**
    *... repeated a lot ...*
    Last message repeated 1 times
    [h264 @ 000001cef0462200] decode_slice_header error
    [h264 @ 000001cef0462200] no frame!
    *... repeated a lot ...*
    Input #0, mpegts, from 'udp://192.168.0.109:5010':
    Duration: N/A, start: 128.032333, bitrate: N/A
    Program 1
    Metadata:
    service_name: RARBG.COM - Spotlight.2015.1080p.WEB-DL.DD5.1.H264-RARBG
    service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
    yuv420p(tv, bt709), 1916x1032 [SAR 1:1 DAR 479:258], 23.98 fps, 23.98 tbr, 90k tbn, 180k tbc
    Stream #0:1[0x101](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 200 kb/s
    [flv @ 000001cef132a1c0] Codec for stream 0 does not use global headers but container format requires global headers
    [flv @ 000001cef132a1c0] Codec for stream 1 does not use global headers but container format requires global headers
    Output #0, flv, to '**rtmp://wowzaServerAddress**':
    Metadata:
    encoder: Lavf57.20.100
    Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 1916x1032 [SAR
    1:1 DAR 479:258], q=2-31, 23.98 fps, 23.98 tbr, 1k tbn, 90k tbc
    Stream #0:1(eng): Audio: aac ([10][0][0][0] / 0x000A), 48000 Hz, stereo,
    200 kb/s
    Stream mapping:
    Stream #0:0 - #0:0 (copy)
    Stream #0:1 - #0:1 (copy)
    Press [q] to stop, [?] for help
    [flv @ 000001cef132a1c0] Malformed AAC bitstream detected: use the audio
    bitstream filter 'aac_adtstoasc' to fix it ('-bsf:a aac_adtstoasc' option with ffmpeg)
    av_interleaved_write_frame(): Invalid data found when processing input
    [flv @ 000001cef132a1c0] Malformed AAC bitstream detected: use the audio bitstream filter 'aac_adtstoasc' to fix it ('-bsf:a aac_adtstoasc' option with ffmpeg)
    [flv @ 000001cef132a1c0] Failed to update header with correct duration.
    [flv @ 000001cef132a1c0] Failed to update header with correct filesize.
    Error writing trailer of rtmp://**wowzaServerAddress**: Invalid data found when processing inputframe= 1 fps=0.0 q=-1.0 Lsize= 0kB time= 00:00:02.13 bitrate= 1.6kbits/s
    video:33kB audio:59kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

    Conversion failed !

  • How to encode with LCEVC using FFmpeg ? [closed]

    22 juillet 2020, par progdotpress

    I have searched quite a bit, but I can't seem to find the command line parameters for encoding with LCEVC (Low Complexity Enhancement Video Coding) using FFmpeg.

    


    There is only one article online on this (https://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=139705) and nothing else.

    


    Does anyone know how this is done ? Thank you !