
Recherche avancée
Médias (91)
-
999,999
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (75)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (9805)
-
How to add watermark text and image on video in ffmpeg in flutter
29 août 2022, par JatinI have tried so many commands from stackoverflow and manny other resources but no any single command worked.


Most of the time I got error




Error : No such filter : 'drawtext'


Error : initializing complex filters.


FATAL : Invalid argument




commands that I have used but did not work :


- 

- $path_of_file = input video path (most preferred .mp4)
- $fullTemporaryPathImage = image path (can be watermarked_logo.png)
- $fullTemporaryPath = font file path (can be .ttf , .otf) $filePath1
- $filePath1 = output video file path (most preferred .mp4)










Note : please provide path as per you directory.


- ""-i $path_of_file -vf "
 "[in]drawtext=text='StackOverflow':x=(w-text_w)-(w*0.04):y=(h-text_h)-(w*0.04)[out]"
 " -codec:a copy $filePath1""
 - "Command -i $path_of_file -filter_complex drawtext=fontfile=$fullTemporaryPath:text='Hello' $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex "
 "[0:v][1:v]overlay=10:10,drawtext=fontfile=fullTemporaryPath:text='Hello World':fontcolor=white@1.0:fontsize=30:y=h/2:x=0:enable='between(t,6,20)'"
 " -c:a copy -movflags +faststart output.mp4"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex " +
 "[0:v][1:v]overlay=10:10,drawtext=text='Hello'" +
 " -c:a copy -movflags +faststart $filePath1"
 - "-i $path_of_file -i -vf subtitle.$subtitlePath -c copy -c:s mov_text $filePath1"
 - "-i $path_of_file -i $subtitlePath -c copy -c:s mov_text $filePath1"
 - "-i $path_of_file -i $subtitlePath -c:v libx264 -ar 44100 -ac 2 -ab 128k -strict -2 -c:s mov_text -map 0 -map 1 $filePath1"
 - "-ss 00:00:15 -t 5 -i $path_of_file -vf drawtext=\"fontfile=$fullTemporaryPath:fontsize=200:fontcolor=white:box=1:boxcolor=black@0.8:x=w-tw-100:y=100: text='This'\" $filePath1"
 - "-i $path_of_file -f srt -i $subtitlePath -map 0:0 -map 0:1 -map 1:0 -c:v copy -c:a copy -c:s mov_text $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex [0:v] setpts=PTS-STARTPTS [v01] [1:v] setpts=PTS-STARTPTS [gradient] color=black@0:duration=8 format=yuv420p[txtbase][txtbase][v01]scale2ref[txtbase][v01][txtbase] drawtext=fontfile=$fullTemporaryPath:text='Test':fontcolor=white:fontsize=54:shadowcolor=black@0.6:shadowx=4:shadowy=2:box=1:boxcolor=a60000@0.4:boxborderw=10:x='310':y='350' fade=t=in:st=1:d=1:alpha=1 fade=t=out:st=7:d=1:alpha=1[txt] [v01][gradient] overlay [v02] [v02][txt] overlay[outv] -c:v libx264 -profile:v main -level:v 3.1 -pix_fmt yuv420p -c:a aac -map [outv] -f mp4 -y $filePath1"
 - "-i $path_of_file -vf " +
 "drawtext=enable='between(t,12,15)':fontfile=$fullTemporaryPath:text='Test test':x=10:y=10" +
 " -acodec copy $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex [0:v][1:v]overlay=5:5,drawtext=text=mytext:fontcolor=orange@1.0:fontsize=30:x=30:y=200[output] -map [output] -map 0:a -c:a copy $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex [0:v][1:v]overlay=5:5,drawtext=text=mytext:fontcolor=orange@1.0:fontsize=30:x=30:y=200[v] -map [v] -map 0:a -c:a copy $filePath1"
 - "-i $path_of_file -i $path_of_file -filter_complex [0:v:0] [0:a:0] [0:v:1] [0:a:1] concat=n=2:v=1:a=1 [v][a][v]drawtext=text='SOME TEXT':x=(w-text_w):y=(h-text_h):fontfile=$fullTemporaryPath:fontsize=30:fontcolor=white[v] \-map [v] -map [a] -deinterlace \-vcodec libx264 -pix_fmt yuv420p \-acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b:a 712000 -bufsize 512k \-f $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex [0:v][1:v]overlay=10:10 'drawtext=fontfile=$fullTemporaryPath:text=mytext:fontcolor=orange@1.0:fontsize=30:x=30:y=200[output]' -map [output] -c:a copy $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex [0:v][1:v]overlay=5:5,drawtext=text=mytext:fontcolor=orange@1.0:fontsize=30:x=30:y=200[v] -map [v] -map 0:a -c:a copy $filePath1"
 - "hii"
 - "-i $path_of_file -vf drawtext=text='My Text':enable='between(t,20,120)': x=(w-text_h)/2: y=(h-text_h)/2: fontsize=32: fontcolor=white: box=1: boxcolor=black@0.5: boxborderw=5: -c:a copy $filePath1 "
 - "'-i $path_of_file -i $fullTemporaryPathImage -filter_complex "[0:v][1:v]overlay=5:5, drawtext="expansion=strftime:fontfile='
 '$fullTemporaryPath'
 ':fontsize=14:fontcolor=white:shadowcolor=black:shadowx=2:shadowy=1:text='
 '$dateTimeVcode'
 ':x=w-tw-10:y=8"" -pix_fmt yuv420p -crf 49 -b:a 128k -cpu-used 8 -deadline realtime -strict experimental $filePath1'"



Command that is worked in IOS to overlay image on video :


"-i $path_of_file -i $fullTemporaryPathImage -filter_complex \"[0:v][1:v] overlay=25:25:enable='between(t,0,20)'\" -pix_fmt yuv420p -c:a copy $filePath1"



-
Senior Software Engineer for Enterprise Analytics Platform
28 janvier 2016, par Matthieu Aubry — UncategorizedWe’re looking for a lead developer to work on Piwik Enterprise Analytics core platform software. We have some exciting challenges to solve and need you !
You’ll be working with both fellow employees and our open-source community. Piwik staff lives in New Zealand, Europe (Poland, Germany) and in the U.S. We do the vast majority of our collaboration online.
We are a small, flexible team, so when you come aboard, you will play an integral part in engineering. As a leader you’ll help us to prioritise work and grow our community. You’ll help to create a welcoming environment for new contributors and set an example with your development practices and communications skills. You will be working closely with our CTO to build a future for Piwik.
Key Responsibilities
- Strong competency coding in PHP and JavaScript.
- Scaling existing backend system to handle ever increasing amounts of traffic and new product requirements.
- Outstanding communication and collaboration skills.
- Drive development and documentation of internal and external APIs (Piwik is an open platform).
- Help make our development practices better and reduce friction from idea to deployment.
- Mentor junior engineers and set the stage for personal growth.
Minimum qualifications
- 5+ years of experience in product development, security, usable interface design.
- 5+ years experience building successful production software systems.
- Strong competency in PHP5 and JavaScript application development.
- Skill at writing tests and reviewing code.
- Strong analytical skills.
Location
- Remote work position !
- or you can join us in our office based in Wellington, New Zealand or in Wrocław, Poland.
Benefits
- Competitive salary.
- Remote work is possible.
- Yearly meetup with the whole team abroad.
- Be part of a successful open source company and community.
- In our Wellington (NZ) and Wroclaw (PL) offices : snacks, coffee, nap room, Table football, Ping pong…
- Regular events.
- Great team of people.
- Exciting projects.
Learn more
Learn more what it’s like to work on Piwik in our blog post
About Piwik
At Piwik we develop the leading open source web analytics platform, used by more than one million websites worldwide. Our vision is to help the world liberate their analytics data by building the best open alternative to Google Analytics.
The Piwik platform collects, stores and processes a lot of information : hundreds of millions of data points each month. We create intuitive, simple and beautiful reports that delight our users.
Apply online
To apply for this position, please Apply online here. We look forward to receiving your applications !
-
SDL Audio - Plays only Static Noise
30 avril 2016, par bcpermafrostIm having an issue with playing audio.
Im new to the SDL World of things so im learning from a tutorial.
http://dranger.com/ffmpeg/tutorial03.html
As far as audio goes, i have exactly what he put down and didnt get the result he says I should get. In the end of the lesson he specifies that the audio should play normally. However all i get is excessively loud static noise. This leads me to believe that the packets arent being read correctly. However I have no idea how to debug or look for the issue.
Here is my main loop for parsing the packets :
while (av_read_frame(pFormatCtx, &packet) >= 0) {
if (packet.stream_index == videoStream) {
avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet);
if (frameFinished){
AVPicture pict;
pict.data[0] = yPlane;
pict.data[1] = uPlane;
pict.data[2] = vPlane;
pict.linesize[0] = pCodecCtx->width;
pict.linesize[1] = uvPitch;
pict.linesize[2] = uvPitch;
sws_scale(sws_ctx,
pFrame->data, pFrame->linesize,
0, pCodecCtx->height,
pict.data, pict.linesize);
//SDL_UnlockTexture(bmp);
SDL_UpdateYUVTexture(bmp, 0,
yPlane, pCodecCtx->width,
uPlane, uvPitch,
vPlane, uvPitch);
SDL_RenderClear(renderer);
SDL_RenderCopy(renderer, bmp, NULL, NULL);
SDL_RenderPresent(renderer);
av_free_packet(&packet);
}
}
else if (packet.stream_index == audioStream) {
packet_queue_put(&audioq, &packet);
}
else
av_free_packet(&packet);
SDL_PollEvent(&event);
switch (event.type) {
case SDL_QUIT:
quit = 1;
SDL_DestroyTexture(bmp);
SDL_DestroyRenderer(renderer);
SDL_DestroyWindow(screen);
SDL_Quit();
exit(0);
break;
default:
break;
}
}this is my initialization of the audio device :
aCodecCtxOrig = pFormatCtx->streams[audioStream]->codec;
aCodec = avcodec_find_decoder(aCodecCtxOrig->codec_id);
if (!aCodec) {
fprintf(stderr, "Unsupported codec!\n");
return -1;
}
// Copy context
aCodecCtx = avcodec_alloc_context3(aCodec);
if (avcodec_copy_context(aCodecCtx, aCodecCtxOrig) != 0) {
fprintf(stderr, "Couldn't copy codec context");
return -1; // Error copying codec context
}
wanted_spec.freq = aCodecCtx->sample_rate;
wanted_spec.format = AUDIO_U16SYS;
wanted_spec.channels = aCodecCtx->channels;
wanted_spec.silence = 0;
wanted_spec.samples = SDL_AUDIO_BUFFER_SIZE;
wanted_spec.callback = audio_callback;
wanted_spec.userdata = aCodecCtx;
if (SDL_OpenAudio( &wanted_spec, &spec) < 0) {
fprintf(stderr, "SDL_OpenAudio: %s\n", SDL_GetError());
return -1;
}
avcodec_open2(aCodecCtx, aCodec, NULL);
// audio_st = pFormatCtx->streams[index]
packet_queue_init(&audioq);
SDL_PauseAudio(0);The Call back (same as the tutorial) :|
void audio_callback(void *userdata, Uint8 *stream, int len) {
AVCodecContext *aCodecCtx = (AVCodecContext *)userdata;
int len1, audio_size;
static uint8_t audio_buf[(MAX_AUDIO_FRAME_SIZE * 3) / 2];
static unsigned int audio_buf_size = 0;
static unsigned int audio_buf_index = 0;
while (len > 0) {
if (audio_buf_index >= audio_buf_size) {
/* We have already sent all our data; get more */
audio_size = audio_decode_frame(aCodecCtx, audio_buf, sizeof(audio_buf));
if (audio_size < 0) {
/* If error, output silence */
audio_buf_size = 1024; // arbitrary?
memset(audio_buf, 0, audio_buf_size);
}
else {
audio_buf_size = audio_size;
}
audio_buf_index = 0;
}
len1 = audio_buf_size - audio_buf_index;
if (len1 > len)
len1 = len;
memcpy(stream, (uint8_t *)audio_buf + audio_buf_index, len1);
len -= len1;
stream += len1;
audio_buf_index += len1;
}
}