
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (50)
-
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 -
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 -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (7616)
-
ffmpeg ignores -metadata option when video is encoded
30 octobre 2018, par Rafael LimaI have a video with the following metadata :
rotate : 90
I’m using ffmpeg (4.0 binaries from windows downloaded from official website) to encode it and I want to delete this metadata information.
If I do :
ffmpeg -i input.mp4 -c copy -metadata:s:v:0 rotate= output.mp4
the output will have removed the metadata.But if I do :
ffmpeg -i input.mp4 -c:v libx264 -metadata:s:v:0 rotate= output.mp4
then I still have the undesired metadata.Is there a way to remove metadata while encoding ?
-
FFmpeg need help forming a tee muxer to send in 2 social network simultaneously
4 avril 2021, par JintorI want to stream to youtube and twitter in 1 ffmpeg process


i red this https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs


I do this command


/usr/bin/ffmpeg -re -i input.mp4 -deinterlace -c:v libx264 -pix_fmt yuv420p 
-preset veryfast -tune zerolatency -profile:v main -c:a aac -b:a 128k -ac 2 
-crf 19 -r 30 -g 60 -b:v 1369k -minrate 1369k -maxrate 1369k -bufsize 2738k 
-ar 44100 
-filter_complex "[0:v]split=2[s0]; [s0]scale=-2:1080[v0]" 
-map "[v0]" -map 0:a 
-f tee " [select='v:0,a':f=flv]rtmp://a.rtmp.youtube.com/live2/key | [select='v:0,a':f=flv]rtmps://va.pscp.tv:443/x/key "



and I get in command line this


[libx264 @ 0x55f7b71aae40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
[libx264 @ 0x55f7b71aae40] profile Main, level 4.0, 4:2:0, 8-bit
[libx264 @ 0x55f7b71a8f40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
[libx264 @ 0x55f7b71a8f40] profile Main, level 4.0, 4:2:0, 8-bit
[tee @ 0x55f7b71a6480] No option found near "0,a:f=flv]rtmp://a.rtmp.youtube.com/live2/r9yy-wtdf-rmkp-22qa-c9sb"
[tee @ 0x55f7b71a6480] Slave muxer #0 failed: Invalid argument, continuing with 1/2 slaves.
[tee @ 0x55f7b71a6480] No option found near "0,a:f=flv]rtmps://va.pscp.tv:443/x/v52px1yfiwuh"
[tee @ 0x55f7b71a6480] All tee outputs failed.
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:1 -- 
[aac @ 0x55f7b722fd80] Qavg: 298.166
[aac @ 0x55f7b722fd80] 2 frames left in the queue on closing
Conversion failed!



What is wrong with my command ?


-
Audio and Video not synced after ffmpeg filter_complex select between
2 février 2024, par RadekJI am trying to trim a video shoot on an iPhone.


When I execute :


ffmpeg -i IMG_8555.MOV \
-filter_complex " \
[0:v] select='between(t,448.856,1279.240)', setpts=N/FR/TB; \
[0:a] aselect='between(t,448.856,1279.240)', asetpts=N/SR/TB \ 
" \ 
output.mov



the output audio is out of sync - audio is faster (noticeable towards the end of the output video).


I noticed that the outputs frame rate is 29.97 while the inputs is 29.98.


So I did some experimenting and changed setpts to
setpts=N/29.98/TB;
but still the video is falling behind.
So I changed it even more tosetpts=N/30.00/TB;
- then it feels almost ok.

I tired adding -vsync 1 - no luck


I tried adding -async 1 - no luck


I tried adding -async 7000 - no luck


edit : If i put setpts=N/29.99/TB then it is ideal.


Any ideas how can I make it always synced (no matter what is the input) ?