
Recherche avancée
Autres articles (67)
-
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 -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)
Sur d’autres sites (9375)
-
Samsung S3 : 'Cannot play Video' on stock Video player
18 mars 2013, par d33pikaI am unable to play a mp4 video(H.264 Baseline, AAC) on Samsung S3, Android Version : 4.1.1, stock video player but plays on VLC. The same video plays on Galaxy Beam, Android Version : 2.3.6, stock Video Player. I want to figure out why it does not play on S3. I ran ffprobe and mediainfo on the fie :
ffprobe results :
ffprobe version 0.11.1 Copyright (c) 2007-2012 the FFmpeg developers
built on Jan 25 2013 15:16:27 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
configuration: --prefix=/usr/local/Cellar/ffmpeg/0.11.1 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=/usr/bin/llvm-gcc --host-cflags='-Os -w -pipe -march=core2 -msse4 -mmacosx-version-min=10.7' --host-ldflags=-L/usr/local/lib --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
libavutil 51. 54.100 / 51. 54.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.100 / 54. 6.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '86535_360p_1301310230.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2013-01-31 02:36:22
Duration: 00:03:49.53, start: 0.000000, bitrate: 799 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 699 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
Metadata:
creation_time : 2013-01-31 02:34:00
handler_name : GPAC ISO Video Handler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 96000 Hz, stereo, s16, 95 kb/s
Metadata:
creation_time : 2013-01-31 02:36:22
handler_name : GPAC ISO Audio HandlerMedia info results :
General
Complete name : a.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 21.9 MiB
Duration : 3mn 49s
Overall bit rate mode : Variable
Overall bit rate : 799 Kbps
Encoded date : UTC 2013-01-31 02:36:22
Tagged date : UTC 2013-01-31 02:36:22
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L3.0
Format settings, CABAC : No
Format settings, ReFrames : 3 frames
Format settings, GOP : M=1, N=30
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 3mn 49s
Bit rate : 700 Kbps
Maximum bit rate : 2 721 Kbps
Width : 640 pixels
Height : 360 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.127
Stream size : 19.1 MiB (88%)
Writing library : Zencoder Video Encoding System
Encoded date : UTC 2013-01-31 02:34:00
Tagged date : UTC 2013-01-31 02:36:22
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 3mn 49s
Bit rate mode : Variable
Bit rate : 96.0 Kbps
Maximum bit rate : 121 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 96.0 KHz
Compression mode : Lossy
Stream size : 2.62 MiB (12%)
Encoded date : UTC 2013-01-31 02:36:22
Tagged date : UTC 2013-01-31 02:36:22I suspect the video player is more stricter on some codec header values. The level is set to 3.0 and this should be correct. Any help in figuring this out is appreciated !
-
FFmpeg returning an error - What does it mean ?
19 mars 2013, par user1031947I am using FFmpeg, libmp3lame & libx264 along with the node fluent-ffmpeg module. This is my first foray into processing uploaded videos.
From node, I use the following code to process an uploaded video :
var proc = new ffmpeg({ source: src, nolog: true })
.usingPreset( "podcast" )
.withAudioCodec( "libmp3lame" )
.saveToFile( dest, function( retcode, err ){
if( err ) throw err;
...
});When I try to process a video, this fails with the following error, which I don't understand. I am hoping someone here can help point me in the right direction. Thanks !
> ffmpeg version 0.8.5-6:0.8.5-1, Copyright (c) 2000-2012 the Libav
> developers built on Jan 13 2013 12:05:48 with gcc 4.7.2
> *** THIS PROGRAM IS DEPRECATED *** This program is only provided for compatibility and will be removed in a future release. Please use
> avconv instead.
>
> Seems stream 0 codec frame rate differs from container frame rate:
> 5994.00 (5994/1) -> 29.97 (2997/100) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
> '/home/ssp/resources/tmp/32111bf4217e87c23328ec81c56c7d02':
> Metadata:
> major_brand : M4VP
> minor_version : 1
> compatible_brands: M4VPM4A mp42isom
> creation_time : 2008-08-26 17:28:47 Duration: 00:00:08.01, start: 0.000000, bitrate: 944 kb/s
> Stream #0.0(eng): Video: h264 (Constrained Baseline), yuv420p, 480x272, 815 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 5994 tbc
> Metadata:
> creation_time : 2008-08-26 17:28:47
> Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 124 kb/s
> Metadata:
> creation_time : 2008-08-26 17:28:47 [buffer @ 0xb685a0] w:480 h:272 pixfmt:yuv420p [scale @ 0xb63280] w:480 h:272 fmt:yuv420p ->
> w:320 h:176 fmt:yuv420p flags:0x4 [libx264 @ 0xb67c20] VBV maxrate
> unspecified, assuming CBR [libx264 @ 0xb67c20] using cpu capabilities:
> MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX [libx264 @ 0xb67c20]
> profile Main, level 1.3 Output #0, m4v, to
> '/home/ssp/resources/users/11/026468c8f4ea1beee0a585ebc2208137.m4v':
> Metadata:
> major_brand : M4VP
> minor_version : 1
> compatible_brands: M4VPM4A mp42isom
> creation_time : 2008-08-26 17:28:47
> encoder : Lavf53.21.1
> Stream #0.0(eng): Video: libx264, yuv420p, 320x176, q=10-51, 512 kb/s, 90k tbn, 29.97 tbc
> Metadata:
> creation_time : 2008-08-26 17:28:47
> Stream #0.1(eng): Audio: libmp3lame, 44100 Hz, 1 channels, s16, 128 kb/s
> Metadata:
> creation_time : 2008-08-26 17:28:47 Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press ctrl-c to stop encoding frame= 240 fps=154 q=11.0 Lsize= 642kB time=7.97 bitrate=
> 659.3kbits/s video:516kB audio:126kB global headers:0kB muxing overhead 0.000000% frame I:1 Avg QP:15.35 size: 9995 [libx264 @
> 0xb67c20] frame P:77 Avg QP:13.25 size: 5419 [libx264 @ 0xb67c20]
> frame B:162 Avg QP:18.31 size: 625 [libx264 @ 0xb67c20]
> consecutive B-frames: 2.5% 12.5% 30.0% 55.0% [libx264 @ 0xb67c20] mb
> I I16..4: 9.1% 0.0% 90.9% [libx264 @ 0xb67c20] mb P I16..4: 2.1%
> 0.0% 2.8% P16..4: 18.0% 29.9% 44.8% 0.0% 0.0% skip: 2.3% [libx264 @ 0xb67c20] mb B I16..4: 0.1% 0.0% 0.0% B16..8: 35.2%
> 20.2% 1.9% direct:14.5% skip:28.1% L0:26.3% L1:38.1% BI:35.6% [libx264 @ 0xb67c20] coded y,uvDC,uvAC intra: 83.7% 91.7% 84.7% inter:
> 27.7% 43.4% 13.9% [libx264 @ 0xb67c20] i16 v,h,dc,p: 20% 29% 42% 9% [libx264 @ 0xb67c20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 29% 20% 4%
> 8% 6% 9% 3% 4% [libx264 @ 0xb67c20] i8c dc,h,v,p: 60% 19% 16% 5%
> [libx264 @ 0xb67c20] Weighted P-Frames: Y:2.6% UV:0.0% [libx264 @
> 0xb67c20] ref P L0: 75.6% 13.5% 8.0% 2.8% 0.1% [libx264 @ 0xb67c20]
> ref B L0: 94.5% 5.5% [libx264 @ 0xb67c20] kb/s:528.00 -
ffmpeg cannot generate thumbnail [migrated]
25 mars 2013, par Alex FloI use ffmpeg to generate 10 .jpeg thumbs out of a video file. Most of the time it works fine but for some files (a 55seconds .mp4 for example) I get only the first 4 out of 10 captures, for the rest I get this error :
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)The command I use to convert is this one
ffmpeg -ss 16 -i /path/source.mp4 -y -f image2 -t 0.001 -s 320*240 /path/thumb4.jpg
where -ss value is a multiple of 4 and from 20 it stops working.Command line full output :
`# ffmpeg -ss 77 -i /path/source.mp4 -y -f image2 -t 0.001 -s 320*240 /path/thumb7.jpg
ffmpeg version git-2013-02-25-b8f6912 Copyright (c) 2000-2013 the FFmpeg developers
built on Feb 25 2013 15:18:21 with gcc 4.4.5 (Debian 4.4.5-8)
configuration: --enable-shared --enable-libx264 --enable-gpl
libavutil 52. 17.103 / 52. 17.103
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.100 / 54. 63.100
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 41.100 / 3. 41.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/path/source.mp4':
Metadata:
major_brand : mp42
minor_version : 19529845
compatible_brands: mp42isom
creation_time : 2013-03-20 21:45:43
Duration: 00:02:04.62, start: 0.000000, bitrate: 605 kb/s
Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 64 kb/s
Metadata:
creation_time : 2013-03-20 21:45:43
handler_name : Sound Media Handler
Stream #0:1(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 40:33 DAR 20:11], 983 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
Metadata:
creation_time : 2013-03-20 21:45:43
handler_name : Video Media Handler
Output #0, image2, to '/path/thumb7.jpg':
Metadata:
major_brand : mp42
minor_version : 19529845
compatible_brands: mp42isom
encoder : Lavf54.63.100
Stream #0:0(eng): Video: mjpeg, yuvj420p, 320x240 [SAR 15:11 DAR 20:11], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
Metadata:
creation_time : 2013-03-20 21:45:43
handler_name : Video Media Handler
Stream mapping:
Stream #0:1 -> #0:0 (h264 -> mjpeg)
Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead -inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)`