
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (54)
-
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 -
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)
Sur d’autres sites (5413)
-
cant upload a .webm file after recording
14 octobre 2017, par Syed Abdur Rehman KazmiI kinda seem to stuck on something. I am missing something i dont know. I have uploaded a lot of files but somehow when i recorded this file via my laptop camera browser and try to upload it.. it doesnt.. I am also using ffmpeg to convert it.
Laravel 5.4
vuejs
ffmpegThese are the tools involved the error i am getting is the file doesnt exist in local temp folder. ( i have checked it IS NOT there i dont understand why )
This is the code i am using :
$input = $request->only('video' , 'url' , 'blob');
$input['file'] =$request->file('blob');
$ffmpeg = FFMpeg::create([
'ffmpeg.binaries' => 'C:/FFmpeg/bin/ffmpeg.exe',
'ffprobe.binaries' => 'C:/FFmpeg/bin/ffprobe.exe'
]);
$video = $ffmpeg->open($input['file']);
$video
->filters()
->resize(new Dimension(320, 240))
->synchronize();
$video
->frame(TimeCode::fromSeconds(10))
->save('frame.jpg');
$video
->save(new Video\X264(), 'export-x264.mp4')
->save(new Video\WMV(), 'export-wmv.wmv')
->save(new Video\WebM(), 'export-webm.webm');This is the error :
Unable to probe C :\Users\KAZMI\AppData\Local\Temp\php4155.tmp
ffprobe failed to execute command "C :/FFmpeg/bin/ffprobe.exe" C :\Users\KAZMI\AppData\Local\Temp\php4155.tmp -show_streams -print_format json
and this is the input data :
array:4 [ "video" => "video_7192228.webm" "url" => "blob:http://localhost:8080/c319e0bf-7217-4916-90b6-c9cba800b7da" "blob" => UploadedFile {#421 -test: false -originalName: "blob" -mimeType: "video/webm" -size: 0 -error: 0 #hashName: null path: "C:\Users\KAZMI\AppData\Local\Temp" filename: "php8B7D.tmp" basename: "php8B7D.tmp" pathname: "C:\Users\KAZMI\AppData\Local\Temp\php8B7D.tmp" extension: "tmp" realPath: "C:\Users\KAZMI\AppData\Local\Temp\php8B7D.tmp" aTime: 2017-10-14 14:20:24 mTime: 2017-10-14 14:20:24 cTime: 2017-10-14 14:20:24 inode: 0 size: 0 perms: 0100666 owner: 0 group: 0 type: "file" writable: true readable: true executable: false file: true dir: false link: false linkTarget: "C:\Users\KAZMI\AppData\Local\Temp\php8B7D.tmp" } "file" => UploadedFile {#421}]
-
ffmpeg extremely slow (synology nas)
29 août 2017, par TheSpaceSheepI’m trying to use ffmpeg to convert audio files on a synology nas which runs under linux, but it’s taking hours -literally- to convert a 40MB file.
I’ve also installed ffmpeg on my pc where i can convert the same file in a few seconds.
Maybe the CPU is too slow (it’s an ARMv7 Processor rev 1 (v7l)), but could it make that much of a difference ?
Even with the -preset ultrafast option, ffmpeg converts at a speed of 0.6 to 0.7 (against 67 on my laptop !)
Any idea where this problem could come from ?
Here is the command line with the full output :
ffmpeg -i audio_tmp.m4a -preset ultrafast audio_converted.mp3
ffmpeg version 3.3.3-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000 -2017 the FFmpeg developers
built with gcc 6.4.0 (Debian 6.4.0-2) 20170724
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enabl e-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --ena ble-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amr nb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwben c --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable- libxvid
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'audio_tmp.m4a':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf57.71.100
Duration: 00:38:37.07, start: 0.000000, bitrate: 126 kb/s
Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, flt p, 125 kb/s (default)
Metadata:
handler_name : SoundHandler
Codec AVOption preset (Configuration preset) specified for output file #0 (audio _converted.mp3) has not been used for any stream. The most likely reason is eith er wrong type (e.g. a video option with no video streams) or that it is a privat e option of some encoder which was not actually used for any stream.
Stream mapping:
Stream #0:0 -> #0:0 (aac (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Output #0, mp3, to 'audio_converted.mp3':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
TSSE : Lavf57.71.100
Stream #0:0(und): Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp (default)
Metadata:
handler_name : SoundHandler
encoder : Lavc57.89.100 libmp3lame
size= 329kB time=00:00:21.00 bitrate= 128.3kbits/s speed=0.681xThanks for helping me :)
-
Application Crashes With No Exception
24 octobre 2017, par Frank NatoliHave a relatively complex C# Windows Forms application that makes use of C++ bridge DLL to call FFmpeg DLLS to concurrently write multiple MP4 files directly from imagery downloaded from real time cameras using a separate thread for each camera.
On my Windows 7 development laptop, Toshiba Tecra with i7 vPro eight core CPU and 16GB RAM, and on customer laptop, application runs fine.
But on customer desktop, configuration unknown, when the application finishes recording and begins downloading imagery from the real time cameras and thus begins calling FFmpeg DLLs, the application disappears without a trace, no exception message, no "program has stopped working", nothing. Normal program exit writes an "application exiting" message to a log file which is NOT happening, so I am reasonably certain the program is not normally exiting.
What might result in a C# Windows Forms application crash with no exception report from Windows ?