Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (84)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (11317)

  • hls replace type of the files after the encode ?

    8 avril 2023, par vl4d

    i am using ffmpeg to encode mp4 files to hls for streaming with this script

    


    for file in *.mp4; do ffmpeg -i "$file" -vbsf h264_mp4toannexb -g 48 -sc_threshold 0 \
    -map 0:0 -map 0:1 -map 0:0 -map 0:1 -map 0:0 -map 0:1 \
    -s:v:0 640x360 -crf:v:0 16 \
    -s:v:1 1280x720 -crf:v:1 20 \
    -s:v:2 1920x1080 -c:v:2 copy -c:a copy \
    -var_stream_map "v:0,a:0,name:360p v:1,a:1,name:720p v:2,a:2,name:1080p" \
    -preset fast -hls_allow_cache 1 -threads 0 -f hls -hls_playlist_type vod -keyint_min 48 -hls_time 3 \
    -hls_flags independent_segments -master_pl_name "${file%.mp4}".m3u8 \
    -hls_segment_filename ./"${file%.mp4}"-%v/segment_%03d.ts ./"${file%.mp4}"-%v/play.m3u8 ; done


    


    and i want after the encode to make all the .ts files renamed with random types .jpg .txt etc..

    


    #EXTINF:3.003000,
segment_000.jpg
#EXTINF:3.211533,
segment_001.css
#EXTINF:3.336667,
segment_002.html
#EXTINF:3.128133,
segment_003.srt
#EXTINF:2.711033,
segment_004.vtt
#EXTINF:6.631633,
segment_005.txt


    


    the hls is working after i rename all this manual is any easy way after the encode to run a bash or a script to rename all the .ts files and the insite of m3u8 ??

    


  • Creating a .m3u8 file for .ts files that already exist

    25 octobre 2019, par user12267838

    I need to create an m3u8 file - either from scratch or with a program - for existing .ts files that I have.

    I have 10 .ts files, all are the same duration, same fps, etc..

    I tried generating an m3u8, but the VLC Player shows a corrupted file every time I play it. The duration is incorrect, the video freezes at some parts while other parts play choppy and even lose all quality.

    I tried using FFmpeg to create a .m3u8 file for another mp4 that does not have the same content as the .ts files, but should be the same fps and the same duration of all .ts files combined.

    Here is the command which failed me :

    `ffmpeg -i background.mp4 -g 50 -hls_time 2 output.m3u8`

    I tried creating a m3u8 file from scratch,

    like this :

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:4
    #EXT-X-MEDIA-SEQUENCE:5
    #EXTINF:2.000000,
    export-1080p--0.ts
    #EXTINF:2.000000,
    export-1080p--1.ts
    #EXTINF:2.000000,
    export-1080p--2.ts
    #EXTINF:2.000000,
    export-1080p--3.ts
    #EXTINF:2.000000,
    export-1080p--4.ts
    #EXTINF:2.000000,
    export-1080p--5.ts
    #EXTINF:2.000000,
    export-1080p--6.ts
    #EXTINF:1.000000,
    export-1080p--7.ts
    #EXT-X-ENDLIST

    But that failed as well.

    With ffmeg command :

    ffmpeg -i [filename.ts]

    I have checked all of my .ts files, they are all 00:00:02.02


    In this thread I have found a command, I need a similar command that allows me to use an input of multiple .ts files.

    ffmpeg -i input.ts \
    - map 0 -c copy \
    - f segment -segment_list out.m3u8 \
    - segment_time 60 \
    out%03d.ts


    Is there a way to :

    a) create a m3u8 by hand ?

    b) use a program to create a m3u8 ?

    c) use ffmpeg to fetch the .ts files so that it makes a playable m3u8 file ?

    Does anyone know how I can get it done ?

  • Concatinating mp4 files to a single mp4 file [migrated]

    20 juin 2013, par Vipin Nair

    I have some mp4 video files with me and i need to concatenate them one by one and make a single MP4 video file.

    I came to know about FFMPEG through which we can concat files.

    I tried doing

    ffmpeg -i concat:'file1.mp4|file2.mp4' -vcodec copy -acodec copy  -y OutCome.mp4

    But while executing the command i always get file2.mp4,no such file exists,but the file is there in the folder.

    What i am doing wrong ? or is there any other tool which can help me achieve this target through command line.