
Recherche avancée
Autres articles (55)
-
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 -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
Sur d’autres sites (7628)
-
Cut video command producing only audio
12 février 2018, par SandeepI am using
ffmpeg
in Android app and my command code looks like :final String[] command=new String[]{"-i",inputFileName , "-ss",
String.valueOf(duration) , "-codec","copy", "-t",String.valueOf(start) , outputFileName};The logcat contains following ffmpeg output which shows video as
0kB
in last line. Where should I look for fixing this because the final output file is a mp4 file but the video content is missing and only audio is present for the trimmed duration :02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg ffmpeg version n3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg built with gcc 4.9.x (GCC) 20150123 (prerelease)
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg configuration: --target-os=linux --cross-prefix=/root/bravobit/ffmpeg-android/toolchain-android/bin/i686-linux-android- --arch=x86 --cpu=i686 --enable-runtime-cpudetect --sysroot=/root/bravobit/ffmpeg-android/toolchain-android/sysroot --disable-asm --enable-pic --enable-libx264 --enable-libfreetype --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libopus --enable-pthreads --disable-debug --disable-ffserver --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 --disable-asm --pkg-config=/root/bravobit/ffmpeg-android/ffmpeg-pkg-config --prefix=/root/bravobit/ffmpeg-android/build/x86 --extra-cflags='-I/root/bravobit/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -march=i686' --extra-ldflags='-L/root/bravobit/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-cxxflags= --extra-libs='-lpng -lx264 -lm -logg'
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg libavutil 55. 78.100 / 55. 78.100
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg libavcodec 57.107.100 / 57.107.100
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg libavformat 57. 83.100 / 57. 83.100
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg libavdevice 57. 10.100 / 57. 10.100
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg libavfilter 6.107.100 / 6.107.100
02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg libavresample 3. 7. 0 / 3. 7. 0
02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg libswscale 4. 8.100 / 4. 8.100
02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg libswresample 2. 9.100 / 2. 9.100
02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg libpostproc 54. 7.100 / 54. 7.100
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/DCIM/SampleVideo_1280x720_1mb.mp4':
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg major_brand : isom
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg minor_version : 512
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg compatible_brands: isomiso2avc1mp41
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg creation_time : 1970-01-01T00:00:00.000000Z
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg encoder : Lavf53.24.2
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg creation_time : 1970-01-01T00:00:00.000000Z
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg handler_name : VideoHandler
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg creation_time : 1970-01-01T00:00:00.000000Z
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg handler_name : SoundHandler
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Output #0, mp4, to '/storage/emulated/0/VideoTriming/20180212_172243SampleVideo_1280x720_1mb.mp4':
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg major_brand : isom
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg minor_version : 512
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg compatible_brands: isomiso2avc1mp41
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg encoder : Lavf57.83.100
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg creation_time : 1970-01-01T00:00:00.000000Z
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg handler_name : VideoHandler
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg creation_time : 1970-01-01T00:00:00.000000Z
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg handler_name : SoundHandler
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream mapping:
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:0 -> #0:0 (copy)
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:1 -> #0:1 (copy)
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Press [q] to stop, [?] for help
02-12 17:22:43.910 25335-25335/service D/FFmpeg: Started command : ffmpeg frame= 0 fps=0.0 q=-1.0 Lsize= 46kB time=00:00:00.98 bitrate= 387.1kbits/s speed= 115x
02-12 17:22:43.910 25335-25335/service D/FFmpeg: Started command : ffmpeg video:0kB audio:46kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.145508%My input file is the first 1MB mp4 sample video downloaded from following website :
-
ffmpeg first segment does not have audio
5 mars 2018, par Giorgi PeikrishviliI’m recording http stream using ffmpeg. Here is my command :
ffmpeg -i https://tv-tbs-silk-front 1.adjara.com/4w/rustavi2hd/index.m3u8\?token\=376d9f864d81c7f85410ac5d3d0bde3dd6574daf-Hog86dAubE-1522939917-1520175117 -c copy -map 0 -bsf:a aac_adtstoasc -flags +global_header -f segment -segment_time 10 -force_key_frames 10 -segment_format_options movflags=+faststart -reset_timestamps 1 -strftime 1 %Y-%m-%d_%H-%M-%S.mov
It makes segments as should be, but the only first segment does not have sound, others does.
Any ideas about that ?Update as suggested in comments :
Here is full outputffmpeg -i -c copy -map 0 -g 10 -bsf:a aac_adtstoasc -flags
+global_header -f segment -segment_time 10 -force_key_frames 10 -
segment_format_options movflags=+faststart -reset_timestamps 1 -
strftime 1 %Y-%m-%d_%H-%M-%S.mov
ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM
3.6.0svn) configuration: --prefix=/Users/Cipusha/anaconda2
--disable-doc --enable-shared --enable-static --extra-cflags='-Wall -g
-m64 -pipe -O3 -march=x86-64 -fPIC -I/Users/Cipusha/anaconda2/include'
--extra-cxxflags='=-Wall -g -m64 -pipe -O3 -march=x86-64 -fPIC' --
extra-libs='-L/Users/Cipusha/anaconda2/lib -lz' --enable-pic --enable-
gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --
enable-libx264
libavutil 55. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Input #0, hls,applehttp, from 'https://tv-tbs-silk-front-
1.adjara.com/4w/rustavi2hd/index.m3u8?
token=376d9f864d81c7f85410ac5d3d0bde3dd6574daf-Hog86dAubE-1522939917-
1520175117':
Duration: N/A, start: 58671.490378, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 2953271
Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz,
stereo, fltp
Metadata:
variant_bitrate : 2953271
Stream #0:1: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p,
720x576 [SAR 1:1 DAR 5:4], 25 fps, 25 tbr, 90k tbn, 50 tbc
Metadata:
variant_bitrate : 2953271
Output #0, segment, to '%Y-%m-%d_%H-%M-%S.mov':
Metadata:
encoder : Lavf57.56.101
Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz,
stereo
Metadata:
variant_bitrate : 2953271
Stream #0:1: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p,
720x576 [SAR 1:1 DAR 5:4], q=2-31, 25 fps, 25 tbr, 12800 tbn, 25 tbc
Metadata:
variant_bitrate : 2953271
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mov @ 0x7f9c97018e00] Starting second pass: moving the moov atom to the beginning of the file
[mov @ 0x7f9c96803200] Starting second pass: moving the moov atom to the beginning of the file
[mov @ 0x7f9c98000000] Starting second pass: moving the moov atom to the beginning of the file
frame= 581 fps= 38 q=-1.0 Lsize=N/A time=00:00:23.20 bitrate=N/A speed= 1.5xThank you very much
-
How to swap package configuration for environment
24 juillet 2018, par Finn MaunsellI’d like to change the location that I get ffmpeg from for my anaconda environment. The problem has occured because I want to use the ffmpeg configuration for my base system instead of the configuration meant for the environment.
If I use
ffmpeg
in ubuntu bash then I get this for my active environment :ffmpeg version N-91510-gd134b8d Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
configuration: --prefix=/home/notebook/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/notebook/ffmpeg_build/include --extra-ldflags=-L/home/notebook/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/notebook/bin --enable-gpl --enable-libaom --enable-openssl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfreeand for non-environment :
ffmpeg version 3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-15)
configuration: --prefix=/home/notebook/anaconda2/envs/tensorflow --disable-doc --enable-shared --enable-static --extra-cflags='-Wall -g -m64 -pipe -O3 -march=x86-64 -fPIC -I/home/notebook/anaconda2/envs/tensorflow/include' --extra-cxxflags='=-Wall -g -m64 -pipe -O3 -march=x86-64 -fPIC' --extra-libs=
'-L/home/notebook/anaconda2/envs/tensorflow/lib -lz' --enable-pic --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --enable-libx264Solving this will allow me to use the 2nd ffmpeg installation in my conda environment.