
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (39)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (4088)
-
ffmpeg fmp4 segment encryption
12 juillet 2022, par V OI'm searching for a solution to protect HLS streams using DRM/AES encryption.


Currently, it seems that this is only working with .ts segments not with .m4s segments and .ts files again don't work with HEVC / 4k HDR content, so it seems I'm 100% stuck at this point.


There is also a report from another user (4 years ago) with exactly the same issue : https://trac.ffmpeg.org/ticket/7138
Is there any kind of workaround ? Maybe outside of ffmpeg ?


-
ffmpeg not adding correct timestamps in recorded files [closed]
27 avril 2023, par Aman HanjraI am using ffmpeg to record a camera stream using rtsp protocol. I am creating 10 second files by setting output_ts_offset to epoch realtime.
ffmpeg command :

ffmpeg -hide_banner -loglevel warning -rtsp_transport tcp -i rtsp://camera_ip:camera_port/stream_url -muxpreload 0 -muxdelay 0 -c:v copy -an -f segment -strftime 1 -segment_time 10 -output_ts_offset $EPOCHREALTIME -segment_atclocktime 1 -segment_clocktime_offset 30 -segment_format mp4 file_%s_10.mp4


Each file is saved with offset - start_time as epoch timestamp(current timestamp when ffmpeg pipeline starts and keep on adding 10 seconds as it creates 10 second files) and adding the same timestamp in file name also. eg file_1669903600_10.mp4
FPS is 15.
ffprobe output :


start_time=1669903599.93233
duration=10.106771
[/STREAM]
[FORMAT]
filename=file_1669903600_10.mp4
[/FORMAT]

[STREAM]
start_time=**1669903605.53452**
duration=10.106771
[/STREAM]
[FORMAT]
filename=file_**1669903610**_10.mp4
[/FORMAT]



In second example, there is difference of 5 seconds in start_time and filename which is incorrect.
Similarily sometimes there are differences upto 50000 seconds in timestamps.


Files are being saved with start_time metadata either in past or future. Anyone faced the same issue with ffmpeg ?


Sometimes I am getting files with 76ms duration and then this timestamp diff(start_time - filename timestamp) starts increasing negatively by 10 and goes up to -47270(in past) or sometimes it goes in future.


Tried fixing the fps to 15(-r 15 argument) but didn't work.


Expected output :
Timestamps should match(start_time timestamp should be equal to filename timestamp)


-
ffmpeg output 0 second with wrong coordinates and hidden text
18 juillet 2023, par Abdullah MohamedI'm trying to add some Text and Images to the video


Code


-i 'input.MOV' -i 'image.jpg' -filter_complex "[0]crop=1181.25:2100.0:1089.375:0.0[v];
 color=black[c];
 [v]colorchannelmixer=0.39:0.769:0.189:0:0:0.349:0.686:0.168:0:0:0.272:0.534:0.131:0:0:0:0:0[v];
 [c][v]scale2ref[t][v];
 [t]setsar=1,
 colorkey=black,
 split=2[t1][t2];
 [t1]drawtext=
 text=Abdullah Muhammad T1
 :fontsize=40.0
 :box=1
 :boxborderw=20.0
 :boxcolor=#2196f3
 :fontcolor=#f44336,
 rotate=10.0*PI/180:
 
 c=black@0[rotate];
 [v][rotate]overlay=x=400.0:y=300.0:shortest=1[v],
 
 
 [t2]drawtext=
 text=Abdullah Muhammad T2
 :fontsize=40.0
 :box=1
 :boxborderw=20.0
 :boxcolor=#ffeb3b
 :fontcolor=#000000,
 rotate=10.0*PI/180:
 
 c=black@0[rotate];
 [v][rotate]overlay=x=0.0:y=0.0:shortest=1[v],
 
 
 [1:v]scale=w=360.0:h=360.0,
 rotate=-90.0*PI/180:
 ow=rotw(iw-50):oh=roth(ih-50):
 c=black@0[rotate];
 [v][rotate]overlay=x=0.0:y=0.0:shortest=1[v],
 
 
 [1:v]scale=w=360.0:h=360.0,
 rotate=30.0*PI/180:
 ow=rotw(iw-50):oh=roth(ih-50):
 c=black@0[rotate];
 [v][rotate]overlay=x=200.0:y=600.0:shortest=1
 
 
 " -c:a copy -preset ultrafast -y 'output.mp4'



My Issues


- 

- First image should be at 0,0 coordinates but it's not.
- There should be 2 Texts but 1 of them is hidden and the other is not fully shown.
- the video is 13 seconds and the output is only 0 second.








Expected




Texts should be shown and images should be in the right position and video output should be 13 seconds.






Another issue




If I trimmed the video the output will still be the same duration




-i 'input_video.MOV' -ss 0:00:00.000000 -t 0:00:16.216000 -i 'input_image.jpg' -filter_complex "[0]crop=1181.25:2100.0:1089.375:0.0[v];
 color=black[c];
 [v]colorchannelmixer=0.39:0.769:0.189:0:0:0.349:0.686:0.168:0:0:0.272:0.534:0.131:0:0:0:0:0[v];
 [c][v]scale2ref[t][v];
 [t]setsar=1,
 colorkey=black,
 split=2[t1][t2];
 [t1]drawtext=
 text=Abdullah Muhammad T1
 :fontsize=40.0
 :box=1
 :boxborderw=20.0
 :boxcolor=#2196f3
 :fontcolor=#f44336,
 rotate=10.0*PI/180:
 
 c=black@0[rotate];
 [v][rotate]overlay=x=400.0:y=300.0:shortest=1[v],
 
 
 [t2]drawtext=
 text=Abdullah Muhammad T2
 :fontsize=40.0
 :box=1
 :boxborderw=20.0
 :boxcolor=#ffeb3b
 :fontcolor=#000000,
 rotate=10.0*PI/180:
 
 c=black@0[rotate];
 [v][rotate]overlay=x=0.0:y=0.0:shortest=1[v],
 
 
 [1:v]scale=w=360.0:h=360.0,
 rotate=-90.0*PI/180:
 ow=rotw(iw-50):oh=roth(ih-50):
 c=black@0[rotate];
 [v][rotate]overlay=x=0.0:y=0.0:shortest=1[v],
 
 
 [1:v]scale=w=360.0:h=360.0,
 rotate=30.0*PI/180:
 ow=rotw(iw-50):oh=roth(ih-50):
 c=black@0[rotate];
 [v][rotate]overlay=x=200.0:y=600.0:shortest=1
 
 
 " -c:a copy -preset ultrafast -y 'output.mp4'