
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (56)
-
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 (...) -
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. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (8122)
-
It is possible to record and at the same
29 avril 2022, par mylosffmpeg -i cam.mkv -c copy 1.ts



It is possible to record and at the same time to delete to have a lead 4s ??
as to see it in vlc
Sorry for my poor English


-
The duration information of the extracted truehd audio stream is lost when demux m2ts file with ffmpeg
23 novembre 2019, par Bo WangI would like to extract an truehd audio stream from m2ts files of a blu-ray with ffmpeg. All these m2ts files actually have 7 audio streams, which can be detected by eac3to :
M2TS, 1 video track, 7 audio tracks, 5 subtitle tracks, 1:40:03
1: Chapters, 34 chapters
2: h265/HEVC, 2160p24 /1.001 (16:9), 10 bits
3: TrueHD/AC3 (Atmos), English, 7.1 channels, 48kHz, dialnorm: -28dB
(embedded: AC3, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB)
4: E-AC3, English, 7.1 channels, 1024kbps, 48kHz, dialnorm: -28dB
(core: AC3, 5.1 channels, 576kbps, 48kHz, dialnorm: -28dB)
5: AC3, English, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
6: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -27dB
7: AC3, English, 2.0 channels, 320kbps, 48kHz, dialnorm: -27dB
8: AC3, Chinese, 2.0 channels, 448kbps, 48kHz
9: AC3, Chinese, 5.1 channels, 384kbps, 48kHz, 300ms
10: Subtitle (PGS), English
11: Subtitle (PGS), Chinese
12: Subtitle (PGS), Chinese
13: Subtitle (PGS), Chinese
14: Subtitle (PGS), ChineseWhen I use ffmpeg to do the demux work for every m2ts, problem arises.
By runningffmpeg.exe -hide_banner -i "F:\xxx\BDMV\STREAM\00055.m2ts" -map 0:1 01.thd
, an file 01.thd is obtained. However, by runningffprobe 01.thd
, it is shown that this file is with fault as its duration information is absent :Input #0, truehd, from '0x1100-00055.thd':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Audio: truehd, 48000 Hz, 7.1, s32 (24 bit)If I run
ffmpeg.exe -hide_banner -i "F:\xxx\BDMV\STREAM\00055.m2ts"
, it can be found that ffmpeg shows an additional audio stream as it recognizes the embedded 5.1 AC3 stream inside the 7.1 TrueHD audio stream, as independent :Input #0, mpegts, from 'F:\xxx\BDMV\STREAM\00055.m2ts':
Duration: 00:00:48.62, start: 4198.333333, bitrate: 50005 kb/s
Program 1
Stream #0:0[0x1011]: Video: hevc (Main 10) (HDMV / 0x564D4448), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc
Stream #0:1[0x1100]: Audio: truehd (AC-3 / 0x332D4341), 48000 Hz, 7.1, s32 (24 bit)
Stream #0:2[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s
Stream #0:3[0x1101]: Audio: eac3 (AC-3 / 0x332D4341), 48000 Hz, 7.1, fltp, 1024 kb/s
Stream #0:4[0x1102]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s
Stream #0:5[0x1103]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 320 kb/s
Stream #0:6[0x1104]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 320 kb/s
Stream #0:7[0x1105]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 448 kb/s
Stream #0:8[0x1106]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream #0:9[0x12a0]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Stream #0:10[0x12a1]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Stream #0:11[0x12a2]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Stream #0:12[0x12a3]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Stream #0:13[0x12a4]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)How can I make ffmpeg generate correct .thd file with duration information for the stream 0:1 ?
And if possible, how can I make ffmpeg keep the embedded 5.1 core stream as well (test result shows that this core stream is stripped out) ? -
Burning subtitles into video with ffmpeg with specific margin not working
17 mai 2024, par AnthonyI am trying to build a tool where people can position their subtitles on an HTML5 video and then I will burn the subtitles into the video for them.


I can easily get the position of the subtitles, in whatever format I need, that's easy. However, no combination of values that I feed to ffmpeg are working.


My holy grail is an x and y offest (aka offset 5% from the left, 10% from the bottom, in terms of video height/width).


To achieve this, I would like the subtitles to start in the very bottom-left corner.


ffmpeg -y -i english.mp4 -vf "subtitles=english.srt:force_style='Alignment=1,OutlineColour=&H100000000,BorderStyle=3,Outline=1,Shadow=0,FontName=Arial,FontSize=24,MarginL=140,MarginV=0'" -c:v libx264 -crf 23 -c:a copy output_video.mp4



Here is something that is approaching working, but it's behaving very strangely. The video is 850x480 but when I do a margin of 140 it goes way past the midway point of the video.


Am I missing something ? How can I start the margin in the bottom left, and then apply the margin I want to push it away from the left and away from the bottom ? I can do it either as a percentage of the video height/width if that API is supported or just pixels is fine too (but clearly doesn't seem to be working)