
Recherche avancée
Médias (91)
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Echoplex (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Discipline (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Letting you (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
999 999 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (72)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (7238)
-
Getting "Your FFProbe version is too old..." error in Laravel during file upload with FFMpeg
9 septembre 2020, par pjotr79currently I'm working on a video uploader (to S3) script in Laravel. I'd like to get some info about the uploaded video and later I'd like to create thumbnails as well (with the help of this plugin). As a first step I've installed the FFMpeg with brew :


$ brew update
$ brew upgrade
$ brew cleanup
$ brew install ffmpeg --force
$ brew link ffmpeg



Then in composer


$ composer require php-ffmpeg/php-ffmpeg



When I'm checking the installation I get the following


which ffmpeg
/usr/local/bin/ffmpeg

which ffprobe
/usr/local/bin/ffprobe



By checking the version :


ffmpeg -version
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
 built with Apple clang version 11.0.3 (clang-1103.0.32.62)
 configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
 libavutil 56. 51.100 / 56. 51.100
 libavcodec 58. 91.100 / 58. 91.100
 libavformat 58. 45.100 / 58. 45.100
 libavdevice 58. 10.100 / 58. 10.100
 libavfilter 7. 85.100 / 7. 85.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 7.100 / 5. 7.100
 libswresample 3. 7.100 / 3. 7.100
 libpostproc 55. 7.100 / 55. 7.100



The path also seems to be ok


echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin



But when I'm trying to upload a video file (sample.mp4) I have the following error message :
Your FFProbe version is too old and does not support
-help
option, please upgrade.

Here's the snippet from my code to test the upload :


use FFMpeg;


 public function upload(Request $request)
 {
 if ($request->hasFile('files')) {
 $files = $request->file('files');
 foreach ($files as $key => $file) {
 $filename = pathinfo($file->getClientOriginalName(), PATHINFO_FILENAME);
 $extension = $file->getClientOriginalExtension();
 $filename = str_slug($filename).'.'.$extension;
 Storage::disk('s3Files')->put($filename, file_get_contents($file),'public');
 $fileurl = \Config::get('s3.files').$filename;

 $ffprobe = FFMpeg\FFProbe::create([
 'ffmpeg.binaries' => '/usr/local/bin/ffmpeg',
 'ffprobe.binaries' => '/usr/local/bin/ffprobe'
 ]);

 $filesave = new File();
 $filesave->name = $filename;
 $filesave->type = $file->getClientMimeType();
 $filesave->size = $file->getSize();
 $filesave->duration = $ffprobe->format($fileurl)->get('duration');
 $filesave->save();

 }
 }
 }



Now I spent hours to try to find a solution (also checking this thread here, but I couldn't solve the issue.


My dev environment runs on Mac OS X 10.15.5, with Nginx and PHP 7.4.


Do you have any idea how could I fix this problem ?


-
rtsp to youtube streaming not working in windows
22 juillet 2020, par Martin Haryokoffmpeg run in windows, i use this code for streaming RTSP to youtube streaming :


ffmpeg -f lavfi -t 12:00:00 -rtsp_transport tcp -i rtsp://admin:martin123@103.76.204.2:554/Streaming/Channels/101 -tune zerolatency -g 2 -c:v copy -t 12:00:00 -c:a aac -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/zgzx-7sff-32xz-bbup-a25c



but i got this error :


C:\inetpub\wwwroot\ffmpeg\ffmpeg\bin>ffmpeg -f lavfi -t 12:00:00 -rtsp_transport tcp -i rtsp://admin:martin123@103.76.204.xxx:554/Streaming/Channels/101 -tune zerolatency -g 2 -c:v copy -t 12:00:00 -c:a aac -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/zgzx-7sff-32xz-bbup-a25c
ffmpeg version git-2020-07-20-43a08d9 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 9.3.1 (GCC) 20200621
 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
 libavutil 56. 55.100 / 56. 55.100
 libavcodec 58. 96.100 / 58. 96.100
 libavformat 58. 48.100 / 58. 48.100
 libavdevice 58. 11.101 / 58. 11.101
 libavfilter 7. 87.100 / 7. 87.100
 libswscale 5. 8.100 / 5. 8.100
 libswresample 3. 8.100 / 3. 8.100
 libpostproc 55. 8.100 / 55. 8.100
[lavfi @ 000001a7dc40e380] No such filter: 'rtsp://admin:martinxxx'
rtsp://admin:martin123@103.76.204.xxx:554/Streaming/Channels/101: Invalid argument



can u help me ?


-
ffmpeg vaapi hardware acceleration with some videos not working
15 juillet 2020, par Maisen1886I have a problem with transcoding various videos on my Synology NAS. Some videos work, some do not.


ffmpeg command :


sudo /volume1/@appstore/VideoStation/bin/ffmpeg -y -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i '/path/to/my/video/IMG_8647.MOV' -vf hwupload,scale_vaapi=w=640:h=-1:format=nv12 -c:v h264_vaapi -b:v 2M -movflags +faststart 'path/to/output4.mp4'



After i enter the command above, i get following error output :


ffmpeg version 3.3.7 Copyright (c) 2000-2019 the FFmpeg developers
 built with gcc 4.9.3 (crosstool-NG 1.20.0) 20150311 (prerelease)
 configuration: --prefix=/usr/pkg --incdir='${prefix}/include/ffmpeg' --arch=i686 --target-os=linux --cross-prefix=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl --enable-version3 --enable-nonfree --enable-encoders --enable-pthreads --disable-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffplay --disable-ffserver --disable-doc --disable-devices --disable-bzlib --disable-altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --disable-decoder=amrnb --disable-encoder=zmbv --disable-encoder=dca --disable-decoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=eac3 --disable-decoder=eac3 --disable-encoder=truehd --disable-decoder=truehd --extra-cflags=-I/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/pkg/include --extra-ldflags=-L/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/pkg/lib --cc=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ccache-gcc --enable-shared --disable-static --enable-yasm --enable-libx264 --enable-vaapi --enable-encoder=h264_vaapi --enable-encoder=libx264
 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
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /var/packages/VideoStation/target/lib/libva/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/volume1/homes/maisen20/Drive/iPhone Medien Neu/2020/06/Videos/2020-06-28_19-25-54_IMG_8647.MOV':
 Metadata:
 major_brand : qt 
 minor_version : 0
 compatible_brands: qt 
 creation_time : 2020-06-28T17:25:54.000000Z
 com.apple.quicktime.location.ISO6709: +47.1156+009.0640+430.715/
 com.apple.quicktime.make: Apple
 com.apple.quicktime.model: iPhone X
 com.apple.quicktime.software: 13.5.1
 com.apple.quicktime.creationdate: 2020-06-28T19:25:54+0200
 Duration: 00:00:25.10, start: 0.000000, bitrate: 50256 kb/s
 Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709), 3840x2160, 50115 kb/s, 60.01 fps, 60 tbr, 600 tbn, 600 tbc (default)
 Metadata:
 rotate : 90
 creation_time : 2020-06-28T17:25:54.000000Z
 handler_name : Core Media Data Handler
 encoder : HEVC
 Side data:
 displaymatrix: rotation of -90.00 degrees
 Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 98 kb/s (default)
 Metadata:
 creation_time : 2020-06-28T17:25:54.000000Z
 handler_name : Core Media Data Handler
 Stream #0:2(und): Data: none (mebx / 0x7862656D), 26 kb/s (default)
 Metadata:
 creation_time : 2020-06-28T17:25:54.000000Z
 handler_name : Core Media Data Handler
 Stream #0:3(und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
 Metadata:
 creation_time : 2020-06-28T17:25:54.000000Z
 handler_name : Core Media Data Handler
Stream mapping:
 Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_vaapi))
 Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:0



Unfortunately I do not know that much about transcoding videos. Does anyone know what the problem here could be ?


Without hardware support (without -hwaccel_output_format vaapi) it works.


thanks a lot !