
Recherche avancée
Autres articles (65)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (12474)
-
MSE Does not show duration when MPEG-DASH segments are created with FFmpeg
15 mars 2023, par WaveLinkI am trying to create a system that streams DASH segments to the browser, where it gets decoded by Media Source Extensions. When using MP4Box, the init segment loads the duration into the player, but the version generated by FFmpeg does not.


I believe this is due to some sort of header missing from the init segment generated by FFmpeg, but I have not been able to figure it out. Here is the command I use to generate the files :


ffmpeg -i .\source.opus -c:a libopus -c:v none -seg_duration 1 -dash_segment_type mp4 -preset ultrafast -use_timeline 1 -use_template 1 -streaming 1 -init_seg_name "segment_init.mp4" -media_seg_name "segment_$Number$.m4s" -fflags +genpts -f dash ./out.mpd

When using MP4Box, this is the config I use :

MP4Box -dash 1000 -rap -profile live -segment-name "segment_$Number" .\out.mp4

In both cases, the audio does play, and both of them contain similar headers, but the FFmpeg version just does not contain the media duration in the init segment, or at least the MSE implementation cannot read it.

I tested this in Chrome, Firefox, and Edge, and all of them behave the same.


Thanks for any help.


-
when i use FFmpeg libary to compress video,ide show this error
29 mai 2017, par leslieE/FFmpeg: Exception while trying to run: /data/user/0/com.example/files/ffmpeg -y -i /storage/emulated/0/DCIM/Camera/VID_20170517_112234.mp4 -vf scale=500:-1 qscale:v 8 -acodec copy -vcodec mpeg4/storage/emulated/0/wobingwoyi/1496060268815.mp4
java.io.IOException: Error running exec(). Command: [/data/user/0/com.wobingwoyi/files/ffmpeg, -y, -i, /storage/emulated/0/DCIM/Camera/VID_20170517_112234.mp4, -vf, scale=500:-1, -qscale:v, 8, -acodec, copy, -vcodec, mpeg4, /storage/emulated/0/wobingwoyi/1496060268815.mp4] Working Directory: null Environment: null -
Revision 99a132f561 : Add a seg map preservation test vector. Add a test vector to show the cases whe
13 octobre 2014, par Alex ConverseChanged Paths :
Modify /test/test-data.mk
Modify /test/test-data.sha1
Modify /test/test_vectors.cc
Add a seg map preservation test vector.Add a test vector to show the cases where segmentation map is preserved
from frome to frame as outlined in the inquiry in issue 761.Change-Id : I630c6aba27d0d0b109cc7fd7c6fcd008222a0cf3