
Recherche avancée
Autres articles (98)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Les sons
15 mai 2013, par -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (6408)
-
Video converted with FFMPEG cannot be played
20 mai 2023, par EugeneHI am developing a function that converts RTSP files to HLS and displays them in a web browser (chrome).
Development is node.js, I am using ffmpeg.


The part that is converted to HLS and displayed on the screen plays well without any problems.
Video cannot be played the moment the folder is changed for file management.


This is the existing working ffmpeg code and m3u8 code.


ffmpeg -rtsp_transport tcp -i rtsp://210.99.70.120:1935/live/cctv001.stream -c:v copy -f hls -hls_time 1 -hls_segment_type mpegts -hls_flags delete_segments+independent_segments+omit_endlist -hls_list_size 0 -master_pl_name playlist.m3u8 -hls_segment_filename /Users/name/Movies/cam/1/hls/1684560902700_%06d.ts -var_stream_map v:0 /Users/name/Movies/cam/1/hls/1684560902700_playlist.m3u8

Local Path : /Users/name/Movies/cam/1/hls/1684560902700_playlist.m3u8
EndPoint : http://localhost:3000/video/cam/1/hls/1684560902700_playlist.m3u8
 #EXTM3U
#EXT-X-VERSION:6
#EXT-X-TARGETDURATION:2
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-INDEPENDENT-SEGMENTS
#EXTINF:2.000000,
1684560902700_000000.ts
#EXTINF:1.969000,
1684560902700_000001.ts
#EXTINF:2.000000,
1684560902700_000002.ts
#EXTINF:2.015000,
1684560902700_000003.ts



This is the ffmpeg code and the m3u8 code with the path added.(Video not played)


ffmpeg -rtsp_transport tcp -i rtsp://210.99.70.120:1935/live/cctv001.stream -c:v copy -f hls -hls_time 1 -hls_segment_type mpegts -hls_flags delete_segments+independent_segments+omit_endlist -hls_list_size 0 -master_pl_name playlist.m3u8 -hls_segment_filename /Users/name/Movies/cam/1/hls/1684561736286/cam_%06d.ts -var_stream_map v:0 /Users/name/Movies/cam/1/hls/1684561736286/playlist.m3u8

Local Path : /Users/name/Movies/cam/1/hls/1684561736286/playlist.m3u8
EndPoint : http://localhost:3000/video/cam/1/hls/1684561736286/playlist.m3u8
#EXTM3U
#EXT-X-VERSION:6
#EXT-X-TARGETDURATION:2
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-INDEPENDENT-SEGMENTS
#EXTINF:1.986000,
cam_000000.ts
#EXTINF:1.984000,
cam_000001.ts
#EXTINF:2.000000,
cam_000002.ts
#EXTINF:2.000000,
cam_000003.ts



The difference is the file name and the folder created one step further.


If you change POSIX from file name to folder name, you will not know the problem of not playing the video.
Can someone please explain this ?


-
ffmpeg Muxing Recovered Files - Audio dropping
7 avril 2020, par Chris McLA few years ago, we accidentally deleted all our home movies. We recovered the files from the camera. They have lost their headers and are not playable. I have used a recovery program (recover_mp4) to get an h264 and aac file.



When I try to mux these together, the audio drops off from the stream. It also crackles badly at times. If I play the AAC file by itself, it sounds fine. For some movies, the audio works for a while, on others it drops out quickly.



One thing I noticed is that the resulting muxed mp4 file is often shorter than the audio.



I've tried various ffmpeg commands that look generally like this :



ffmpeg -r 30000/1001 -i recovered_video.h264 -i recovered_audio -bsf:a aac_adtstoasc -c:v copy -c:a copy output.mp4



Any ideas on how to marry the two files together ?


-
ffmpeg start_time is negative
7 septembre 2017, par Alex BollbachI’m using ffmpeg to segment a video by start/end times. For example, I have a set of time [1], and I’d call ffmpeg 3 times here to create the three 2 second videos at times 0, 2, and 4.
My problem is that these times (which are correct) are not correctly segmenting the video. When I inspect the stats of the video with
ffprobe -i test.mov -show_format
, I noticedstart_time=-0.381044
. I also know that this seems to be caused by trimming a video in QuickTime to produce this video. In order to correct this, I must add (start + 0.381044) somewhere in my code, and the output is fine.So, why is the start_time set to a negative value by the quicktime trimming ? How can I set start_time=0, so my code can work without the + 0.381044 ?