
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (16)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (2971)
-
I need the script to work on all dav files
4 décembre 2019, par audicomScript should run in recursive mode, find DAV files and start DAV to JPG conversions using FFMPEG. The script is working, identifying files in folders and starting conversions when DAV files exist, but is ignoring some DAV files.
When I put these DAV files back in the folder it converts correctly.
What could be wrong ?
I thought it might be the speed of the process, since the files are being generated in the folder, the script must wait for the file to be closed and complete to act. I tried to delay the conversion process by 15 seconds using a PING, but it still skips some files.cd E:\VM01\1002
MD "E:\COLETA SNAPSHOT\SNAPSHOT 1002"
MD "E:\COLETA SNAPSHOT\PROCESSED 1002"
:LOOP01
PING 1.1.1.1 -n 10 -w 6000 >NUL
For /R %%G in (*.Dav) do IF NOT EXIST "%%G" GOTO SKIP01
:LOOP02
PING 1.1.1.1 -n 10 -w 6000 >NUL
For /R %%G in (*.Dav) do IF EXIST "%%G" GOTO SKIP02
REM ALL THIS WILL BE DONE IF THE DAV FILE EXISTS
:
:
:SKIP01
REM 6 SECONDS OF DELAY ...
PING 1.1.1.1 -n 10 -w 6000 >NUL
GOTO LOOP01
:
:
:SKIP02
REM START CONVERSION
PING 1.1.1.1 -n 10 -w 15000 >NUL
For /R %%G in (*.Dav) do IF EXIST "%%G" ffmpeg -i "%%G" -r 0.2 -bt 20M -s 480x300 "%%~nG"%%06d.jpg
for /r %%G in (*.Dav) do Move "%%G" "E:\COLETA SNAPSHOT\PROCESSED 1002"
Move "*.jpg" "E:\COLETA SNAPSHOT\SNAPSHOT 1002"
PING 1.1.1.1 -n 10 -w 3000 >NUL
)
GOTO LOOP01 -
FFMPEG CPU encoding speed
22 janvier 2020, par natlozI would like to increase the speed of encoding videos. Thou having issue with it...
This is my CPU : Intel(R) Xeon(R) CPU E5-2603 v4 @ 1.70GHz
OS : Windows 10 PRO 64bitI don’t have a graphics card.
This is the script I’m using for current video encoding :
ffmpeg -y -re -i o.mov -vf subtitles=SUBS.srt -s 1920x1080 -r 25 -pixel_format yuv420p -aspect 16:9 -top 1 -qp 0 -c:v libx264 -b:v 600000 -minrate 600000 -maxrate 600000 -x264opts bitrate=6000:vbv-maxrate=6000:vbv-bufsize=400:ratetol=400:bitrate=6000:vbv-init=800:force-cfr=1 -g 33 -bf 3 -muxrate 6.5M -flags cgop+ilme+ildct -c:a mp2 -ac 2 -ar 48k -b:a 192k -f mpegts out.mpeg
The current speed I’m getting is : speed = 1x.
How can I force my CPU to work at full speed ?
-
Why do i get avc1.000000 ? (FFMPEG, H.264 Video Encoding, C++)
17 février 2020, par elastossI have a bunch of bitmaps, and need to make them encoded in h.264 in fragmented .mp4.
I’m using C++.
What could cause that my AVC Profile is set to 0, SPS[], PPS[] and codec string to avc1.000000 ?Output from the mp4info :
File :
minor version : 200
compatible brand : iso6
compatible brand : mp41
fast start : yesMovie :
duration : 0 ms
time scale : 1000
fragments : yesFound 1 Tracks
Track 1 :
flags : 3 ENABLED IN-MOVIE
id : 1
type : Video
duration : 0 ms
language : undmedia :
sample count : 0
timescale : 90000
duration : 0 (media timescale units)
duration : 0 (ms)
bitrate (computed) : 412.672 Kbps
sample count with fragments : 35
duration with fragments : 540000
duration with fragments : 6000 (ms)display width : 1280.000000
display height : 720.000000Sample Description 0
Coding : avc1 (H.264)
Width:n 1280
Height : 720
Depth : 24
AVC Profile : 0
AVC Profile Compat : 0
AVC Level : 0
AVC NALU Length Size : 0
AVC SPS : []
AVC PPS : []
Codecs String : avc1.000000I’m using things like
if (stream->codecpar->codec_id == AVCodecID.AV_CODEC_ID_H264)
{
err = ffmpeg.av_opt_set(cctx->priv_data, "preset", "ultrafast", 0);
err = ffmpeg.av_opt_set(cctx->priv_data, "tune", "zerolatency", 0);
err = ffmpeg.av_opt_set(cctx->priv_data, "profile", "high", 0);
}
...
AVDictionary* opts = null;
ffmpeg.av_dict_set(&opts, "movflags", "default_base_moof+frag_keyframe+empty_moov", 0);
...
AVPacket* pPacket = ffmpeg.av_packet_alloc();
try
{
int error;
do
{
ffmpeg.avcodec_send_frame(cctx, &convertedFrame).ThrowExceptionIfError();
error = ffmpeg.avcodec_receive_packet(cctx, pPacket);
} while (error == ffmpeg.AVERROR(ffmpeg.EAGAIN));
error.ThrowExceptionIfError();
}
finally
{
ffmpeg.av_packet_rescale_ts(pPacket, cctx->time_base, stream->time_base);
pPacket->stream_index = stream->index;
ffmpeg.av_interleaved_write_frame(ofctx, pPacket);
ffmpeg.av_packet_unref(pPacket);
}What am I missing ? I’m using examples from internet. Thought that if AVFrame is encoded (send_frame) with H264 with profiles and presets and received as AVPacket. It should be done automatically.
This is my first post, please be nice. Thanks in advance for helping.