Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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 ;

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (7448)

  • How to downscale video using subprocess and then piping the data over to stdout and play using ffplay and save it as well

    2 avril 2021, par ZeroDay Fracture

    I am trying to use ffmpeg to downscale a video and pipe the stdout data to ffplay to play the new downsized video by piping it to ffplay on aws lambda.

    


    This is the command I have so far, but for some reason adding a scale option is not working.

    


    I am trying to run this command locally before I deploy it on python with subprocess command. I need the raw video to be able to save into database for streaming the data in realtime.

    


    %ffmpeg -i sample.mp4  -vf scale=240:-2 -f  mpegts -c:v copy -af aresample=async=1:first_pts=0 - | ffplay -

    


    adding the scale optioin for some reason is saving the video as the name scale=240 :-2 which does not make sense.

    


  • How to play an local video in arbitrary codec and format in browser ? [closed]

    24 septembre 2023, par HanXu

    I 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 a video with src to be http://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>&#xA;

    &#xA;

    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 a video77.ts, I can not seek to timestamp within that segment.

    &#xA;

    All in all, I am looking for some solution like

    &#xA;

    enter image description here

    &#xA;

    that supports

    &#xA;

      &#xA;
    • playing videos in browsers in as many codecs and formats as possible,
    • &#xA;

    • allowing users to seek to any arbitrary timestamp.
    • &#xA;

    &#xA;

    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 !

    &#xA;

  • Avplayer can not play streaming link from youtune on ios 7

    12 septembre 2015, par thaitujim

    I have a problem. Im trying to play audio streamming from youtube response.
    When i fecth youtube to get real Stream audio. And then i get real link

    example in this case is : "https://r6---sn-8qj-nbol.googlevideo.com/videoplayback?id=3c9bf82a23c991cb&itag=140&source=youtube&requiressl=yes&mv=m&ms=au&mm=31&gcr=vn&ratebypass=yes&mime=audio/mp4&gir=yes&clen=3662991&lmt=1394274529113749&dur=230.574&signature=232B6692726E12E9CFAEAC0C3990648710FCAE04.733EBD94E30ED230299CFA2E993577D656E18457&sver=3&fexp=907259,930666,932404,943909,947209,947215,948124,952302,952605,952901,953745,953913,957103,957105,957201&key=dg_yt0&upn=_bm8tftRoZM&mt=1415673491&ip= XXX.XXX.XXX.XXX &ipbits=0&expire=1415695122&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,ms,mm,gcr,ratebypass,mime,gir,clen,lmt,dur"

    with itag = 140, this link contain only audio format.

    and this problem here.
    when i handle it by Avplayer, i work well on IOS 8 device. but on IOS 7 device. it’s not working. Does Anybody can help me fix it or give me any solution.

    my code is very simple.

    self.mSongPlayer = [[AVPlayer alloc] initWithURL:urlAudio] ;
    self.mSongPlayer play] ;

    with urlAudio link is this link above.

    i tried with normal Stream link. example is : http://www.abstractpath.com/files/audiosamples/sample.mp3
    and it work normaly on same ios7 and ios8.

    thanks everybody.