
Recherche avancée
Autres articles (6)
-
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 -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (3965)
-
Why is "ffmpeg : command not found" in heroku, even with proper buildpack/config ?
14 novembre 2022, par JimIn a node.js app hosted on heroku, ffmpeg is used by spawning processes, but is throwing errors anytime an ffmpeg command runs


the error
ffmpeg: command not found
is thrown both in cli testheroku run ffmpeg
as well as production logs

Ive considered :


- 

- buildpack order
- buildpack clearing/re-adding/redeploying
- buildpack required env vars
- heroku-stack-20 conflicts with buildpack#1 somehow ?










Buildpack order :


- 

- https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
- https://github.com/heroku/heroku-buildpack-awscli.git
- https://github.com/timanovsky/subdir-heroku-buildpack.git
- heroku/nodejs










Buildpack configs - from watching build logs, even though i havent set ffmpeg path, a default is found.


beginning build logs (completes successfully, runs successfully - minus ffmpeg) :


-----> Building on the Heroku-20 stack
-----> Using buildpacks:
 1. https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
 2. https://github.com/xrisk/heroku-opus.git
 3. https://github.com/heroku/heroku-buildpack-awscli.git
 4. https://github.com/timanovsky/subdir-heroku-buildpack.git
 5. heroku/nodejs
-----> ffmpeg app detected
-----> Installing ffmpeg
 Variable FFMPEG_DOWNLOAD_URL isn't set, using default value
 Downloading https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz
 Unpacking the archive
 Installation successful
-----> heroku-opus app detected
 exporting PATH and LIBRARY_PATH
-----> Building in /tmp/build_51b5ac83/opus
-----> Starting opus compilation
 Downloading opus-1.3.1.tar.gz
 Unpacking opus
 Running configure
 Running make install
-----> AWS CLI app detected
-----> Downloading AWS CLI
-----> Installing AWS CLI
 You can now run: /app/.awscli/bin/aws --version
 aws-cli/2.8.12 Python/3.9.11 Linux/4.4.0-1104-aws exe/x86_64.ubuntu.20 prompt/off
-----> Successfully installed AWS CLI
-----> Subdir buildpack app detected
-----> Subdir buildpack in server
 creating cache: /tmp/codon/tmp/cache
 created tmp dir: /tmp/codon/tmp/cache/subdirBuBFb
 moving working dir: server to /tmp/codon/tmp/cache/subdirBuBFb
 cleaning build dir /tmp/build_51b5ac83
 copying preserved work dir from cache /tmp/codon/tmp/cache/subdirBuBFb to build dir /tmp/build_51b5ac83
 cleaning tmp dir /tmp/codon/tmp/cache/subdirBuBFb
-----> Node.js app detected



Any suggestions to further debug this ?


-
Strange "pause" in video after concatenation of two mp4 videos
3 octobre 2016, par user606521I am concatenating two mp4 videos. The problem is that first video (intro.mp4) lasts 5 seconds, second video (output.mp4) lasts 2 seconds and video created by concatenating them lasts 9 seconds (and should last 5+2 = 7 seconds). In final.mp4 video the last frame from first video (intro.mp4) i shown for additional 2 seconds before second video (output.mp4) is played. It looks like a lag when watching video. What I am doing wrong ?
list.txt :
file 'data/intro.mp4'
file 'output.mp4'command :
./bin/ffmpeg -f concat -i list.txt -c copy final.mp4
output :
ffmpeg version 2.7.2 Copyright (c) 2000-2015 the FFmpeg developers
built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8a6a80e600] Auto-inserting h264_mp4toannexb bitstream filter
Input #0, concat, from 'list.txt':
Duration: N/A, start: 0.000000, bitrate: 1296 kb/s
Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 960x540, 1163 kb/s, 23.98 fps, 23.98 tbr, 11988 tbn, 47.95 tbc
Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 133 kb/s
[mp4 @ 0x7f8a6c006a00] Codec for stream 0 does not use global headers but container format requires global headers
[mp4 @ 0x7f8a6c006a00] Codec for stream 1 does not use global headers but container format requires global headers
Output #0, mp4, to 'final.mp4':
Metadata:
encoder : Lavf56.36.100
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 960x540, q=2-31, 1163 kb/s, 23.98 fps, 23.98 tbr, 11988 tbn, 11988 tbc
Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 133 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8a6a80e600] Auto-inserting h264_mp4toannexb bitstream filter
frame= 258 fps=0.0 q=-1.0 Lsize= 997kB time=00:00:09.84 bitrate= 829.5kbits/s
video:897kB audio:93kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.634306% -
Strange "pause" in video after concatenation of two mp4 videos
23 janvier 2021, par user606521I am concatenating two mp4 videos. The problem is that first video (intro.mp4) lasts 5 seconds, second video (output.mp4) lasts 2 seconds and video created by concatenating them lasts 9 seconds (and should last 5+2 = 7 seconds). In final.mp4 video the last frame from first video (intro.mp4) i shown for additional 2 seconds before second video (output.mp4) is played. It looks like a lag when watching video. What I am doing wrong ?



list.txt :



file 'data/intro.mp4'
file 'output.mp4'




command :



./bin/ffmpeg -f concat -i list.txt -c copy final.mp4




output :



ffmpeg version 2.7.2 Copyright (c) 2000-2015 the FFmpeg developers
 built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
 configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect
 libavutil 54. 27.100 / 54. 27.100
 libavcodec 56. 41.100 / 56. 41.100
 libavformat 56. 36.100 / 56. 36.100
 libavdevice 56. 4.100 / 56. 4.100
 libavfilter 5. 16.101 / 5. 16.101
 libswscale 3. 1.101 / 3. 1.101
 libswresample 1. 2.100 / 1. 2.100
 libpostproc 53. 3.100 / 53. 3.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8a6a80e600] Auto-inserting h264_mp4toannexb bitstream filter
Input #0, concat, from 'list.txt':
 Duration: N/A, start: 0.000000, bitrate: 1296 kb/s
 Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 960x540, 1163 kb/s, 23.98 fps, 23.98 tbr, 11988 tbn, 47.95 tbc
 Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 133 kb/s
[mp4 @ 0x7f8a6c006a00] Codec for stream 0 does not use global headers but container format requires global headers
[mp4 @ 0x7f8a6c006a00] Codec for stream 1 does not use global headers but container format requires global headers
Output #0, mp4, to 'final.mp4':
 Metadata:
 encoder : Lavf56.36.100
 Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 960x540, q=2-31, 1163 kb/s, 23.98 fps, 23.98 tbr, 11988 tbn, 11988 tbc
 Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 133 kb/s
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8a6a80e600] Auto-inserting h264_mp4toannexb bitstream filter
frame= 258 fps=0.0 q=-1.0 Lsize= 997kB time=00:00:09.84 bitrate= 829.5kbits/s 
video:897kB audio:93kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.634306%