
Recherche avancée
Médias (1)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (90)
-
Publier sur MédiaSpip
13 juin 2013Puis-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 -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (7696)
-
Convert GIF to MP4 with ffmpeg with palette color
28 mars 2019, par NAGPalettegen 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
-
How to join two video files using Python ?
1er juillet 2013, par rashHere 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 neenafinal 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 ?