
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (49)
-
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)
Sur d’autres sites (5151)
-
tag refuses to play mp4 video
5 janvier 2015, par MightyPorkI have a video I want to embed using the html5 video tag :
I’ve converted it using
ffmpeg
:ffmpeg -i P6135199.MOV -vcodec libx264 -acodec aac helios.mp4
FFMPEG output :
[libx264 @ 0x22ac340] using cpu capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 [libx264 @ 0x22ac340] profile High 4:2:2, level 1.2, 4:2:2 8-bit [libx264 @ 0x22ac340] 264 - core 142 r2455 021c0dc - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options : cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=15 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to ’helios.mp4’ : Metadata : comment-eng : OLYMPUS DIGITAL CAMERA comment : OLYMPUS DIGITAL CAMERA encoder : Lavf56.15.102 Stream #0:0(eng) : Video : h264 (libx264) ([33][0][0][0] / 0x0021), yuvj422p(pc), 320x240, q=-1—1, 15 fps, 15360 tbn, 15 tbc (default) Metadata : creation_time : 2008-06-13 10:47:16 encoder : Lavc56.13.100 libx264 Stream mapping : Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264)) Press [q] to stop, [?] for help frame= 240 fps=124 q=-1.0 Lsize= 906kB time=00:00:15.86 bitrate= 467.7kbits/s video:902kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 0.409100% [libx264 @ 0x22ac340] frame I:1 Avg QP:23.71 size : 7960 [libx264 @ 0x22ac340] frame P:123 Avg QP:23.85 size : 5255 [libx264 @ 0x22ac340] frame B:116 Avg QP:25.41 size : 2317 [libx264 @ 0x22ac340] consecutive B-frames : 3.3% 96.7% 0.0% 0.0% [libx264 @ 0x22ac340] mb I I16..4 : 15.7% 69.0% 15.3% [libx264 @ 0x22ac340] mb P I16..4 : 2.2% 13.4% 0.8% P16..4 : 43.8% 23.1% 14.0% 0.0% 0.0% skip : 2.8% [libx264 @ 0x22ac340] mb B I16..4 : 0.3% 1.3% 0.1% B16..8 : 42.4% 9.9% 3.0% direct:12.2% skip:30.9% L0:37.2% L1:38.2% BI:24.5% [libx264 @ 0x22ac340] 8x8 transform intra:80.8% inter:71.9% [libx264 @ 0x22ac340] coded y,uvDC,uvAC intra : 76.7% 96.8% 49.7% inter : 37.8% 60.9% 5.1% [libx264 @ 0x22ac340] i16 v,h,dc,p : 39% 4% 8% 49% [libx264 @ 0x22ac340] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu : 15% 14% 39% 6% 3% 4% 3% 6% 12% [libx264 @ 0x22ac340] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu : 25% 11% 18% 8% 7% 7% 8% 8% 8% [libx264 @ 0x22ac340] i8c dc,h,v,p : 63% 7% 20% 10% [libx264 @ 0x22ac340] Weighted P-Frames : Y:5.7% UV:0.8% [libx264 @ 0x22ac340] ref P L0 : 51.4% 18.3% 20.6% 9.3% 0.4% [libx264 @ 0x22ac340] ref B L0 : 80.8% 19.2% [libx264 @ 0x22ac340] kb/s:461.52
And I try to embed it as follows :
<video src="helios.mp4" controls="controls">Get a better browser!</video>
However, Chrome doesn’t play the video, only offers to download it (same as it did before I converted the video). Firefox has the same problem.
I’ve tested and other mp4 files (from my phone) play just fine.
What’s the problem ? Did I convert it wrong ?
-
Convert video with ffmpeg to have the same quality
14 mai 2019, par zlonI want to make some present for my grandma. And prepare some video. Unfortunately here video player is old and could not read some file formats. She is not at home now, so I don’t know which player she has. But I have a file which is OK for here system :
File which is in a correct format :
General
Complete name : let.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 688 MiB
Duration : 1 h 35 min
Overall bit rate : 1 002 kb/s
Writing application : VirtualDubMod 1.4.13
Writing library : VirtualDub build 14328/release
FileExtension_Invalid : avi
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Simple@L3
Format settings, BVOP : No
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 1 h 35 min
Bit rate : 800 kb/s
Width : 544 pixels
Height : 416 pixels
Display aspect ratio : 4:3
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.141
Stream size : 549 MiB (80%)
Writing library : XviD 0.0.09 (UTC 2003-03-25)I have the following file, which here system could not read :
File in the incorrect format :
General
Complete name : amf.avi
Format : AVI
Format/Info : Audio Video Interleave
Overall bit rate : 2 167 kb/s
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings : BVOP1
Format settings, BVOP : 1
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (MPEG)
Codec ID : DX50
Codec ID/Hint : DivX 5
Bit rate : 1 710 kb/s
Width : 720 pixels
Height : 528 pixels
Display aspect ratio : 4:3
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.188
Stream size : 1.15 GiB (79%)
Writing library : XviD 64Could you help me to convert the second file to a format of the first ? (It would be nice if the output would be of the similar quality)
I have Ubuntu, and I think
ffmpeg
should be able to do it.CROSS POSTED FROM : SE Video production.
-
Why VLC not display RTP stream
5 janvier 2018, par Alexandr LukovnikovI am new in RTP. I whant to start RTSP server on embeded device. Now I can whatching video file, that stored in flash memory. But when I start translate video, that encoded whith x264, VLC not display anything.
Just buffering, nothing elsecore debug: `rtsp://172.16.50.194:1935/live1.sdp' successfully opened
core debug: Buffering 0%
packetizer_h264 debug: found NAL_SPS (sps_id=0)
core debug: Stream buffering done (11 ms in 133 ms)
core debug: Decoder wait done in 0 ms
packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
core error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 30 ms)
core error: ES_OUT_RESET_PCR called
core debug: Buffering 0%
core debug: Buffering 0%
core debug: Buffering 0%
core debug: Stream buffering done (111 ms in 706 ms)
core debug: Decoder wait done in 0 ms
core error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 594 ms)
core error: ES_OUT_RESET_PCR called
core debug: Buffering 0%
...
core debug: Buffering 0%
live555 warning: no data received in 10s, eof ?
core debug: EOF reachedThat is Wireshark dump
SPS slice
1111 0100 = Profile_idc: Unknown (244)
0... .... = Constraint_set0_flag: 0
.0.. .... = Constraint_set1_flag: 0
..0. .... = Constraint_set2_flag: 0
...0 .... = Constraint_set3_flag: 0
.... 0... = Constraint_set4_flag: 0
.... .0.. = Constraint_set5_flag: 0
.... ..00 = Reserved_zero_2bits: 0
0000 1101 = Level_id: 13 [Level 1.3 768 kb/s]
1... .... = seq_parameter_set_id: 0
.001 00.. = log2_max_frame_num_minus4: 3
.... ..01 1... .... = pic_order_cnt_type: 2
.001 01.. = num_ref_frames: 4
.... ..1. = gaps_in_frame_num_value_allowed_flag: 1
.... ...0 10.. .... = pic_width_in_mbs_minus1: 1
..00 0001 0100 0... = pic_height_in_map_units_minus1: 39
.... .0.. = frame_mbs_only_flag: 0
.... ..0. = mb_adaptive_frame_field_flag: 0
.... ...1 = direct_8x8_inference_flag: 1
1... .... = frame_cropping_flag: 1
.1.. .... = frame_crop_left_offset: 0
..1. .... = frame_crop_left_offset: 0
...1 .... = frame_crop_top_offset: 0
.... 1... = frame_crop_bottom_offset: 0
.... .0.. = vui_parameters_present_flag: 0
.... ..1. = rbsp_stop_bit: 1
.... ...0 = rbsp_trailing_bits: 0PPS slice
1... .... = pic_parameter_set_id: 0
.1.. .... = seq_parameter_set_id: 0
..0. .... = entropy_coding_mode_flag: 0
...0 .... = pic_order_present_flag: 0
.... 1... = num_slice_groups_minus1: 0
.... .1.. = num_ref_idx_l0_active_minus1: 0
.... ..1. = num_ref_idx_l1_active_minus1: 0
.... ...0 = weighted_pred_flag: 0
00.. .... = weighted_bipred_idc: 0
..00 0010 110. .... = pic_init_qp_minus26(se(v)): 11
...1 .... = pic_init_qs_minus26: 0
.... 1... = chroma_qp_index_offset: 0
.... .1.. = deblocking_filter_control_present_flag: 1
.... ..0. = constrained_intra_pred_flag: 0
.... ...0 = redundant_pic_cnt_present_flag: 0
1... .... = rbsp_stop_bit: 1
.000 0000 = rbsp_trailing_bits: 0And SEI
x264 - core 152 r2851 ba24899 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=10 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
What could be my mistake ?