
Recherche avancée
Autres articles (83)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (13851)
-
fftools/ffmpeg : store forced keyframe pts in AV_TIME_BASE_Q
17 novembre 2022, par Anton Khirnovfftools/ffmpeg : store forced keyframe pts in AV_TIME_BASE_Q
Rather than the encoder timebase. Since the times are parsed as
microseconds, this will not reduce precision, except possibly when
chapter times are used and the chapter timebase happens to be better
aligned with the encoder timebase, which is unlikely.This will allow parsing the keyframe times earlier (before encoder
timebase is known) in future commits. -
How to swtich audio stream with ffmpeg ?
6 octobre 2022, par JasonI have a file which has both english and japanese audio tracks. This is the meta data of the file (using command ffmpeg -i "my_vid.mp4" :


Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'my_vid.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2mp41
 encoder : Lavf58.76.100
 Duration: 00:27:13.14, start: 0.000000, bitrate: 1699 kb/s
 Chapters:
 Chapter #0:0: start 0.000000, end 263.012000
 Metadata:
 title : Chapter 01
 Chapter #0:1: start 263.012000, end 353.019000
 Metadata:
 title : Chapter 02
 Chapter #0:2: start 353.019000, end 891.098000
 Metadata:
 title : Chapter 03
 Chapter #0:3: start 891.098000, end 1535.075000
 Metadata:
 title : Chapter 04
 Chapter #0:4: start 1535.075000, end 1624.080000
 Metadata:
 title : Chapter 05
 Chapter #0:5: start 1624.080000, end 1633.140000
 Metadata:
 title : Chapter 06
 Stream #0:0[0x1](und): Video: hevc (Main 10) (hev1 / 0x31766568), yuv420p10le(tv), 1920x1080 [SAR 1:1 DAR 16:9], 1413 kb/s, 23.98 fps, 23.98 tbr, 16k tbn (default)
 Metadata:
 handler_name : VideoHandler
 vendor_id : [0][0][0][0]
 Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 136 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
 Stream #0:2[0x3](jpn): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 137 kb/s
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
 Stream #0:3[0x4](eng): Data: bin_data (text / 0x74786574)
 Metadata:
 handler_name : SubtitleHandler



Per the ffmpeg documentation I'm trying to switch the video's audio output to japanese. However, the output video is still in english (which it was in before). This is my current ffmpeg cmd :


ffmpeg -i "my_vid.mp4" -c copy -disposition:a:1 default "output.mp4"



what am I doing wrong ? Still pretty new to ffmpeg


Edit :


With one of the suggestions I tried adding the -map 0 option to my command


ffmpeg -i "my_vid.mp4" -map 0 -c copy -disposition:a:2 default "output.mp4"



but still not change. The meta data for the output video is as follows :


Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2mp41
 encoder : Lavf59.33.100
 Duration: 00:27:13.14, start: 0.000000, bitrate: 1699 kb/s
 Chapters:
 Chapter #0:0: start 0.000000, end 263.012000
 Metadata:
 title : Chapter 01
 Chapter #0:1: start 263.012000, end 353.019000
 Metadata:
 title : Chapter 02
 Chapter #0:2: start 353.019000, end 891.098000
 Metadata:
 title : Chapter 03
 Chapter #0:3: start 891.098000, end 1535.075000
 Metadata:
 title : Chapter 04
 Chapter #0:4: start 1535.075000, end 1624.080000
 Metadata:
 title : Chapter 05
 Chapter #0:5: start 1624.080000, end 1633.140000
 Metadata:
 title : Chapter 06
 Stream #0:0[0x1](und): Video: hevc (Main 10) (hev1 / 0x31766568), yuv420p10le(tv), 1920x1080 [SAR 1:1 DAR 16:9], 1413 kb/s, 23.98 fps, 23.98 tbr, 16k tbn (default)
 Metadata:
 handler_name : VideoHandler
 vendor_id : [0][0][0][0]
 Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 136 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
 Stream #0:2[0x3](jpn): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 137 kb/s
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
 Stream #0:3[0x4](eng): Data: bin_data (gpmd / 0x646D7067)
 Metadata:
 handler_name : SubtitleHandler
 Stream #0:4[0x5](eng): Data: bin_data (text / 0x74786574)
 Metadata:
 handler_name : SubtitleHandler



-
Seeking issues on larger video files on HTML page (ffmpeg)
5 juillet 2023, par XenonsAfter testing out numerous of "html video players" and even making our own making sure to wait for events such as player.oncanplaythrough to fire before even attempting to start videos
we've had the same issue for months now.


Mainly we offer 3 resolutions for same video (720, 1080, 4k)
and out of the 3, 2 have the seeking issue where trying to skip to any time or even trying to fast forward by x amount of seconds with arrow keys would just bring the video back to 00:00 time
this only happens on 1080 and 4k resolutions and after refreshing the page it just works as normal afterwards


we've tried pretty much anything we could think of to combat this but with no luck


ffmpeg line for 1080 and 4k (these files are webm but same happened for mp4 on these resolutions with same encoding)


-c:v libvpx-vp9 -pix_fmt yuv420p -crf 24 -b:v 0 -c:a libopus -b:a 128k -movflags +faststart



ffmpeg line for 720 (mp4 file)


-c:v libx264 -preset slow -pix_fmt yuv420p -crf 20 -b:a 128k



To be quite frank at this point I am at a loss and without many ideas left so I am turning to stack overflow in case someone might have an idea on what would cause this


I am contemplating to attempt perhaps loading videos as blobs and playing them that way, not sure if this would fix it but it does bring the load times up drastically so I would save it as last resort


Thus far I have tried two html video players (plyr and videojs) and after that I just wrote my own "player"
of course it's just regular html and js but that's what makes me even more confused as there is nothing that should hinder the files in any way from working as intended


we've also tried changing ffmpeg encoding a few times but to no avail either.


EDIT :
The issue was caused by cloudflare caching, we simply made two rules to exclude webm and mp4 url's from being cached and that completely fixed all of our seeking issues