
Recherche avancée
Autres articles (8)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (2908)
-
Error initializing filter 'pan' with args 'stereo:c0 c0+c2:c1 c1+c3'
24 mai 2020, par Android DeveloperI run below FFmpeg command to merge audio and video keeping video's original audio using FFmpeg 4.0-39 version-



-i /storage/emulated/0/Movies/extract_audio.mp3 -i /storage/emulated/0/Movies/VID-20200501-WA0000.mp4 -filter_complex [0:a][1:a]amerge,pan=stereo:c0storage/emulated/0/Movies/merge_video.mp4




It fails for all videos with below error !However same command runs fine when using older version 3.0.1 of FFMpeg !



FAILED 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, mp3, from '/storage/emulated/0/Movies/extract_audio.mp3.mp4':
 Metadata:
 major_brand : M4V 
 minor_version : 512
 compatible_brands: isomiso2avc1
 encoder : Lavf58.12.100
 Duration: 00:00:20.04, start: 0.025057, bitrate: 256 kb/s
 Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 256 kb/s
 Metadata:
 encoder : Lavc58.18
 Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Movies/VID-20200501-WA0000.mp4.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.20.100
 Duration: 00:00:09.83, start: 0.000000, bitrate: 809 kb/s
 Stream #1:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709), 480x600, 737 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
 Metadata:
 handler_name : VideoHandler
 Stream #1:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 64 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 [Parsed_pan_1 @ 0xaef0c000] This syntax is deprecated. Use '|' to separate the list items ('stereo|c0code>


-
HEVC File bigger after converting from h264
26 janvier 2019, par AaroknightI’m currently working an an automated Python script for indexing and converting all my movies and episodes with
ffmpeg
. I usesubprocess.call()
for running theffmpeg
command and tested this command with some movies. As expected the bigh264
files were converted to merely one third of what they used to have.But now that I was testing the method I found that a converted episode (about 400MB in h264) had over 1,6GB in hevc. I have absolutely no idea why the new file would be that much bigger in hevc.
This is my code :def convert(path):
outvid = path.strip(".mkv") + "h265.mkv"
cmd = ["ffmpeg", "-i", path, "-map", "0", "-map_metadata", "0", "-map_chapters", "0", "-c:v", "libx265",
"-c:a", "copy", "-c:s", "copy", "-preset", "ultrafast", "-x265-params", "lossless=1", outvid]
subprocess.call(cmd)
convert("/Volumes/2TB/Black Butler/Season 1/Black Butler S01E01.mkv")I don’t have that much experience with
ffmpeg
, nor withsubprocess
. This is one of my first bigger projects. I hope someone can tell me what the problem might be.UPDATE
Problem applies only for small video files. I now just check for the file size and skip the small files. Wouldn’t have made much of a difference anyway. -
My (FFMPEG issue ) RTMP server(freebsd) wont let me hear video when I play a huge file over the server itself :/
19 avril 2021, par Engi GangHey my name is Alisha from Norway im trying to get my RTMP server working the thing is that it works just fine but I just cant stream over it with ffmpeg I can stream to it on OBS and it works fine, but I am trying to a website where people could watch old public domain movies from the 1950 some of the films are actually pretty big lol.... anyways I detailed bellow more


rm -rf /mnt/hls/loool && ffmpeg -re -i "$file" -c:v libx264 -c:a aac -b:v 300k -b:a 95k -f flv -flvflags no_duration_filesize rtmp ://lambright.xyz:1935/live/loool


any work around I literally cant play the audio :( I can only hear (my source file is an MKV and 3gb )


Note I had a smaller mp4 file and it did played the audio, the video isnt even playable in chrome but on VLC it is, but only a small file worked fine... its fine when I stream from my pc, but whats the point I am trying to set up my vintage 1950 serverbox :') trying to build a nice website where users could watch neat and decent old movies that are public domain if you wonder :/


Another note when I am trying to play it on my iphone safari browser it does actually play parts but audio is super corrupted like you hear the audio sometimes :((


rtmp {
 server {
 listen 1935; # Listen on standard RTMP port
 chunk_size 4000;

 application live {
 allow play all;
 live on;
 record off;
 hls on;
 hls_nested on;
 hls_path /mnt/hls/;
 hls_fragment 2s;
 }
 
 }
}