
Recherche avancée
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 (7346)
-
trying to merge 2 video command [duplicate]
4 octobre 2019, par Vikram DulgachThis question already has an answer here :
I am trying to merge 2 video one has audio and in 2nd video i am adding silent track. but everytime i am trying to merge them it shows me these error. I am using 2 command in both ti give me same erro.
String [] merge2video={ "-i", video1,"-i", new video2,"-filter_complex", "[0:v]scale=1280x720,setpts=PTS-STARTPTS[v0];[1:v]scale=1280x720,setpts=PTS-STARTPTS[v1];[v0][0:a][v1][1:a]concat=n=2:v=1:a=1", "-map", "[v]", "-map", "[a]","-preset" ,"ultrafast" ,"-crf" ,"30", sharevideo};
String [] merge2video= "-i", video1,"-i", new video2,"-filter_complex", "[0]setdar=16/9[a] ;[1]setdar=16/9[b] ; [a][b]concat=n=2:v=1:a=1", "-map", "[v]", "-map", "[a]","-preset" ,"ultrafast" ,"-crf" ,"30", sharevideo ;
[swscaler @ 0xee692000] deprecated pixel format used, make sure you did set range correctly
[Parsed_concat_4 @ 0xee9255f0] Input link in1:v0 parameters (size 1280x720, SAR 1647:1648) do not match the corresponding output link in0:v0 parameters (1280x720, SAR 1:1)
[Parsed_concat_4 @ 0xee9255f0] Failed to configure output pad on Parsed_concat_4
Error configuring complex filters.
Invalid argumentHelp to solve there issue if anybody is there thanks in advance. and sorry for bad english
-
VLC cant read some audiotracks created by ffmpeg
18 juin 2021, par skanarrI have two different
.mkv
files of the same movie. One contains the English, German, Italian, Spanish and French audio and subtitle tracks, the other contains Japanese Audio and Subtitle tracks. Since I want to have all tracks in one file I tried to 'merge' them usingffmpeg
.

$ ffmpeg -i Movie.mkv -i Movie_jp.mkv -map 0:v -map 0:a -map 1:a:2 -map 0:s map 1:s:1 -map 1:s:2 -map 1:s:3 -c:v copy -c:a copy -c:s copy tmp.mkv



Full Command Output from ffmpeg
That is the command I used and even though it took a while, I got my
tmp.mkv
.
However Playing it in VLC none of the Tracks fromMovie_jp.mkv
are working properly.
There are short periods where there is audio and then it is gone again for some minutes.
Alsotmp.mkv
freezes at 4:44 and freezes VLC for some time, before only audio continues top play.
Looking under Messages this is what I got

main error: module not functional
main error: failed to create audio output



Then a bunch of warnings
and a ****load of


main error: Timestamp conversion failed (delay 1000000, buffering 100000, bound 9000000)
main error: Could not convert timestamp XY for FFmpeg
main warning: early picture skipped



And finally


main error: buffer deadlock prevented



(All Message from VLC )
I don't know what I did wrong. The Japanese tracks are working in
Movie_jp.mkv
.
The all non-japanese Tracks are still working intmp.mkv
.
Also there are working Tracks with the same codecs ontmp.mkv
(dts) as well as subtitles (pgs).

-
Ffmpeg burnt in subtitles out of sync when converting to hls
19 mai 2020, par user1503606I have a file that has subtitles burn into it and they are perfectly in sync.



Here is the file. https://983yqbz442.s3.amazonaws.com/little-mermaid-captions.mp4



I run this command to convert to hls and it creates the .ts files and the .vtt files.



ffmpeg -i little-mermaid-captions.mp4 -profile:v baseline -level 3.0 -s 640x360 -start_number 0 -hls_time 10 -hls_list_size 0 -f hls index.m3u8




I also then create a master.m3u8 file in the same folder with the following.



#EXTM3U
#EXT-X-VERSION:3
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-STREAM-INF:BANDWIDTH=800000,RESOLUTION=640x360,SUBTITLES="subtitles"
index.m3u8
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subtitles",NAME="English",DEFAULT=YES,AUTOSELECT=YES,FORCED=NO,LANGUAGE="ENG",URI="index_vtt.m3u8"




Now if I play the master.m3u8 file the subtitles are now out of sync and are about 1 sec to quick. I understand this is probably a setting I am missing through FFmpeg but really stuck on this and would appreciate any insight.



Thanks



More info.



Here is a link to the direct .m3u8 this can be opened in Safari.



https://983yqbz442.s3.amazonaws.com/hlstests/master.m3u8



The generated vtt file is here.



https://983yqbz442.s3.amazonaws.com/hlstests/subs-0.vtt



If you look at the start of the .vtt file you will see this.



WEBVTT

00:06.840 --> 00:10.320
once long ago in the deep blue below




It should start at 00:06.840 but when playing the .m3u8 file in Safari you should see it starts at around 5 seconds not 6 about a second too early.