
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (83)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation" -
La gestion des forums
3 novembre 2011, parSi les forums sont activés sur le site, les administrateurs ont la possibilité de les gérer depuis l’interface d’administration ou depuis l’article même dans le bloc de modification de l’article qui se trouve dans la navigation de la page.
Accès à l’interface de modération des messages
Lorsqu’il est identifié sur le site, l’administrateur peut procéder de deux manières pour gérer les forums.
S’il souhaite modifier (modérer, déclarer comme SPAM un message) les forums d’un article particulier, il a à sa (...)
Sur d’autres sites (6225)
-
Merging mp4 and mp3 on Android using FFmpeg
4 janvier 2015, par user3568918i am developing a video capturing Android App.
My Goal is to merge the captured Video file with a given mp3 audio file. I am using FFmpeg to merge the files. The capturing is done with the Android.Media Framework.
If i now try to merge the files like descripted here :How to multiplex mp3 and mp4 files in Android
i get the error :
avcodec_open2() error -1: Could not open video codec.
Is there a way to convert the captured video file in a readable version for FFmpeg ?
Or is there any other way to solve this issue ?i Dont want to capture the video with FFmpeg, caus this will be to much complex and not clean (for my opinion)
Hope that any body can help :)
thanks in advance.I Capture like propsed in the android DOC :
http://developer.android.com/guide/topics/media/camera.html
and this is how i try to merge
FrameGrabber grabber1 = new FFmpegFrameGrabber(videoPath);
FrameGrabber grabber2 = new FFmpegFrameGrabber(audioPath);
grabber1.start();
grabber2.start();
FrameRecorder recorder = new FFmpegFrameRecorder(OutputPath,grabber1.getImageWidth(), grabber1.getImageHeight(), 2);
recorder.setFormat("mp4");
recorder.setVideoQuality(1);
recorder.setFrameRate(grabber1.getFrameRate());
recorder.setSampleRate(grabber2.getSampleRate());
recorder.start();
Frame frame1, frame2 = null;
long timestamp = -2;
int count = 0;
boolean isFirstTime = false;
boolean isFirstCheck = true;
while ((frame1 = grabber1.grabFrame())!=null) {
//frame1 = grabber1.grabFrame();
frame2 = grabber2.grabFrame();
recorder.record(frame1);
recorder.record(frame2);
}
recorder.stop();
grabber1.stop();
grabber2.stop();
}catch (org.bytedeco.javacv.FrameGrabber.Exception e) {
e.printStackTrace();
} catch (Exception e1) {
e1.printStackTrace();
} -
batch ffmpeg conversion (aspect, crop, and concatenate) and naming based on subfolder
3 avril 2015, par hordorTYIA for any help !
Seems I have a somewhat complicated, multi-step process. If you can help any part of it that would be appreciated.
What I hope to accomplish
- Example of folder/file is here : https://mega.co.nz/#F !RJRWRLTJ !c6b-z3Vl-Tlh0uGbCflx7Q
- I have many subfolders that each contain 7 files from a DVD (originally PAL-encoded I think). I only care about the VTS_01_1.VOB AND VTS_01_2.VOB files. The two files together are one match
- The videos are stretched (from 4:3 to 16:9) and letterboxed. I want to undo that
- The future title of the final MP4 video should be the name of the folder
- BONUS : title of the video should also include the folder before it (e.g. "Friday H2 G1 CAN - BEL.mp4")
I’d like to do this via batch file because there are a lot of folders.
What I have done :
dir/b/s *.vob | findstr /v VIDEO | findstr /v 01_ >list.txt
@echo off
for %%i in list.txt
do
ffmpeg -i VTS_01_1.VOB -aspect 4:3 "%%~pi\v1step1.mp4"
ffmpeg -i vob1.mp4 -vf "crop=704:432:10:72" "%%~pi\v1step2.mp4"
ffmpeg -i vob11.mp4 -c copy "%%~pi\v1step3.ts"
ffmpeg -i VTS_01_2.VOB -aspect 4:3 "%%~pi\v2step1.mp4"
ffmpeg -i vob2.mp4 -vf "crop=704:432:10:72" "%%~pi\v2step2.mp4"
ffmpeg -i vob22.mp4 -bsf h264_mp4toannexb -c copy "%%~pi\v2step3.ts"
ffmpeg -i "concat:v1step3.ts|v2step3.ts" -c copy file.mp4 "%%~pi\Match.mp4"
@echo on
pauseProblem with current code
- Doesn’t start converting (can’t see error message either)
- Doesn’t have the file naming that I want
- A lot of steps in conversation - can that be simplified ?
- Not sure why it wanted the -bsf command for the second conversion but not the first
Apologies if I’d made basic mistakes. I’m a big newbie and just to get this far has taken me hours of research. Thanks again !
-
How can I extract the characteristics of multimedia video stream while the video is streaming ?
10 mai 2021, par KaiI have built adaptive video streaming ,DASH, over SDN network and was wondering if I can get some video characteristics while the video is streaming. I have used youtube_dl and was able to get the received video after the completion of the stream however, I want to get the video characteristics such as (stream size, bitrate, frame rate, resolution and etc.) while streaming. I hope that you can provide me with a script to extract and generate a file that contains such information.