
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (45)
-
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 -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (6190)
-
How to add timestamp to video with different date & time format provided by android ?
8 janvier 2020, par Milan TejaniI am making android app to add timestamp to video using FFMPEG library and also it works fine but it add timestamp using by default date time format provided by FFMPEG.
it’s uses
YYYY-MM-DD HH:MM:SS
format for timestampwhere android provide different date & time format Click here for examples
ex : I want to use
"EEE, MMM d, ''yy"
date format for timestamp.How to do that ?
I an using this FFMPEG Command :
ffmpeg -y -i input.mp4 -vf "drawtext=fontfile=roboto.ttf:fontsize=36:fontcolor=yellow:text='%{pts\:gmtime\:1456007118}'" -preset ultrafast -f mp4 output.mp4
-
using ffmpeg.js to play H265 video, only play hvc1 format, can't play hev1 format, is there anyway to play hev1 ?
1er novembre 2019, par AlexI compiled ffmpeg into ffmpeg.js and ffmpeg.wasm by using emscripten, so that it can run in the browser and play H265 video.
However, I found that only the hvc1 format can be played.
Like that:Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709, progressive), 1280x720, 854 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
and the hev1 format cannot be played.Like that :
Stream #0:0(und): Video: hevc (Main) (hev1 / 0x31766568), yuv420p(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 829 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
Web browser’s Console has this errors
libffmpeg.js:1 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x644b80] reached eof, corrupted CTTS atom
>put_char @ libffmpeg.js:1
>write @ libffmpeg.js:1
>write @ libffmpeg.js:1
>doWritev @ libffmpeg.js:1
>___syscall146 @ libffmpeg.js:1
>(anonymous) @ wasm-009a4202-743:1
>(anonymous) @ wasm-009a4202-739:1
>(anonymous) @ wasm-009a4202-741:1
>(anonymous) @ wasm-009a4202-742:1
>(anonymous) @ wasm-009a4202-437:1
>(anonymous) @ wasm-009a4202-2083:1
>(anonymous) @ wasm-009a4202-87:1
>(anonymous) @ wasm-009a4202-923:1
>(anonymous) @ wasm-009a4202-247:1
>(anonymous) @ wasm-009a4202-247:1
>(anonymous) @ wasm-009a4202-247:1
>(anonymous) @ wasm-009a4202-247:1
>(anonymous) @ wasm-009a4202-2864:1
>(anonymous) @ wasm-009a4202-247:1
>(anonymous) @ wasm-009a4202-3015:1
>(anonymous) @ wasm-009a4202-247:1
>(anonymous) @ wasm-009a4202-1073:1
>(anonymous) @ wasm-009a4202-2261:1
>(anonymous) @ wasm-009a4202-2562:1
>(anonymous) @ libffmpeg.js:1
>Decoder.openDecoder @ decoder.js:48
>Decoder.processReq @ decoder.js:165
>self.onmessage @ decoder.js:248
libffmpeg.js:1 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x644b80] error reading header
>put_char @ libffmpeg.js:1
>write @ libffmpeg.js:1
>write @ libffmpeg.js:1
>doWritev @ libffmpeg.js:1
>___syscall146 @ libffmpeg.js:1
>(anonymous) @ wasm-009a4202-743:1
>(anonymous) @ wasm-009a4202-739:1
>(anonymous) @ wasm-009a4202-741:1
>(anonymous) @ wasm-009a4202-742:1
>(anonymous) @ wasm-009a4202-437:1
>(anonymous) @ wasm-009a4202-2083:1
>(anonymous) @ wasm-009a4202-87:1
>(anonymous) @ wasm-009a4202-1073:1
>(anonymous) @ wasm-009a4202-2261:1
>(anonymous) @ wasm-009a4202-2562:1
>(anonymous) @ libffmpeg.js:1
>Decoder.openDecoder @ decoder.js:48
>Decoder.processReq @ decoder.js:165
>self.onmessage @ decoder.js:248
common.js:58 [2019-11-1 18:23:25:529][Decoder][IF] openDecoder return 8ffplay can play these two, why can only play hvc1 after compiling into ffmpeg.js and ffmpeg.wasm ?
-
FFFMPEG :Unable to find a suitable output format for 'aac' aac : Invalid argument
5 octobre 2019, par Anand JainHi have two videos merged into one file using below command.
String[] complexCommand = {"-i", yourRealPath, "-i", compare_moviePath, "-filter_complex", "[0:v]setpts=PTS-STARTPTS, " +
"scale=480x360[top];[1:v]setpts=PTS-STARTPTS, scale=480x360,format=yuva420p,colorchannelmixer=aa=0.5[bottom];" +
"[top][bottom]overlay=shortest=1", "-acodec", "-c:a", "aac", "-vcodec", "libx264", filePath};When I enter this in the cmd, I get the following line :
ffmpeg version 3.3.2 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.9.x (GCC) 20150123 (prerelease)
configuration: --prefix=/home/yash/ffmpeg-binary-android-master/build_scripts/build_dir --target-os=linux --arch=arm64 --cross-prefix=/home/yash/android-ndk-r15c/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android- --enable-cross-compile --sysroot=/home/yash/android-ndk-r15c/platforms/android-21/arch-arm64/ --pkg-config=/usr/bin/pkg-config --pkg-config-flags=--static --enable-pic --enable-small --enable-gpl --enable-nonfree --disable-shared --enable-static --enable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --enable-libmp3lame --enable-libx264 --enable-bsf=aac_adtstoasc --enable-openssl --enable-libfreetype --enable-libfontconfig --enable-pthreads --enable-zlib --disable-doc
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
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 '/storage/emulated/0/v1golf/Android/data/com.v1.v1golf2/files/VID_20191004_163521.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.71.100
Duration: 00:00:05.76, start: 0.000000, bitrate: 4915 kb/s
Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 768x1024 [SAR 1:1 DAR 3:4], 4963 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 25 kb/s (default)
Metadata:
handler_name : SoundHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/v1golf/Android/data/com.v1.v1golf2/files/1908151648466PEV-260690.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.40.101
Duration: 00:00:07.23, start: 0.000000, bitrate: 21924 kb/s
Stream #1:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720, 21923 kb/s, 59.86 fps, 60 tbr, 15360 tbn, 120 tbc (default)
Metadata:
handler_name : VideoHandler
[NULL @ 0x76fde80e00] Unable to find a suitable output format for 'aac'
aac: Invalid argumentI can’t understand whats wrong. Can someone help me out with it ?
After removing
-acodec
below log :-Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/v1golf/Android/data/com.v1.v1golf2/files/VID_20191004_163521.mp4':
Duration: 00:00:05.76, start: 0.000000, bitrate: 4915 kb/s
Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 768x1024 [SAR 1:1 DAR 3:4], 4963 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 25 kb/s (default)
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/v1golf/Android/data/com.v1.v1golf2/files/1908151648466PEV-260690.mp4':
compatible_brands: isomiso2avc1mp41
Duration: 00:00:07.23, start: 0.000000, bitrate: 21924 kb/s
Stream #1:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720, 21923 kb/s, 59.86 fps, 60 tbr, 15360 tbn, 120 tbc (default)
handler_name : VideoHandler