Recherche avancée

Médias (91)

Autres articles (66)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (7420)

  • 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,'wb')

    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.

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

    25 août 2020, par neena

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

    


      //print("Tempath::::::::::::::::: == $tempPath");
  String input = directory.path + '/' + "audio" + '.mp3';
  String output = directory.path   + "name" + ".mp4";
  final FlutterFFmpeg _flutterFFmpeg = new FlutterFFmpeg();
  _flutterFFmpeg.execute("ffmpeg -i $input $output").then((rc) => print("FFmpeg process exited with rc $rc"));

 Input #0, mp3, from '/storage/emulated/0/Android/data/quadauq.ffmpeg_examplebyneena/files/CapturedImages/audio.mp3':
I/mobile-ffmpeg(10080):   Metadata:
I/mobile-ffmpeg(10080):     genre           : 
I/mobile-ffmpeg(10080): Cinematic
I/mobile-ffmpeg(10080): 
I/mobile-ffmpeg(10080):     album           : 
I/mobile-ffmpeg(10080): YouTube Audio Library
I/mobile-ffmpeg(10080): 
I/mobile-ffmpeg(10080):     title           : 
I/mobile-ffmpeg(10080): Impact Moderato
I/mobile-ffmpeg(10080): 
I/mobile-ffmpeg(10080):     artist          : 
I/mobile-ffmpeg(10080): Kevin MacLeod
I/mobile-ffmpeg(10080): 
I/mobile-ffmpeg(10080):   Duration: 
I/mobile-ffmpeg(10080): 00:00:27.25
I/mobile-ffmpeg(10080): , start: 
I/mobile-ffmpeg(10080): 0.034531
I/mobile-ffmpeg(10080): , bitrate: 
I/mobile-ffmpeg(10080): 224 kb/s
I/mobile-ffmpeg(10080): 
I/mobile-ffmpeg(10080):     Stream #0:0
I/mobile-ffmpeg(10080): : Audio: mp3, 32000 Hz, stereo, fltp, 224 kb/s
I/mobile-ffmpeg(10080): 
I/mobile-ffmpeg(10080):     Metadata:
I/mobile-ffmpeg(10080):       encoder         : 
I/mobile-ffmpeg(10080): LAME3.99r
I/mobile-ffmpeg(10080): 
E/mobile-ffmpeg(10080): [NULL @ 0xec3b0800] Unable to find a suitable output format for 'ffmpeg'
E/mobile-ffmpeg(10080): ffmpeg: Invalid argument
I/flutter (10080): FFmpeg process exited with rc 1


    


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

    


  • FFMPEG ratio and SAR to 1 [closed]

    21 novembre 2024, par Aurelien Stride

    I have a video of 1280x720px with a SAR = 540:401.

    


    My purpose is, with FFMPEG, to set SAR to 1, and get a final resolution of 1280*534.