
Recherche avancée
Autres articles (96)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (9436)
-
ffmpeg to nginx rtmp on windows got I/O error
18 février 2019, par Wolvesled- using https://github.com/illuspas/nginx-rtmp-win32
- windows server 2018
- no touch to conf, just illuspas original, run nginx.exe as admin
- firewall disabled
- no antivirus
- service started as a charm, no error in nginx log
run following cmdline as admin
ffmpeg -re -i "rtsp ://111.10.31.131:554/pag ://192.168
.1.5:7302:001110:0:MAIN:TCP ?cnid=2&pnid=1" -f flv -s 640x480 "rtmp ://localhost:1
935/live/abc" -loglevel debugi got this :
see this pic : https://i.stack.imgur.com/3RpNY.jpgI want to put the rtsp source to a rtmp channel, why im getting this rtsp ://***** I/O error ? what does that mean ? any idea that i could get this rtmp stream ?
any input would be appreciated !
-
FFmpeg Image to Video command consuming 100% CPU
23 décembre 2023, par Dishan VermaI am working on a project where I need to first extract all the frames of videos and after extracting the frames I need to stitch the frames back again showing 1 frame for exactly 1 seconds i.e I need to create a 1 FPS video from extracted frames.


I am successfully able to extract frames of video using ffmpeg without any issues.


But my FFmpeg command which I am using to convert frames to 1 FPS video is consuming 100% CPU, for example a 40 mb video input is consuming 8 GB of CPU. Below is how my FFmpeg command looks like.


final String ffmpegCommandFormat = "%s -framerate 1 -i %s -c:v libx264 -pix_fmt yuv420p -crf 18 -y %s";
final String ffmpegCommand = String.format(ffmpegCommandFormat, FFMPEG_EXEC_PATH, framesPathRegex, pathToStoreProcessedVideo);



I am creating a service which needs to support around 2 GB sized videos and with the current behaiviour it cannot even support 100 MB of video.


Can anyone please help me here to understand why FFmpeg is consuming too high CPU and how can i resolve this issue ?
Is there any alternate/better/fast/efficient command which I can use to created 1 FPS video wither from extracted frames or directly from input video ?


I am new to ffmpeg so not sure what else to explore.


-
ffmpeg via pipe : stream 1, offset 0x30 : partial file
5 octobre 2024, par Dito Adrielmy videodata is dynamic it can use any exension but its error when i use mp4 extension.


my function :


func (s *service) convertVideo(videoData []byte) ([]byte, error) {
 var buffer bytes.Buffer
 cmd := exec.Command("ffmpeg",
 "-i", "pipe:0",
 "-c:v", "libvpx-vp9",
 "-b:v", "0",
 "-f", "webm",
 "-t", "8",
 "-preset", "ultrafast",
 "pipe:1")
 cmd.Stdin = bytes.NewReader(videoData)
 cmd.Stdout = &buffer
 err := cmd.Run()
 if err != nil {
 return nil, err
 }
 return buffer.Bytes(), nil
}



and got error :


stream 1, offset 0x30: partial file
Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 720x1280, 773 kb/s): unspecified pixel format



is it because i use stream pipe ? becuase if i use temp file its success, but its not that effective.


New


if i convert my mp4 to mp4 first, then it success. so the cause of problem is from my mp4, but still not found the solution in code.