
Recherche avancée
Autres articles (97)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (8449)
-
How encrypt video file using ffmpeg with a single file output
9 décembre 2016, par Akshay KumarI am trying to encrypt a video(mp4) file having a single file output. Here is the command that I use :
ffmpeg -i -c:v libx264 -preset slow -hls_list_size 0 -hls_key_info_file encrypt.keyinfo -f hls -hls_playlist_type vod -hls_time 20 -threads 0 .
However when I play the generated m3u8 file in safari the video stop for seconds(timer goes on) and resume after few seconds. This is happens multiple times in a single video playback.
Can anyone help me to encode video file with single output file.Full command :
/usr/local/bin/ffmpeg -i MJ.mp4 -c:v libx264 -preset slow -hls_list_size 0 -hls_key_info_file encrypt.keyinfo -f hls -hls_playlist_type vod -hls_flags single_file -hls_time 20 -threads 0 encrypted15.m3u8
It’s corresponding console output :
ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
libavutil 55. 34.100 / 55. 34.100
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.100 / 57. 56.100
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MJ.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.63.104
Duration: 00:04:43.21, start: 0.000000, bitrate: 1070 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 938 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
Metadata:
handler_name : SoundHandler
[libx264 @ 0x7f8930818200] using SAR=1/1
[libx264 @ 0x7f8930818200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x7f8930818200] profile High, level 3.1
Output #0, hls, to 'encrypted15.m3u8':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.56.100
Stream #0:0(und): Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 90k tbn, 25 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc57.64.101 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1(und): Audio: aac (LC), 44100 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : SoundHandler
encoder : Lavc57.64.101 aac
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
frame= 7079 fps= 64 q=-1.0 Lsize=N/A time=00:04:43.21 bitrate=N/A speed=2.55x
video:30401kB audio:4156kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 0x7f8930818200] frame I:66 Avg QP:16.19 size: 44529
[libx264 @ 0x7f8930818200] frame P:2496 Avg QP:20.09 size: 7995
[libx264 @ 0x7f8930818200] frame B:4517 Avg QP:21.77 size: 1823
[libx264 @ 0x7f8930818200] consecutive B-frames: 5.7% 10.3% 52.4% 31.6%
[libx264 @ 0x7f8930818200] mb I I16..4: 34.7% 39.2% 26.0%
[libx264 @ 0x7f8930818200] mb P I16..4: 4.8% 7.0% 0.7% P16..4: 31.6% 7.1% 2.6% 0.0% 0.0% skip:46.2%
[libx264 @ 0x7f8930818200] mb B I16..4: 0.4% 0.4% 0.0% B16..8: 24.8% 1.6% 0.1% direct: 0.9% skip:71.8% L0:39.4% L1:57.4% BI: 3.2%
[libx264 @ 0x7f8930818200] 8x8 transform intra:52.6% inter:73.7%
[libx264 @ 0x7f8930818200] direct mvs spatial:99.9% temporal:0.1%
[libx264 @ 0x7f8930818200] coded y,uvDC,uvAC intra: 23.4% 41.8% 12.7% inter: 3.8% 6.4% 0.3%
[libx264 @ 0x7f8930818200] i16 v,h,dc,p: 40% 25% 12% 23%
[libx264 @ 0x7f8930818200] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 16% 36% 2% 3% 4% 4% 3% 4%
[libx264 @ 0x7f8930818200] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 19% 14% 5% 8% 7% 8% 6% 6%
[libx264 @ 0x7f8930818200] i8c dc,h,v,p: 49% 21% 21% 8%
[libx264 @ 0x7f8930818200] Weighted P-Frames: Y:6.7% UV:6.2%
[libx264 @ 0x7f8930818200] ref P L0: 66.8% 10.5% 12.6% 4.9% 5.1% 0.2% 0.0%
[libx264 @ 0x7f8930818200] ref B L0: 82.4% 12.1% 4.5% 1.0%
[libx264 @ 0x7f8930818200] ref B L1: 99.2% 0.8%
[libx264 @ 0x7f8930818200] kb/s:879.53
[aac @ 0x7f8930811e00] Qavg: 7830.089 -
What's the relationship between AVPacket in FFMpeg and H.264 NAL Uint ?
8 juin 2016, par ElloI use FFMpeg’s api to encode images to H.264 stream, the code is like this encode code. When I called the function
avcodec_encode_video2
I got one AVPacket’s data, then I saved it to file. I use several images to get several files for test.
Based on the startcode00 00 00 01
or00 00 01
, I found that the 1st and 2nd files’ data both contain several H.264 NAL Uints. But start from the third file, I can’t found the startcode. Like followed image.
I feel confused. Base on the FFMpeg’s code I think one AVPacket’s data should contain at least one NAL Uint, but the result is unexpected. Is that means one NAL Uint may be divided to two AVPackets’ data ? What’s the relationship between AVPacket and H.264 NAL Uint ?
-
What's the relationship between AVPacket in FFMpeg and H.264 NAL Uint ?
8 juin 2016, par ElloI use FFMpeg’s api to encode images to H.264 stream, the code is like this encode code. When I called the function
avcodec_encode_video2
I got one AVPacket’s data, then I saved it to file. I use several images to get several files for test.
Based on the startcode00 00 00 01
or00 00 01
, I found that the 1st and 2nd files’ data both contain several H.264 NAL Uints. But start from the third file, I can’t found the startcode. Like followed image.
I feel confused. Base on the FFMpeg’s code I think one AVPacket’s data should contain at least one NAL Uint, but the result is unexpected. Is that means one NAL Uint may be divided to two AVPackets’ data ? What’s the relationship between AVPacket and H.264 NAL Uint ?