
Recherche avancée
Autres articles (111)
-
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 -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (12994)
-
Undeclared error when compiling ffmpeg3.4.2 on my PC (win10 64bit)
2 avril 2018, par Colin0114I try to compile ffmpeg 3.4.2 ( source code was git clone from repository of the latest version) on my PC of win10 ( 64bit )
Here is my compiling steps :
(1) install MinGW, https://sourceforge.net/projects/mingw/files/latest/download?source=files
Installation location : c :/MinGW
I added ’call "location/vcvars64.bat" ’ in ’msys.bat’
(2) install yasm ( win64.exe ), http://yasm.tortall.net/Download.html
Copy it to folder ’c :/windows/system32’
(3) then ’git clone https://github.com/FFmpeg/FFmpeg.git’ in Git Bash
(4) cd to ffmpeg, run ’./configure —disable-static —enable-shared -arch=x86_64’It spit a WARNING : ’pkg-config not found, library detection may fail’
And I ignored it, and go on running ’make’, but failed ;ERROR messages in the following :
./compat/w32pthreads.h:122:9 : error : unknown type name ’INIT_ONCE’
typedef INIT_ONCE pthread_once_t ;
./compat/w32pthreads.h:131:5 : error : implicit declaration of function ’InitOnceComplete’
libavdevice/alldevices.c : At top level :
./compat/w32pthreads.h:123:27 : error : ’INIT_ONCE_STATIC_INIT’ undeclared here (not in a function) #define PTHREAD_ONCE_INIT INIT_ONCE_STATIC_INIT
^
./libavutil/thread.h:145:22 : note : in expansion of macro ’PTHREAD_ONCE_INIT’
#define AV_ONCE_INIT PTHREAD_ONCE_INIT
^
libavdevice/alldevices.c:92:37 : note : in expansion of macro ’AV_ONCE_INIT’
static AVOnce av_device_next_init = AV_ONCE_INIT ; -
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) ?