
Recherche avancée
Autres articles (46)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (8429)
-
FFMpeg command doesn't works for 4.0-39-gda39990 version but works for 3.0.1 version
17 mai 2020, par Android DeveloperI run below FFmpeg command to cut video using 4.0-39 version-



{"-y","-i","/storage/emulated/0/Movies/g3cm1tt7qtd41.mp4.mp4", "-ss", "10", "-t", "53", "-c", "copy","/storage/emulated/0/Movies/cut_video10.mp4"}




It returns success with below response but the output video cannot be played !However same command runs fine when using older version 3.0.1 of FFMpeg and output video can be played !





SUCCESS with output : ffmpeg version n4.0-39-gda39990 Copyright (c)
 2000-2018 the FFmpeg developers
 built with gcc 4.9.x (GCC) 20150123 (prerelease)
 configuration : —target-os=linux —cross-prefix=/root/bravobit/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
 —arch=arm —cpu=cortex-a8 —enable-runtime-cpudetect —sysroot=/root/bravobit/ffmpeg-android/toolchain-android/sysroot —enable-pic —enable-libx264 —enable-ffprobe —enable-libopus —enable-libvorbis —enable-libfdk-aac —enable-libfreetype —enable-libfribidi —enable-libmp3lame —enable-fontconfig —enable-libvpx —enable-libass —enable-yasm —enable-pthreads —disable-debug —enable-version3 —enable-hardcoded-tables —disable-ffplay —disable-linux-perf —disable-doc —disable-shared —enable-static —enable-runtime-cpudetect —enable-nonfree —enable-network —enable-avresample —enable-avformat —enable-avcodec —enable-indev=lavfi —enable-hwaccels —enable-ffmpeg —enable-zlib —enable-gpl —enable-small —enable-nonfree —pkg-config=pkg-config —pkg-config-flags=—static —prefix=/root/bravobit/ffmpeg-android/build/armeabi-v7a —extra-cflags='-I/root/bravobit/ffmpeg-android/toolchain-android/include
 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' —extra-ldflags='-L/root/bravobit/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' —extra-cxxflags=
 libavutil 56. 14.100 / 56. 14.100
 libavcodec 58. 18.100 / 58. 18.100
 libavformat 58. 12.100 / 58. 12.100
 libavdevice 58. 3.100 / 58. 3.100
 libavfilter 7. 16.100 / 7. 16.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 1.100 / 5. 1.100
 libswresample 3. 1.100 / 3. 1.100
 libpostproc 55. 1.100 / 55. 1.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Movies/g3cm1tt7qtd41.mp4.mp4' :
 Metadata :
 major_brand : iso6
 minor_version : 1
 compatible_brands : mp42iso6avc1isom
 creation_time : 2020-01-30T11:13:07.000000Z
 Duration : 00:00:00.00, start : 0.042643, bitrate : N/A
 Stream #0:0(und) : Video : h264 (avc1 / 0x31637661), yuv420p, 854x480 [SAR 2136:2135 DAR 89:50], 1225 kb/s, 30 fps, 30 tbr, 15360
 tbn, 60 tbc (default)
 Stream #0:1(eng) : Audio : aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
 Output #0, mp4, to '/storage/emulated/0/Movies/cut_video10.mp4' :
 Metadata :
 major_brand : iso6
 minor_version : 1
 compatible_brands : mp42iso6avc1isom
 encoder : Lavf58.12.100
 Stream #0:0(und) : Video : h264 (avc1 / 0x31637661), yuv420p, 854x480 [SAR 2136:2135 DAR 89:50], q=2-31, 1225 kb/s, 30 fps, 30 tbr,
 15360 tbn, 15360 tbc (default)
 Stream #0:1(eng) : Audio : aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
 Stream mapping :
 Stream #0:0 -> #0:0 (copy)
 Stream #0:1 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 frame= 0 fps=0.0 q=-1.0 Lsize= 0kB time=00:00:00.00 bitrate=N/A speed= 0x

 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : unknown




Response with version 3.0.1 which worked-



SUCCESS with output : ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
 built with gcc 4.8 (GCC)
 configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --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/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --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=
 libavutil 55. 17.103 / 55. 17.103
 libavcodec 57. 24.102 / 57. 24.102
 libavformat 57. 25.100 / 57. 25.100
 libavdevice 57. 0.101 / 57. 0.101
 libavfilter 6. 31.100 / 6. 31.100
 libswscale 4. 0.100 / 4. 0.100
 libswresample 2. 0.101 / 2. 0.101
 libpostproc 54. 0.100 / 54. 0.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Movies/g3cm1tt7qtd41.mp4.mp4':
 Metadata:
 major_brand : iso6
 minor_version : 1
 compatible_brands: mp42iso6avc1isom
 creation_time : 2020-01-30 11:13:07
 Duration: 00:00:00.00, start: 0.042667, bitrate: N/A
 Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 854x480 [SAR 2136:2135 DAR 89:50], 1225 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
 Output #0, mp4, to '/storage/emulated/0/Movies/cut_video11.mp4':
 Metadata:
 major_brand : iso6
 minor_version : 1
 compatible_brands: mp42iso6avc1isom
 encoder : Lavf57.25.100
 Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 854x480 [SAR 2136:2135 DAR 89:50], q=2-31, 1225 kb/s, 30 fps, 30 tbr, 15360 tbn, 15360 tbc (default)
 Stream #0:1(eng): Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 128 kb/s (default)
 Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Stream #0:1 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 frame= 661 fps=0.0 q=-1.0 Lsize= 3848kB time=00:00:23.01 bitrate=1369.5kbits/s speed=71.1x 
 video:3463kB audio:359kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.657366%




Link for the file - https://gofile.io/d/7aFuQo


-
How to install ffmpeg on Google App Engine ?
1er avril 2024, par london_utkuI intend to install ffmpeg and ffprobe to my Google App Engine flex environment, how can I do this with requirements.txt as a package ?



I am currently using ffmpeg-python yet, this is only a wrapper.



ffmpeg-python==0.2.0
ffprobe-python==1.0.3




Below is the error when I try to use ffmpeg-python wrapper, which is expected as there is no ffmpeg and ffprobe available :



2020-05-03 11:42:36 default[20200503t112932] [03/May/2020 11:42:36] ERROR [log.py:228] Internal Server Error: /capture_thumbnail/
2020-05-03 11:42:36 default[20200503t112932] Traceback (most recent call last): File "/env/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner response = get_response(request) File "/env/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response response = self.process_exception_by_middleware(e, request) File "/env/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/home/vmagent/app/core/views.py", line 62, in capture_thumbnail generate_thumbnail(request, blob_uuid) File "/home/vmagent/app/core/videointelligence1.py", line 264, in generate_thumbnail probe = ffmpeg.probe(video_url) File "/env/lib/python3.6/site-packages/ffmpeg/_probe.py", line 20, in probe p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE) File "/opt/python3.6/lib/python3.6/subprocess.py", line 729, in __init__ restore_signals, start_new_session) File "/opt/python3.6/lib/python3.6/subprocess.py", line 1364, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe': 'ffprobe'




Can you please suggest a way, so I can use ffprobe on Google App Engine.


-
ffmpeg strftime no effect on windows
18 mai 2020, par BenI'm trying to auto mark the output file with timestamps with ffmpeg. Here's my test cmd :



.\ffmpeg.exe -y -loglevel 99 -i test.mp3 -strftime 1 %Y.ogg




I expected a file named
2020.ogg
, however only got%Y.ogg
. In another word, output filename is not processed bystrftime()
. I'm using powershell so there should be no relation with cmd's%%
escaping.


Here's the output : https://pastebin.com/LUVh2kFA I'm using static builds from https://ffmpeg.zeranoe.com (Thanks Zeranoe !) I confirmed that the problem exists in v4.2.2 and git-20200515. Is there any chance to fix it or am I doing it wrong ?