
Recherche avancée
Médias (16)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (75)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (9063)
-
How ffmpeg work on server for different type of users ? [on hold]
7 août 2016, par samI have a question about ffmpeg and I am using mac and xampp and php and jQuery. I make a function that upload video or image file or another type when I saw examples of ffmpeg in Stack Overflow. My questions are :
-
client can be window user or mac or another than we have to download all different type of ffmpeg file for example ffmpeg.exe and mac can be another because when I saw how to download ffmpeg than they show me different operating system.
-
And where we have to save ffmpeg file in xampp
-
If I download all things for mac and I run it and it works and I make my website online and than any Windows user or Linux user will upload video it will work for him also. But we do not client download ffmpeg in their system
If anybody know good example of create thumbnail for video please tell me.
-
-
ffmpeg - dump_format() function print out 00:00:00
16 juin 2013, par Juneyoung OhI am working with ffmpeg.
The only function that I needed is just extract duration of video on memory, not console.
to do this, I realized that I have to redesign dump_format() function
witch defined in avformat.h.
below is the original source and especially what I need is dump_format
that located in line 3063.
http://ffmpeg.org/doxygen/0.6/libavformat_2utils_8c-source.html#l03063
when I use dump_format, it returns everything fine but except duration.
duration always returns 00:00:00.
below is my test code. When I call line 31 is fine, but not 32.
I want know what is wrong with my code.
I suspect the fact that I dropped function dump_metadata.
But everytime I use that function console prints undefined function error.
1 #include <libavcodec></libavcodec>avcodec.h>
2 #include <libavformat></libavformat>avformat.h>
3 #include
4 #include
5 #include
6
7 void dump_format1(AVFormatContext* ic, int index, const char* url, int is_output);
8
9 int main(int argc, char *argv[]) {
10 AVFormatContext* pFormatCtx;
11 int secs;
12 //need those for printing...
13
14 if(argc < 2) {
15 printf("Please provide a movie file\n");
16 return -1;
17 }
18 //threat Exception for arguements.
19
20 av_register_all();
21 //register all codecs
22
23 //========== Check Context
24 if(av_open_input_file(&pFormatCtx, argv[1], NULL, 0, NULL) != 0)
25 return -1;
26
27 if(av_find_stream_info(pFormatCtx) < 0)
28 return -1;
29
30 //========== Print Basic Information
31 //dump_format(pFormatCtx, 0 , argv[1], 0);
32 dump_format1(pFormatCtx, 0 , argv[1], 0);
33
34
35 if(pFormatCtx->duration != AV_NOPTS_VALUE){
36 secs = (pFormatCtx->duration) / AV_TIME_BASE;
37 }
38
39 /*
40 AV_TIME_BASE = 1000000
41 */
42
43 printf("%d\n",secs);
44
45 return 0;
46 }
47
48 void dump_format1(AVFormatContext *ic,
49 int index,
50 const char *url,
51 int is_output) {
52
53 int i;
54 uint8_t *printed = av_mallocz(ic->nb_streams);
55 if (ic->nb_streams && !printed)
56 return;
57
58 av_log(NULL, AV_LOG_INFO, "%s #%d, %s, %s '%s':\n",
59 is_output ? "Output" : "Input",
60 index,
61 is_output ? ic->oformat->name : ic->iformat->name,
62 is_output ? "to" : "from", url);
63
64 dump_metadata(NULL, ic->metadata, " ");
65
66 //if (!is_output) {
67 av_log(NULL, AV_LOG_INFO, " Duration: ");
68
69
70
71
72 int hours, mins, secs, us;
73 secs = ic->duration / AV_TIME_BASE;
74 us = ic->duration % AV_TIME_BASE;
75 mins = secs / 60;
76 secs %= 60;
77 hours = mins / 60;
78 mins %= 60;
79 av_log(NULL, AV_LOG_INFO, "%02d:%02d:%02d.%02d", hours, mins, secs,
80 (100 * us) / AV_TIME_BASE);
81 return;
82 }I compile with following commands.
gcc -o tutorial01 tutorial01.c -lavformat -lavcodec -lswscale -lz
./tutorial01 /home/juneyoungoh/Videos/CON1234ID.tsThanks for your guidences in advance.
-
Bulk merge many .mp4s in one [closed]
14 août 2022, par Sam van ViegenI need some help with bulk merging a bunch of .mp4 files into one.


I tried to do this, which gave me a list of all the
.mp4
files :

(for %i in (*.mp4) do @echo file '%i') > mylist.txt



Then I tried this :


ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4



It made a convert but the video is kinda messed up. Its now 28 hours long and the video isn’t good.


What should I do ?