Recherche avancée

Médias (91)

Autres articles (78)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (10284)

  • Download hls m3u8 stream with ffmpeg comes only with video - no audio

    20 avril 2022, par Arthur Meier

    I want to download a hls m3u8 stream from an internet source. I was able to get the video as mp4-file. But there is no audio. I've tried already serveral ffmpeg instructions in the windows terminal but with no success. I've change from power shell to cmd and use some of this

    


    ffmpeg -i https://dms.redbull.tv/v4/dms/media/stv/AAEJ0EHC58GGJY1D7GWS/640x360@971824/personal_computer/chrome/at/playlist.m3u8 -c:v copy -c:a copy -t 30 -bsf:a aac_adtstoasc output.mp4

    


    or

    


    ffmpeg.exe -i "https://dms.redbull.tv/v4/dms/media/stv/AAEJ0EHC58GGJY1D7GWS/640x360@971824/personal_computer/chrome/at/playlist.m3u8" -map -codec:a libmp3lame -b:a 96k -bsf:a aac_adtstoasc -c copy output.mp4

    


    The m3u8 addresses I've got using the browser tools for developers from firefox by searching in the network analysis.

    


    I also tried to get the video converted and saved with vlc - but also had no success. For the profile, I tried "Video - H.264 + MP3 (MP4)" with the setting "Keep original audio track". But also with other choices, I have had no success.

    


    I hope someone here has a working solution :-))

    


  • avconv/ffmpeg simultaneously stream from usb webcam and save video onto disk

    27 novembre 2017, par BojowyZajaczek

    I need to simultaneously stream/broadcast (over rtmp) and save video (with audio) from my USB webcam. The webcam is Logitech c920 which have hardware h.264 encoder.

    I don’t want to reencode the media, so I’m using the -c:v copy option.

    The whole script looks like below :

    #! /bin/bash

    SOURCEV="/dev/video0"
    SOURCEA="hw:1"

    FILE_TO_SAVE="Archive/file_to_save.mp4"
    YOUTUBE_URL="rtmp://x.rtmp.youtube.com/live2"
    KEY="my-secret-key"        

    avconv -f alsa -ac 2 -r 44100 -i $SOURCEA \
    -s 1920x1080 -r 24 -c:v h264 -i "$SOURCEV" \
    -ar "44100" -r:v 24 -c:a aac -c:v copy -s 1920x1080 -f mp4 "$FILE_TO_SAVE" \
    -g $FPS*4 -ar "44100" -b:a "128k" -ac 2 -r 24 -c:a aac -c:v copy -s 1920x1080 -f flv "$YOUTUBE_URL/$KEY"

    This method "works" - it means’ it can stream content and save it to disk, but the problem with this method is that file video relies on the stream. For example if the Internet connection is too slow, the saved file will have low FPS. If the Internet connection is interrupted the "recording" of video file is stopped.

    Can anyone help me with making this two streams independent ?

    The whole things is happening on raspberrypi 3 so computing power is highly limited.

  • ffmpeg record timelapse camera v4l2

    21 mars 2019, par Paul G.

    How can I instruct ffmpeg (v. : 3.4.5) to record only one frame per minute from my video camera at /dev/video0 and copy it to a new file with 30 frames per second ? Goal is timelapse video of some months and record only one frame per minute into the out video to save space and processing power instead of just capturing the camera at 30fps and then preprocess the huge video file for speed up...

    The camera delivers a 1920x1080 30fps stream with "mjpeg" selected in commandline. I would like to keep the raw frames and just copy them into the out file. I tried this command to get 1fps input to 30fps output but this seems not to work :

    ffmpeg -framerate 1 -input_format mjpeg -i /dev/video0 -r 30 -c:v copy -an out.mp4

    [video4linux2,v4l2 @ 0x55ece63ac360] The driver changed the time per frame from 1/1 to 1/30
    Input #0, video4linux2,v4l2, from '/dev/video0':
     Duration: N/A, start: 37064.594605, bitrate: N/A
       Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 1920x1080, 30 fps, 30 tbr, 1000k tbn, 1000k tbc

    But this doesnt work.