Recherche avancée

Médias (0)

Mot : - Tags -/serveur

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (55)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

Sur d’autres sites (4618)

  • ffmpeg not converting mp3 to mp4 in flutter [duplicate]

    25 août 2020, par neena

    final String path = await _localPath ;&#xA;final Directory directory = await Directory('$path/CapturedImages').create(recursive : true) ;&#xA;print("The directory $directory is created") ;

    &#xA;

      //print("Tempath::::::::::::::::: == $tempPath");&#xA;  String input = directory.path &#x2B; &#x27;/&#x27; &#x2B; "audio" &#x2B; &#x27;.mp3&#x27;;&#xA;  String output = directory.path   &#x2B; "name" &#x2B; ".mp4";&#xA;  final FlutterFFmpeg _flutterFFmpeg = new FlutterFFmpeg();&#xA;  _flutterFFmpeg.execute("ffmpeg -i $input $output").then((rc) => print("FFmpeg process exited with rc $rc"));&#xA;&#xA; Input #0, mp3, from &#x27;/storage/emulated/0/Android/data/quadauq.ffmpeg_examplebyneena/files/CapturedImages/audio.mp3&#x27;:&#xA;I/mobile-ffmpeg(10080):   Metadata:&#xA;I/mobile-ffmpeg(10080):     genre           : &#xA;I/mobile-ffmpeg(10080): Cinematic&#xA;I/mobile-ffmpeg(10080): &#xA;I/mobile-ffmpeg(10080):     album           : &#xA;I/mobile-ffmpeg(10080): YouTube Audio Library&#xA;I/mobile-ffmpeg(10080): &#xA;I/mobile-ffmpeg(10080):     title           : &#xA;I/mobile-ffmpeg(10080): Impact Moderato&#xA;I/mobile-ffmpeg(10080): &#xA;I/mobile-ffmpeg(10080):     artist          : &#xA;I/mobile-ffmpeg(10080): Kevin MacLeod&#xA;I/mobile-ffmpeg(10080): &#xA;I/mobile-ffmpeg(10080):   Duration: &#xA;I/mobile-ffmpeg(10080): 00:00:27.25&#xA;I/mobile-ffmpeg(10080): , start: &#xA;I/mobile-ffmpeg(10080): 0.034531&#xA;I/mobile-ffmpeg(10080): , bitrate: &#xA;I/mobile-ffmpeg(10080): 224 kb/s&#xA;I/mobile-ffmpeg(10080): &#xA;I/mobile-ffmpeg(10080):     Stream #0:0&#xA;I/mobile-ffmpeg(10080): : Audio: mp3, 32000 Hz, stereo, fltp, 224 kb/s&#xA;I/mobile-ffmpeg(10080): &#xA;I/mobile-ffmpeg(10080):     Metadata:&#xA;I/mobile-ffmpeg(10080):       encoder         : &#xA;I/mobile-ffmpeg(10080): LAME3.99r&#xA;I/mobile-ffmpeg(10080): &#xA;E/mobile-ffmpeg(10080): [NULL @ 0xec3b0800] Unable to find a suitable output format for &#x27;ffmpeg&#x27;&#xA;E/mobile-ffmpeg(10080): ffmpeg: Invalid argument&#xA;I/flutter (10080): FFmpeg process exited with rc 1&#xA;

    &#xA;

    This is the log. The mp3 is reading but not converting to mp4 can anyone please help ?

    &#xA;

  • How to join two video files using Python ?

    1er juillet 2013, par rash

    Here I tried to cut first and second 30sec long video file from "path/connect.webm" to the strings out and out1. It works. But what I need to do is to concatenate these two strings and write that to a file "path/final.webm". So that I get a 60sec long video file "final.webm" at the end. But now i get first 30sec long video only as the output. Please help me. Thanks a lot in advance.

    Code in python :

    import subprocess,os

    fname = "/home/xincoz/test/final.webm"

    fp = open(fname,&#39;wb&#39;)

    ffmpeg_command = ["ffmpeg", "-i", "/home/xincoz/test/connect.webm", "-acodec", "copy",   "-ss", "00:00:00", "-t", "00:00:30","-f", "webm", "pipe:1"]

    p = subprocess.Popen(ffmpeg_command,stdout=subprocess.PIPE)

    out, err = p.communicate()

    ffmpeg_command1 = ["ffmpeg", "-i", "/home/xincoz/test/connect.webm", "-acodec", "copy",   "-ss", "00:00:31", "-t", "00:00:30","-f", "webm", "pipe:1"]

    p1 = subprocess.Popen(ffmpeg_command1,stdout=subprocess.PIPE)

    out1, err1 = p1.communicate()

    string = out + out1

    print len(out)

    print len(out1)

    print len(string)

    fp.write(string)

    fp.close()

    Please help me.

  • Convert GIF to MP4 with ffmpeg with palette color

    28 mars 2019, par NAG

    Palettegen is ok :

    ffmpeg()
    .input('temp/' + input.hash)
    .outputOptions(["-vf fps=15,scale=320:-1:flags=lanczos,palettegen"])
    .output('temp/palette.png')

    the conversion using the palette return a error :

    Error : Cannot find a matching stream for unlabeled input pad 1 on filter Parsed_paletteuse_0

    ffmpeg()
    .input('color=' + input.bg)
    .inputFormat('lavfi')
    .input('temp/' + input.hash)
    .inputFormat('gif')
    .input('temp/palette.png')
    .outputOptions('-lavfi paletteuse')
    .complexFilter(["[0][1]scale2ref[bg][gif]", "[bg]setsar=1[bg]", "[bg][gif]overlay=shortest=1[o]", "[o]scale=trunc(iw/2)*2:trunc(ih/2)*2"])
    .outputOptions(['-pix_fmt yuv420p', '-movflags frag_keyframe+empty_moov', '-movflags +faststart', '-crf 5'])
    .toFormat('mp4')
    .output('temp/final-' + input.hash)

    ffmpeg final command :

    ffmpeg -f lavfi -i color=ffffff -f gif -i temp/cf81f99083462f693406e8fd03ca7009 -i temp/palette.png -y -filter_complex [0][1]scale2ref[bg][gif];[bg]setsar=1[bg];[bg][gif]overlay=shortest=1[o];[o]scale=trunc(iw/2)*2:trunc(ih/2)*2 -lavfi paletteuse -pix_fmt yuv420p -movflags frag_keyframe+empty_moov -movflags +faststart -crf 5 -f mp4 temp/final-cf81f99083462f693406e8fd03ca7009