
Recherche avancée
Médias (1)
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (64)
-
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 (...) -
Les statuts des instances de mutualisation
13 mars 2010, parPour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (9840)
-
We made it to 10K followers on GitHub !
2 octobre 2018, par Matomo Core Team — CommunityMatomo has now officially reached 10,000 stars on Github ! It warms our hearts to know we’re on the right path and still getting such great support.
From the team here we’d like to say thank you ! Especially to all of you who have made Matomo the #1 free open source web analytics platform in the world !
Today, Matomo is used on over 1.4 million websites, in over 190 countries, translated in more than 50 languages ; and it’s all because of you.
The most exciting part is that this is only the beginning, there is an exciting journey ahead and with your help we will continue our mission to always respect your privacy and give users full control of their data.
-
Fade Video-Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
27 octobre 2018, par varmashrivastavaI am using below command to add Fade In Fade Out effect to my video
{"-y", "-ss", "" + startMs / 1000, "-t", "" + (endMs - startMs) / 1000, "-i", inputPath, "-acodec", "copy", "-vf", "fade=t=in:st=0:d=5,fade=t=out:st=" + String.valueOf((endMs - startMs) / 1000 - 5) + ":d=5", outputPath};
I received below error-
"Failure3.3 5 .3gpffmpeg version n3.0.1 Copyright (c) 2000-2016 the
FFmpeg developers\n built with gcc 4.8 (GCC)\n configuration :
—target-os=linux —cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
—arch=arm —cpu=cortex-a8 —enable-runtime-cpudetect —sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot
—enable-pic —enable-libx264 —enable-libass —enable-libfreetype —enable-libfribidi —enable-libmp3lame —enable-fontconfig —enable-pthreads —disable-debug —disable-ffserver —enable-version3 —enable-hardcoded-tables —disable-ffplay —disable-ffprobe —enable-gpl —enable-yasm —disable-doc —disable-shared —enable-static —pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config —prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a —extra-cflags=’-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all’ —extra-ldflags=’-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib
-Wl,-z,relro -Wl,-z,now -pie’ —extra-libs=’-lpng -lexpat -lm’ —extra-cxxflags=\n libavutil 55. 17.103 / 55. 17.103\n libavcodec 57. 24.102 / 57. 24.102\n libavformat 57. 25.100 /
57. 25.100\n libavdevice 57. 0.101 / 57. 0.101\n libavfilter 6. 31.100 / 6. 31.100\n libswscale 4. 0.100 / 4. 0.100\n libswresample 2. 0.101 / 2. 0.101\n libpostproc 54. 0.100 /
54. 0.100\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/DCIM/Camera/VID_20180825_071734915.3gp’ :\n
Metadata :\n major_brand : 3gp4\n minor_version : 0\n
compatible_brands : isom3gp4\n creation_time : 2018-08-25
01:47:47\n com.android.version : 8.0.0\n Duration : 00:00:10.83,
start : 0.000000, bitrate : 17217 kb/s\n Stream #0:0(eng) : Video :
h264 (High) (avc1 / 0x31637661), yuv420p(tv, unknown/bt470bg/unknown),
1920x1080, 16756 kb/s, SAR 1:1 DAR 16:9, 29.49 fps, 29.58 tbr, 90k
tbn, 180k tbc (default)\n Metadata :\n rotate : 90\n
creation_time : 2018-08-25 01:47:47\n handler_name :
VideoHandle\n Side data :\n displaymatrix : rotation of -90.00
degrees\n Stream #0:1(eng) : Audio : aac (LC) (mp4a / 0x6134706D),
48000 Hz, mono, fltp, 128 kb/s (default)\n Metadata :\n
creation_time : 2018-08-25 01:47:47\n handler_name :
SoundHandle\n[h263 @ 0xf49ff400] H.263 does not support resolutions
above 2048x1152\nOutput #0, 3gp, to
’/storage/emulated/0/Movies/fade_video.3gp’ :\n Metadata :\n
major_brand : 3gp4\n minor_version : 0\n
compatible_brands : isom3gp4\n com.android.version : 8.0.0\n
Stream #0:0(eng) : Video : h263, none, q=2-31, 128 kb/s, SAR 1:1 DAR
0:0, 29.58 fps (default)\n Metadata :\n handler_name :
VideoHandle\n creation_time : 2018-08-25 01:47:47\n
encoder : Lavc57.24.102 h263\n Stream #0:1(eng) : Audio : aac
(LC) (mp4a / 0x6134706D), 48000 Hz, mono, 128 kb/s (default)\n
Metadata :\n creation_time : 2018-08-25 01:47:47\n
handler_name : SoundHandle\nStream mapping :\n Stream #0:0 -> #0:0
(h264 (native) -> h263 (native))\n Stream #0:1 -> #0:1 (copy)\nError
while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height\n"Why is causing this error in above command ?Any help will be welcome.
-
FFmpeg in Python File already exists error
24 septembre 2018, par Abdul RehmanI’m working on a project using python(3.6) and Django(2.0) in which i’m converting a video to mp4 if it’s in any other formate.
Here’s my code :
from views.py :
def generate_thumbnail(filename, thumb_name):
print('func called')
print(filename)
video_input_path = os.path.join(filename)
img_output_path = os.path.join(thumb_name)
subprocess.call(['ffmpeg', '-i', video_input_path, '-ss', '00:00:00.000', 'vframes', '1', img_output_path])
def convert_to_mp4(video_name, only_name):
os.popen(
"ffmpeg -i '{input}' -ac 2 -b:v 2000k -c:a aac -c:v libx264 -b:a 160k -vprofile high -bf 0 -strict experimental -f mp4 '{output}.mp4'".format(
input=video_name, output=only_name))
return True
def perform_upload(video, thumbnail):
print('vdieo name is: {}'.format(video))
servise = discovery.build('storage', 'v1', credentials=credentials)
bucket_name = 'test_bucket004'
print('Uploading the video...')
media = MediaFileUpload(video, chunksize=4149304, mimetype='video/mp4',
resumable=True)
req = servise.objects().insert(
bucket=bucket_name,
name=str(video),
media_body=media,
body={"cacheControl": "public,max-age=31536000"},
predefinedAcl='publicRead'
)
resp = None
while resp is None:
status, resp = req.next_chunk()
print(resp)
video_url = 'http://storage.googleapis.com/' + bucket_name + '/' + str(video)
print('Uploading your thumbnail...')
media = MediaFileUpload(thumbnail, chunksize=4149304, mimetype='image/jpeg',
resumable=True)
req = servise.objects().insert(
bucket=bucket_name,
name=str(thumbnail),
media_body=media,
body={"cacheControl": "public,max-age=31536000"},
predefinedAcl='publicRead'
)
resp = None
while resp is None:
status, resp = req.next_chunk()
print(resp)
thumb_url = 'https://storage.googleapis.com/' + bucket_name + '/' + str(thumbnail)
return video_url, thumb_url
class VideoConverter(generics.ListCreateAPIView):
def get(self, request, *args, **kwargs):
return HttpResponse('Get request', status=200)
def post(self, request, *args, **kwargs):
serializer = VideoConverterSerializer(data=self.request.data)
validation = serializer.is_valid()
print(serializer.errors)
if validation is True:
url = request.POST.get('video_url')
filename = url.split('/')
filename = filename[-1]
print(filename)
ext = filename.split('.')
print(ext[-1])
only_name = ext[0]
urllib.request.urlretrieve(url, filename)
generate_thumbnail(filename, only_name + '_thumbnail.jpg')
if ext == 'mp4':
videourl, thumb_url = perform_upload(filename, only_name + '_thumbnail.jpg')
else:
conversion = convert_to_mp4(filename, only_name)
if conversion is True:
videourl, thumb_url = perform_upload(only_name + '.mp4', only_name + '_thumbnail.jpg')
return HttpResponse('Video url is: {}\n \nThumbnail url is: {}'.format(videourl, thumb_url))
else:
return HttpResponse('Not a valid request')But when I pass it a video of Mp4 format it returns an error in the IDE console like this :
ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
built with Apple LLVM version 10.0.0 (clang-1000.10.43.1)
configuration : —prefix=/usr/local/Cellar/ffmpeg/4.0.2 —enable-shared —enable-pthreads —enable-version3 —enable-hardcoded-tables —enable-avresample —cc=clang —host-cflags= —host-ldflags= —enable-gpl —enable-libmp3lame —enable-libx264 —enable-libxvid —enable-opencl —enable-videotoolbox —disable-lzma
libavutil 56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 1.100 / 5. 1.100
libswresample 3. 1.100 / 3. 1.100
libpostproc 55. 1.100 / 55. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’PHP_GCS.mp4’ :
Metadata :
major_brand : mp42
minor_version : 1
compatible_brands : mp41mp42isom
creation_time : 2018-08-03T13:08:04.000000Z
Duration : 00:01:21.40, start : 0.000000, bitrate : 1584 kb/s
Stream #0:0(und) : Video : h264 (Main) (avc1 / 0x31637661), yuv420p, 1918x1078 [SAR 1:1 DAR 137:77], 1581 kb/s, 30 fps, 30 tbr, 600 tbn, 1200 tbc (default)
Metadata :
creation_time : 2018-08-03T13:08:04.000000Z
handler_name : Core Media VideoFile ’PHP_GCS.mp4’ already exists. Overwrite ? [y/N]
and stop the execution here until I press the enter button.I’m really confused why this is happining because when the video is already mp4 i’m not using
ffmpeg
but only for thumbnail generaton.What can be wrong here ?
Thanks in advance !