
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (61)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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 (...)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (7185)
-
Audacity FFMPG exporting partial file
31 décembre 2016, par WilkenNew Problem Audacity with new FFMPEG, Export 8 channels to 7.1 and it cuts out at 23 minutes. its 2 hour long tracks. It goes to 1.x near the end, plenty of disk space, not sure what is wrong with it.
ffmpeg -i - -strict experimental -c:a aac -b:a 240k "F:\Something.aac"
ffmpeg version N-82966-g6993bb4 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 43.100 / 55. 43.100
libavcodec 57. 70.100 / 57. 70.100
libavformat 57. 61.100 / 57. 61.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 68.100 / 6. 68.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
Guessed Channel Layout for Input Stream #0.0 : 7.1
Input #0, wav, from 'pipe:':
Duration: N/A, bitrate: 5644 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 7.1, s16, 5644 kb/s
Output #0, adts, to 'F:\Something.aac':
Metadata:
encoder : Lavf57.61.100
Stream #0:0: Audio: aac (LC), 44100 Hz, 7.1, fltp, 240 kb/s
Metadata:
encoder : Lavc57.70.100 aac
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le (native) -> aac (native))
size= 63kB time=00:00:02.18 bitrate= 237.6kbits/s speed= 4.3x
size= 117kB time=00:00:03.99 bitrate= 240.0kbits/s speed=3.96x
size= 145kB time=00:00:04.94 bitrate= 240.3kbits/s speed= 2.4x
size= 193kB time=00:00:06.57 bitrate= 240.8kbits/s speed=2.57x
size= 249kB time=00:00:08.45 bitrate= 241.1kbits/s speed=2.76x
size= 293kB time=00:00:09.96 bitrate= 241.3kbits/s speed=2.45x
size= 353kB time=00:00:11.98 bitrate= 241.5kbits/s speed=2.62x
size= 386kB time=00:00:13.09 bitrate= 241.6kbits/s speed=2.58x
size= 441kB time=00:00:14.95 bitrate= 241.7kbits/s speed=2.42x
size= 506kB time=00:00:17.13 bitrate= 241.7kbits/s speed=2.57x
size= 575kB time=00:00:19.48 bitrate= 241.8kbits/s speed=2.72x
size= 589kB time=00:00:19.94 bitrate= 241.9kbits/s speed=2.53x
size= 655kB time=00:00:22.17 bitrate= 241.9kbits/s speed=2.65x
size= 736kB time=00:00:24.91 bitrate= 241.9kbits/s speed=2.81x
size= 737kB time=00:00:24.96 bitrate= 241.9kbits/s speed=2.63x
size= 809kB time=00:00:27.39 bitrate= 242.0kbits/s speed=2.74x
size= 885kB time=00:00:29.95 bitrate= 242.0kbits/s speed=2.71x
size= 31922kB time=00:17:56.36 bitrate= 243.0kbits/s speed=3.15x
size= 31991kB time=00:17:58.70 bitrate= 243.0kbits/s speed=3.15x
size= 32029kB time=00:17:59.96 bitrate= 243.0kbits/s speed=3.14x
size= 32053kB time=00:18:00.77 bitrate= 243.0kbits/s speed=3.14x
size= 32084kB time=00:18:01.84 bitrate= 243.0kbits/s speed=3.14x
size= 32116kB time=00:18:02.88 bitrate= 243.0kbits/s speed=3.14x
size= 32144kB time=00:18:03.83 bitrate= 243.0kbits/s speed=3.14x
size= 32177kB time=00:18:04.95 bitrate= 243.0kbits/s speed=3.13x
size= 32248kB time=00:18:07.34 bitrate= 243.0kbits/s speed=3.13x
.... Repeat of much of the same 3.0x throughout
size= 40419kB time=00:22:42.89 bitrate= 242.9kbits/s speed=3.03x
size= 40449kB time=00:22:43.91 bitrate= 242.9kbits/s speed=3.03x
size= 40480kB time=00:22:44.96 bitrate= 242.9kbits/s speed=3.03x
size= 40557kB time=00:22:47.56 bitrate= 242.9kbits/s speed=3.03x
size= 40628kB time=00:22:49.95 bitrate= 242.9kbits/s speed=3.03x
size= 40719kB time=00:22:53.01 bitrate= 242.9kbits/s speed=3.03x
size= 40751kB time=00:22:54.11 bitrate= 242.9kbits/s speed=1.06x
size= 40753kB time=00:22:54.15 bitrate= 242.9kbits/s speed=1.06x
video:0kB audio:40348kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.002666%
[aac @ 00000000026d5aa0] Qavg: 331.324 -
Using ffmpeg to scale app preview videos for the AppStore
1er décembre 2018, par Felipe FerriI’m generating an app preview video to send to the AppStore. Depending on the device type, the AppStore requires certain video resolutions.
I have a main video, with resolution 1920x1080, which I was able to upload.
I need to generate another video with the resolution 1920x886 for supporting 6.5" devices, so I used the following command to perform the scaling :
ffmpeg -i video_1920_1080.mp4 -vf scale=1920:886 -c:a copy video_1920_886.mp4
If I get the info for the generated video using ffmpeg -i I get the following result :
ffmpeg -i video_1920_886.mp4
ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --disable-jack --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'hittin_1920_886.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.83.100
Duration: 00:00:29.13, start: 0.000000, bitrate: 705 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x886 [SAR 443:540 DAR 16:9], 694 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
Metadata:
handler_name : VideoHandler
timecode : 00:00:10:20
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 2 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s
Metadata:
handler_name : TimeCodeHandler
timecode : 00:00:10:20Ok, so it seems the output video is in the correct 1920x886 resolution.
However, when I try to upload this video the AppStore complains that the video is in the incorrect resolution.
If I open the file properties window on macos, the following information appears for the same video :
And, if I open the same video on VLC, I can see the following info on the Media Info screen :
So :
- ffmpeg -i tells me the video is in the resolution 1920x886.
- macos file properties tells me the video is in the resolution 1575x886.
- VLC tells me the video has a Resolution of 1920x898 and a Display Resolution of 1920x886.
Why are there three different resolutions ? How can I change each one of them ? I suppose the appstoreconnect website expects the file properties resolution to be 1920x886. How can I change that ?
-
Unable to find replacement for -vol [closed]
21 février 2024, par Michael BentonI'm referring to this thread posted years ago.


While I was testing Downmixing without discarding the LFE channel (Dave_750's answer) on ffmpeg, which included the formula


ffmpeg -i "sourcetrack.dts" -c dca -vol 425 -af "pan=stereo|c0=0.5*c2+0.707*c0+0.707*c4+0.5*c3|c1=0.5*c2+0.707*c1+0.707*c5+0.5*c3" "outputstereo.dts"



the cmd raised the following error :


Unrecognized option 'vol'. Error splitting the argument list: Option not found



The formula I put in cmd wasn't the same as the one in the thread at the beginning, because I replaced in it the attributes of my ac3 track.


ffmpeg -i "inputsurround.ac3" -vol 425 -af "pan=stereo|c0=0.5*c2+0.707*c0+0.707*c4+0.5*c3|c1=0.5*c2+0.707*c1+0.707*c5+0.5*c3" -c:a ac3 -b:a 320k -ar 48000 "outputstereo.ac3"



Through this thread, I discovered that the -vol function was deprecated years ago.


I found another thread where the syntax used was


-af volume=N



(where N stands for a percentage or, if N is followed by "dB", a dB value).


I'm not sure if -af volume behaves exactly like -vol while downmixing to stereo the ac3.


I went back editing the formula :


ffmpeg -i "inputsurround.ac3" -af "volume=425" -af "pan=stereo|c0=0.5*c2+0.707*c0+0.707*c4+0.5*c3|c1=0.5*c2+0.707*c1+0.707*c5+0.5*c3" -c:a ac3 -b:a 320k -ar 48000 "outputstereo.ac3"



It raised the following warning (which didn't stop the file generation) :


Multiple -filter/-af/-vf options specified for stream 0, only the last option '-filter:a pan=stereo|c0=0.5*c2+0.707*c0+0.707*c4+0.5*c3|c1=0.5*c2+0.707*c1+0.707*c5+0.5*c3' will be used



As I already suspected, I couldn't use two "-af" in the same command. The generated file is useless, because ffmpeg only applied one of the two commands. I also tried with N defined in dB, with no success.


I continued my search and, from another thread, I learned that I could use


-filter_complex "[1] formula1;[0] formula2"



to resolve my issue.


My formula then became :


ffmpeg -i "inputsurround.ac3" -filter_complex "[1]volume=425;[0]pan=stereo|c0=0.5*c2+0.707*c0+0.707*c4+0.5*c3|c1=0.5*c2+0.707*c1+0.707*c5+0.5*c3" -c:a ac3 -b:a 320k -ar 48000 "outputstereo.ac3"



And it still raised an error :


Invalid file index 1 in filtergraph description [1]volume=425;[0]pan=stereo|c0=0.5*c2+0.707*c0+0.707*c4+0.5*c3|c1=0.5*c2+0.707*c1+0.707*c5+0.5*c3.
Error initializing complex filters: Invalid argument



To simplify the formula, I went back using -af with the properties of -filter_complex. And I got :


ffmpeg -i "inputsurround.ac3" -af "[1]volume=425;[0]pan=stereo|c0=0.5*c2+0.707*c0+0.707*c4+0.5*c3|c1=0.5*c2+0.707*c1+0.707*c5+0.5*c3" -c:a ac3 -b:a 320k -ar 48000 "outputstereo.ac3"



Again, another error :


Simple filtergraph '[1]volume=425;[0]pan=stereo|c0=0.5*c2+0.707*c0+0.707*c4+0.5*c3|c1=0.5*c2+0.707*c1+0.707*c5+0.5*c3' was expected to have exactly 1 input and 1 output. However, it had 2 input(s) and 2 output(s). Please adjust, or use a complex filtergraph (-filter_complex) instead.
[aost#0:0/ac3 @ 000001d83b4c4200] Error initializing a simple filtergraph
Error opening output file outputstereo.ac3.
Error opening output files: Invalid argument



whether I used a semicolon or comma as a separator.


I'm completely lost at this point as I don't have deep knowledge of the topic.


- 

-
has -vol been deprecated or I've searched badly/it's a syntax typo ?


-
if -vol has been deprecated, is there a way to rewrite the formula such that it outputs the result intended by the original user ?


-
if I replace c0, c1, c2, c3, c4, c5 to FL, FR, FC, LF, BL, BR in the formula, would I get a different channel layout ? (my file is : L, R, C, LFE, Ls, Rs)










I'll try to clear every doubt. Any help is highly appreciated !


-