
Recherche avancée
Autres articles (27)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (4165)
-
What is the reason for getting libavcodec AVpacket presentation time as 0 ?
13 août 2019, par Chamara ManojRecently I am using FFmpeg library with VS 2017 decode and encode some video data. I used the example codes given with FFmpeg lib packages,
transcoding.c
.After encoding the video I was trying to extract the frames of the encoded and muxed video.mp4. However, when I read the frames using
av_read_frame (AVFormatContext *s, AVPacket *pkt)
, in the last received frame,pts
anddts
times are both 0.What could be the reason for this ? My Video is playing smoothly and I have used
H265
codec. -
Can't get ffmpeg to stream webcam [on hold]
29 novembre 2017, par joeyI have a rapsberry with ffmpeg installed and a microsoft hd3000 cam installed
I run the following command :
ffserver -f /etc/ffserver.conf & ffmpeg -framerate 21 -re -f video4linux2 -i /dev/video0 -f alsa -i sysdefault:CARD=HD3000 http://localhost:8090/feed1.ffmand i get the following :
/etc/ffserver.conf:164: Setting default value for video bit rate tolerance = 16000. Use NoDefaults to disable it.
/etc/ffserver.conf:164: Setting default value for video rate control equation = tex^qComp. Use NoDefaults to disable it.
/etc/ffserver.conf:164: Setting default value for video max rate = 6229744. Use NoDefaults to disable it.
/etc/ffserver.conf:219: Setting default value for audio sample rate = 22050. Use NoDefaults to disable it.
/etc/ffserver.conf:219: Setting default value for audio channel count = 1. Use NoDefaults to disable it.
/etc/ffserver.conf:219: Setting default value for video bit rate tolerance = 64000. Use NoDefaults to disable it.
/etc/ffserver.conf:219: Setting default value for video rate control equation = tex^qComp. Use NoDefaults to disable it.
/etc/ffserver.conf:219: Setting default value for video max rate = 6369328. Use NoDefaults to disable it.
bind(port 8090): Address already in use
Wed Nov 29 13:17:49 2017 Could not start server
[video4linux2,v4l2 @ 0x1a35630] The driver changed the time per frame from 1/21 to 1/10
Input #0, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 12116.079136, bitrate: 147456 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 1280x720, 147456 kb/s, 10 fps, 10 tbr, 1000k tbn, 1000k tbc
Guessed Channel Layout for Input Stream #1.0 : stereo
Input #1, alsa, from 'sysdefault:CARD=HD3000':
Duration: N/A, start: 1511961469.424072, bitrate: 1536 kb/s
Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
[tcp @ 0x1a44160] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
Wed Nov 29 13:17:49 2017 127.0.0.1 - - [GET] "/feed1.ffm HTTP/1.1" 200 4175
[tcp @ 0x1a63ca0] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
[mpeg1video @ 0x1a6ecb0] bitrate tolerance 21333 too small for bitrate 64000, overriding
[mpeg1video @ 0x1a6ecb0] MPEG-1/2 does not support 3/1 fps
Stream mapping:
Stream #1:0 -> #0:0 (pcm_s16le (native) -> mp2 (native))
Stream #0:0 -> #0:1 (rawvideo (native) -> mpeg1video (native))
Stream #1:0 -> #0:2 (pcm_s16le (native) -> wmav2 (native))
Stream #0:0 -> #0:3 (rawvideo (native) -> msmpeg4v3 (msmpeg4))
Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
Wed Nov 29 13:17:49 2017 127.0.0.1 - - [POST] "/feed1.ffm HTTP/1.1" 200 0
[2]+ Exit 1 ffserver -f /etc/ffserver.confI use the default /etc/ffserver.conf.
I can’t seem to figur out what is the problem. -
FFMPeg stuck while processing a video
15 juin 2017, par Muhammad UmarI am trying to add slow motion to an FFMPEG video in android
On my terminal original query i use is
ffmpeg -i soon.mp4 -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" output.mp4
Here is my code in android,
String cmd = "/data/data/PACKAGE_NAME/files/ffmpeg -i "+ videoFileName +" -filter_complex [0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a] -map [v] -map [a] " + file.getAbsolutePath();
In Android , i have only removed
quotation marks
since ffmpeg is not recognising these.When i exceute FFMPEG,
following happensconfiguration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/i686-linux-android- --arch=x86 --cpu=i686 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/x86 --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -march=i686' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
06-15 22:07:01.340 11866-11866/PACKAGE_NAME D/WRITING:: libavutil 55. 17.103 / 55. 17.103
06-15 22:07:01.720 11866-11866/PACKAGE_NAME D/WRITING:: libavcodec 57. 24.102 / 57. 24.102
06-15 22:07:02.100 11866-11866/PACKAGE_NAME D/WRITING:: libavformat 57. 25.100 / 57. 25.100
06-15 22:07:02.510 11866-11866/PACKAGE_NAME D/WRITING:: libavdevice 57. 0.101 / 57. 0.101
06-15 22:07:02.900 11866-11866/PACKAGE_NAME D/WRITING:: libavfilter 6. 31.100 / 6. 31.100
06-15 22:07:03.290 11866-11866/PACKAGE_NAME D/WRITING:: libswscale 4. 0.100 / 4. 0.100
06-15 22:07:03.620 11866-11866/PACKAGE_NAME D/WRITING:: libswresample 2. 0.101 / 2. 0.101
06-15 22:07:03.980 11866-11866/PACKAGE_NAME D/WRITING:: libpostproc 54. 0.100 / 54. 0.100
06-15 22:07:04.320 11866-11866/PACKAGE_NAME D/WRITING:: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/DCIM/Camera/V_20170204_181009.mp4':
06-15 22:07:04.720 11866-11866/PACKAGE_NAME D/WRITING:: Metadata:
06-15 22:07:05.050 11866-11866/PACKAGE_NAME D/WRITING:: major_brand : isom
06-15 22:07:05.450 11866-11866/PACKAGE_NAME D/WRITING:: minor_version : 0
06-15 22:07:05.860 11866-11866/PACKAGE_NAME D/WRITING:: compatible_brands: isom3gp4
06-15 22:07:05.870 230-230/? E/ia_watchdog: Refreshing Watchdog Timers
06-15 22:07:06.240 11866-11866/PACKAGE_NAME D/WRITING:: creation_time : 2017-02-04 13:10:13
06-15 22:07:06.850 11866-11866/PACKAGE_NAME D/WRITING:: Duration: 00:00:02.82, start: 0.000000, bitrate: 12760 kb/s
06-15 22:07:07.240 11866-11866/PACKAGE_NAME D/WRITING:: Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 12344 kb/s, SAR 1:1 DAR 16:9, 24.19 fps, 23.92 tbr, 90k tbn, 60 tbc (default)
06-15 22:07:07.620 11866-11866/PACKAGE_NAME D/WRITING:: Metadata:
06-15 22:07:07.990 11866-11866/PACKAGE_NAME D/WRITING:: rotate : 90
06-15 22:07:08.400 11866-11866/PACKAGE_NAME D/WRITING:: creation_time : 2017-02-04 13:10:13
06-15 22:07:08.870 11866-11866/PACKAGE_NAME D/WRITING:: handler_name : VideoHandle
06-15 22:07:09.880 11866-11866/PACKAGE_NAME D/WRITING:: Side data:
06-15 22:07:10.530 11866-11866/PACKAGE_NAME D/WRITING:: displaymatrix: rotation of -90.00 degrees
06-15 22:07:11.000 11866-11866/PACKAGE_NAME D/WRITING:: Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 191 kb/s (default)
06-15 22:07:11.530 11866-11866/PACKAGE_NAME D/WRITING:: Metadata:
06-15 22:07:12.120 11866-11866/PACKAGE_NAME D/WRITING:: creation_time : 2017-02-04 13:10:13
06-15 22:07:12.620 11866-11866/PACKAGE_NAME D/WRITING:: handler_name : SoundHandleAfter that nothing happens, FFMPEG seems like stuck in oblivion. Any ideas what could be wrong