
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 (47)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (10036)
-
Concatenating video files with ffmpeg, no sound in output file [on hold]
1er septembre 2013, par JunaidI am concatenating different AVI video files. The input files has been specified in
input.txt
in the order required. First video file does not have sound track, but subsequent files have.After completion the resulting the operation, the output does not have audio !
If I remove first video files from input then resulting video gets sound. So it means the output format follows the first item in input list. How can I solve this problem.
Please suggest the options in ffmpeg ; not in any other tools like mencoder.
ffmpeg -f concat -i inputs.txt -c copy test.avi
ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 27 2013 09:22:45 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
configuration: --prefix=/home/junaid/ffmpeg_build --extra-cflags=-I/home/junaid/ffmpeg_build/include --extra-ldflags=-L/home/junaid/ffmpeg_build/lib --bindir=/home/junaid/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab
libavutil 52. 37.101 / 52. 37.101
libavcodec 55. 17.100 / 55. 17.100
libavformat 55. 9.100 / 55. 9.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
[concat @ 0x335a880] Invalid stream index 1
[concat @ 0x335a880] max_analyze_duration 5000000 reached at 5000000 microseconds
Input #0, concat, from 'inputs.txt':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (xvid / 0x64697678), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 25 tbc
Output #0, avi, to 'test.avi':
Metadata:
ISFT : Lavf55.9.100
Stream #0:0: Video: mpeg4 (xvid / 0x64697678), yuv420p, 720x480 [SAR 32:27 DAR 16:9], q=2-31, 25 fps, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[concat @ 0x335a880] Invalid stream index 1
Last message repeated 6368 times
frame= 3793 fps=0.0 q=-1.0 size= 11108kB time=00:02:37.96 bitrate= 576.1kbits/Invalid stream index 1
[concat @ 0x335a880] Invalid stream index 1
Last message repeated 7173 times
frame= 7921 fps=7801 q=-1.0 size= 22928kB time=00:05:30.16 bitrate= 568.9kbitsInvalid stream index 1
[concat @ 0x335a880] Invalid stream index 1
Last message repeated 6614 times
frame=11729 fps=7688 q=-1.0 size= 27057kB time=00:08:08.96 bitrate= 453.3kbitsInvalid stream index 1
[concat @ 0x335a880] Invalid stream index 1
Last message repeated 6247 times
frame=15324 fps=7565 q=-1.0 size= 44956kB time=00:10:38.92 bitrate= 576.4kbitsInvalid stream index 1
[concat @ 0x335a880] Invalid stream index 1
Last message repeated 6553 times
frame=19096 fps=7516 q=-1.0 size= 64014kB time=00:13:16.24 bitrate= 658.6kbitsInvalid stream index 1
[concat @ 0x335a880] Invalid stream index 1
Last message repeated 6753 times
frame=22983 fps=7558 q=-1.0 size= 79848kB time=00:15:58.36 bitrate= 682.5kbitsInvalid stream index 1
[concat @ 0x335a880] Invalid stream index 1
Last message repeated 7011 times
frame=27019 fps=7610 q=-1.0 size= 94130kB time=00:18:46.68 bitrate= 684.4kbitsInvalid stream index 1
[concat @ 0x335a880] Invalid stream index 1
Last message repeated 1302 times
frame=27772 fps=7658 q=-1.0 Lsize= 96618kB time=00:19:18.08 bitrate= 683.5kbits/s
video:95921kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.726908% -
RED5 1.0.2 recorded FLV convert to Mobile/HTML5 format with FFMPEG av out of sync
14 août 2014, par Daew daweI have problem with recorded video in Red5 v1.0.2 (i had issues with previous v1, it does not recorded any video, with 1.0.2 it works). When I record flv I want to convert it to some mp4. But I have problem with settings, because every time there is some issue with quality/audio sync. Can u please help me how to convert with ffmpeg (in future automatic process on server).
Second problem is that in flash client buffer length is always 0, but in v0.8 it was filled and on end I waited until empty, here I’m not sure how long should I wait. I founded this url http://code.google.com/p/red5/issues/detail?id=312 where they said to wait until i get UnPublish.Success, but that event I got only after ns.close()
My flash client record settings is (FP10) :
video :
- resolution = 640x360
- fps = 30
- keyframeinterval = 15
- video quality = 90
- bandwidth = 0
audio :
- microphone codec = SPEEX
- encodeQuality = 9
-
silencelevel = 0
-
bufferTime = 15
recorded video parameters in VLC (translated from czech to english) :
video
- Codec : Flash Video (FLV1)
- Resolution : 640x360
- format : Planar 4:2:0 YUV
audio
- codec : Speex Audio (spx )
- frequency : 16000Hz
- bits per sample : 16
- data flow : 16 kb/s
FFMEPG info about video :
Metadata:
server : Red5 Server 1.0.2 Rev: 4616
creationdate : Mon Sep 02 23:17:08 CEST 2013
canSeekToEnd : true
Duration: 00:00:33.24, start: 0.000000, bitrate: 645 kb/s
Stream #0:0: Video: flv1, yuv420p, 640x360, 625 kb/s, 1k tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: speex, 16000 Hz, mono, s16, 16 kb/sbsplayer showing 25fps - but I recorded 30fps, I dont understand this so much.
what I tried with ffmpeg (I’m ffmpeg newbie).
First I recorded 33sec long video
when I convert audio with command :
ffmpeg -i test.flv -ar 44100 -ab 160k -ac 1 output.mp3
, then the audio have only 30secI tried this commands, but no one with good solution
ffmpeg -i test.flv -vcodec mpeg4 -acodec libvo_aacenc output.mp4
ffmpeg -i test.flv -acodec libvo_aacenc -aq 200 outputsss.mp4
ffmpeg -i test.flv -c:v libvpx -c:a libvorbis output.webm // here is sound synced good - but sound have repeating silence lags (every 1-2s)really thank you for your help, I’m fighting with conversion many days :(
-
FFMpeg - Merge multiple rtmp stream inputs to a single rtmp output
5 septembre 2013, par Paulo Miguel AlmeidaI'm trying to combine/merge two rtmp streams and then publish 'em to another stream
Ex. :
ffmpeg -i rtmp://ip:1935/live/micMyStream7 -i rtmp://ip:1935/live/MyStream7 -strict -2 -f flv rtmp://ip:1935/live/bcove7
The scenario is the following, I got a stream which comes from an user's microphone that
is the first one (micMyStream7) and I also got a stream from another user but this one has audio and video(MyStream7).As they are talking to each other when a user is speaking, the other one would only be listening to and vice versa.
My idea is to set up a third stream called (bcove) which would "merge" both of them so that I could have spectators who would only be listening to the entire conversation between them.
This is the log that ffmpeg printed although I couldn't recognize any message which helped me out.
paulo@paulo-desktop:~$ ffmpeg -re -i rtmp://ip:1935/live/micMyStream7 -i rtmp://ip:1935/live/MyStream7 -strict -2 -f flv rtmp://ip:1935/live/bcove7
ffmpeg version N-56029-g2ffead9 Copyright (c) 2000-2013 the FFmpeg developers
built on Sep 4 2013 11:05:57 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
configuration:
libavutil 52. 43.100 / 52. 43.100
libavcodec 55. 31.100 / 55. 31.100
libavformat 55. 16.100 / 55. 16.100
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 83.102 / 3. 83.102
libswscale 2. 5.100 / 2. 5.100
libswresample 0. 17.103 / 0. 17.103
Input #0, flv, from 'rtmp://ip:1935/live/micMyStream7':
Metadata:
author :
copyright :
description :
keywords :
rating :
title :
presetname : Medium Bandwidth (300 Kbps) - VP6
creationdate : Wed Sep 4 16:41:52 2013
:
videodevice : Built-in iSight
videokeyframe_frequency: 5
audiodevice : External microphone
audiochannels : 1
audioinputvolume: 75
Duration: N/A, start: 0.000000, bitrate: 253 kb/s
Stream #0:0: Video: vp6f, yuv420p, 320x240, 204 kb/s, 44.83 tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: mp3, 22050 Hz, mono, s16p, 49 kb/s
Input #1, flv, from 'rtmp://ip:1935/live/MyStream7':
Metadata:
author :
copyright :
description :
keywords :
rating :
title :
presetname : Custom
creationdate : Wed Sep 4 12:02:24 2013
:
videodevice : FaceTime HD Camera (Built-in)
videokeyframe_frequency: 5
audiodevice : Internal microphone
audiochannels : 1
audioinputvolume: 75
Duration: N/A, start: 0.000000, bitrate: 253 kb/s
Stream #1:0: Video: vp6f, yuv420p, 320x240, 204 kb/s, 45.08 tbr, 1k tbn, 1k tbc
Stream #1:1: Audio: mp3, 22050 Hz, mono, s16p, 49 kb/s
Output #0, flv, to 'rtmp://ip:1935/live/bcove7':
Metadata:
author :
copyright :
description :
keywords :
rating :
title :
presetname : Medium Bandwidth (300 Kbps) - VP6
creationdate : Wed Sep 4 16:41:52 2013
:
videodevice : Built-in iSight
videokeyframe_frequency: 5
audiodevice : External microphone
audiochannels : 1
audioinputvolume: 75
encoder : Lavf55.16.100
Stream #0:0: Video: flv1 (flv) ([2][0][0][0] / 0x0002), yuv420p, 320x240, q=2-31, 200 kb/s, 1k tbn, 44.83 tbc
Stream #0:1: Audio: adpcm_swf ([1][0][0][0] / 0x0001), 22050 Hz, mono, s16, 88 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (vp6f -> flv)
Stream #0:1 -> #0:1 (mp3 -> adpcm_swf)
Press [q] to stop, [?] for help
[mp3 @ 0x3625ec0] overread, skip -9 enddists: -3 -300:14.44 bitrate= 224.0kbits/s
[mp3 @ 0x3625ec0] overread, skip -7 enddists: -3 -30:26.39 bitrate= 203.5kbits/sThanks in advance