
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (58)
-
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 (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (4984)
-
Revision 9bf3f75168 : Changing pitch value meaning for fht and iht transforms. Pitch now means the nu
26 février 2013, par Dmitry KovalevChanged Paths : Modify /vp9/common/vp9_idctllm.c Modify /vp9/common/vp9_invtrans.c Modify /vp9/decoder/vp9_dequantize.c Modify /vp9/encoder/vp9_dct.c Modify /vp9/encoder/vp9_encodeintra.c Modify /vp9/encoder/vp9_encodemb.c Modify /vp9/encoder/vp9_rdopt.c Changing pitch value (...)
-
Android ffmpeg Command not executing
22 juin 2020, par MoTahirI am using this FFMPEG library,


first I am playing the video inside my videoView to make sure that the video path is correct


videoView.setVideoURI(Uri.parse(getExternalFilesDir(null)?.absolutePath + "videoToBeEdit"))



then I am calling the code written below to crop the video then put it inside the videoView again just to see the result


val ff = FFmpeg.getInstance(this@EditVideoActivity)
if (ff.isSupported){

 val inFile = File(getExternalFilesDir(null)?.absolutePath ,"videoToBeEdit")
 val outFile = File(getExternalFilesDir(null)?.absolutePath , "result")

 val command = arrayOf("ffmpeg","-i", inFile.absolutePath , "-filter:v", "crop=100:100:0:0", outFile.absolutePath)

 ff.execute(command, object : ExecuteBinaryResponseHandler() {
 override fun onSuccess(message: String?) {
 super.onSuccess(message)
 videoView.setVideoURI(Uri.parse(getExternalFilesDir(null)?.absolutePath + "videoToBeEdit"))
 }

 override fun onProgress(message: String?) {
 super.onProgress(message)
 }

 override fun onFailure(message: String?) {
 super.onFailure(message)
 Log.e("error", "failed")
 }

 override fun onStart() {
 super.onStart()
 Log.e("start", "started the process")
 }

 override fun onFinish() {
 super.onFinish()
 Log.e("finish", "done")
 }
 })
}



but my code above goes from start to error then finish, it doesn't show any error messages and that's making it really hard to know what's actually wrong :( I tried to write my command in different ways following those tutorials tutorial1 tutorial2 link
please help, thank you in advance...


-
FFmpeg : no image is displayed when broadcasting flv made of speex / mellymoser and libx264
15 septembre 2013, par wvxvwffmpeg -f alsa -i hw:PCH,0 -f x11grab -s 1920x1200 -r 15 -i :0.0 \
-acodec nellymoser -ar 22050 -ac 1 -audio_preload 1000000 -vcodec libx264 \
-preset fast -pix_fmt yuv420p -s 1280x800 -maxrate 1000k -threads 0 -f flv "$URL"This is the command I'm using, but I don't get any visible output, only sound. FFmpeg gives no warnings. What am I doing wrong ?
If I remove -audio_preload, the streaming works, but the audio comes with increasing delay (grows about a minute every minute).
The output, as per request :
ffmpeg version 1.0.7 Copyright (c) 2000-2013 the FFmpeg developers
built on May 14 2013 21:59:35 with gcc 4.7.2 (GCC) 20121109 (Red Hat 4.7.2-8)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-frei0r --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[alsa @ 0xc5e8e0] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, alsa, from 'hw:PCH,0':
Duration: N/A, start: 1379234523.677560, bitrate: 1536 kb/s
Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
[x11grab @ 0xc6cda0] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 1920 height: 1200
[x11grab @ 0xc6cda0] shared memory extension found
[x11grab @ 0xc6cda0] Estimating duration from bitrate, this may be inaccurate
Input #1, x11grab, from ':0.0':
Duration: N/A, start: 1379234523.843273, bitrate: 1105920 kb/s
Stream #1:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1920x1200, 1105920 kb/s, 15 tbr, 1000k tbn, 15 tbc
[libx264 @ 0xc59e00] VBV maxrate specified, but no bufsize, ignored
[libx264 @ 0xc59e00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0xc59e00] profile High, level 3.2
[libx264 @ 0xc59e00] 264 - core 128 r2223 f6a8615 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=15 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, flv, to 'rtmp://live.justin.tv/app/live_key':
Metadata:
encoder : Lavf54.29.104
Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 1280x800, q=-1--1, 1k tbn, 15 tbc
Stream #0:1: Audio: nellymoser ([6][0][0][0] / 0x0006), 22050 Hz, mono, flt, 128 kb/s
Stream mapping:
Stream #1:0 -> #0:0 (rawvideo -> libx264)
Stream #0:0 -> #0:1 (pcm_s16le -> nellymoser)
Press [q] to stop, [?] for help
[alsa @ 0xc5e8e0] ALSA buffer xrun.