
Recherche avancée
Médias (1)
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (71)
-
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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
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 (7747)
-
ffmpeg concat of .ts files where issues in one file causes all audio/video after to be out of sync [closed]
23 juillet, par The Shoe ShinerI'll start by saying I need a solution that can be automated in code, i.e. not one that requires me to manually select timestamps and trim files, and unfortuntely my media server (Jellyfin) only has access to ffmpeg, so I'm looking for an ffmpeg solution.


I have a set of .ts files that were recorded from a live stream. The media server will immediately restart the recording if for some reason ffmpeg fails during the copy process. So I end up with multiple files that I can then concatenate. Most of the time this works fine.


The current issue is that (as happens occasionally) one of these files, which is about 10 seconds long, has about 5 seconds of good data, and 5 seconds of what appears (in players) to be essentially nothing, video is still and no audio. The rest of the files, before and after, are are fine. The media server (which uses ffprobe) reports that the framerate for the problematic file is 15fps, however I suspect that this is a result of the gap causing bad math, because the first 5 seconds appear to be fine and running at 29.###fps, so maybe the missing data at the end is affecting the calculated framerate, but admittedly I don't know exactly what's happening under the hood.


I need to concat these files, but after I run the concat, all video after that problematic 10s file is out of sync with the audio.


I'm fine with gaps, pauses, missing audio, etc in that small portion of the final file, but what I need to avoid is having that single file cause all the remaining content to be out-of-sync or otherwise broken. So I think I need a way to "correct" that problematic file before the concat, and I need to do so in a way that does not require me to manually select timestamps, per my first comment.


I have personally seen .ts have timestamp issues so my code already does a simple remux of all the ts files to mp4 prior to concat, and have also tried a remux of a final concatenated ts file, neither of which resolve this issue.


Is there any other ffmpeg process I can run on the files, that might force ffmpeg to correct timestamps, which would allow me to concat successfully ? I'm not necessarily trying to recover data in the bad file, I'm just trying to ensure that I can concat a set of files and have the final file resemble what one would see when watching each file independently.


Edit : More details about what I have tried (In addition to what was already mentioned).


- 

- During the remux I used the
-shortest
flag, assuming maybe the audio stream was a different length than the video. - Also tried the
-reset_timestamps 1
flag in the remux. - The remux command looked like this :
ffmpeg.exe -y -i "Invictus 2025_07_22_05_25_00_4_concat0.ts" -reset_timestamps 1 -vcodec copy -acodec copy -map 0:v -map 0:a -shortest "Invictus 2025_07_22_05_25_00_4_concat0.mp4"








- During the remux I used the
-
need to loop and convert the files
24 décembre 2020, par AUDICOMMy script should work as follows :
Check whether or not there are DAV files in the folder, if there are NO elements for a 1 minute loop until the next check, and if there are any DAV files, it should trigger DAV to JPEG conversion and move JPEGs to the SNAPSHOT folder, and DAV for PROCESSED folder. Until it works, the problem is finishing the conversion to JPEG and moving the files to folders, it closes the script, and it goes back to the loop and waits for a new file, this is not happening.


Another problem is also that the files are generated every 30 minutes in bulk, but they already appear in bulk and therefore end when the 30 minutes are over, or the problem is when the script ends or the script just moves to one. PROCESSED folder, and does not convert.


Script :


REM - - Checks for New Files (*.DAV).

:LOOP01 
 IF EXIST "C:\Users\AudicomRede\Documents\SNAPSHOT FINAL\TESTE VERIFICAÇÃO\*.*" GOTO SKIP01


:LOOP02
 IF NOT EXIST "C:\Users\AudicomRede\Documents\SNAPSHOT FINAL\TESTE VERIFICAÇÃO" GOTO SKIP02

 REM - ALL THIS WILL BE DONE IF THE DAV FILE EXISTS
:
:
:SKIP01
 REM Crafty 1 minute delay...
 PING 1.1.1.1 -n 10 -w 6000 >NUL
 GOTO LOOP01
:
:
:SKIP02
 REM START CONVERT
 for %%A IN (*.dav) do (

 ffmpeg -i "%%A" -r 0.2 -bt 20M -s 480x300 "%%~nA"%%03d.jpg

 Move "%%A" PROCESSED
 Move "*.*" SNAPSHOT 
 
)

 GOTO SKIP01



I use FFMPEG to convert all files.


-
Evolution #2269 : Prise en compte des variantes d’une langue
31 août 2011, par cedric -il est deja possible de gérer des langues dérivées : dans ton exemple ce serait fr_ca. Il y a le cas existant du pt_br (portugais du brésil). Mais il est un fait qu’actuellement, si la lange n’existe pas en pt_br on se rabat sur la langue du site ou le fr au final, sans forcément chercher dans pt (...)