
Recherche avancée
Autres articles (100)
-
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 (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...)
Sur d’autres sites (5727)
-
ffmpeg : Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
20 novembre 2020, par AlexandreI'm experiencing troubles running ffmpeg on my synology. I'm trying to convert .avi video to mp4.



Here is the command :



ffmpeg -i vid20160623.avi -acodec libfaac -b:a 128k -vcodec mpeg4 -b:v 1200k -flags +aic+mv4 -f mp4 vid20160623.mp4



And the logs :



ffmpeg version 2.7.1 Copyright (c) 2000-2015 the FFmpeg developers
 built with gcc 4.9.3 (crosstool-NG 1.20.0) 20150311 (prerelease)
 configuration: --prefix=/usr --incdir='${prefix}/include/ffmpeg' --arch=arm --target-os=linux --cross-prefix=/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl --enable-shared --disable-static --enable-version3 --enable-nonfree --enable-libfaac --enable-encoders --enable-pthreads --disable-bzlib --disable-protocol=rtp --disable-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffserver --disable-ffplay --disable-devices --disable-bzlib --disable-altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --disable-vaapi --disable-decoder=amrnb --disable-encoder=zmbv --disable-encoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=eac3 --disable-decoder=dca --disable-decoder=eac3 --disable-decoder=truehd --cc=/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc
 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
Input #0, avi, from 'vid20160623.avi':
 Metadata:
 encoder : MEncoder git-ab94fc6-4.4.3
 Duration: 00:20:18.07, start: 0.000000, bitrate: 1197 kb/s
 Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 624x352 [SAR 1:1 DAR 39:22], 1056 kb/s, 25 fps, 23.98 tbr, 25 tbn, 23.98 tbc
 Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 128 kb/s
Output #0, mp4, to vid20160623.mp4':
 Metadata:
 encoder : MEncoder git-ab94fc6-4.4.3
 Stream #0:0: Video: mpeg4, none, q=2-31, 128 kb/s, SAR 351:352 DAR 0:0, 23.98 fps
 Metadata:
 encoder : Lavc56.41.100 mpeg4
 Stream #0:1: Audio: aac, 0 channels, 128 kb/s
 Metadata:
 encoder : Lavc56.41.100 libfaac
Stream mapping:
 Stream #0:0 -> #0:0 (mpeg4 (native) -> mpeg4 (native))
 Stream #0:1 -> #0:1 (mp3 (native) -> aac (libfaac))
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height




I tried to reduce b:a and b:v but it did not work.



Any help will be welcome.


-
drawbox around text with dynamic height in ffmpeg
9 mars 2018, par Anuj TBEI’m working on a ffmpeg script to draw text over image/video.
The text will be wrapped inside a box with full width and dynamic height.
I have tried two approach to achieve this.
1. using
drawbox
ffmpeg \
-loop 1 -i /path_to_file/file.jpg \
-t 5 -vf
"scale=320:320,\
drawbox=y=0\
:color=#00FF29\
:width=iw\
:height=72\
:t=max,\
drawtext=text=TBE\
:fontcolor=#F71DFF\
:fontsize=82:x=(w-text_w)/2\
:y=text_h/2"
/path_to_file/new_file.mp4 -yWhich renders following three examples with different value of
fontsize
2. using
box
ofdrawtext
ffmpeg -i in3.png -t 5 -vf drawtext=" \
text='Stack Overflow': fontcolor=white: fontsize=54: box=1: boxcolor=black@0.5: \
boxborderw=10: x=(w-text_w)/2: y=(h-text_h)/2" -codec:a copy output_new.mp4Half of the requirement is being fullfiled by drawbox (full width box) and half using drawtext box (box height according to text).
How can I achieve both (full box width with dynamic height according to height of text) in ffmpeg ?
-
qsv : align surface width/height to 16.
6 mars 2018, par Ruiling Songqsv : align surface width/height to 16.
Per MediaSDK documentation, it requires width/height to 16 alignment.
Without this patch, hwupload pipeline may fail if 16 alignment is
not met. Although this patch also apply 16 alignment to qsv encoder/decoder,
it will not bring any side-effect to them as they are already aligned.Signed-off-by : Ruiling Song <ruiling.song@intel.com>
Signed-off-by : Luca Barbato <lu_zero@gentoo.org>