
Recherche avancée
Autres articles (81)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (5285)
-
ffmpeg how to convert an existing mp4 to mpeg-4 part 14 ?
30 novembre 2022, par MichaI need a video to comply with the following specifications


- 

- Container : MOV or MP4 (MPEG-4 Part 14), no edit lists, moov atom at the front of the file.
- Audio codec : AAC, 48khz sample rate maximum, 1 or 2 channels (mono or stereo).
- Video codec : HEVC or H264, progressive scan, closed GOP, 4:2:0 chroma subsampling.
- Frame rate : 23-60 FPS.
- Picture size :

- 

- Maximum columns (horizontal pixels) : 1920
- Required aspect ratio is between 0.01:1 and 10:1 but we recommend 9:16 to avoid cropping or blank spaces.






- Video bitrate : VBR, 25Mbps maximum
- Audio bitrate : 128kbps
- Duration : 15 mins maximum, 3 seconds minimum
- File size : 1GB maximum




















I cannot get to work. So far I have tried the following :


ffmpeg -i input.mp4 -c:v libx264 -aspect 16:9 -crf 18 -vf "scale=iw*min(1280/iw\,720/ih):ih*min(1280/iw\,720/ih),pad=1280:720:(1280-iw)/2:(720-ih)/2" -fpsmax 60 -preset ultrafast -c:a aac -b:a 128k -ac 1 -pix_fmt yuv420p -movflags +faststart -t 59 -y output.mp4


I always end up with
MPEG-4 Part 10
.

-
About "ffmpeg -c copy" two ts files, can not play the problem
4 septembre 2022, par Orlando Bloomaaa.mp4


General
Complete name : C:/aaa.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 3.08 MiB
Duration : 11 s 512 ms
Overall bit rate : 2 248 kb/s
Writing application : Lavf57.83.100
Comment : GIFSHOW [899819595][iOS][11.4.1][iPhone9,2][5.8.5.606][Camera:f]#[720x1280][5327k][78k][C][1][tv=bec1_f80c][ags=0.455141][agm=0.747282][agsi=2000]

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 11 s 512 ms
Bit rate : 2 161 kb/s
Width : 720 pixels
Height : 1 280 pixels
Display aspect ratio : 0.563
Frame rate mode : Constant
Frame rate : 29.970 (29970/1000) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.078
Stream size : 2.96 MiB (96%)
Writing library : x264 core 148
Codec configuration box : avcC

Audio
ID : 2
Format : AAC LC SBR
Format/Info : Advanced Audio Codec Low Complexity with Spectral Band Replication
Commercial name : HE-AAC
Format settings : Explicit
Codec ID : mp4a-40-2
Duration : 11 s 501 ms
Bit rate mode : Constant
Bit rate : 78.8 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 21.533 FPS (2048 SPF)
Compression mode : Lossy
Stream size : 111 KiB (4%)
Default : Yes
Alternate group : 1





I want to merge this mp4 with another ts file, because my hardware configuration is very poor, so I choose "-c copy"


General
ID : 1 (0x1)
Complete name : C:/bbb.ts
Format : MPEG-TS
File size : 3.41 MiB
Duration : 15 s 315 ms
Overall bit rate mode : Variable
Overall bit rate : 1 861 kb/s

Video
ID : 256 (0x100)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : 27
Duration : 15 s 382 ms
Width : 1 080 pixels
Height : 606 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive

Audio
ID : 257 (0x101)
Menu ID : 1 (0x1)
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Format version : Version 4
Muxing mode : ADTS
Codec ID : 15-2
Duration : 15 s 185 ms
Bit rate mode : Variable
Channel(s) : 1 channel
Channel layout : C
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Delay relative to video : -46 ms






I directly -c copy them, can't play the whole thing,


Then I convert aaa.mp4 to ts
using "ffmpeg -i aaa.mp4 -bsf:v h264_mp4toannexb -codec copy -hls_list_size 0 aaa.ts" , this is what I googled.


Finally tried aaa.ts and bbb.ts with "-c copy", still can't play.


My machine configuration is acceptable, convert aaa.mp4 to the same encoding as bbb.ts


If I transcode both together, I can't do it because bbb.ts is too big.


-
vf_showinfo : minimum widths for some early fields
15 janvier 2015, par Peter Cordesvf_showinfo : minimum widths for some early fields
Depending on FPS, the pts_time string often changes length :
... pts_time:36.1 ...
... pts_time:36.1333 ...
etc.The length changes make the output bounce around horribly, making it
hard to scan down a column farther right than pts_time.The solution is to set minimum widths for n, pts, pts_time, and pos.
This patch doesn’t touch any of the fields in mean / stddev.The widths aren’t intended to be wide enough that they’re never
exceeded, but you’ll see only an occasional ripple to a new alignment,
rather than bouncing. (Some fields, like pos, increase monotonically,
which is why I left the minimum width for the field be smaller than it
often gets to.)Signed-off-by : Peter Cordes <peter@cordes.ca>