
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (67)
-
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 (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 (7411)
-
ffmpeg - invalid duration
22 septembre 2016, par OmidAntiLongFor a project I’m working on I have a small bash script that loops over an input csv file of timecodes, and uses ffmpeg to create screenshots of a given film at each timecode. The csv file is in the format hh:mm:ss,id - it looks like this (extract)
00:00:08,1
00:00:49,2
00:01:30,3
00:02:38,4
00:03:46,5
00:04:08,6
00:04:26,7
00:04:37,8
00:04:49,9
00:05:29,10
00:05:52,11
00:06:00,12
00:06:44,13
00:07:49,14
00:08:32,15
00:09:28,16
00:10:17,17
00:10:44,18
00:11:48,19
00:12:07,20I’ve used it without issue in the past, but today I’ve come to update some of the films and I’m getting a weird issue where ffmpeg is complaining that my input timecode is invalid, despite being in the right format.
The new input csv files are the same format as the old ones, but it seems like every so often ffmpeg drops the hours from the hh:mm:ss timestamp. If I comment out the ffmpeg line, everything prints to the terminal as expected (but obviously I get no screenshots).
This is my loop code :
while read code a
do
echo $code
f="$(printf "%03d" $i)"
ffmpeg -loglevel error -y -ss $code -i $FILM -vframes 1 -q:v 2 $OUTPUT/$f.jpg
((i++))
done < $INPUTI’ve tried all sorts, including padding the csv with extra 0s - which works until the hours tick over to 01.
Does anyone have any ideas ? I’m scratching my head.
Cheers
-
How to make watermark move till the video ends in FFMPEG
27 décembre 2022, par Мохамед Руслановичam using this command to move watermark around my video. It's working but it only move once around the edges and then desapers


ffmpeg -i film.mp4 -i logo_white.png -filter_complex "[0][1]overlay=x='0+(t-0)*(W-w)/5':y=0:enable='between(t,0,5)'[img];[img][1]overlay=x=W-w:y='0+(t-5)*(H-h)/5':enable='between(t,5,10)'[img];[img][1]overlay=x=(W-w)-(t-10)*(W-w)/5:y=H-h:enable='between(t,10,15)'[img],[img][1]overlay=x=0:y=(H-h)-(t-15)*(H-h)/5:enable='between(t,15,20)'" output2.mp4



I also tried this command using the -loop tag


ffmpeg -t 20 -loop 1 -i film.mp4 -i logo_white.png -loop 0 -filter_complex "[0][1]overlay=x='0+(t-0)*(W-w)/5':y=0:enable='between(t,0,5)'[img];[img][1]overlay=x=W-w:y='0+(t-5)*(H-h)/5':enable='between(t,5,10)'[img];[img][1]overlay=x=(W-w)-(t-10)*(W-w)/5:y=H-h:enable='between(t,10,15)'[img],[img][1]overlay=x=0:y=(H-h)-(t-15)*(H-h)/5:enable='between(t,15,20)'" output2.mp4



But it throws an error (option loop not found)


How to repeat the overlay over and over till the video ends ?


-
What makes the bitrate of dash stream output low as compared to bitrate of input mp4 video
7 janvier 2021, par Chinmaey ShendeI used ffmpeg to convert bbb.mp4 to dash stream. I used the ffprobe to get the bitrates of input and output (shown below)
For the same resolution video 1920x1080 input has bit rate 2998 kb/s where as output has bitate of 20 kb/s.
My profile is set to "-b:v:0 200K -s:v:0 640x360 -b:v:1 600K -s:v:1 852x480 -b:v:2 4000K -s:v:2 1920x1080".
I am trying to understand what determines the output bit rate for the dash stream ?
Why does my output different from the input profile set in ffmpeg command



Input video stream - bbb.mp4



''' Duration: 00:10:34.53, start: 0.000000, bitrate: 3481 kb/s
 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 2998 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)'''




Output :



''' Duration: 00:10:34.60, start: 630.000000, bitrate: 20 kb/s
 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 20 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)

 major_brand : iso5
 minor_version : 512
 compatible_brands: iso5iso6mp41
 encoder : Lavf58.42.100
 Duration: 00:10:34.60, start: 630.000000, bitrate: 4 kb/s
 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 852x480 [SAR 640:639 DAR 16:9], 4 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)

 major_brand : iso5
 minor_version : 512
 compatible_brands: iso5iso6mp41
 encoder : Lavf58.42.100
 Duration: 00:10:34.60, start: 630.000000, bitrate: 1 kb/s
 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 640x360 [SAR 1:1 DAR 16:9], 1 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
'''




I tried to look in ffprobe documentation I could not find the definition of the bit_rate field output in ffprobe.



Can you please help me to understand this ?