
Recherche avancée
Autres articles (69)
-
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 -
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 (...) -
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 (...)
Sur d’autres sites (12164)
-
Remove frames based off an image with FFmpeg
15 novembre 2020, par VEXEDThe Goal : Take a frame or a reference image and use that to decide what frames to keep/remove from an old screen recording (no audio).


To be slightly more specific, I want to match a specific program that is being used in the screen recording. The program is always full screen and could potentially be identified just by a crop of the top left corner.


The Question : What would be the best way to take an image, in particular a cropped corner of say 100px width and height, and look for the same matching corner in a video ? I would want to output those matches to a new file, that or remove the non-matching frames and create a new file with all the frames that match.


What I Know : I know that duplicate frame removal is very possible, and I already use that for screen recordings.


-filter:v mpdecimate, setpts=N/FRAME_RATE/TB \



The above is being used in my screen recording script to remove duplicate frames.


I'm also aware that you can crop using FFmpeg, but I'm not looking to have actual cropped output. I'm only looking to use a crop to find the portion that matches my reference image or reference frame.


ffmpeg -i in.mp4 -filter:v "crop=out_w:out_h:x:y" out.mp4



The above is a basic crop.


The only reference to finding frames by images is this one. It didn't do what I wanted and just produced dark and distorted output. Though I might be understanding what the aim of that post was incorrectly.


Notes : Thanks in advance for any help, this frame/image matching doesn't have to be done while recording, but can be done in post.


-
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
-
How can I manually extract Metadata from mp4 Videoframes ?
3 décembre 2020, par bennimuellerI have a large GoPro Video about 11:44 min. Each second the GoPro records 30 frames with datetime(UNIX) and gps(lat, long) information. So there are round about 21188 frames in my video.


I need to extract the GPS data to bring every single frame to a map. There's a tool called GoProtelemetryextractor (https://goprotelemetryextractor.com/free/). This gives me a csv file with 19800 lines (1 line for each frame). Obviously there are 1400 rows/frames missing in the csv. If I now multiplex the csv with the mp4 in a GIS software, the frames get assigned to wrong "csv frames". I need to match these 19800 frames correctly to the frames in the video by deleting "None metadata frames" out of the video.
I guess the problem is that the goprotelemetry extractor starts writing the csv with the first metadata it finds. And not starting at the first frame and just write "NO METADATA ROWS".


Basically my question is : How can I extract the metadata from each mp4 Frame "manually" to know where the csv "starts" and match video and csv ?