
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (39)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
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 (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (6087)
-
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
-
Slideshow video created by ffmpeg with pad+vstack filters only contains one image
27 juin 2017, par user3011750$ ls -1 *.jpg
1.jpg # could be any size, here is 210×315
2.jpg # could be any size, here is 480x480
3.jpg # could be any size, here is 480x480
$ ls -1 *.png
bg.png # 480x160
$ ffmpeg -y -r 0.5 -pattern_type glob -i '*.jpg' -i bg.png -filter_complex 'scale=iw*min(480/iw\,480/ih):ih*min(480/iw\,480/ih),pad=480:480:(480-iw*min(480/iw\,480/ih))/2:(480-ih*min(480/iw\,480/ih))/2,vstack' -vsync vfr -c:v libx264 -pix_fmt yuv420p out.mp4
...
$ ffprobe out.mp4
ffprobe version 3.3.2 Copyright (c) 2007-2017 the FFmpeg developers
built with Apple LLVM version 8.1.0 (clang-802.0.42)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libfreetype --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libavresample 3. 5. 0 / 3. 5. 0
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.71.100
Duration: 00:00:02.00, start: 0.000000, bitrate: 152 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 480x640 [SAR 1:1 DAR 3:4], 149 kb/s, 0.50 fps, 0.50 tbr, 16384 tbn, 1 tbc (default)
Metadata:
handler_name : VideoHandlerThe video size 480x640 is correct, but it only lasts 2 seconds, only contains the first image 1.jpg, please tell me how I can solve this problem ?
-------
-
Issues mapping multiple Axis RTSP streams using FFMPEG
26 juin 2017, par Alex RI have an application built in C# that leverages FFMPEG to map 3 h264 RTSP streams from Axis cameras along with a gdigrab screen recording and saves everything to a file using this command :
-rtsp_transport tcp -i rtsp://192.168.1.200/axis-media/media.amp -rtsp_transport tcp -i rtsp://192.168.2.200/axis-media/media.amp -rtsp_transport tcp -i rtsp://192.168.3.200/axis-media/media.amp -r 30 -f gdigrab -framerate 1 -i title="MainWindow" -c copy -map 0 -vcodec copy -map 1 -metadata title="6-26-2017-4-22-PM- TEST VIDEO" -vcodec copy -map 2 -vcodec copy -map 3 -vcodec h264 -preset ultrafast C:\Users\*USERNAME*\6-26-2017-4-22-PM-cam1comb.mkv
The issue that I’m having is that the Axis camera streams are out of sync with each other, with approximately a 3 second delay between the three streams. When I test the FFMPEG command with all inputs changed to this stream
rtsp://mpv.cdn3.bigCDN.com:554/bigCDN/_definst_/mp4:bigbuckbunnyiphone_400.mp4
as well as the screen grab however, everything works perfectly.