
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (39)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
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. -
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 (6282)
-
Issue with audio codec in ffmpeg
13 juillet 2021, par bloodstarTo my little knowledge i believe this is an audio codec issue however since im not really familiar with ffmpeg, anything could be wrong.


W:\PICTURES\\Manual Files>ffmpeg -i "C7984.mp4" -c copy -map 0 -segment_time 00:06:00 -f segment -reset_timestamps 1 C7984%03d.mp4

ffmpeg version 2021-07-11-git-79ebdbb9b9-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
 built with gcc 10.3.0 (Rev2, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
 libavutil 57. 0.100 / 57. 0.100
 libavcodec 59. 3.101 / 59. 3.101
 libavformat 59. 4.100 / 59. 4.100
 libavdevice 59. 0.100 / 59. 0.100
 libavfilter 8. 0.103 / 8. 0.103
 libswscale 6. 0.100 / 6. 0.100
 libswresample 4. 0.100 / 4. 0.100
 libpostproc 56. 0.100 / 56. 0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f2b61fe100] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f2b61fe100] st: 0 edit list 1 Cannot find an index entry before timestamp: 1001.
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C7984.mp4':
 Metadata:
 major_brand : XAVC
 minor_version : 16785407
 compatible_brands: XAVCmp42iso2
 creation_time : 2021-07-09T18:30:52.000000Z
 Duration: 00:07:07.93, start: 0.000000, bitrate: 207012 kb/s
 Stream #0:0(und): Video: h264 (High 4:2:2) (avc1 / 0x31637661), yuv422p10le(pc), 3840x2160 [SAR 1:1 DAR 16:9], 200015 kb/s, 59.94 fps, 59.94 tbr, 60k tbn (default)
 Metadata:
 creation_time : 2021-07-09T18:30:52.000000Z
 handler_name : Video Media Handler
 vendor_id : [0][0][0][0]
 encoder : AVC Coding
 Stream #0:1(und): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, stereo, s16, 1536 kb/s (default)
 Metadata:
 creation_time : 2021-07-09T18:30:52.000000Z
 handler_name : Sound Media Handler
 vendor_id : [0][0][0][0]
 Stream #0:2(und): Data: none (rtmd / 0x646D7472), 5401 kb/s (default)
 Metadata:
 creation_time : 2021-07-09T18:30:52.000000Z
 handler_name : Timed Metadata Media Handler
 timecode : 23:59:04:56
[segment @ 000001f2b6729440] Opening 'C7984000.mp4' for writing
[mp4 @ 000001f2b4627ec0] Could not find tag for codec pcm_s16be in stream #1, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:2 --
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Stream #0:1 -> #0:1 (copy)
 Stream #0:2 -> #0:2 (copy)
 Last message repeated 1 times



Should the code be changed to convert the audio to flac prior to convert the clip ? thanks


-
ffmpeg ignores video stream bitrate input doubling the -b:v parameter that I set during encoding
27 juillet 2021, par QRrabbitMy question is, how do I force ffmpeg to encode a video at a specific kb/s ?
The problem is that my output is almost twice the size of the input 1.2Gb


This is my input (from ffprobe) :


Stream #0:0(eng): Video: prores (4444) (ap4h / 0x68347061), yuva444p12le(tv, bt709, progressive), 1920x1080, 316752 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc (default)
 Metadata:
 creation_time : 2021-07-26T23:59:52.000000Z
 handler_name : Apple Video Media Handler
 timecode : 00:00:00:00



My encoding command string :


ffmpeg -i input.mov -i watermark.png -filter_complex " \
[0][1]overlay=50:50:enable='between(t, 0, 100)'" -vcodec prores_ks -profile:v 4 \
-pix_fmt yuva444p12le -b:v 316752 -maxrate 316752 -minrate 316752 -r 29.97 \
-top 1 -color_range 1 -color_primaries bt709 -color_trc bt709 -colorspace bt709 \
-map_metadata 0 -c:a copy -timecode 00:00:00.00 -c:s copy -y output.mov



This is the output :


Stream #0:0: Video: prores (4444) (ap4h / 0x68347061), yuva444p12le(tv, bt709, progressive), 1920x1080, 591460 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 11988 tbn, 11988 tbc (default)
 Metadata:
 creation_time : 2021-07-26T23:59:52.000000Z
 handler_name : VideoHandler
 timecode : 00:00:00:00



Things I've tried :
-b:v 316752925 -maxrate 316752925 -minrate 316752925
-b:v 316752 -maxrate 316752 -minrate 316752
-maxrate 316752925 alone or in various combination with the above.


Any help is greatly appreciated,


-
Can't get FFMPEG buildpack working in Heroku Node.js server (using Fluent-FFMPEG)
30 juillet 2021, par Rayhan MemonI'm using a library called 'fluent-ffmpeg' on my Nodejs server that makes it easier to use an audio/video editing tool called FFmpeg, which is downloaded locally on my computer.


When running on my computer, I point fluent-ffmpeg to the local executable files of FFmpeg and FFprobe on my computer, like so :


import ffmpeg from "fluent-ffmpeg";

// When running locally, set FFmpeg and FFprobe path to the local executable files
ffmpeg.setFfmpegPath("C:/Program Files/FFMPEG/ffmpeg.exe");
ffmpeg.setFfprobePath("C:/Program Files/FFMPEG/ffprobe.exe");



When deploying to Heroku, I must use an FFmpeg 'buildpack'.


I've tried two :


- 

- https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest
- https://github.com/HasibulKabir/heroku-buildpack-ffmpeg-ffprobe






Neither have worked for me. Whenever I use an FFmpeg command, I get the following error in my heroku logs :


2021-07-24T15:22:52.970990+00:00 app[web.1]: code: 'ENOENT',
2021-07-24T15:22:52.970990+00:00 app[web.1]: syscall: 'spawn C:/Program Files/FFMPEG/',
2021-07-24T15:22:52.970990+00:00 app[web.1]: path: 'C:/Program Files/FFMPEG/',
2021-07-24T15:22:52.970991+00:00 app[web.1]: spawnargs: [
2021-07-24T15:22:52.970991+00:00 app[web.1]: '-show_streams',
2021-07-24T15:22:52.970991+00:00 app[web.1]: '-show_format',
2021-07-24T15:22:52.970992+00:00 app[web.1]: 'temp/cf3b5f1ae270df824921364573a4366b'
2021-07-24T15:22:52.970992+00:00 app[web.1]: ]
2021-07-24T15:22:52.970992+00:00 app[web.1]: }



How can I go about using fluent-ffmpeg in my Nodejs server when deploying to Heroku ?


Thank you for the help in advance !