
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Que fait exactement ce script ?
18 janvier 2011, parCe script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
Installation de dépendances de MediaSPIP
Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)
Sur d’autres sites (11041)
-
How do I use the Windows version of gstreamer and wireshark to take a .pcap file and extract H.264 from RTP ?
5 mars 2015, par user1118047I have a pcap file containing a capture of RTP with H.264 video and SIP with SDP. I would like to be able to extract the video from the RTP stream and save it to a file. (h264video.mkv or something similar)
I have started looking at gstreamer as a possible solution for this but I’m having trouble troubleshooting any of the output I receive from the program.
gst-launch -v filesrc location=testh264.rtp
! application/x-rtp,media=video,clock-rate=90000,payload=123,encoding-name=H264
! rtph264depay
! ffdec_h264
! xvimagesinkHere is an example of something I’ve tried but I’m not able to get through rtph264depay because the file I’m sending is of invalid format. What can I do to extract the h264 payload from my pcap file for usage with gstreamer/rtph264depay ?
-
How to extract video+audio streams from MP4 file via ffmpeg ?
12 août 2022, par MatthiasI have a bunch of MP4 files from a GoPro, which include streams of metadata like GPS information. Now unfortunately when I try to open these MP4 files in any browser (tried both Firefox and Chrome on Windows and Linux), then only the audio is being played, but no video. I can, however, open the MP4 files in VLC player and that can play both video and audio without problem - so the files seem correct, just the browser cannot play them correctly.


Since I need to play the MP4 files in a browser, I need to extract both the video and the audio streams from the original files and create new MP4 files out of them, in a format so that the browser can play them. I also don't want to loose any frames during conversion - it would be OK to compress the video stream a bit, so that the resulting MP4 files would be a bit smaller than the originals, but the number of frames and the FPS value and these settings must be exactly as in the original file.


What would be the proper
ffmpeg
command to achieve this ?

For your reference, this is the information fromffprobe
on one of the videos :

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55ce62e37a00] Using non-standard frame rate 59/1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/winclients/ASFINAG/Abnahme/GX010005.MP4':
 Metadata:
 major_brand : mp41
 minor_version : 538120216
 compatible_brands: mp41
 creation_time : 2021-06-07T15:21:10.000000Z
 location : +48.3743+016.2383/
 location-eng : +48.3743+016.2383/
 firmware : HD9.01.01.00.00
 Duration: 00:08:51.54, start: 0.000000, bitrate: 60205 kb/s
 Stream #0:0(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 59941 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 59.94 tbc (default)
 Metadata:
 creation_time : 2021-06-07T15:21:10.000000Z
 handler_name : GoPro H.265
 encoder : GoPro H.265 encoder
 timecode : 15:35:51:04
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
 Metadata:
 creation_time : 2021-06-07T15:21:10.000000Z
 handler_name : GoPro AAC
 timecode : 15:35:51:04
 Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
 Metadata:
 creation_time : 2021-06-07T15:21:10.000000Z
 handler_name : GoPro TCD
 timecode : 15:35:51:04
 Stream #0:3(eng): Data: bin_data (gpmd / 0x646D7067), 47 kb/s (default)
 Metadata:
 creation_time : 2021-06-07T15:21:10.000000Z
 handler_name : GoPro MET
 Stream #0:4(eng): Data: none (fdsc / 0x63736466), 13 kb/s (default)
 Metadata:
 creation_time : 2021-06-07T15:21:10.000000Z
 handler_name : GoPro SOS
Unsupported codec with id 0 for input stream 2
Unsupported codec with id 100359 for input stream 3
Unsupported codec with id 0 for input stream 4



-
How to extract video+audio streams from GoPro MP4 file via ffmpeg ?
11 août 2022, par MatthiasI have a bunch of MP4 files from a GoPro, which include streams of metadata like GPS information. Now unfortunately when I try to open these MP4 files in any browser (tried both Firefox and Chrome on Windows and Linux), then only the audio is being played, but no video. I can, however, open the MP4 files in VLC player and that can play both video and audio without problem - so the files seem correct, just the browser cannot play them correctly.


Since I need to play the MP4 files in a browser, I need to extract both the video and the audio streams from the original files and create new MP4 files out of them, in a format so that the browser can play them. I also don't want to loose any frames during conversion - it would be OK to compress the video stream a bit, so that the resulting MP4 files would be a bit smaller than the originals, but the number of frames and the FPS value and these settings must be exactly as in the original file.


What would be the proper
ffmpeg
command to achieve this ?

For your reference, this is the information fromffprobe
on one of the videos :

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55ce62e37a00] Using non-standard frame rate 59/1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/winclients/ASFINAG/Abnahme/GX010005.MP4':
 Metadata:
 major_brand : mp41
 minor_version : 538120216
 compatible_brands: mp41
 creation_time : 2021-06-07T15:21:10.000000Z
 location : +48.3743+016.2383/
 location-eng : +48.3743+016.2383/
 firmware : HD9.01.01.00.00
 Duration: 00:08:51.54, start: 0.000000, bitrate: 60205 kb/s
 Stream #0:0(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 59941 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 59.94 tbc (default)
 Metadata:
 creation_time : 2021-06-07T15:21:10.000000Z
 handler_name : GoPro H.265
 encoder : GoPro H.265 encoder
 timecode : 15:35:51:04
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
 Metadata:
 creation_time : 2021-06-07T15:21:10.000000Z
 handler_name : GoPro AAC
 timecode : 15:35:51:04
 Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
 Metadata:
 creation_time : 2021-06-07T15:21:10.000000Z
 handler_name : GoPro TCD
 timecode : 15:35:51:04
 Stream #0:3(eng): Data: bin_data (gpmd / 0x646D7067), 47 kb/s (default)
 Metadata:
 creation_time : 2021-06-07T15:21:10.000000Z
 handler_name : GoPro MET
 Stream #0:4(eng): Data: none (fdsc / 0x63736466), 13 kb/s (default)
 Metadata:
 creation_time : 2021-06-07T15:21:10.000000Z
 handler_name : GoPro SOS
Unsupported codec with id 0 for input stream 2
Unsupported codec with id 100359 for input stream 3
Unsupported codec with id 0 for input stream 4