Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (99)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

Sur d’autres sites (10545)

  • ffmpeg : md5 of m3u8 playlists generated from same input video with different segment durations (after applying video filter) don't match

    15 juillet 2020, par Saurabh P Bhandari

    Here are a few commands I am using to convert and transize a video in mp4 format to a m3u8 playlist.

    


    For a given input video (mp4 format), generate multiple video only segments with segment duration 30s

    


    ffmpeg -loglevel error -i input.mp4 -dn -sn -an -c:v copy -bsf:v h264_mp4toannexb -copyts -start_at_zero -f segment -segment_time 30 30%03d.mp4 -dn -sn -vn -c:a copy audio.aac


    


    Apply video filter (in this case scaling) on each segment and convert it to a m3u8 format

    


    ls 30*.mp4 | parallel 'ffmpeg -loglevel error -i {} -vf scale=-2:144 -hls_list_size 0 {}.m3u8'


    


    Store the list of m3u8 files generated in list.txt in this format file 'segment-name.m3u8'

    


    for f in 30*.m3u8; do echo "file '$f'" >> list.txt; done


    


    Using concat demuxer, combine all segment files (which are in m3u8 format) and the audio to get one final m3u8 playlist pointing to segments with duration of 10s.

    


    ffmpeg -loglevel error -f concat -i list.txt -i audio.aac -c copy -hls_list_size 0 -hls_time 10 output_30.m3u8


    



    


    I can change the segment duration in the first step from 30s to 60s, and compare the md5 of the final m3u8 playlist generated in both the cases using this command

    


    ffmpeg -loglevel error -i <input m3u8="m3u8" playlist="playlist" /> -f md5 - &#xA;

    &#xA;

    The md5 of the output files differ i.e video streams of output_30.m3u8 and output_60.m3u8 are not the same.

    &#xA;

    Can anyone elaborate on this ?

    &#xA;

    (I expected the md5 to be the same)

    &#xA;

  • FFMpeg Input link in1:v0 parameters (size > 640x352, SAR 0:1) do not match the corresponding output link in0:v0 > parameters [duplicate]

    25 avril 2020, par Android Developer

    I am using below command to concatenate videos-

    &#xA;&#xA;

    String command[] = {"-i",inputFile1AbsolutePath,"-i",inputFile2AbsolutePath .....,"-i",inputFileNAbsolutePath,"-filter_complex","[0:v0] [0:a0] [1:v1] [1:a1]...[N:vN] concat=n=N:v=1:a=1 [v] [a],"-map","[v]","-map","[a]", outputFileAbsolutePath};&#xA;

    &#xA;&#xA;

    and got below error-

    &#xA;&#xA;

    &#xA;

    FAILED with output : ffmpeg version n3.0.1 Copyright (c) 2000-2016 the&#xA; FFmpeg developers&#xA; built with gcc 4.8 (GCC)&#xA; configuration : —target-os=linux&#xA; —cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-&#xA; —arch=arm —cpu=cortex-a8 —enable-runtime-cpudetect —sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot&#xA; —enable-pic —enable-libx264 —enable-libass —enable-libfreetype —enable-libfribidi —enable-libmp3lame —enable-fontconfig —enable-pthreads —disable-debug —disable-ffserver —enable-version3 —enable-hardcoded-tables —disable-ffplay —disable-ffprobe —enable-gpl —enable-yasm —disable-doc —disable-shared —enable-static —pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config —prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a —extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include&#xA; -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' —extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib&#xA; -Wl,-z,relro -Wl,-z,now -pie' —extra-libs='-lpng -lexpat -lm' —extra-cxxflags=&#xA; libavutil 55. 17.103 / 55. 17.103&#xA; libavcodec 57. 24.102 / 57. 24.102&#xA; libavformat 57. 25.100 / 57. 25.100&#xA; libavdevice 57. 0.101 / 57. 0.101&#xA; libavfilter 6. 31.100 / 6. 31.100&#xA; libswscale 4. 0.100 / 4. 0.100&#xA; libswresample 2. 0.101 / 2. 0.101&#xA; libpostproc 54. 0.100 / 54. 0.100&#xA; Input #0, mov,mp4,m4a,3gp,3g2,mj2, from&#xA; '/storage/emulated/0/Download/g3cm1tt7qtd41.mp4' :&#xA; Metadata :&#xA; major_brand : iso6&#xA; minor_version : 1&#xA; compatible_brands : mp42iso6avc1isom&#xA; creation_time : 2020-01-30 11:13:07&#xA; Duration : 00:00:00.00, start : 0.042667, bitrate : N/A&#xA; Stream #0:0(und) : Video : h264 (Main) (avc1 / 0x31637661), yuv420p,&#xA; 854x480 [SAR 2136:2135 DAR 89:50], 1225 kb/s, 30 fps, 30 tbr, 15360&#xA; tbn, 60 tbc (default)&#xA; Stream #0:1(eng) : Audio : aac (LC) (mp4a / 0x6134706D), 48000 Hz,&#xA; stereo, fltp, 128 kb/s (default)&#xA; Input #1, mov,mp4,m4a,3gp,3g2,mj2, from&#xA; '/storage/emulated/0/WhatsApp/Media/WhatsApp&#xA; Video/VID-20200404-WA0000.mp4' :&#xA; Metadata :&#xA; major_brand : mp42&#xA; minor_version : 0&#xA; compatible_brands : mp42isom&#xA; Duration : 00:03:43.14, start : 0.000000, bitrate : 774 kb/s&#xA; Stream #1:0(und) : Video : h264 (Baseline) (avc1 / 0x31637661), yuv420p,&#xA; 640x352, 675 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc (default)&#xA; Stream #1:1(und) : Audio : aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono,&#xA; fltp, 96 kb/s (default)&#xA; [Parsed_concat_0 @ 0xb4529400] Input link in1:v0 parameters (size&#xA; 640x352, SAR 0:1) do not match the corresponding output link in0:v0&#xA; parameters (854x480, SAR 2136:2135)&#xA; [Parsed_concat_0 @ 0xb4529400] Failed to configure output pad on&#xA; Parsed_concat_0&#xA; Error configuring complex filters.&#xA; Invalid argument

    &#xA;

    &#xA;&#xA;

    Seeing this answer i tried using-

    &#xA;&#xA;

    [0:v]setsar=1[v0]; [0:a0] [1:v]setsar=1[v1]; [1:a1]&#xA;

    &#xA;&#xA;

    but did not worked !

    &#xA;&#xA;

    How can i resolve this ?

    &#xA;

  • Match audio file with video file in batch (.bat)

    3 octobre 2019, par Jake Pearson

    i have done my research and found a fairly new thread that opened -> Finding File Matches & Variable Assignment using a .BAT Script

    However,it doesn’t seem like this person has same issue as me although they maybe using the same fotware for ingesting the videos as the naming convention says so.

    For me i have many different output names. the string in the output files has same name like the thread above -> channel_typeOfProgram_ID_DatesinString.m2v or .wav

    The one thing thast common is that before the date starts, i have High written in the file name followed by c in the video file name or 00, 01 for audio and i believe in the Finding File Matches & Variable Assignment using a .BAT Script the person who answer it made it clear that 00c is left audio and 01c is right audio.

    Here are example of the files names I get.

    Video

    BA_MUS_006606Highc450277**20190320**1831370611.m2v

    Audio

    BA_MUS_006606High00c450277201903201831370623.wav

    BA_MUS_006606High01c450277201903201831370625.wav

    or the file name would have BA_PRG_006606_02High01c45027720190320183137785

    so its a problem to break the code to using delimiters as the number of _ or segments are going to be different.