
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (101)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Publier sur MédiaSpip
13 juin 2013Puis-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 -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe 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 (10137)
-
streaming of hevc coded video coded by ffmpeg via vlc media player
7 avril 2015, par aamnawhen i am trying to stream a video which is converted from yuv to mp4 in ffmpeg in hevc coding from one pc to another using VLC.Streaming does not happen .please help me.
-
How to play an local video in arbitrary codec and format in browser ? [closed]
24 septembre 2023, par HanXuI am developing a video player in browser to let the user select a local video to play, and want to support as many video formats as possible. I know that in browser a
video
tag can only play videos in a limited set of codecs, and on desktop libraries like VLC can play literally any videos. I would like to bring that broad compatibility to the browser, but not sure how to achieve it.

One thing come up in my mind is to let the user run a thin client natively, which read the local video and stream it at, say,
http://localhost:8080
, in some web-friendly codec and format, and in the frontend I use avideo
withsrc
to behttp://localhost:8080
.

In the client I think I need to run some
ffmpeg
command to somehow stream and process the video in real-time. I also run into the libVLC which seems nice, and am not sure which one to use.

Furthermore, I need to enable the user to seek to any arbitrary timestamp, and am not sure if the streaming technic supports it.


I have done some googling, and found a method which first runs a
ffmpeg
command as

VIDSOURCE="/some/video.mp4"
AUDIO_OPTS="-c:a aac -b:a 160000 -ac 2"
VIDEO_OPTS="-s 854x480 -c:v libx264 -b:v 800000"
OUTPUT_HLS="-hls_time 10 -hls_list_size 10 -start_number 1"
ffmpeg -i "$VIDSOURCE" -y $AUDIO_OPTS $VIDEO_OPTS $OUTPUT_HLS /some/public/video.m3u8



and in the frontend I can use the react-player to play the video like


<reactplayer url="/some/public/video.m3u8"></reactplayer>



However, I can not seek to an arbitrary timestamp, and the
ffmpeg
command creates a lot of.ts
files one by one about which I am not sure what is going on. It seems that before it creates avideo77.ts
, I can not seek to timestamp within that segment.

All in all, I am looking for some solution like




that supports


- 

- playing videos in browsers in as many codecs and formats as possible,
- allowing users to seek to any arbitrary timestamp.






Since many native video player like VLC supports it, I believe it can be done. Does anyone have any idea that may help ? Appreciate in advance !


-
Play MJPEG stream to v4l2loopback device
28 juillet 2020, par ahofferI have a RaspberryPi with a V1 camera.


I want to use it as my camera for Zoom, Teams, and other virtual meetings.


I have the RaspberryPi streaming motion JPEG over http using the application named "Motion".


I created a v4l2 dummy device on my linux laptop as a virtual camera.


However, I can't get the mjpeg stream to play to the v4l2 dummy device with the simple command :


ffmpeg -i "http://milan.local:8081" -map 0:v -f v4l2 /dev/video4


The result is :


Input #0, mpjpeg, from 'http://milan.local:8081':
 Duration: N/A, bitrate: N/A
 Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
 Stream #0:0 -> #0:0 (mjpeg (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[v4l2 @ 0x55a04567bbe0] Unknown V4L2 pixel format equivalent for yuvj420p
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:0 --




What options am I missing from my
ffmpeg
command ?