
Recherche avancée
Autres articles (86)
-
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 -
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
Sur d’autres sites (14879)
-
avformat/siff : Basic pkt_size check
11 juillet 2024, par Michael Niedermayer -
Cropping android video reducing its quality
8 août 2015, par Muhammad UmarI am trying to encode a video in Android with ffmpeg.
Here is the code :
mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.DEFAULT);
mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);
mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H264);
mMediaRecorder.setVideoEncodingBitRate(1024 * 1000);
mMediaRecorder.setVideoFrameRate(30);
mMediaRecorder.setVideoSize(720, 480);
mMediaRecorder.setOrientationHint(90);
mMediaRecorder.setOutputFile(VIDEO_PATH_NAME);FFMPEG command :
buffer.append("ffmpeg -i /storage/emulated/0/file.mp4 -filter:v \"crop=480:480:0:0\" -preset ultrafast -r 30 /storage/emulated/0/cropped.mp4 -movflags faststart");
The cropped file is twice the size of original file and half the quality . What is going on ? How can I make it lossless
-
Convert streaming MPEG-4 raw data to H.264
16 août 2012, par Jonathan HawkesI've got a Sony network camera (SNC-RZ25N) that I am trying desperately to get data from in some meaningful format. The documentation says it sends MPEG-4 raw data, but is not more specific than than. I can capture a segment of the stream using curl ( http://techhead.biz/media/tsv.m4v ) and it will play using VLC and ffplay (though it plays too fast in ffplay).
After a day and a half of tinkering, I just discovered that I cannot use ffmpeg to convert this stream directly. For one, the only way ffmpeg accepts piped data as input (that I'm aware of) is in the 'yuv4mpegpipe' format.
I tried piping to ffmpeg using 'm4v' as the specified format, but it seems to want to read the entire stream before it begins processing.
Anyone know how I can do this ? Using commandline tools ? Open source libraries in ANY programming language ? Simpler solutions are preferred, but any working solution would be great.