
Recherche avancée
Autres articles (52)
-
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (13162)
-
HLS with FFmpeg, browser skips m3u8 in sequence
16 octobre 2019, par Jongseok YoonI’m writing a program with C++, receiving 2-second-long mp4 video and converting it to m3u8 and same-duration ts files in real-time.
Problem is when I check it with browsers on PC, it doesn’t load m3u8 properly.
For example, when I start to watch m3u8, it loads first m3u8 with #EXT-X-MEDIA-SEQUENCE : 1, then it keeps loading first m3u8, then suddenly skips to #EXT-X-MEDIA-SEQUENCE : 4 or larger.
Streaming still works, but it is very unstable due to that problem. It loads some ts together, then loads nothing while loading same m3u8 it already loaded, and skips 3 or more m3u8 and loads ts files together and again.
ffmpeg -loglevel level+warning -i SOURCE.mp4 -an -filter:v fps=fps=10 -f hls -hls_list_size 7 -strftime 1 -hls_segment_filename '1.ts' -hls_flags append_list+omit_endlist DEST.m3u8
This is ffmpeg command in my program, using hls_segment_filename option to overwrite ts files so I limit number of files under 100, and it runs every 2 second.
Maybe, I’m overwriting it too fast to be loaded ?
-
Passing file name in youtube-dl post-process script without file extension suffix
2 avril 2021, par AreteThe documentation for youtube-dl says I can run a post-process command with the
--exec
option.

Using Windows, here is an example I have tried :


youtube-dl --exec "ffmpeg -i {} -ac 2 -c:a libfdk_aac -cutoff 20000 -afterburner 1 -vbr 0 {}.m4a" https://www.youtube.com/watch?v=sw9DlMNnpPM



Note that
{}
passes the file name to the post-process command. For examplefilename.webm
.

The problem is that
{}
includes the file extension.

How can I pass the file name to the post-process command without the file extension ?


For example, if I were to convert the video, I would rather avoid getting an output name like
filename.webm.m4a
. Needless to say, I would rather wantfilename.m4a
.

-
Covert a file from mp4 to a file that HTML video tag can display
26 juin 2019, par Trying_To_UnderstandI have a mp4 file and I want to display it in HTML. The problem is that it won’t, not only in HTML but also in my player. In VLC I can watch the video but there is no sound. Maybe the file is corrupted ?
This is the output when I runffmpeg -i my_file.mp4
:[h264 @ 000001b4afc61880] decode_slice_header error
[h264 @ 000001b4afc61880] no frame!
[h264 @ 000001b4afc61880] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 000001b4afc61880] decode_slice_header error
[h264 @ 000001b4afc61880] no frame!
Input #0, mpeg, from '150_2.mp4':
Duration: 00:50:51.75, start: 13182.386222, bitrate: 983 kb/s
Stream #0:0[0x1e0]: Video: h264 (High), yuv420p(progressive), 1280x720, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1c0]: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
At least one output file must be specified.Can I convert this with ffmpeg to a good quality of video and audio ?