
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (41)
-
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
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 (7156)
-
ffmpeg sdl output framerate too high
1er juillet 2015, par dkrikunI’m using the following command-line to play a video via SDL :
ffmpeg -i input.mkv -f sdl "Video"
The video is being played too fast, ffmpeg prints that the framerate is 500 (not constant, just playing as fast as possible)
I’ve tried to limit the framerate as follows, but none of this has any effect :ffmpeg -i input.mkv -r 25 -f sdl "Video"
ffmpeg -i input.mkv -f sdl -r 25 "Video"
ffmpeg -i input.mkv -framerate 25 -f sdl "Video"
ffmpeg -i input.mkv -f sdl -framerate 25 "Video"I’m using ffmpeg version
ffmpeg-20150605-git-7be0f48-win64-static
on Windows 7.
ffplay input.mkv
works pretty well.Thank you !
EDIT : console output for
ffmpeg -i input.mkv -r 25 -f sdl "Video"
follows :ffmpeg version N-72662-g7be0f48 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopenc
ore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --ena
ble-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable
-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enabl
e-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable
-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --e
nable-lzma --enable-decklink --enable-zlib
libavutil 54. 26.101 / 54. 26.101
libavcodec 56. 41.101 / 56. 41.101
libavformat 56. 34.100 / 56. 34.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, matroska,webm, from 'input.mkv':
Metadata:
ENCODER : Lavf56.34.100
Duration: 00:20:00.20, start: 0.000000, bitrate: 1006 kb/s
Stream #0:0: Video: h264 (High), yuv420p, 720x304, SAR 1:1 DAR 45:19, 23.98
fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
BPS : 813254
BPS-eng : 813254
DURATION : 02:13:35.090000000
DURATION-eng : 02:13:35.090000000
NUMBER_OF_FRAMES: 192170
NUMBER_OF_FRAMES-eng: 192170
NUMBER_OF_BYTES : 814788601
NUMBER_OF_BYTES-eng: 814788601
_STATISTICS_WRITING_APP: mkvmerge v7.0.0 ('Where We Going') 32bit built on
Jun 9 2014 15:08:34
_STATISTICS_WRITING_APP-eng: mkvmerge v7.0.0 ('Where We Going') 32bit buil
t on Jun 9 2014 15:08:34
_STATISTICS_WRITING_DATE_UTC: 2015-01-07 06:01:37
_STATISTICS_WRITING_DATE_UTC-eng: 2015-01-07 06:01:37
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp (default)
Metadata:
LANGUAGE : eng
BPS : 185184
BPS-eng : 185184
DURATION : 02:13:35.125000000
DURATION-eng : 02:13:35.125000000
NUMBER_OF_FRAMES: 375709
NUMBER_OF_FRAMES-eng: 375709
NUMBER_OF_BYTES : 185534548
NUMBER_OF_BYTES-eng: 185534548
_STATISTICS_WRITING_APP: mkvmerge v7.0.0 ('Where We Going') 32bit built on
Jun 9 2014 15:08:34
_STATISTICS_WRITING_APP-eng: mkvmerge v7.0.0 ('Where We Going') 32bit buil
t on Jun 9 2014 15:08:34
_STATISTICS_WRITING_DATE_UTC: 2015-01-07 06:01:37
_STATISTICS_WRITING_DATE_UTC-eng: 2015-01-07 06:01:37
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Output #0, sdl, to 'Video':
Metadata:
encoder : Lavf56.34.100
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x304 [SAR 1:1
DAR 45:19], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
Metadata:
BPS : 813254
BPS-eng : 813254
DURATION : 02:13:35.090000000
DURATION-eng : 02:13:35.090000000
NUMBER_OF_FRAMES: 192170
NUMBER_OF_FRAMES-eng: 192170
NUMBER_OF_BYTES : 814788601
NUMBER_OF_BYTES-eng: 814788601
_STATISTICS_WRITING_APP: mkvmerge v7.0.0 ('Where We Going') 32bit built on
Jun 9 2014 15:08:34
_STATISTICS_WRITING_APP-eng: mkvmerge v7.0.0 ('Where We Going') 32bit buil
t on Jun 9 2014 15:08:34
_STATISTICS_WRITING_DATE_UTC: 2015-01-07 06:01:37
_STATISTICS_WRITING_DATE_UTC-eng: 2015-01-07 06:01:37
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
encoder : Lavc56.41.101 rawvideo
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
frame=28726 fps=244 q=0.0 Lsize=N/A time=00:20:00.20 bitrate=N/A
video:9210274kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxi
ng overhead: unknown -
ffmpeg hardsubbing ass file into mp4 [migrated]
14 juillet 2015, par Wee Leong TayI am unable to hardsub a subtitle file into a mp4 file. The code that I used (which seems to work once or twice) is :
ffmpeg -i "videofile" -vf "ass=assfile" -scodec copy "outputfile"
As I understood it, it is a static build. I am using ffmpeg version :
ffmpeg version N-70239-g111d79a Copyright (c) 2000-2015
and
--enable-libass
appears in the configuration list.When I add "-v debug" to the command I can see how it’s parsing the options, and it seems to be understanding "-scodec copy" somehow :
Reading option '-scodec' ... matched as option 'scodec' (force subtitle codec ('copy' to copy stream)) with argument 'copy'.
Does anyone have any idea why is it not working ?
-
FFMPEG command to crop and transpose video comes out zoomed in bad quality
15 juillet 2015, par BrianI’m trying to convert an mp4 video with dimensions usually 960x720 into a sqaure 480:480 video but it comes out looking squished usually, the command is
"-y -i %s -vf crop=480:480,transpose=%d -threads 5 -metadata:s:v rotate=0 -c:v libx264 -crf 27 -preset ultrafast -c:a copy -bsf:a aac_adtstoasc %s";
Am I missing something, do I need to down scale first or something ?
**EDIT adding full console output. The ffmpeg command is updated, but the goal still remains the same, take an arbitrary video and square crop it
07-14 22:30:32.813: D/ffmpeg(30354): -y -i /data/data/com.myapp.app/cache:temp/i7h4ajm0nim1mbcnrqotvrhhsc.mp4 -vf scale=iw*sar:ih,transpose=1 -threads 5 -metadata:s:v rotate=0 -c:v libx264 -crf 27 -preset ultrafast -c:a copy -bsf:a aac_adtstoasc -aspect 1:1 /data/data/com.myapp.app/cache:temp/p1t3bhs0oa3lpqa67g5i9ninm9.ts
07-14 22:30:32.903: D/ffmpeg(30354): new time reamining 9283
07-14 22:30:32.913: D/FFmpeg(30354): Running publishing updates method
07-14 22:30:35.963: D/ffmpeg(30354): WARNING: linker: /data/data/com.myapp.app/files/ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix.
07-14 22:30:35.963: D/ffmpeg(30354): ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
07-14 22:30:35.963: D/ffmpeg(30354): built on Jun 3 2015 21:56:01 with gcc 4.8 (GCC)
07-14 22:30:35.963: D/ffmpeg(30354): configuration: --target-os=linux --cross-prefix=/Users/Brian1/development/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/Users/Brian1/development/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-small --enable-libx264 --enable-pthreads --disable-muxers --enable-muxer=mpegts --enable-muxer=mp4 --disable-demuxers --enable-demuxer=mpegts --enable-demuxer=mov --enable-demuxer=mpeg --enable-demuxer=mp4 --disable-debug --disable-decoders --enable-decoder=h264 --enable-decoder=aac --disable-devices --disable-encoders --enable-encoder=libx264 --disable-network --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/Users/Brian1/development/ffmpeg-android/ffmpeg-pkg-config --prefix=/Users/Brian1/development/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/Users/Brian1/development/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/Users/Brian1/development/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs=-lm --extra-cxxflags=
07-14 22:30:35.963: D/ffmpeg(30354): libavutil 54. 7.100 / 54. 7.100
07-14 22:30:35.963: D/ffmpeg(30354): libavcodec 56. 1.100 / 56. 1.100
07-14 22:30:35.963: D/ffmpeg(30354): libavformat 56. 4.101 / 56. 4.101
07-14 22:30:35.963: D/ffmpeg(30354): libavdevice 56. 0.100 / 56. 0.100
07-14 22:30:35.963: D/ffmpeg(30354): libavfilter 5. 1.100 / 5. 1.100
07-14 22:30:35.963: D/ffmpeg(30354): libswscale 3. 0.100 / 3. 0.100
07-14 22:30:35.963: D/ffmpeg(30354): libswresample 1. 1.100 / 1. 1.100
07-14 22:30:35.963: D/ffmpeg(30354): libpostproc 53. 0.100 / 53. 0.100
07-14 22:30:35.963: D/ffmpeg(30354): Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/data/data/com.myapp.app/cache:temp/i7h4ajm0nim1mbcnrqotvrhhsc.mp4':
07-14 22:30:35.963: D/ffmpeg(30354): Metadata:
07-14 22:30:35.963: D/ffmpeg(30354): major_brand : mp42
07-14 22:30:35.963: D/ffmpeg(30354): minor_version : 0
07-14 22:30:35.963: D/ffmpeg(30354): compatible_brands: isommp42
07-14 22:30:35.963: D/ffmpeg(30354): creation_time : 2015-07-15 05:30:32
07-14 22:30:35.963: D/ffmpeg(30354): Duration: 00:00:02.75, start: 0.000000, bitrate: 9315 kb/s
07-14 22:30:35.963: D/ffmpeg(30354): Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 960x720, 10062 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 180k tbc (default)
07-14 22:30:35.963: D/ffmpeg(30354): Metadata:
07-14 22:30:35.963: D/ffmpeg(30354): rotate : 90
07-14 22:30:35.963: D/ffmpeg(30354): creation_time : 2015-07-15 05:30:32
07-14 22:30:35.963: D/ffmpeg(30354): handler_name : VideoHandle
07-14 22:30:35.963: D/ffmpeg(30354): Side data:
07-14 22:30:35.963: D/ffmpeg(30354): displaymatrix: rotation of -90.00 degrees
07-14 22:30:35.963: D/ffmpeg(30354): Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 151 kb/s (default)
07-14 22:30:35.963: D/ffmpeg(30354): Metadata:
07-14 22:30:35.963: D/ffmpeg(30354): creation_time : 2015-07-15 05:30:32
07-14 22:30:35.963: D/ffmpeg(30354): handler_name : SoundHandle
07-14 22:30:35.963: D/ffmpeg(30354): [libx264 @ 0xb6808800] using SAR=4/3
07-14 22:30:35.963: D/ffmpeg(30354): [libx264 @ 0xb6808800] using cpu capabilities: none!
07-14 22:30:35.963: D/ffmpeg(30354): [libx264 @ 0xb6808800] profile Constrained Baseline, level 3.1
07-14 22:30:35.963: D/ffmpeg(30354): [adts @ 0xb685b000] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
07-14 22:30:35.963: D/ffmpeg(30354): Output #0, mpegts, to '/data/data/com.myapp.app/cache:temp/p1t3bhs0oa3lpqa67g5i9ninm9.ts':
07-14 22:30:35.963: D/ffmpeg(30354): Metadata:
07-14 22:30:35.963: D/ffmpeg(30354): major_brand : mp42
07-14 22:30:35.963: D/ffmpeg(30354): minor_version : 0
07-14 22:30:35.963: D/ffmpeg(30354): compatible_brands: isommp42
07-14 22:30:35.963: D/ffmpeg(30354): encoder : Lavf56.4.101
07-14 22:30:35.963: D/ffmpeg(30354): Stream #0:0(eng): Video: h264 (libx264), yuv420p, 720x960 [SAR 4:3 DAR 1:1], q=-1--1, 29.97 fps, 90k tbn, 29.97 tbc (default)
07-14 22:30:35.963: D/ffmpeg(30354): Metadata:
07-14 22:30:35.963: D/ffmpeg(30354): handler_name : VideoHandle
07-14 22:30:35.963: D/ffmpeg(30354): creation_time : 2015-07-15 05:30:32
07-14 22:30:35.963: D/ffmpeg(30354): rotate : 0
07-14 22:30:35.963: D/ffmpeg(30354): encoder : Lavc56.1.100 libx264
07-14 22:30:35.963: D/ffmpeg(30354): Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 151 kb/s (default)
07-14 22:30:35.963: D/ffmpeg(30354): Metadata:
07-14 22:30:35.963: D/ffmpeg(30354): creation_time : 2015-07-15 05:30:32
07-14 22:30:35.963: D/ffmpeg(30354): handler_name : SoundHandle
07-14 22:30:35.963: D/ffmpeg(30354): Stream mapping:
07-14 22:30:35.963: D/ffmpeg(30354): Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
07-14 22:30:35.963: D/ffmpeg(30354): Stream #0:1 -> #0:1 (copy)
07-14 22:30:35.963: D/ffmpeg(30354): Press [q] to stop, [?] for help
07-14 22:30:35.963: D/ffmpeg(30354): frame= 17 fps=0.0 q=27.0 size= 0kB time=00:00:00.36 bitrate= 0.0kbits/s
07-14 22:30:35.963: D/ffmpeg(30354): frame= 33 fps= 32 q=27.0 size= 164kB time=00:00:01.15 bitrate=1163.1kbits/s
07-14 22:30:35.963: D/ffmpeg(30354): frame= 46 fps= 30 q=29.0 size= 213kB time=00:00:01.33 b