
Recherche avancée
Autres articles (79)
-
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" ; -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (6295)
-
Cropping specific parts on a video using ffmpeg
15 juin 2016, par Le QsI have a video
SB.ogv
that i want to cut some parts.The video is 01:36 long and i want to cut out the first four seconds of the video.I a using this command
ffmpeg -i SB.ogv -vcodec copy -acodec copy -ss 00:00:04 -to 00:01:36 outputFile.ogv
I got this error
qubit@qubit-HP-EliteBook-2540p:~/dv$ ffmpeg -i SB.ogv -vcodec copy -acodec copy -ss 00:00:04 -to 00:01:36 outputFile.ogv
ffmpeg version 2.7.6-0ubuntu0.15.10.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010
configuration: --prefix=/usr --extra-version=0ubuntu0.15.10.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-openal --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libzvbi --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-libssh --enable-libsoxr --enable-libx264 --enable-libopencv --enable-libx265
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
[ogg @ 0x1bbfc80] Broken file, keyframe not correctly marked.
Input #0, ogg, from 'SB.ogv':
Duration: 00:01:36.40, start: 0.000000, bitrate: 1685 kb/s
Stream #0:0: Data: none
Stream #0:1: Video: theora, yuv420p, 1280x800 [SAR 1:1 DAR 8:5], 15 tbr, 15 tbn, 15 tbc
Metadata:
RECORDMYDESKTOP : 0.3.8.1
Stream #0:2: Audio: vorbis, 22050 Hz, mono, fltp, 89 kb/s
Output #0, ogg, to 'outputFile.ogv':
Metadata:
encoder : Lavf56.36.100
Stream #0:0: Video: theora, yuv420p, 1280x800 [SAR 1:1 DAR 8:5], q=2-31, 15 tbr, 15 tbn, 15 tbc
Metadata:
RECORDMYDESKTOP : 0.3.8.1
encoder : Lavf56.36.100
Stream #0:1: Audio: vorbis, 22050 Hz, mono, 89 kb/s
Metadata:
encoder : Lavf56.36.100
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Stream #0:2 -> #0:1 (copy)
Press [q] to stop, [?] for help
[ogg @ 0x1bbfc80] Broken file, keyframe not correctly marked.
Last message repeated 13 times
[ogg @ 0x1bbfc80] Broken file, non-keyframe not correctly marked.
Last message repeated 9 times
[ogg @ 0x1bbfc80] Broken file, keyframe not correctly marked.
Last message repeated 2 times
[ogg @ 0x1bbfc80] Broken file, non-keyframe not correctly marked.
Last message repeated 8 times
[ogg @ 0x1bbfc80] Broken file, keyframe not correctly marked.
frame= 1090 fps=0.0 q=-1.0 Lsize= 19021kB time=00:01:32.00 bitrate=1693.7kbits/s
video:17509kB audio:1413kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.524658%
qubit@qubit-HP-EliteBook-2540p:~/dv$The video
SB.ogv
is in the current directory. -
Muxing PCM audio into WMA increases file size significantly
28 juin 2016, par Jinto JohnWhile I am trying to convert wav file to wma file size is becomes much larger than original source file :
input.wav
- 11Moutput.wma
- 16M
Is there any way to reduce file size of output file ?
Command and output :
$ ffmpeg -i input.wav -c copy output.wma
ffmpeg version N-80797-g8b4d6cc Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 6.1.1 (GCC) 20160501
configuration: --enable-gpl
libavutil 55. 27.100 / 55. 27.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 40.101 / 57. 40.101
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 46.102 / 6. 46.102
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from 'input.wav':
Metadata:
encoder : Lavf57.40.101
Duration: 00:01:00.00, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Output #0, asf, to 'output.wma':
Metadata:
WM/EncodingSettings: Lavf57.40.101
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, 1411 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 16150kB time=00:01:00.00 bitrate=2205.1kbits/s speed=1.9e+03x
video:0kB audio:10336kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 56.255745% -
FFMPEG output file does not contain any stream [Android] video concat
22 février 2017, par Akshay SoodI have been trying to merge (concatenate) two mp4 videos with same height and width but some error occurs. It says the output file doesnot have any stream.
Please help.
The code is written below :String[] arg = new String[]{
ActualVideoFile.getAbsolutePath(), path
};
String list = generateList(arg);
String[] command = new String[]{
" -f concat -i " + list + " -c:v copy " + mergedVideo.getAbsolutePath()
};
try {
ffmpeg.execute(command, new FFmpegExecuteResponseHandler() {
@Override
public void onSuccess(String message) {
Log.e("SUCCESS", message);
}
@Override
public void onProgress(String message) {
Log.e("onProgress", message);
}
@Override
public void onFailure(String message) {
Log.e("onFailure", message);
}
@Override
public void onStart() {
Log.e("onStart", "start");
}
@Override
public void onFinish() {
Log.e("FINISH", "FINISHED");
}
});
} catch (FFmpegCommandAlreadyRunningException e) {
e.printStackTrace();
}Logcat :
E/onFailure: ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (GCC)
configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Output #0, mp4, to ' -f concat -i /data/data/com.myapp/cache/ffmpeg-list-768575373.txt -c:v copy /storage/emulated/0/myapp/MergedVideos/1465426928071_Video.mp4':
Output file #0 does not contain any streamAny help would be appreciated
Thanks