
Recherche avancée
Autres articles (78)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
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 (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP 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 (...)
Sur d’autres sites (8078)
-
avfilter/vf_scale : set correct AVFrame SAR if reset_sar=1
16 juin, par Niklas Haasavfilter/vf_scale : set correct AVFrame SAR if reset_sar=1
This otherwise generates an inconsistency between the frame state and the
link state, since the link state is set to 1:1 explicitly when `reset_sar`
is enabled, but this line of code unconditionally overwrote the output
frame SAR with the value that would be computed in the absence of `reset_sar`.cf. vf_scale_cuda, which does this correctly
-
avcodec/ppc/mpegvideo_altivec : Use correct inter scantable
22 mars, par Andreas Rheinhardtavcodec/ppc/mpegvideo_altivec : Use correct inter scantable
This affected the WMV1/2 encoders (but not when running FATE because
the encoding part uses the fastint dct, so this code isn't used
then anyway).It did not affect anything else, because a) only WMV1/2 use different
scantables, b) ff_msmpeg4_decode_block() (and therefore the WMV1
decoder) already unquantize inter macroblocks as they are parsed
c) the WMV2 decoder does not use the unquantize functions for inter
macroblocks at all.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
How can I make an rtsp stream as correct as possible in a Django application ? [closed]
4 décembre 2024, par user25336067I am writing a mini video surveillance system on Django. I want the stream to be output to the tag. now I have output to the img tag using a stream and jpeg images (using OpenCV)how to make a stream from a video, you may need to use WebRTC for the stream and somehow decode the video using ffmpeg, please tell me


def generate_frames(rtsp_url):
 cap = cv2.VideoCapture(rtsp_url) # Замените на ваш RTSP URL

 while True:
 success, frame = cap.read()
 if not success:
 break

 # Кодируем кадр в JPEG
 ret, buffer = cv2.imencode('.jpeg', frame)
 frame = buffer.tobytes()

 yield (b'--frame\r\n'
 b'Content-Type: photo/jpg\r\n\r\n' + frame + b'\r\n')



i vant to stop video and start in video tag
my html looks like this


<div class="video-container">
 <img src="http://stackoverflow.com/feeds/tag/{% url &#x27;video_feed&#x27; %}?rtspurl={{ rtsp_url }}" width='300' height='225' alt="{{ rtsp_url }}" />
 <div class="separator"></div> 
 <p class="cam-name">Трансляция камеры: {{ cam_name }}<br />RTSP: <a>{{ rtsp_url }}</a></p>
 </div>