Recherche avancée

Médias (91)

Autres articles (45)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (6036)

  • Ffmpeg generate master playlist file in realtime

    18 août 2022, par user994461

    I have playing with ffmpeg and HLS adaptive encoding, i want to make it somehow to encode one by one resolution and make/update master playlist file in realtime..
Example, when 240p is done master playlist file will be updated and video can be played in 240p while 480p,720p and etc... is still encoding in background.

    


    I have try with this command and actualy this is working fine but not in way as i want...

    


    /home/test/ffmpeg -i 1.mp4 
-map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0
-c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -c:a aac -ar 48000
-filter:v:0 scale="trunc(oh*a/2)*2:240" -maxrate:v:0 856k -bufsize:v:0 1200k -b:a:0 96k  
-filter:v:1 scale="trunc(oh*a/2)*2:480" -maxrate:v:1 1498k -bufsize:v:1 2100k -b:a:1 128k  
-var_stream_map "v:0,a:0,name:240p v:1,a:1,name:480p" 
-hls_time 4 -hls_list_size 0 -master_pl_name master.m3u8 -hls_segment_filename %v_%03d.ts %v.m3u8


    


    This command above encoding all resolutions in same time and must finish all before i can watch it.

    


    Any solution to make ffmpeg to encode 240p -> update playlist, encode 480p -> update playlist and etc...

    


  • moviepy ruining video after combining them

    1er juin 2020, par jjakeryan

    I'm trying to make a program that downloads videos from TikTok and combines all the separate videos into one .mp4 file and moves the final video to a folder on my desktop. I've been able to make it download all the videos and when I watch the separate videos they play fine however when I combine the videos some of the videos are messed up and look like this but the audio is fine.video looks like this

    



    #slecting all .mp4 files
    video_files = glob.iglob("*.mp4")

    print(video_files)
    clips = []

    for clip in video_files:  # For each mp4 file name
        clips.append(VideoFileClip(clip))  # Store them as a VideoFileClip and add to the clips list

    today = date.today()

    final = concatenate_videoclips(clips)  # Concatenate the VideoFileClips
    final.write_videofile(f"{today}.mp4", codec="libx264")


#moving completed video to folder on desktop
    shutil.move(f'{today}.mp4', '/Users/jacobmarrandio/Desktop/done_videos/')


    



    thanks for any help

    


  • how to play m3u8 videos from laravel storage

    10 mars 2019, par Farzane Khazaei

    I used ffmpeg to convert my MP4 videos to M3U8 format to have multiple qualities and stream my videos. because of security reason I have to put my videos in storage folder (not public) and now when I try to watch videos the browser just download M3U8 text file and video wont display. I install chrome extension to display M3U8 videos and i can see my M3U8 videos if I put the files in public folder and call the URL directly. this is my code

    $fileName = $product->details()['sample_file_name'];
    $filePath = $product->type.'s/'.$product->id.'/'.$fileName;      
    $fileContents = Storage::disk('products')->path($filePath);
    $header = ['Content-type' => Storage::disk('products')->mimeType($filePath)];
    $header = ['Content-Disposition' => 'attachment; filename='.basename($filePath)];
    $response = Response::download($fileContents, $fileName, $header);
    return $response;

    please help me what headers should i set for my download response.