
Recherche avancée
Autres articles (51)
-
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 -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...)
Sur d’autres sites (7598)
-
Convert AAC (.m4a) files to .mp3 in directory
25 juillet 2012, par elithrarI'm writing a script to convert AAC files to MP3 - specifically so I can burn them to MP3 CD's as iTunes won't transcode on the fly. I've adapted the code from Write a simple python script to convert all .wav files in a specific folder to .mp3 using lame
It currently converts the first file in the directory and then stops.
I have a cursory knowledge of Python, but not the subprocess module. Went through the docs and can't see why it is not continuing to process the files.
#!/usr/bin/env python
import os
import os.path
import sys
import subprocess
OUTPUT_DIR = '/Users/matt/Desktop/mp3/'
def main():
path = os.getcwd()
filenames = [
filename
for filename
in os.listdir(path)
if filename.endswith('.m4a')
]
for filename in filenames:
subprocess.call([
"ffmpeg", "-i",
os.path.join(path, filename),
"-acodec", "libmp3lame", "-ab", "256k",
os.path.join(OUTPUT_DIR, '%s.mp3' % filename[:-4])
])
return 0
if __name__ == '__main__':
status = main()
sys.exit(status) -
FFMPEG failing to convert to ogv [closed]
25 juillet 2012, par Todd RI have several videos I'm trying to convert to mp4, swf and ogv. I've got the mp4 and swf's working, but ogv is failing and I'm not sure why. I understand all the arguments you can pass to ffmpeg, but feel like getting the correct ones is a huge guessing game. Any suggestions on what I can change to get this to work would be much appreciated.
Here's the command I'm using :
ffmpeg -i /private/var/tmp/phpU5KPR7 -y -s 330X240 -acodec libvorbis -vcodec libtheora outputpath/Videos/1.ogv 2>&1
And here are the results :
2012-07-24T19:05:11-07:00 INFO (6): Creating ogv for 1 returned 1:
2012-07-24T19:05:11-07:00 INFO (6): Array
(
[0] => ffmpeg version 0.8.6, Copyright (c) 2000-2011 the FFmpeg developers
[1] => built on Nov 16 2011 19:56:59 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
[2] => configuration: --enable-libmp3lame --enable-libfaac --enable-libtheora --enable-libvorbis --enable-nonfree --disable-yasm
[3] => libavutil 51. 9. 1 / 51. 9. 1
[4] => libavcodec 53. 7. 0 / 53. 7. 0
[5] => libavformat 53. 4. 0 / 53. 4. 0
[6] => libavdevice 53. 1. 1 / 53. 1. 1
[7] => libavfilter 2. 23. 0 / 2. 23. 0
[8] => libswscale 2. 0. 0 / 2. 0. 0
[9] => Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/private/var/tmp/phpU5KPR7':
[10] => Metadata:
[11] => major_brand : 3gp4
[12] => minor_version : 768
[13] => compatible_brands: 3gp43gp6
[14] => Duration: 00:00:03.17, start: 0.000000, bitrate: 433 kb/s
[15] => Stream #0.0(eng): Audio: amrnb, 8000 Hz, 1 channels, flt, 12 kb/s
[16] => Stream #0.1(eng): Video: mpeg4, yuv420p, 352x288 [PAR 1:1 DAR 11:9], 411 kb/s, 13.87 fps, 15 tbr, 15k tbn, 15 tbc
[17] => WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
[18] => Incompatible sample format 'flt' for codec 'libfaac', auto-selecting format 's16'
[19] => [buffer @ 0x101001480] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
[20] => [scale @ 0x101002560] w:352 h:288 fmt:yuv420p -> w:330 h:240 fmt:yuv420p flags:0x4
[21] => Output #0, mp4, to 'outputpath/Videos/1.mp4':
[22] => Metadata:
[23] => major_brand : 3gp4
[24] => minor_version : 768
[25] => compatible_brands: 3gp43gp6
[26] => encoder : Lavf53.4.0
[27] => Stream #0.0(eng): Video: mpeg4, yuv420p, 330x240 [PAR 8:9 DAR 11:9], q=2-31, 300 kb/s, 20 tbn, 20 tbc
[28] => Stream #0.1(eng): Audio: libfaac, 44100 Hz, 1 channels, s16, 0 kb/s
[29] => Stream mapping:
[30] => Stream #0.1 -> #0.0
[31] => Stream #0.0 -> #0.1
[32] => Press [q] to stop, [?] for help
[33] => Warning, using s16 intermediate sample format for resampling
[34] => frame= 62 fps= 0 q=6.4 Lsize= 253kB time=00:00:03.08 bitrate= 670.6kbits/s dup=18 drop=0
[35] => video:238kB audio:12kB global headers:0kB muxing overhead 1.096923%
[36] => ffmpeg version 0.8.6, Copyright (c) 2000-2011 the FFmpeg developers
[37] => built on Nov 16 2011 19:56:59 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
[38] => configuration: --enable-libmp3lame --enable-libfaac --enable-libtheora --enable-libvorbis --enable-nonfree --disable-yasm
[39] => libavutil 51. 9. 1 / 51. 9. 1
[40] => libavcodec 53. 7. 0 / 53. 7. 0
[41] => libavformat 53. 4. 0 / 53. 4. 0
[42] => libavdevice 53. 1. 1 / 53. 1. 1
[43] => libavfilter 2. 23. 0 / 2. 23. 0
[44] => libswscale 2. 0. 0 / 2. 0. 0
[45] => Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/private/var/tmp/phpU5KPR7':
[46] => Metadata:
[47] => major_brand : 3gp4
[48] => minor_version : 768
[49] => compatible_brands: 3gp43gp6
[50] => Duration: 00:00:03.17, start: 0.000000, bitrate: 433 kb/s
[51] => Stream #0.0(eng): Audio: amrnb, 8000 Hz, 1 channels, flt, 12 kb/s
[52] => Stream #0.1(eng): Video: mpeg4, yuv420p, 352x288 [PAR 1:1 DAR 11:9], 411 kb/s, 13.87 fps, 15 tbr, 15k tbn, 15 tbc
[53] => Incompatible sample format 'flt' for codec 'libvorbis', auto-selecting format 's16'
[54] => [buffer @ 0x1010021a0] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
[55] => [scale @ 0x101002520] w:352 h:288 fmt:yuv420p -> w:330 h:240 fmt:yuv420p flags:0x4
[56] => [libvorbis @ 0x101801e00] oggvorbis_encode_init: init_encoder failed
[57] => Output #0, ogg, to 'outputpath/Videos/1.ogv':
[58] => Stream #0.0(eng): Video: libtheora, yuv420p, 330x240 [PAR 8:9 DAR 11:9], q=2-31, 200 kb/s, 90k tbn, 15 tbc
[59] => Stream #0.1(eng): Audio: libvorbis, 8000 Hz, 1 channels, s16, 64 kb/s
[60] => Stream mapping:
[61] => Stream #0.1 -> #0.0
[62] => Stream #0.0 -> #0.1
[63] => Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
) -
dsputil : x86 : Convert mpeg4 qpel and dsputil avg to yasm
27 janvier 2013, par Daniel Kangdsputil : x86 : Convert mpeg4 qpel and dsputil avg to yasm