
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (95)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (3871)
-
At least one output file must be specified
11 mai 2015, par Desipicforu BlogspotI am using this command in ffmpeg
ffmpeg -i test.flv -i /var/www/phpvibe/logo.gif -filter_complex "scale=1200:-1,overlay=0:0" -s 1280x720 -vcodec libx264 -s 640x360 -movflags test.mp4 2>&1
But i am getting this
string(42) "At least one output file must be specified"
updated :-
php code :-
$output ='{ffmpeg-cmd} -i {input} -i /var/www/phpvibe/logo.gif -filter_complex "scale=1200:-1,overlay=0:0" -s 1280x720 -vcodec libx264 -s {ffmpeg-vsize} -threads 4 -movflags {output}.mp4 2>&1';
Complete output :-
array(33) {
[0]=>
string(83) "ffmpeg version git-2015-05-11-94c20de Copyright (c) 2000-2015 the FFmpeg developers"
[1]=>
string(51) " built with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)"
[2]=>
string(243) " configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3"
[3]=>
string(40) " libavutil 54. 23.101 / 54. 23.101"
[4]=>
string(40) " libavcodec 56. 38.100 / 56. 38.100"
[5]=>
string(40) " libavformat 56. 32.100 / 56. 32.100"
[6]=>
string(40) " libavdevice 56. 4.100 / 56. 4.100"
[7]=>
string(40) " libavfilter 5. 16.101 / 5. 16.101"
[8]=>
string(40) " libswscale 3. 1.101 / 3. 1.101"
[9]=>
string(40) " libswresample 1. 1.100 / 1. 1.100"
[10]=>
string(40) " libpostproc 53. 3.100 / 53. 3.100"
[11]=>
string(47) "Trailing options were found on the commandline."
[12]=>
string(31) "Input #0, flv, from 'test.flv':"
[13]=>
string(11) " Metadata:"
[14]=>
string(28) " audiosize : 150117"
[15]=>
string(26) " canSeekToEnd : true"
[16]=>
string(29) " datasize : 1015662"
[17]=>
string(26) " hasAudio : true"
[18]=>
string(27) " hasCuePoints : false"
[19]=>
string(26) " hasKeyframes : true"
[20]=>
string(26) " hasMetadata : true"
[21]=>
string(26) " hasVideo : true"
[22]=>
string(24) " lasttimestamp : 42"
[23]=>
string(72) " metadatacreator : flvtool++ (Facebook, Motion project, dweatherford)"
[24]=>
string(25) " totalframes : 229"
[25]=>
string(28) " videosize : 856032"
[26]=>
string(59) " Duration: 00:00:42.27, start: 0.066000, bitrate: 192 kb/s"
[27]=>
string(124) " Stream #0:0: Video: h264 (High), yuv420p, 176x144 [SAR 12:11 DAR 4:3], 165 kb/s, 30.30 fps, 29.97 tbr, 1k tbn, 59.94 tbc"
[28]=>
string(64) " Stream #0:1: Audio: aac (LC), 8000 Hz, stereo, fltp, 29 kb/s"
[29]=>
string(48) "Input #1, gif, from '/var/www/phpvibe/logo.gif':"
[30]=>
string(29) " Duration: N/A, bitrate: N/A"
[31]=>
string(67) " Stream #1:0: Video: gif, bgra, 90x55, 100 tbr, 100 tbn, 100 tbc"
[32]=>
string(42) "At least one output file must be specified"
}
int(1) -
basetime for strftime segment filename template
12 mai 2015, par basinI have a big mp3 file, which I started recording at 17:24. Trying to split into 2 minute segments :
ffmpeg -y -i test.mp3 -map 0 -c copy -f segment -segment_time 120 -reset_timestamps 1 -strftime 1 '1/test-%H-%M.mp3'
Need segment names like
test-17-24.mp3, test-17-26.mp3, ...
, Actual first segment is named as current time, no extra segments created$ date
Tue May 12 06:52:04 MSK 2015
$ ffmpeg -y -i test.mp3 -map 0 -c copy -f segment -segment_time 120 -reset_timestamps 1 -strftime 1 '1/test-%H-%M.mp3'
ffmpeg version N-72058-g3ecc063 Copyright (c) 2000-2015 the FFmpeg developers
Input #0, mp3, from 'test.mp3':
Duration: 05:45:05.94, start: 0.000000, bitrate: 171 kb/s
Stream #0:0: Audio: mp3, 48000 Hz, stereo, s16p, 171 kb/s
[segment @ 000000000051d560] Codec for stream 0 does not use global headers but container format requires global headers
Output #0, segment, to '1/test-%H-%M.mp3':
Metadata:
encoder : Lavf56.33.100
Stream #0:0: Audio: mp3, 48000 Hz, stereo, 171 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=N/A time=00:13:07.87 bitrate=N/A
video:0kB audio:16211kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
$ ls 1
test-06-52.mp3
$ -
Debugging an MP4 opened by VLC but not by ffplay
15 mai 2017, par MaMazavI’m writing a code which creates MP4 files. To check it I’ve created an MP4 file.
The file is played correctly by VLC and Firefox, but not by ffplay or by Chrome. I guess the file contains error which VLC can cope with but more aggressive MP4 reader cannot.
I’ve thought about repairing the file and check what are the differences to fix my code. However I tried some programs to repair MP4 files, without success until now.
Can someone reccommend another way to debug the problem, or a good tool to fix MP4 files ? The file is a fragmented MP4 contains both the init section (ftyp, moov boxes) and one fragment section (moof and empty sidx).
Here is the video file :
https://www.dropbox.com/s/rojxzvkfxfj31u8/400k00001-3_serialized.mp4?dl=0
EDIT : It doesn’t work also in Firefox, when using Media Source Extensions like in this example :
http://people.mozilla.org/ jyavenard/tests/mse_mp4/paper.html(don’t forget to enable MSE on Firefox, as explained here :
http://www.linuxveda.com/2015/04/02/enable-mse-native-html5-support-firefox-linux/)EDIT2 : In chrome ://media-internals, I see the following error with the above example :
Append : stream parsing failed. Data size=131072 append_window_start=0 append_window_end=inf(Change the URL to be the file and change the codec to be ’avc1.4d401f’ instead of ’avc1.64000d,mp4a.40.2’).