
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (31)
-
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 (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)
Sur d’autres sites (6325)
-
FFMPEG missing audio when remuxing AVI to MP4
24 juillet 2022, par JobaI want to convert from .avi to .mp4 without any quality impact.


When I use ffmpeg cli to remux the file the output file is missing the audio.




ffmpeg -i input.mpg.avi -c copy output.mp4




➜ Desktop ffmpeg -i input.mpg.avi -c copy output.mp4
ffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers
 built with Apple clang version 13.1.6 (clang-1316.0.21.2.5)
 configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/5.0.1_3 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-neon
 libavutil 57. 17.100 / 57. 17.100
 libavcodec 59. 18.100 / 59. 18.100
 libavformat 59. 16.100 / 59. 16.100
 libavdevice 59. 4.100 / 59. 4.100
 libavfilter 8. 24.100 / 8. 24.100
 libswscale 6. 4.100 / 6. 4.100
 libswresample 4. 3.100 / 4. 3.100
 libpostproc 56. 3.100 / 56. 3.100
Input #0, avi, from 'input.mpg.avi':
 Metadata:
 software : transcode-1.0.6
 Duration: 01:45:46.56, start: 0.000000, bitrate: 2055 kb/s
 Stream #0:0: Video: mpeg4 (Simple Profile) (DX50 / 0x30355844), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1915 kb/s, 25 fps, 25 tbr, 25 tbn
 Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, fltp, 128 kb/s
Output #0, mp4, to 'output.mp4':
 Metadata:
 software : transcode-1.0.6
 encoder : Lavf59.16.100
 Stream #0:0: Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=2-31, 1915 kb/s, 25 fps, 25 tbr, 12800 tbn
 Stream #0:1: Audio: mp3 (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=158664 fps=142852 q=-1.0 Lsize= 1587337kB time=01:45:46.55 bitrate=2048.9kbits/s speed=5.71e+03x 
video:1483615kB audio:99165kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.287948%



-
Parsing custom track data from ARCore mp4 recordings
11 juillet 2022, par George EllicksonI'm using the Android ARCore Recording API to record custom data per frame and replay those values in tests to instrument test our ARCore functionality on devices and in CI. However, separately I'd also like to parse the generated mp4 recordings myself, outside of ARCore, and use my per frame recorded data for analysis. In my ARCore app, I'd like to simply be able to add custom text data like following, encoded as utf-8 strings (or really any other simple encoding) for the given ARCore frame :


val data = "Hello world!"
val buffer = ByteBuffer.wrap(data.encodeToByteArray())
frame.recordTrackData(TRACK_UUID_MY_DATA, buffer



I can't find any docs or good examples though of parsing the mp4 from ARCore and no luck in their arcore-android-sdk repo either. I've tried ffmpeg / ffprobe to figure out how the data is bundled into the MP4, but I'm stumped on which track to use and how best to deserialize as I'm unsure how the bytes are actually encoded under the hood.


Using ffmpeg, I just get information like this about the tracks :


Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'HoverCapture/ar-recording-tests/src/androidTest/res/raw/ar_recording_2_photos.mp4':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: isommp42
 creation_time : 2022-01-20T22:03:13.000000Z
 Duration: 00:00:17.12, start: 0.000000, bitrate: 26865 kb/s
 Stream #0:0[0x1](und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, unknown/bt470bg/unknown, progressive), 1920x1080, 25615 kb/s, 28.08 fps, 29.58 tbr, 90k tbn (default)
 Metadata:
 creation_time : 2022-01-20T22:03:13.000000Z
 handler_name : ISO Media file produced by Google Inc. Created on: 01/20/2022.
 vendor_id : [0][0][0][0]
 Stream #0:1[0x2](und): Data: none (mett / 0x7474656D), 18 kb/s (default)
 Metadata:
 creation_time : 2022-01-20T22:03:13.000000Z
 handler_name : ISO Media file produced by Google Inc. Created on: 01/20/2022.
 Stream #0:2[0x3](und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, unknown/bt470bg/unknown, progressive), 640x480, 1929 kb/s, 28.12 fps, 29.42 tbr, 90k tbn (default)
 Metadata:
 creation_time : 2022-01-20T22:03:13.000000Z
 handler_name : ISO Media file produced by Google Inc. Created on: 01/20/2022.
 vendor_id : [0][0][0][0]
 Stream #0:3[0x4](und): Data: none (mett / 0x7474656D), 18 kb/s (default)
 Metadata:
 creation_time : 2022-01-20T22:03:13.000000Z
 handler_name : ISO Media file produced by Google Inc. Created on: 01/20/2022.
 Stream #0:4[0x5](und): Data: none (mett / 0x7474656D), 54 kb/s (default)
 Metadata:
 creation_time : 2022-01-20T22:03:13.000000Z
 handler_name : ISO Media file produced by Google Inc. Created on: 01/20/2022.
 Stream #0:5[0x6](und): Data: none (mett / 0x7474656D), 54 kb/s (default)
 Metadata:
 creation_time : 2022-01-20T22:03:13.000000Z
 handler_name : ISO Media file produced by Google Inc. Created on: 01/20/2022.
 Stream #0:6[0x7](und): Data: none (mett / 0x7474656D), 0 kb/s (default)
 Metadata:
 creation_time : 2022-01-20T22:03:13.000000Z
 handler_name : ISO Media file produced by Google Inc. Created on: 01/20/2022.
 Stream #0:7[0x8](und): Data: none (mett / 0x7474656D), 6 kb/s (default)
 Metadata:
 creation_time : 2022-01-20T22:03:13.000000Z
 handler_name : ISO Media file produced by Google Inc. Created on: 01/20/2022.



-
FFMPEG:Invalid buffer size when converting video
30 juillet 2022, par Sar sinuaI'm trying to Pipe bytes in to FFMPEG in python and I've faced a problem.


import subprocess
from io import BytesIO

with open('input.mp4', 'rb') as f:
 input_byte=f.read()
command='ffmpeg -y -f rawvideo -video_size 320x240 -pixel_format yuv420p -framerate 15 -i pipe:0 -codec:a copy out.mp4'
process = subprocess.Popen(command, stdin=subprocess.PIPE, shell=True)

process.stdin.write(input_byte)
process.stdin.close()



The error I get is
Invalid buffer size, packet size 63420 < expected frame_size 115200 Error while decoding stream #0:0: Invalid argument


You can download the video from here.


ffmpeg version 2022-05-12-git-30e2bb0f64-full_build-www.gyan.dev