
Recherche avancée
Autres articles (63)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Submit enhancements and plugins
13 avril 2011If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.
Sur d’autres sites (10027)
-
How does MPG determine its default audio track ?
1er octobre 2022, par codedreadI have some mpg files that I transcoded from DVDs I bought a long time ago (maybe 20 years ago). ffprobe :


Input #0, mpeg, from 'da-orig.mpg':
 Duration: 00:06:59.44, start: 0.044100, bitrate: 6354 kb/s
 Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, progressive), 720x480 [SAR 8:9 DAR 4:3], Closed Captions, 31 fps, 59.94 tbr, 90k tbn
 Side data:
 cpb: bitrate max/min/avg: 7500000/0/0 buffer size: 1835008 vbv_delay: N/A
 Stream #0:1[0x85]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
 Stream #0:2[0x83]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
 Stream #0:3[0x81]: Audio: ac3, 48000 Hz, mono, fltp, 192 kb/s
 Stream #0:4[0x80]: Audio: ac3, 48000 Hz, mono, fltp, 192 kb/s



This shows there are 4 audio streams. When I play this file in VLC / QuickTime it seems that Audio Track 4 is the default. I'd like to understand how this is chosen. Is it something within the mpg container format or are players choosing the stream that has the lowest id (0x80) ?


More background, when I try to turn this into a mp4 file with the following command :


ffmpeg -i da-orig.mpg -c copy -map 0 da-copy.mp4


I get roughly the same size file, but the default audio track is stream #0:1[0x85].


What I want is an equivalent mp4 file (so the same audio track chosen).


-
What determine number of cpu core usage of filter select=gt(scene,0.1) ?
15 décembre 2022, par kocoten1992I've notice that when using filter gt(scene,0.1), for example :


ffmpeg -i big_buck_bunny.mkv -filter:v "select='gt(scene,0.1)',showinfo" -f null -


Depends on the video, number of cpu cores usage varies extremely (sometimes it 3 cores usage - other time 12 cores usage in different video).


Would like to ask what determine that logic ?


I try to read ffmpeg source code but not familiar with it, a general explanation would be enough, but much appreciate if you point out the line/directory determine that logic in https://github.com/FFmpeg/FFmpeg.


(Also not asking how to reduce cpu usage, interested in the logic determine that).


-
How to determine if ffmpeg supports an extension for the output file ?
9 février 2023, par JuribiyanWhen ffmpeg is given a command to output a file with a particular extension it presumably runs an internal algorithm do determine what encoder and/or muxer to use with it. Is there a command to find out whether a particular output extension is supported or not ? Like in imagemagick with a command
magick identify -list format
?

ffmpeg -h muxer=mp4
does not work with image formats likejpg
andpng
even though ffmpeg is capable of outputting images of these formats.

ffmpeg -formats
does not seem reliable enough as well as instead ofjpg
it hassinglejpg
and does not includepng
(onlyapng
andpng_pipe
).