
Recherche avancée
Autres articles (35)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe 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 (4089)
-
How to setup live video stream from webcam to the server, and then beyond ? [closed]
15 mai 2020, par Parth SarthiI have an application, that is written in Node and Nuxt, to host online exams. My clients are now demanding youtube like livestream for their students. I can't use WebRTC because there will be thousands of students watching the live video, so I don't think teacher's bandwidth will be able to deliver that.



Now I want to know what other options do I have ? How do I send video stream from teacher's laptop to the server in real time ? I am assuming getUserMedia ? Then how do I convert the live stream incoming from the teacher into something like HLS ? I am assuming ffmpeg ? but what commands will do that actually ? cause i can't seem to find any which will take in Media Stream and convert it into HLS. And lastly how do I server it back to the students.



I have already setup the live chat for every classroom with socket.io so I am stuck here.


-
batch scripting help passing arguments to ffmpeg
20 octobre 2022, par notsolowkiI need to join some videos parts together into 1 part. Im working from a folder called series. series contains multiple subfolder 1,2,3,4 etc that represent video number. each sub folder contains the parts to be joined together.


I made a batch script that seems to be able to make a list of sub directories and make a list of sub directory contents,


however run i run the script and try to pass the information from "mylist" line by line to ffmpeg it dont seem to work it complains invalid input information detected.


I intended for the batch script to start at folder 1 and pass the file names from "mylist.txt" to ffmpeg input 1 by one untill the last folder in folderlist.txt is processed.


What am i doing wrong. how can i make this script work ?


:: Create File List
for /D %%G in ("%cd%\*")DO ( 

for %%i in ("%%~nxG"\*.mp4) do echo file '%%i'>> mylist.txt
echo %%~nxG >> folderlist.txt

)

:: Concatenate Files
::for /F "delims=" %%a in (mylist.txt) do (
ffmpeg -f concat -safe 0 -i %%a -c copy %%a.mp4
::)
pause
@echo off


pause



the error i get when i run it from ffmpeg after running the batch is,


C:\Users\Laptop\Desktop\t10>(ffmpeg -f concat -safe 0 -i "file '4\Tosh.0 April 17 2018 10 1004 April 17 2018 - Ticket Girl Act 1.mp4'" -c copy file '4\Tosh.0 April 17 2018 10 1004 April 17 2018 - Ticket Girl Act 1.mp4'.mp4 )
ffmpeg version 2022-10-06-git-2c2aaa5bd0-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
 built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
 libavutil 57. 39.100 / 57. 39.100
 libavcodec 59. 50.100 / 59. 50.100
 libavformat 59. 34.100 / 59. 34.100
 libavdevice 59. 8.101 / 59. 8.101
 libavfilter 8. 49.101 / 8. 49.101
 libswscale 6. 8.112 / 6. 8.112
 libswresample 4. 9.100 / 4. 9.100
 libpostproc 56. 7.100 / 56. 7.100
file '4\Tosh.0 April 17 2018 10 1004 April 17 2018 - Ticket Girl Act 1.mp4': No such file or directory



-
OpenCV - suppress, hide or disable the error or warning messages outputted to the screen
11 juillet 2023, par AmphagoryI was wondering if there was a way to suppress, hide or disable the error or warning messages outputted to the screen from OpenCV, I think originating from cap.read() ?



I think they come from OpenCV using FFMpeg and they either show up as follows :



CASE 1 :



[mpeg2video @ 0x3430c00] Invalid frame dimensions 0x0.
[mpeg2video @ 0x3430c00] Invalid frame dimensions 0x0.
[mpeg2video @ 0x3430c00] Invalid frame dimensions 0x0.
[mpeg2video @ 0x3430c00] Invalid frame dimensions 0x0.
[mpeg2video @ 0x3430c00] Invalid frame dimensions 0x0.
[mpeg2video @ 0x3430c00] Invalid frame dimensions 0x0.
[mpeg2video @ 0x3430c00] Invalid frame dimensions 0x0.
[mpeg2video @ 0x3430c00] Invalid frame dimensions 0x0.
[mpeg2video @ 0x3430c00] Invalid frame dimensions 0x0.
[mpeg2video @ 0x3430c00] Invalid frame dimensions 0x0.




or



CASE 2 :



...
[h264 @ 0x29e5a40] co located POCs unavailable
[h264 @ 0x2a6c3c0] co located POCs unavailable
[h264 @ 0x29d7b80] reference picture missing during reorder
[h264 @ 0x29d7b80] Missing reference picture, default is 65656
[h264 @ 0x298da80] mmco: unref short failure
[h264 @ 0x298da80] number of reference frames (0+6) exceeds max (5; probably corrupt input), discarding one
[h264 @ 0x29dc700] reference picture missing during reorder
[h264 @ 0x29dc700] Missing reference picture, default is 65672
[h264 @ 0x2a27180] mmco: unref short failure
[h264 @ 0x2af7680] co located POCs unavailable
[h264 @ 0x29e5a40] mmco: unref short failure
[h264 @ 0x29e5a40] number of reference frames (0+6) exceeds max (5; probably corrupt input), discarding one
[h264 @ 0x2af9040] mmco: unref short failure




To my understanding CASE 1, is a known issue, as it is looking for a PES header. There are only a few of these messages until it finds the header.



I do not understand CASE 2, I do not know what is happening, but it seems to read the image @ frame. There are many many of these messages which outputs to the console window and adds minutes to the processing time.