Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (98)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il 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 (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • 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 (...)

Sur d’autres sites (8316)

  • FFPlay : How to manually select video quality during playing the mpd stream ?

    19 août 2023, par Brian_wu

    I used ffplay to play mpd stream and successed,

    


    Here the MPD file :

    


    &lt;?xml version="1.0" encoding="utf-8"?>&#xA;<mpd xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediapresentationduration="PT1M8.7S" maxsegmentduration="PT5.0S" minbuffertime="PT12.5S">&#xA;    <programinformation>&#xA;    </programinformation>&#xA;    <servicedescription>&#xA;    </servicedescription>&#xA;    <period start="PT0.0S">&#xA;        <adaptationset contenttype="video" startwithsap="1" segmentalignment="true" bitstreamswitching="true" framerate="24000/1001" maxwidth="1280" maxheight="720" par="16:9">&#xA;        <representation mimetype="video/mp4" codecs="avc1.4d401f" bandwidth="10237" width="480" height="270" sar="1:1">&#xA;            <segmenttemplate timescale="24000" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startnumber="1">&#xA;                <segmenttimeline>&#xA;                    <s t="0" d="150150" r="9"></s>&#xA;                    <s d="149149"></s>&#xA;                </segmenttimeline>&#xA;            </segmenttemplate>&#xA;        </representation>&#xA;        <representation mimetype="video/mp4" codecs="avc1.4d401f" bandwidth="60882" width="1280" height="720" sar="1:1">&#xA;            <segmenttemplate timescale="24000" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startnumber="1">&#xA;                <segmenttimeline>&#xA;                    <s t="0" d="150150" r="9"></s>&#xA;                    <s d="149149"></s>&#xA;                </segmenttimeline>&#xA;            </segmenttemplate>&#xA;        </representation>&#xA;    </adaptationset>&#xA;    <adaptationset contenttype="audio" startwithsap="1" segmentalignment="true" bitstreamswitching="true" lang="und">&#xA;        <representation mimetype="audio/mp4" codecs="mp4a.40.2" bandwidth="128000" audiosamplingrate="32000">&#xA;            <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></audiochannelconfiguration>&#xA;            <segmenttemplate timescale="32000" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startnumber="1">&#xA;                <segmenttimeline>&#xA;                    <s t="0" d="159744"></s>&#xA;                    <s d="160768" r="11"></s>&#xA;                    <s d="111915"></s>&#xA;                </segmenttimeline>&#xA;            </segmenttemplate>&#xA;        </representation>&#xA;        <representation mimetype="audio/mp4" codecs="mp4a.40.2" bandwidth="128000" audiosamplingrate="44100">&#xA;            <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></audiochannelconfiguration>&#xA;            <segmenttemplate timescale="44100" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startnumber="1">&#xA;                <segmenttimeline>&#xA;                    <s t="0" d="220160"></s>&#xA;                    <s d="221184" r="11"></s>&#xA;                    <s d="158713"></s>&#xA;                </segmenttimeline>&#xA;            </segmenttemplate>&#xA;        </representation>&#xA;    </adaptationset>&#xA;</period>&#xA;</mpd>

    &#xA;&#xA;

    this dash stream contains 2 vindeos(480P and 720P), and 2 audios.The videos always starts low quality(480P), I want to change the video resolution to the high quality(720P) during playing process, what should i do ?

    &#xA;

  • Why am I having issues re-encoding rtsp stream to rtmp via FFMPEG-python ? [closed]

    27 août 2023, par Luke Lopez

    I can see that the python script is not throwing errors however I cant stream the video via VLC player.

    &#xA;

    &#xA;  Metadata:&#xA;    title           : Media Server&#xA;    encoder         : Lavf60.3.100&#xA;  Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuv420p(tv, progressive), 640x360, q=2-31, 1 kb/s, 25 fps, 1k tbn&#xA;    Metadata:&#xA;      encoder         : Lavc60.3.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/1000 buffer size: 0 vbv_delay: N/A&#xA;frame= 1927 fps= 25 q=69.0 size=      92kB time=00:01:17.00 bitrate=   9.7kbits/s dup=13 drop=1 speed=0.98x     &#xA;&#xA;&#xA;&#xA;import subprocess&#xA;&#xA;# Input RTSP stream URL&#xA;input_stream_url = "rtsp://myStream"&#xA;&#xA;# Wowza RTMP or RTSP URL (replace with your Wowza server&#x27;s details)&#xA;wowza_url = "rtmp://myWowzaServer"&#xA;&#xA;# Resolution &#xA;desired_width = 640&#xA;desired_height = 360&#xA;&#xA;# Video bitrate and frame rate settings&#xA;video_bitrate = "1240"  # 1240 Kbps&#xA;fps = 25&#xA;&#xA;# Start FFmpeg process to pull and push the stream with specified settings&#xA;ffmpeg_command = [&#xA;    &#x27;ffmpeg&#x27;,&#xA;    &#x27;-rtsp_transport&#x27;, &#x27;tcp&#x27;,  # Use TCP for RTSP transport (optional)&#xA;    &#x27;-i&#x27;, input_stream_url,    # Input RTSP stream URL&#xA;    &#x27;-s&#x27;, f&#x27;{desired_width}x{desired_height}&#x27;,  # Desired resolution&#xA;    &#x27;-c:v&#x27;, &#x27;libx264&#x27;,        # Video codec: H.264&#xA;    &#x27;-b:v&#x27;, video_bitrate,    # Video bitrate&#xA;    &#x27;-r&#x27;, str(fps),            # Frame rate&#xA;    &#x27;-c:a&#x27;, &#x27;aac&#x27;,            # Audio codec: AAC&#xA;    &#x27;-f&#x27;, &#x27;flv&#x27;,              # Output format (FLV for RTMP, rtsp for RTSP)&#xA;    wowza_url                 # Wowza RTMP or RTSP URL&#xA;]&#xA;&#xA;# Start FFmpeg as a subprocess&#xA;ffmpeg_process = subprocess.Popen(ffmpeg_command)&#xA;&#xA;# Stop Condition&#xA;print("Press Enter to stop...")&#xA;input()&#xA;&#xA;# Terminate FFmpeg when done&#xA;ffmpeg_process.terminate()&#xA;&#xA;

    &#xA;

    So far I have tried implementing best encoding practices as recommended by Wowza, have been messing with the frame rate, bitrate etc... but with no luck. Hopefully someone experienced with using FFMpeg can give suggestions / solutions ??

    &#xA;

    Thanks !

    &#xA;

  • ffmpeg Error when evaluating the expression xxx for y when overlay

    23 mars 2023, par LF00

    I use ffmpeg to add a flip watermark on the wideo with overlay,

    &#xA;

    This works well with x

    &#xA;

    ffmpeg -hide_banner -i HLS_540.ts -i out.png -filter_complex "[0:v][1:v]overlay=x=&#x27;-w&#x2B;400&#x2B;100*mod(t\,(W&#x2B;w-400)/100)&#x27;:y=250" out.mp4

    &#xA;

    But when I set y with expression if(eq(mod(t,5),0),rand(0,100),y) it show's error.

    &#xA;

    ffmpeg -hide_banner -i HLS_540.ts -i out.png -filter_complex "[0:v][1:v]overlay=x=&#x27;-w&#x2B;400&#x2B;100*mod(t\,(W&#x2B;w-400)/100)&#x27;:y=&#x27;if(eq(mod(t\,5)\,0)\,rand(0\,100)\,y)&#x27;" out.mp4

    &#xA;

    [Parsed_overlay_0 @ 000002438ba6d880] [Eval @ 000000cf5a3fe2e0] Unknown function in &#x27;rand(0,100),y)&#x27;&#xA;[Parsed_overlay_0 @ 000002438ba6d880] Error when evaluating the expression &#x27;if(eq(mod(t,5),0),rand(0,100),y)&#x27; for y&#xA;[Parsed_overlay_0 @ 000002438ba6d880] Failed to configure input pad on Parsed_overlay_0&#xA;

    &#xA;

    While when I do like this ffplay -f lavfi -i "color=color=yellow" -vf "drawtext=text=&#x27;s&#x27;:x=if(eq(mod(t\,5)\,0)\,rand(0\,(W-tw))\,x&#x2B;0.03*mod(t\,5)):y=if(eq(mod(t\,5)\,0)\,rand(0\,(H-th))\,y)" it works well.

    &#xA;

    How can I set rand y in the failed command ?

    &#xA;

    Envirionment :&#xA;win11, git-bash

    &#xA;

    ffmpeg -version&#xA;ffmpeg version N-104863-g6cf55b9da2-20211213 Copyright (c) 2000-2021 the FFmpeg developers&#xA;built with gcc 11.2.0 (crosstool-NG 1.24.0.498_5075e1f)&#xA;configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librist --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --disable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20211213&#xA;libavutil      57. 11.100 / 57. 11.100&#xA;libavcodec     59. 14.100 / 59. 14.100&#xA;libavformat    59. 10.100 / 59. 10.100&#xA;libavdevice    59.  0.101 / 59.  0.101&#xA;libavfilter     8. 20.100 /  8. 20.100&#xA;libswscale      6.  1.101 /  6.  1.101&#xA;libswresample   4.  0.100 /  4.  0.100&#xA;libpostproc    56.  0.100 / 56.  0.100&#xA;

    &#xA;