
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (105)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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 (...)
Sur d’autres sites (14610)
-
dash.js : four channels audio streaming
19 juillet 2016, par Carlos ChaconDoes dash.js supports 4 channels in the audio stream ?
I’m using mp4 container : video : h254 and audio : AAC.
For the case that the AAC audio stream is 2 channels it works fine, both video and audio play correctly. But 4 channels does NOT work.
I’m using FFMPEG to create the files and WOWZA to setup the DASH streaming.
For the case that the AAC audio stream is 4 channels I get the following error :
Video can't be played because the file is corrupt.
Command line to generate the 2-channels file :
ffmpeg -i video_in.mp4 -i audio_in_4ch.wav -c:v copy -c:a aac -ac 2 output_2channels.mp4
Command line to generate the 4-channels file :
ffmpeg -i video_in.mp4 -i audio_in_4ch.wav -c:v copy -c:a aac -ac 4 output_4channels.mp4
This is the fmmpeg -i information printed for each file :
2 Channels output file details :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output_2channels.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.37.101
Duration: 00:00:17.59, start: 0.000000, bitrate: 901 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1024x512 [SAR 1:1 DAR 2:1], 894 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 129 kb/s (default)
Metadata:
handler_name : SoundHandler4 Channels output file details :
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output_4channels.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.37.101
Duration: 00:00:17.59, start: 0.000000, bitrate: 1038 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1024x512 [SAR 1:1 DAR 2:1], 894 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 4.0, fltp, 265 kb/s (default)
Metadata:
handler_name : SoundHandler4 Channels output file mdp file :
<?xml version="1.0" encoding="UTF-8"?>
<mpd xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" publishtime="2016-07-19T05:56:28Z" mediapresentationduration="PT17.585S" minbuffertime="PT1.5S">
<programinformation>
</programinformation>
<location>http://192.168.0.103:1935/vod/_definst_/mp4:output_4channels.mp4/manifest_w882219731.mpd</location>
<period start="PT0.0S">
<baseurl>http://192.168.0.103:1935/vod/_definst_/mp4:output_4channels.mp4/</baseurl>
<adaptationset mimetype="video/mp4" width="1024" height="512" par="1024:512" framerate="30000/1001" segmentalignment="true" startwithsap="1" subsegmentalignment="true" subsegmentstartswithsap="1">
<segmenttemplate presentationtimeoffset="0" timescale="90000" media="chunk_ctvideo_rid$RepresentationID$_cs$Time$_w882219731_mpd.m4s" initialization="chunk_ctvideo_rid$RepresentationID$_cinit_w882219731_mpd.m4s">
<segmenttimeline>
<s t="0" d="1582650"></s>
</segmenttimeline>
</segmenttemplate>
<representation codecs="avc1.42c01e" sar="1:1" bandwidth="894760"></representation>
</adaptationset>
<adaptationset mimetype="audio/mp4" lang="eng" segmentalignment="true" startwithsap="1" subsegmentalignment="true" subsegmentstartswithsap="1">
<audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></audiochannelconfiguration>
<segmenttemplate presentationtimeoffset="0" timescale="48000" media="chunk_ctaudio_rid$RepresentationID$_cs$Time$_w882219731_mpd.m4s" initialization="chunk_ctaudio_rid$RepresentationID$_cinit_w882219731_mpd.m4s">
<segmenttimeline>
<s t="0" d="844080"></s>
</segmenttimeline>
</segmenttemplate>
<representation codecs="mp4a.40.2" audiosamplingrate="48000" bandwidth="265851">
</representation>
</adaptationset>
</period>
</mpd>HTML Player Code :
<code class="echappe-js"><script src="http://cdn.dashjs.org/latest/dash.all.min.js"></script>
-
In Android how to add text as watermark on already recorded video with ffmpeg ?
23 juillet 2016, par jullieI am trying to set text as a watermark on already recorded video but it is not working. As I tried image.png as a water mark and it works by following this url http://androidwarzone.blogspot.in/2011/12/ffmpeg4android.html
Command for apply image as watermark on already recorded video :
String[] complexCommand = {"ffmpeg","-y" ,"-i", videoPathHere,"-strict",
"experimental", "-vf", "movie="
+ Environment.getExternalStorageDirectory().getAbsolutePath()
+ "/watermarkImg.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10 [out]",
"-s", "160x120","-r", "30", "-b", "15496k", "-vcodec", "mpeg4","-ab", "48000",
"-ac", "2", "-ar", "22050",
Environment.getExternalStorageDirectory().getAbsolutePath()+"/watermark.mp4"};but when I tried to implement text as watermark its not working :
String[] complexCommand = {"ffmpeg", "-y" , "-i", videoPathHere, "-strict", "experimental",
"-vf", "drawtext=fontfile=" + file + ":text=TestText", "-s", "160x120", "-r", "30",
"-b", "15496k", "-vcodec", "mpeg4", "-ab", "48000", "-ac", "2", "-ar", "22050",
Environment.getExternalStorageDirectory().getAbsolutePath()+"/watermark.mp4"};Even I tried this also
http://video.stackexchange.com/questions/15551/ffmpeg-drawtext-filter-create-transparent-background-with-textbut it is also not working in my case.
So, what is going wrong with adding text as watermark ?
I make changes in commenad from ;text=TestText to :text=TestText then it shows given error.
07-23 10:58:07.595 : I/Videokit(28832) : libvideokit.so loaded
07-23 10:58:07.595 : I/Videokit(28832) : args is not NULL
07-23 10:58:07.595 : I/Videokit(28832) : more then one arg
07-23 10:58:07.595 : I/Videokit(28832) : function symbol found
07-23 10:58:07.595 : D/Videokit(28832) : Calling videokit run via loader
07-23 10:58:07.595 : I/Videokit(28832) : vk ffmpeg sdcardPath : /data/user/0/valamovie.com/files/
07-23 10:58:07.595 : D/Videokit(28832) : call licenseCheckComplex
07-23 10:58:07.595 : I/Videokit(28832) : licenseCheck in path : /data/user/0/valamovie.com/files/
07-23 10:58:07.595 : I/Videokit(28832) : isLicExistsComplex...
07-23 10:58:07.595 : I/Videokit(28832) : trying to open /data/user/0/valamovie.com/files//ffmpeglicense.lic
07-23 10:58:07.595 : I/Videokit(28832) : license file found...
07-23 10:58:07.596 : I/Videokit(28832) : You used 0 of your 15 trial days.
07-23 10:58:07.596 : D/Videokit(28832) : license check rc : 0
07-23 10:58:07.596 : D/Videokit(28832) : run() called
07-23 10:58:07.670 : A/libc(28832) : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x10 in tid 28832 (valamovie.com)
07-23 10:58:07.771 : A/DEBUG(152) : * *
07-23 10:58:07.771 : A/DEBUG(152) : Build fingerprint : ’Lava/PixelV1/PixelV1_sprout:6.0/MRA58V/eng.admin.20160419.120644:user/release-keys’
07-23 10:58:07.771 : A/DEBUG(152) : Revision : ’0’
07-23 10:58:07.771 : A/DEBUG(152) : ABI : ’arm’
07-23 10:58:07.771 : A/DEBUG(152) : pid : 28832, tid : 28832, name : valamovie.com >>> valamovie.com <<<
07-23 10:58:07.772 : A/DEBUG(152) : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10
07-23 10:58:07.789 : A/DEBUG(152) : r0 00000000 r1 00000001 r2 0000001e r3 00000000
07-23 10:58:07.789 : A/DEBUG(152) : r4 b8ae87c0 r5 b8ae7fb0 r6 00000000 r7 b8b22500
07-23 10:58:07.789 : A/DEBUG(152) : r8 9ee64cc4 r9 b8a1fad0 sl b8b625d0 fp 00000000
07-23 10:58:07.789 : A/DEBUG(152) : ip b6d875dc sp bea3e340 lr 9e3969ac pc 9e395bb8 cpsr 600f0010
07-23 10:58:07.791 : A/DEBUG(152) : backtrace :
07-23 10:58:07.791 : A/DEBUG(152) : #00 pc 0007cbb8 /data/app/valamovie.com-1/lib/arm/libvideokit.so
07-23 10:58:08.503 : W/ActivityManager(557) : Force finishing activity valamovie.com/.Ui.addNewProject
07-23 10:58:08.504 : A/DEBUG(152) : Tombstone written to : /data/tombstones/tombstone_00
07-23 10:58:08.504 : E/DEBUG(152) : AM write failed : Broken pipe
07-23 10:58:08.505 : I/BootReceiver(557) : Copying /data/tombstones/tombstone_00 to DropBox (SYSTEM_TOMBSTONE)
07-23 10:58:08.527 : W/InputDispatcher(557) : channel ’86e38ae valamovie.com/valamovie.com.Ui.MainActivity (server)’ Consumer closed input channel or an error occurred. events=0x9
07-23 10:58:08.528 : E/InputDispatcher(557) : channel ’86e38ae valamovie.com/valamovie.com.Ui.MainActivity (server)’ Channel is unrecoverably broken and will be disposed !
07-23 10:58:08.529 : W/InputDispatcher(557) : channel ’e50713f valamovie.com/valamovie.com.Ui.addNewProject (server)’ Consumer closed input channel or an error occurred. events=0x9
07-23 10:58:08.529 : E/InputDispatcher(557) : channel ’e50713f valamovie.com/valamovie.com.Ui.addNewProject (server)’ Channel is unrecoverably broken and will be disposed !
07-23 10:58:08.531 : W/ActivityManager(557) : Exception thrown during pause -
FFMPEG - Convert MKV to MP4 with all streams (subtitles) and watermark
24 juillet 2016, par ShinJiiI spent few hours researching and still have problem...
I want to convert .mkv file to .mp4 with watermark and subtitles (from mkv).I tried few commands but always error or success with watermark without subtitles.
Here are some commands I tried (not all) :Partial Success - some files are converted with subtitles, but I have 153 files that are converted without subtitles... (both from .mkv to .mp4) :
ffmpeg -i 025.mkv -vf "movie=logovideo2.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10,subtitles=025.mkv [out]" 25.mp4
ffmpeg -i 001.mkv -i logovideo2.png -filter_complex "[0:v][1:v]overlay=0:0,subtitles=001.mkv[out]" -map "[out]" -map 0:a -c:s ass 001.mp4Fail - command with error :
ffmpeg -i 001.mkv -i logovideo2.png -filter_complex "[0:v][1:v]overlay=0:0[out]" -map "[out]" -map 0:a -map 0:s -c:s ass 001.mp4
CODE (with error) :
ffmpeg version N-81036-g2b14204 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libass
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 50.100 / 57. 50.100
libavformat 57. 42.100 / 57. 42.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 47.100 / 6. 47.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, matroska,webm, from '001.mkv':
Metadata:
title : DB
encoder : libebml v1.2.1 + libmatroska v1.1.1
creation_time : 2011-09-15 16:44:37
Duration: 00:24:39.37, start: 0.000000, bitrate: 1429 kb/s
Stream #0:0(jpn): Audio: vorbis, 48000 Hz, stereo, fltp (default)
Stream #0:1: Video: h264 (High), yuv420p, 720x540 [SAR 1:1 DAR 4:3], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:2(pol): Subtitle: ass (default)
Metadata:
title : Grupa
Input #1, png_pipe, from 'logovideo2.png':
Duration: N/A, bitrate: N/A
Stream #1:0: Video: png, rgba(pc), 235x50 [SAR 2835:2835 DAR 47:10], 25 tbr, 25 tbn, 25 tbc
File '001.mp4' already exists. Overwrite ? [y/N] y
[libx264 @ 0x43c7a80] using SAR=1/1
[libx264 @ 0x43c7a80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0x43c7a80] profile High, level 3.0
[libx264 @ 0x43c7a80] 264 - core 148 r2 3f5ed56 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - 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=12 lookahead_threads=2 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=23 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
**[mp4 @ 0x442c9e0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Last message repeated 2 times
[mp4 @ 0x442c9e0] Could not find tag for codec ass in stream #2, codec not currently supported in container**
Output #0, mp4, to '001.mp4':
Metadata:
title : DB
encoder : Lavf57.42.100
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 720x540 [SAR 1:1 DAR 4:3], q=-1--1, 23.98 fps, 24k tbn, 23.98 tbc (default)
Metadata:
encoder : Lavc57.50.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1(jpn): Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
encoder : Lavc57.50.100 aac
Stream #0:2(pol): Subtitle: ass (default)
Metadata:
title : Grupa
encoder : Lavc57.50.100 ass
Stream mapping:
Stream #0:1 (h264) -> overlay:main (graph 0)
Stream #1:0 (png) -> overlay:overlay (graph 0)
overlay (graph 0) -> Stream #0:0 (libx264)
Stream #0:0 -> #0:1 (vorbis (native) -> aac (native))
Stream #0:2 -> #0:2 (ass (ssa) -> ass (native))
**Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument**
[aac @ 0x43bf600] Qavg: -nan