Recherche avancée

Médias (5)

Mot : - Tags -/open film making

Autres articles (80)

  • HTML5 audio and video support

    13 avril 2011, par

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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

Sur d’autres sites (9032)

  • Adaptive bit rate streaming of mp4 of different gop size using media source api

    25 décembre 2018, par wahab khurram

    I want the adaptive bitrate streaming of the mp4 video of different gop keyframe size.

    I know there are couple of options for multi bitrate streaming i.e hls, dash etc

    But I already uploaded the videos on the server each video have the 360p, 480p and 720p mp4 file and each video are having different keyframe intervals.

    So the real challenge is to make the own multi bitrate mp4 media player using the media source api

    I have brain storming all aspect.

    We can only cut the h264 at keyframe

    So my real challenge is to know the video each keyframe, the keyframe chunk duration, the offset duration and the offset byte position in the mp4 file.

    So my question is how I can get these following using ffmpeg, ffprobe or any other software.

    1- Keyframe chunk duration

    2- Offset video duration

    3- Offset byte position in video.

    The following ffprobe command give the detailed info of the each keyframe, maybe this will help

    ffprobe -i "1080p.mp4" -select_streams v -skip_frame nokey -show_frames

    Thanks !

  • Creating a Master Playlist after creating multiple renditions with FFMPEG for multi bitrate VOD

    15 septembre 2020, par Bill

    I am trying to upload a video to a server, convert the video file to 3 different videos with different resolutions (i.e. 1080p,720p, 480p), and then use FFMPEG to create a master playlist out of each of the resolutions all within the same command ? Is this possible ? So far I am able to upload a video and create 3 different resolutions but I haven't been able to use ffmpeg to create the master manifest. So far my FFMPEG command looks like this :

    



     ffmpeg -hide_banner -y -i beach.mkv \
  -vf scale=w=640:h=360:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod  -b:v 800k -maxrate 856k -bufsize 1200k -b:a 96k -hls_segment_filename beach/360p_%03d.ts beach/360p.m3u8 \
  -vf scale=w=842:h=480:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 1400k -maxrate 1498k -bufsize 2100k -b:a 128k -hls_segment_filename beach/480p_%03d.ts beach/480p.m3u8 \
  -vf scale=w=1280:h=720:force_original_aspect_ratio=decrease -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type vod -b:v 2800k -maxrate 2996k -bufsize 4200k -b:a 128k -hls_segment_filename beach/720p_%03d.ts beach/720p.m3u8 


    



    This command is based of research from this page https://docs.peer5.com/guides/production-ready-hls-vod/

    



    What do I need to add to the FFMPEG command to generate a master playlist ?

    


  • Using ffmpeg to pipe Logitech C920 video to two outputs : re-encoded to RTMP stream and hardware-encoded to file

    18 décembre 2018, par Maros Hluska

    I’m trying to use ffmpeg to accept video from a Logitech C920 and broadcast it to an RTMP stream (e.g. Twitch). But there’s a twist : I would like to also save to file the original 1080p hardware-encoded video.

    So I would like to do both of these :

    1. Re-encode the input to 852x480 resolution and upload to an RTMP url with 1500 bitrate
    2. Save the original input to a file without re-encoding (C920 does hardware encoding with the h.264 codec)

    I’ve tried saving the video to file without re-encoding using the following :

    ffmpeg -s 1920x1080 -framerate 30 -pixel_format uyvy422 -vcodec h264 -f avfoundation -i 'HD Pro' -copyinkf -vcodec copy out.mp4

    This seems to almost work. The webcam light turns on and a few seconds of running this produces a massive file (1GB or so). However, I can’t seem to open the file with VLC. I do see a warning from ffmpeg :

    [AVBSFContext @ 0x7fbd4fc3e9c0] No start code is found.
    HD Pro: could not find codec parameters

    I’m on a Mac using ffmpeg 4.1.

    Edit :

    It seems the file that ffmpeg produces is not h264 encoded but rather raw pixel data. I’m starting to think that it’s not possible to set the webcam into the h264 mode with Mac (most other cases do it in Linux with v4l2).

    To anyone answering the question, I’d be happy with a solution that involves Linux as well. Especially if I can use a bootable live USB.