
Recherche avancée
Autres articles (89)
-
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 -
Initialisation de MediaSPIP (préconfiguration)
20 février 2010, parLors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
Dans un premier temps il active ou désactive des options de SPIP qui ne le (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (6636)
-
How to concate videos which some have audio and some haven't audio in FFMPEG [duplicate]
21 juin 2019, par Nikunj ParadvaThis question already has an answer here :
What i am doing :->
I am currently concat videos using
FFMPEG
. while selecting input videos I don’t know videos have audio stream or not. then i concate that videos with this command which is written below,I got this error because of one input have no sound stream
What i have to do :->
- how to check that input video have audio or not ?
- how to concate this video inputs ?(one with audio another with no audio)
- if possible all this thing in single command ?
FFMPEG Command :-
[-y,
-i, /storage/emulated/0/Received/MP4_20190220_114210.mp4,
-i, /storage/emulated/0/Received/VID-20190404-WA0010.mp4,
-strict, experimental,
-filter_complex, [0:v]scale=iw*min(854/iw\,480/ih):ih*min(854/iw\,480/ih), pad=854:480:(854-iw*min(854/iw\,480/ih))/2:(480-ih*min(854/iw\,480/ih))/2,setsar=1:1[v0];
[1:v]scale=iw*min(854/iw\,480/ih):ih*min(854/iw\,480/ih), pad=854:480:(854-iw*min(854/iw\,480/ih))/2:(480-ih*min(854/iw\,480/ih))/2,setsar=1:1[v1];
[v0][0:a][v1][1:a] concat=n=2:v=1:a=1,
-preset, ultrafast,
/storage/emulated/0/Video/Video_1561115811161.mp4]I got this Error While Executing.
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/Received/MP4_20190220_114210.mp4':
Metadata:
major_brand : iso6
minor_version : 1
compatible_brands: mp42iso6avc1isom
creation_time : 2019-02-20T06:12:15.000000Z
Duration: 00:00:23.46, start: 0.000000, bitrate: 309 kb/s
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 426x426, 243 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 32000 Hz, stereo, fltp, 64 kb/s (default)
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Received/VID-20190404-WA0010.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp41mp42isom
creation_time : 2018-11-24T20:20:48.000000Z
Duration: 00:00:59.51, start: 0.066667, bitrate: 649 kb/s
Stream #1:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709), 640x640, 646 kb/s, 29.98 fps, 30 tbr, 15360 tbn, 60 tbc (default)
Metadata:
creation_time : 2018-11-24T20:20:48.000000Z
handler_name : Core Media Video
Stream specifier ':a' in filtergraph description [0:v]scale=iw*min(854/iw\,480/ih):ih*min(854/iw\,480/ih), pad=854:480:(854-iw*min(854/iw\,480/ih))/2:(480-ih*min(854/iw\,480/ih))/2,setsar=1:1[v0];[1:v]scale=iw*min(854/iw\,480/ih):ih*min(854/iw\,480/ih), pad=854:480:(854-iw*min(854/iw\,480/ih))/2:(480-ih*min(854/iw\,480/ih))/2,setsar=1:1[v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1 matches no streams.Your help would be appreciated.
-
What is causing "unspecified pixel format" and "Error opening filters !" error in ffmpeg ?
19 février 2019, par SJAndersonLAI’m writing an mp4 to HLS transcoding process that works as intended on files smaller than 7 gigabytes (sample size is 100 videos). When attempting to transcode anything larger than 7GB, it crashes.
The command :
ffmpeg
-i large_file.mp4 -y
-vf scale=w=1920:h=1080:force_original_aspect_ratio=decrease
-c:a aac
-ar 48000
-c:v h264
-profile:v main
-crf 20
-sc_threshold 0
-g 48
-keyint_min 48
-hls_time 4
-hls_playlist_type vod
-b:v 5000k
-maxrate 5350k
-bufsize 7500k
-b:a 192k
-hls_segment_filename /1080p_%03d.ts
-threads 0
/tmp/output-ef42dc65-1d3d-4682-b32b-68d7c712fb9c-raw-test/1080p.m3u8The error :
ffmpeg version 3.2.12-1\x7edeb9u1 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
configuration: --prefix=/usr --extra-version='1~deb9u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
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
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x555888d821c0] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 1280x720, 3856 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'large_file.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.26.101
Duration: 05:56:12.51, start: 0.000000, bitrate: 4061 kb/s
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), none, 1280x720, 3856 kb/s, 29.99 fps, 30 tbr, 100k tbn, 200k tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 194 kb/s (default)
Metadata:
handler_name : SoundHandler
[buffer @ 0x555888d88180] Unable to parse option value "-1" as pixel format
Last message repeated 1 times
[buffer @ 0x555888d88180] Error setting option pix_fmt to value -1.
[graph 0 input from stream 0:0 @ 0x555888d81e40] Error applying options to the filter.
Error opening filters!The error says to try increasing
analyzeduration
andprobesize
, which I set to max value (based on an answer from this post), however that didn’t seem to change the behavior. I also suspected that the file was corrupted, but the fact that this is failing for all files larger than 7GB makes it more difficult to suggest its something not related to the size of the mp4. -
ffmpeg bitrate won't change despite argument [duplicate]
5 février 2019, par Dillon WrightThis question already has an answer here :
-
Wav audio file compression not working
2 answers
I am attempting to change the codec a wav file is encoded in to do this i am using ffmpeg however when i do this conversion it sets the bit-rate to 128k and i cannot set it lower then this
i have already tried to set the bit-rate using the b:a 8k argument however it does not change the output bit rate i have then tried to modify the sample and it does change this change also affects the bit rate.
I have also tried changing the audio codec this has resulted in a lower bit-rate as well it also makes me suspect some codecs may have a minimum bit rate at least they have different default bit rates.
C :/ffmpeg.exe -i "input.wav" -ar 8000 -b:a 8000 -c pcm_u8 "output.wav"
here is the output debugging i get
ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 8.2.1 (GCC) 20181017
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, wav, from ’input.wav’ :
Duration : 00:21:03.08, bitrate : 8 kb/s
Stream #0:0 : Audio : g729 ([131][0][0][0] / 0x0083), 8000 Hz, mono, s16, 8 kb/s
Stream mapping : Stream #0:0 -> #0:0 (g729 (native) -> pcm_u8 (native))
Output #0, wav, to ’output.wav’ :
Metadata :
ISFT : Lavf58.20.100
Stream #0:0 : Audio : pcm_u8 ([1][0][0][0] / 0x0001), 8000 Hz, mono, u8, 64 kb/s
Metadata :
encoder : Lavc58.35.100 pcm_u8
size= 2304kB time=00:05:10.59 bitrate= 60.8kbits/s speed= 621x
size= 4864kB time=00:10:38.10 bitrate= 62.4kbits/s speed= 638x
size= 7680kB time=00:16:23.05 bitrate= 64.0kbits/s speed= 637x
size= 9868kB time=00:21:03.08 bitrate= 64.0kbits/s speed= 630x
video:0kB audio:9868kB subtitle:0kB other streams:0kB global headers:0kB >muxing overhead : 0.000772 -
Wav audio file compression not working