Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (59)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (6336)

  • ffmpeg -var_stream_map Invalid keyval "v:0

    22 septembre 2020, par rmrf fly

    the ffmpeg command is correct,

    


    use ffmpeg command execute at command line is ok,

    


    int windows10 use java exec the command is ok ,

    


    by only in linux when i use java exec the ffmpeg command throw expection

    


    the command :

    


    ffmpeg -i /data/vsftpd/Anchor.mp4 -b:v:0 1000k -b:v:1 256k -b:a:0 64k -b:a:1 32k -map 0:v -map 0:a -map 0:v -map 0:a -f hls -var_stream_map "v:0,a:0 v:1,a:1" -hls_segment_filename 'file_%v_%03d.ts' out_%v.m3u8


    


    enter image description here

    


    [hls @ 0xd31b5c0] Invalid keyval "v:0
[hls @ 0xd31b5c0] Variant stream info update failed with status ffffffea
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument


    


    jar

    


    <dependency>&#xA;   <groupid>org.apache.commons</groupid>&#xA;   <artifactid>commons-exec</artifactid>&#xA;   <version>1.3</version>&#xA;</dependency>&#xA;

    &#xA;

    java code

    &#xA;

    public static int exeCommand(String command, OutputStream out) throws ExecuteException, IOException {&#xA;    CommandLine commandLine = CommandLine.parse(command);&#xA;    PumpStreamHandler pumpStreamHandler = null;&#xA;    if (null == out) {&#xA;        pumpStreamHandler = new PumpStreamHandler();&#xA;    } else {&#xA;        pumpStreamHandler = new PumpStreamHandler(out);&#xA;    }&#xA;&#xA;    // time out 10s&#xA;    ExecuteWatchdog watchdog = new ExecuteWatchdog(10000);&#xA;&#xA;    DefaultExecutor executor = new DefaultExecutor();&#xA;    executor.setStreamHandler(pumpStreamHandler);&#xA;    //executor.setWatchdog(watchdog);&#xA;&#xA;    return executor.execute(commandLine);&#xA;}&#xA;

    &#xA;

  • What does "dash" - mean as ffmpeg output filename

    26 août 2020, par DDS

    I'm trying to use ffmpeg with gnuplot to draw some audio spectra, I'm following this ffmpeg doc link.

    &#xA;

    Now I'm asking what "dash" - means on this line right after -f data, it should be a filename : the last element of ffmpeg command should the output file but I have no files named - in the directory after running the command.

    &#xA;

    ffmpeg -y -i in.wav -ac 1 -filter:a aresample=8000 -map 0:a -c:a pcm_s16le -f data - | gnuplot -p -e "plot &#x27;code>

    &#xA;

    I looked on ffmpeg docs but I didn't find anything.

    &#xA;

  • FFmpeg continues to process after time specified at "-to"

    4 août 2020, par Yamahabest

    I have a video, where I want to cut a part from the beginning, and from the end. And I want to apply some fade ins/fade outs, and add some text.

    &#xA;

    So, I came up with the following syntax :

    &#xA;

    -ss 10 -to 40 &#xA;-i "D:\DATA\Software\VideoProcessor_Files\20171015 Zelhem Tandem Frans met Mirthe.MP4" &#xA;-loop 1 -i "Input_Files\logo maurik large.png" &#xA;-loop 1 -i "Input_Files\logo maurik small.png" &#xA;-filter_complex "&#xA;    color=0x7F7F7F@0.95:1920x1080[grey_for_fade_out];&#xA;    [grey_for_fade_out]fade=t=out:st=12:d=2:alpha=1[grey_fade_out];&#xA;    [0:v][grey_fade_out]overlay[video_grey_fade_out];&#xA;    color=0x7F7F7F@0.95:1920x1080[grey_for_fade_in];&#xA;    [grey_for_fade_in]fade=t=in:st=37:d=2:alpha=1[grey_fade_in];&#xA;    [video_grey_fade_out][grey_fade_in]overlay[video_grey_fade_out_in];&#xA;    [1:v]fade=t=out:st=13:d=2:alpha=1[over];&#xA;    [over]scale=iw/1.5:-1[scaled];&#xA;    [video_grey_fade_out_in][scaled]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/10[video_grey_fade_out_in_logo];&#xA;    [1:v]fade=t=in:st=36:d=2:alpha=1[over2];&#xA;    [over2]scale=iw/1.5:-1[scaled2];&#xA;    [video_grey_fade_out_in_logo][scaled2]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2[video_grey_fade_out_in_logo2];&#xA;    [2:v]colorchannelmixer=aa=0.5,fade=t=in:st=14:d=2:alpha=1,fade=t=out:st=35:d=2:alpha=1[over3];&#xA;    [over3]scale=iw/10:-1[scaled3];&#xA;    [video_grey_fade_out_in_logo2][scaled3]overlay=10:10[video_complete];&#xA;    [video_complete]drawtext=fontfile=Input_Files/Sansation-Bold.ttf:text=&#x27;Tandemvlucht met Mirthe&#x27;:fontsize=96:fontcolor=white:alpha=&#x27;if(lt(t,11),1,(2-(t-11))/2)&#x27;:x=(w-text_w)/2:y=((h-text_h)/2)&#x2B;125,drawtext=fontfile=Input_Files/Sansation-Bold.ttf:text=&#x27;Zeddam&#x27;:fontsize=96:fontcolor=white:alpha=&#x27;if(lt(t,11),1,(2-(t-11))/2)&#x27;:x=(w-text_w)/2:y=((h-text_h)/2)&#x2B;250,drawtext=fontfile=Input_Files/Sansation-Bold.ttf:text=&#x27;4 augustus 2020&#x27;:fontsize=96:fontcolor=white:alpha=&#x27;if(lt(t,11),1,(2-(t-11))/2)&#x27;:x=(w-text_w)/2:y=((h-text_h)/2)&#x2B;375,drawtext=fontfile=Input_Files/Sansation-Bold.ttf:text=&#x27;Ook een keer meevliegen?&#x27;:fontsize=96:fontcolor=white:alpha=&#x27;if(lt(t,37),0,(t-37)/2)&#x27;:x=(w-text_w)/2:y=((h-text_h)/6),drawtext=fontfile=Input_Files/Sansation-Bold.ttf:text=&#x27;Of bel 085 - 049 55 69&#x27;:fontsize=96:fontcolor=white:alpha=&#x27;if(lt(t,37),0,(t-37)/2)&#x27;:x=(w-text_w)/2:y=((h-text_h)/2)&#x2B;350"&#xA;-preset medium &#xA;-crf 18 &#xA;-c:a copy &#xA;-y ".\Output_Files\Video\Zeddam\2020-08-04\Mirthe\27ed390a-8497-4550-b93f-4f87d9f2c9f0\MP_Tandemvlucht met_Mirthe_Zeddam_2020-08-04.mp4"&#xA;

    &#xA;

    I am quite sure this has worked in the past, but now FFmpeg just keeps on processing endlessly. If I then stop the FFmpeg process, and look at the resulting file, I see that the last frame (of the end of the specified period) just keeps on duplicating.

    &#xA;

    The drop counter in the console output of FFmpeg also starts increasing at the end of the specified period :

    &#xA;

    frame=  987 fps= 15 q=-1.0 Lsize=   31357kB time=00:00:41.04 bitrate=6259.0kbits/s dup=0 drop=10 speed=0.644x&#xA;

    &#xA;

    I am kind of lost on why this doesn't work anymore. I might have upgraded the FFmpeg executable in the mean time. Maybe my syntax was/is not correct, but I believe it just worked.

    &#xA;

    It has to be in the complex filter, because when I remove that, it works alright.&#xA;It is not in the drawtext part of the complex filter, because it still occurs when I remove that. And when I only do the drawtext, FFmpeg stops correctly at the specified time.

    &#xA;

    I have tried this, but then it still occurs :

    &#xA;

    -filter_complex "&#xA;    color=0x7F7F7F@0.95:1920x1080[grey_for_fade_out];&#xA;    [grey_for_fade_out]fade=t=out:st=12:d=2:alpha=1[grey_fade_out];&#xA;    [0:v][grey_fade_out]overlay[video_grey_fade_out];&#xA;    color=0x7F7F7F@0.95:1920x1080[grey_for_fade_in];&#xA;    [grey_for_fade_in]fade=t=in:st=37:d=2:alpha=1[grey_fade_in];&#xA;    [video_grey_fade_out][grey_fade_in]overlay"&#xA;

    &#xA;

    Also with this, it still occurs :

    &#xA;

    -filter_complex "&#xA;    [1:v]fade=t=out:st=13:d=2:alpha=1[over];&#xA;    [over]scale=iw/1.5:-1[scaled];&#xA;    [0:v][scaled]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/10[video_grey_fade_out_in_logo];&#xA;    [1:v]fade=t=in:st=36:d=2:alpha=1[over2];&#xA;    [over2]scale=iw/1.5:-1[scaled2];&#xA;    [video_grey_fade_out_in_logo][scaled2]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2[video_grey_fade_out_in_logo2];&#xA;    [2:v]colorchannelmixer=aa=0.5,fade=t=in:st=14:d=2:alpha=1,fade=t=out:st=35:d=2:alpha=1[over3];&#xA;    [over3]scale=iw/10:-1[scaled3];&#xA;    [video_grey_fade_out_in_logo2][scaled3]overlay=10:10"&#xA;

    &#xA;

    I just don't understand. All my fade-ins/-outs seem to be within the specified range :

    &#xA;

      &#xA;
    • fade=t=out:st=12:d=2 : start at 12 seconds, duration 2 seconds. This ends at 14 seconds, which is smaller than 40 seconds.
    • &#xA;

    • fade=t=in:st=37:d=2 : start at 37 seconds, duration 2 seconds. This ends at 39 seconds, which is smaller than 40 seconds.
    • &#xA;

    • fade=t=out:st=13:d=2 : start at 13 seconds, duration 2 seconds. This ends at 15 seconds, which is smaller than 40 seconds.
    • &#xA;

    • fade=t=in:st=36:d=2 : start at 36 seconds, duration 2 seconds. This ends at 38 seconds, which is smaller than 40 seconds.
    • &#xA;

    &#xA;

    It is just like some sequence is not ended properly, which is causing FFmpeg to just continue.

    &#xA;