
Recherche avancée
Autres articles (68)
-
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Activation de l’inscription des visiteurs
12 avril 2011, parIl est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...) -
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 (...)
Sur d’autres sites (12392)
-
What's the most performant way to encode an mp4 video of frames from a webgl canvas using Javascript in a web browser ?
17 janvier 2024, par Keith CarterI can capture the frames from the canvas using readPixels (https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/readPixels) but then what ?


I think there are a few wasm versions of ffmpeg but they're slow.


I found this web assembly mp4 encoder but it's no longer supported and doesn't work in Chrome on my phone (Android 13).


Any other suggestions ?


-
Encoding MJPEG from webcam in UWP development with C#
24 avril 2018, par Federico Parrathis is my first question in StackOverflow.
How can I encode video being captured from webcam as a MJPEG using C# in UWP enviroment (Visual Studio 2017) ?
Perhaps using FFMPEG or DirectShow ? Any particular bindings required to use them in UWP ?I’ve been through these walk-throughs trying to go the official way using MediaCapture :
https://docs.microsoft.com/en-us/windows/uwp/audio-video-camera/basic-photo-video-and-audio-capture-with-mediacapture
https://docs.microsoft.com/en-us/uwp/api/windows.media.capture.mediacaptureAccording to Microsoft though, there is no MJPEG encoder included in MediaEncoder (only decoder) : https://docs.microsoft.com/en-us/windows/uwp/audio-video-camera/supported-codecs
About FFMPEG UWP integration, I found this :
https://github.com/Microsoft/FFmpegInterop
https://blogs.windows.com/buildingapps/2015/06/05/using-ffmpeg-in-windows-applications/#HHYbWAVcM7LhkvYZ.97But it’s geared towards decoding, and I want to encode.
Just in case someone is wondering, I want to use MJPEG for Two reasons :
1) less CPU intensive (much less) because it doesn’t do inter-frame compression, means my Surface Pro (and other similar computers) will keep quiet without fans running like crazy
2) I need all frames (i.e. not one every 30) to be crystal clear because of an algorithm I need to run on each of them afterAny pointers would be greatly appreciated.
Thank you,
Federico -
FFmpeg av_read_frame not reading frames properly ?
16 juin 2019, par Sir DrinksCoffeeALotAlright, so I’ve downloaded some raw UHD sequences in .yuv format and encoded them with ffmpeg in .mp4 container (h264 4:4:4, 100% quality, 25fps). When i use ffprobe to find out how many frames are encoded i get 600, so that’s 24 secs of video.
BUT, when i run those encoded video sequences through
av_read_frame
i only get like 40-50% of frames processed beforeav_read_frame
returns error code-12
. So I’m wild guessing that there are some data packages in middle of the streams which get read byav_read_frame
and forces a function to return-12
.What my questions are, how should i deal with this problem so i can encode full number of frames (600) ? When
av_read_frame
returns value different from0
should iav_free_packet
and proceed to read next frame ? Sinceav_read_frame
returns values< 0
for error codes, which error code is used forEOF
so i can insulate end of file code ?