
Recherche avancée
Autres articles (22)
-
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 (...)
-
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (3867)
-
.swf file gets cut short after conversion to mp3 with ffmpeg
23 mai 2014, par galdikasSo I have a .swf file which i need to convert to .mp3 (or any other audio file), it looks like this :
vytautas@vytautas-SATELLITE-C660:~/Desktop$ ffmpeg -i rem.swf
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
built on May 18 2014 02:20:25 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-x11grab --enable-libpulse --enable-libx264 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr
libavutil 52. 84.100 / 52. 84.100
libavcodec 55. 62.100 / 55. 62.100
libavformat 55. 38.100 / 55. 38.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 5.100 / 4. 5.100
libavresample 1. 2. 0 / 1. 2. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
[swf @ 0x2762ae0] SWF compressed file detected
[swf @ 0x2762ae0] Could not find codec parameters for stream 0 (Audio: pcm_u8, 5512 Hz, mono, 44 kb/s): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, swf, from 'rem.swf':
Duration: 00:00:00.55, bitrate: 98 kb/s
Stream #0:0: Audio: pcm_u8, 5512 Hz, mono, 44 kb/s
Stream #0:1: Audio: mp3, 22050 Hz, mono, s16p, 128 kb/s
At least one output file must be specifiedSo it’s length is : 00:00:00.55, but then I convert it to .mp3 using this command :
ffmpeg -i rem.swf -map 0:1 -acodec copy rem.mp3
and this is the output I get :
**output ommited, as it is same as above**
Input #0, swf, from 'rem.swf':
Duration: 00:00:00.55, bitrate: 98 kb/s
Stream #0:0: Audio: pcm_u8, 5512 Hz, mono, 44 kb/s
Stream #0:1: Audio: mp3, 22050 Hz, mono, s16p, 128 kb/s
File 'rem.mp3' already exists. Overwrite ? [y/N] y
Output #0, mp3, to 'rem.mp3':
Metadata:
TSSE : Lavf55.38.100
Stream #0:0: Audio: mp3, 22050 Hz, mono, 128 kb/s
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 5kB time=00:00:00.33 bitrate= 130.7kbits/s
video:0kB audio:5kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 9.080189%So now the length is only 00:00:00.33, any ideas ?
Here is the link to the file, even if yous could try converting it on your own machine that would help as well :
https://docs.google.com/file/d/0ByJlZbStPk2cS0FwN09TX2VkWjg/edit
Thanks in advance !
-
AVI to MP4 - ffmpeg conversion
4 juin 2014, par Emmanuel BrunetI’m running a debian 7.5 machine with ffmpeg-2.2 installed following these instructions
Issue
I’m trying to display a mp4 video inside my browser. The original file has an AVI container format. I can successfully convert it to mp4 and the targetfile is readable (video + sound) with the totem movie player. So I thought everything would be OK displaying the bellow page
HTML5 web page
<video width="640" height="480" controls="controls">
<source src="/path/to/output.mp4" type="video/mp4">
<h3>Your browser does not support the video tag</h3>
</source></video>Input probe
$ ffprobe -show_streams input.avi
Duration: 00:08:22.90, start: 0.000000, bitrate: 1943 kb/s
Stream #0:0: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 64 kb/s
Stream #0:1: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x540 [SAR 1:1 DAR 4:3], 1870 kb/s, 29.97 fps, 25 tbr, 29.97 tbn, 25 tbcConvert
$ ffmpeg -y -fflags +genpts -i input.avi -acodec copy -vcodec copy ouput.mp4
Html browser
Opening the above html file plays sound but no video is displayed.
When I use other .mp4 files, videos succesfully displayed so I’m sure I face a conversion issue.
Not : I’ve tryed a lot of other ffmpeg options but without success.
Any idea ?
Thanks in advance.
-
RGB to YUV422 conversion with ffmpeg, incorrect colors
22 janvier 2016, par user3578571I’m trying to convert an 8bit RGB uncompressed to an mpeg2 mxf file (xdcam 422 HD 1080 50i) which is YUV422. With info from the FFMpeg docs and various websites i made the following command :
./ffmpeg -y -i test_lines.mov -pix_fmt yuv422p -vcodec mpeg2video -non_linear_quant 1 -flags +ildct+ilme -top 1 -dc 10 -intra_vlc 1 -qmax 2 -vtag xd5c -rc_max_vbv_use 1 -rc_min_vbv_use 1 -g 12 -b:v 50000k -minrate 50000k -maxrate 50000k -bufsize 8000k -acodec pcm_s24le -ar 48000 -bf 2 -ac 2 lines_HD.mxf
This gave me a result with the colors much brighter than the original.
So i tried adding the options
-color_range 1 -colorspace 1 -color_primaries 1 -color_trc 1
but this didn’t seem to do anything.After adding
colormatrix=bt601:bt709
i got a way better image, but slightly darker than the original and it also feels weird specifying this option cause the source is also in the REC709 colorspace, so why specify it differently ?Next i regenerated my source image to an YUV codec (prores) and rerun FFMpeg on it with the colors coming out just fine. Therefore i think it has to be an RGB -> YUV problem.
Does somebody have an idea how to this properly ? I can provide screenshots of the different results on a videoscope as soon as i’m back at the office, if anybody is interested.Last, i know there are various topics touching this subject but either they go way over my head FFmpeg wise or bring me to the stage where i already am.