
Recherche avancée
Autres articles (66)
-
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 ;
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (13939)
-
ffmpeg creating video with 1 minute empty space at the end of the video
13 octobre 2022, par David RuanI am using this command to generate a video with a cover page and an audio.


ffmpeg -loop 1 -r 1 -i c :/temp/coverImage.jpeg -i C :/temp/out/input.mp3 -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" -c:a copy -shortest -c:v libx264 C :/temp/VideoOut/output.mp4


But the generated mp4 file has 1 minute's of empty space after the audio finished.


Actually I have multiple audio files, and after the conversion, every video has that 1 minute empty space.


Any idea how to solve this ? Thanks a lot.


-
iOS how to transcode mjpeg video to h264 video with ffmpeg ?
16 août 2016, par J.DuanI want to transcode
mjpeg
format video toh264
video withffmpeg
.
In fact , i found affmpeg
based demo to get the goal but the app will crash when I play video withVLC
orVitamin
. Does anyone have an iOS video-transcode demo or some ways to playMJPEG
-format video exceptVLC
andVitamin
? -
How to convert ogv video file into Mp4 video format using Java
16 février 2016, par Srinivasan SeenuI need to convert OGV VIDEO Format into MP4 VIDEO Format.
- I use this below Java code to convert MP4 VIDEO Format to OGV VIDEO Format it is working fine.
- For MP4 Format I use audio.setCodec(" AudioAttributes.DIRECT_STREAM_COPY") and video.setCodec("VideoAttributes.DIRECT_STREAM_COPY ").
-
But If I use this same code by change audio.setCodec(" libvorbis") and video.setCodec("mpeg4 ") it is not getting converted from Ogv to Mp4 Format. And also I try some codec in my sample program.
-
I am not able convert from Ogv to Mp4 Format.
public class VideoConvert {
public static void main(String[] args) throws IOException {
File source = new File("D:\\readxml\\videoConvertorProject\\MP4toOGV\\mp4\\Sample1.ogv");
File target = new File("D:\\readxml\\videoConvertorProject\\MP4toOGV\\ogv\\Sample2.mp4");
AudioAttributes audio = new AudioAttributes();
//audio.setCodec("libvorbis");
audio.setCodec("libfaac");
//audio.setCodec("libmp3lame");
//audio.setCodec(AudioAttributes.DIRECT_STREAM_COPY);
audio.setBitRate(new Integer(128000));
audio.setSamplingRate(new Integer(44100));
audio.setChannels(new Integer(2));
VideoAttributes video = new VideoAttributes();
video.setBitRate(new Integer(160000));
video.setFrameRate(new Integer(15));
//video.setSize(new VideoSize(176, 144));
//video.setCodec("libtheora");
video.setCodec("mpeg4");
//video.setCodec(VideoAttributes.DIRECT_STREAM_COPY);
EncodingAttributes attrs = new EncodingAttributes();
attrs.setFormat("mp4");
attrs.setAudioAttributes(audio);
attrs.setVideoAttributes(video);
Encoder encoder = new Encoder();
try {
encoder.encode(source, target, attrs);
} catch (IllegalArgumentException e) {
e.printStackTrace();
} catch (InputFormatException e) {
e.printStackTrace();
} catch (EncoderException e) {
e.printStackTrace();
}
}