
Recherche avancée
Autres articles (59)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)
Sur d’autres sites (8582)
-
Live streaming dash content using mp4box
15 mai 2017, par galbarmI’m trying to live stream H.264 content to HTML5 using the media source extensions API.
The following method works pretty well :
ffmpeg -i rtsp://10.50.1.29/media/video1 -vcodec copy -f mp4 -reset_timestamps 1 -movflags frag_keyframe+empty_moov -loglevel quiet out.mp4
and then :
mp4box -dash 1000 -frag 1000 -frag-rap out.mp4
I can take the MP4Box output (
out_dashinit.mp4
) and send it through Web Sockets, chunk by chunk, to a JavaScript client that feeds it to the media source API.However, this is not a good method for live content.
What I’m trying to do now, is to create a single pipeline in order to do it in realtime and with the minimum possible latency.
With FFmpeg it’s possible to redirect the output tostdout
instead ofout.mp4
and grab the content.
I couldn’t figure out if it’s possible to combine MP4Box into the pipeline.- Can MP4Box take the input data from a source which is not a file ?
- Can MP4Box grab such a content progressively (either from a file or other source) while it is arriving in realtime ? i.e. wait a little if stream stops for 1 sec and resume automatically.
- Same question but for the output : can it output to something which is not a file (such as
stdout
) and can it do so progressively so that whenever output data is ready, I will be able to take it and transfer it to the web client, essentially generating a never-ending dashed MP4.
-
Creating a single file per size for MPEG-DASH using ffmpeg command
2 septembre 2020, par New DevI am trying to generate to generate the following outputs from a single movie file :


540.mp4
1080.mp4
output.mpd
master.m3u8



First, does it make sense for each
.mp4
to contain both video and audio streams ? If not, then an additional audio stream file can work too.

Second, is it possible to create the above files from a (single ?)
ffmpeg
command ?

When I do this this :


ffmpeg -i input.mov -map 0:v -map 0:v -map 0:a \
 -c:v h264 -c:a aac \
 -filter:v:0 "scale=-2:540" \
 -filter:v:1 "scale=-2:1080" \
 -f dash -single_file 1 \
 -seg_duration 6 -hls_playlist 1 \
 output.mpd



It produces three additional
m3u8
files (per stream) and it produces 3mp4
files - 2 for video streams and 1 for audio - with a default name likeoutput-stream0.mp4
.

Is there a way to rename each
output-streamX.mp4
to be more descriptive ? Is there a way to avoid splitting video and audio into multiple files ?

-
avformat/dashdec : The segments in dash file doesn't read completely when segment...
2 septembre 2024, par jiangjieavformat/dashdec : The segments in dash file doesn't read completely when segment's size and duration is very small.
If the segment is very small, avformat_find_stream_info
will read all audio/video data in this segment.
cur->is_restart_needed is set to 0 later in dash_read_packet,
and no chance to be set to 1 again in the read_data function.Reproduction :
ffmpeg -f lavfi -i mandelbrot -f lavfi -i anullsrc -c:v vp8 \
-g 5 -r 5 -c:a libopus -use_template 0 -seg_duration 1 \
-t 15 -y test_720.mpd
ffprobe -show_packets test_720.mpd