
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (98)
-
MediaSPIP : Modification des droits de création d’objets et de publication définitive
11 novembre 2010, parPar défaut, MediaSPIP permet de créer 5 types d’objets.
Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...) -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
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, (...)
Sur d’autres sites (9122)
-
libavformat/matroska : Write stream durations in metadata, in the format of mkvmerge.
5 août 2015, par Sasi Inguvalibavformat/matroska : Write stream durations in metadata, in the format of mkvmerge.
Compute individual stream durations in matroska muxer.
Write them as string tags in the same format as mkvmerge tool does.Signed-off-by : Sasi Inguva <isasi@google.com>
-
Read frames from a h264 video in java
19 octobre 2014, par Shashank TulsyanI am making a tool which records the user’s screen.
It records almost every activity of the user and saves it as a h264 video.I also make a note of the window names.
Then I make charts out of this data, which tells me how much time the user (me) has spend on what activity. Now I want to take this one level further.
I want to be able to see the filtered video as well.Let’s say, I know I have spend 4 hrs on Netbeans, I also want to see a video showing what all I did on netbeans.
Some sample video files
http://neembuu.com/testdir/sat_1413633155981_direct.mkv
http://neembuu.com/testdir/fri_1413547843213_direct.264I am using x264 for encoding.
These files might be corrupt. Because encoding stops when the user shutsdown the pc or close the program. There is no handling of abrupt program exit. EOF is not written properly. This is a design decision.
Now the problem is, none of the libraries ( jcodec , h264j ) seem to be able to decode these files.
I want individual frames.Problem with h264j
- Doesn’t support seeking
- Randomly doesn’t work for some files, although all files have been created using the same settings ( like the sample fri_1413547843213_direct.264 , h264j doesn’t work with it. )
Problem with jcodec.
- Can’t handle mkv
- Not sure how to use with raw h264 streams (<<< help would be appreciated here, so far I couldn’t find a way to handle raw h264 streams in jcodec )
- If I used the jcodec’s MP4 muxer ( org.jcodec.samples.mux.AVCMP4Mux ) it does generate a mp4 but it is not able to read the same mp4 which it only generated
- JCodec handles externally generated mp4 files pretty well. Can seek to any random frame and renders the frame BufferedImage beautifully, but it seems I don’t have my videos in a format which jcodec can handle.
The encoding settings which I am using.
x264 - --keyint 240 --sar 1:1 --output "destinationFile" --stitchable --fps 1/1 --input-res 1280x800 --input-csp rgb
Any tip/advice. How can I make this work ?
Thanks :DRef : This question is in continuation of this How to make video from images using Java + x264 ; cross platform solution required
-
Error in Splitting Educational Videos into Segments Using Python (ffmpeg issue) [closed]
28 décembre 2024, par Yahia Mohamed HanbalI created a Python project to split long educational videos into smaller segments, each focused on a single question. The program uses OCR to detect text on video frames, identifies the word "Question," extracts the number following it, and splits the video whenever the number increases.


here is the video i am tring to split ((video))


Here’s an example of the program’s output :


Video loaded: 14071 frames at 60 FPS, duration: 234.52s 
Frame 480, Time 8.00s, Question: 6 
... 
Frame 12360, Time 206.00s, Question: 7 
Creating segment 1: 8.00s to 206.00s 
Error: module 'ffmpeg' has no attribute 'Error'



I’ve shared the full code in a GitHub repository for reference : Automated Video Scene Cutting.


What the Program Does


- 

- Input : A long educational video.
- Processing :

- 

- Detects text in each frame using OCR.
- Searches for the word "Question" followed by a number.
- Monitors when the number increases to identify segment boundaries.








- Output : Creates video segments corresponding to individual questions.








The Problem


The program detects the questions and timestamps correctly, but when it tries to create the segments, I encounter the following error :


Error: module 'ffmpeg' has no attribute 'Error'



What I’ve Tried


- 

- Verified the
ffmpeg-python
library is installed (pip show ffmpeg-python
confirms the installation). - Ensured the
ffmpeg
binary is accessible from the command line. - Reviewed the library documentation to ensure the correct usage of
ffmpeg
. - Tested with different video files to rule out input-specific issues.










Environment Details


- 

- OS : Windows 11
- Python Version : 3.9.13
- Key Libraries :
ffmpeg-python








If anyone has insights into resolving this issue or suggestions for alternative approaches to handle this use case, I’d greatly appreciate your help.


Thank you !