
Recherche avancée
Autres articles (111)
-
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (10710)
-
regarding h264_qsv encoding speed in ffmpeg
31 janvier 2021, par TONYAs we know, now ffmpeg supports intel hardware encoding(h264 qsv).
But it doesn't support "ultra fast", is there any settings to improve the encoding speed ?


m_encoder = avcodec_find_encoder_by_name("h264_qsv");
if(m_encoder == nullptr){
 LOG(ERROR)<<"Find H264 Encoder failed";
 return false;
}
m_ctx = avcodec_alloc_context3(m_encoder);
m_ctx->bit_rate = bitrate_kbps*1024;
m_ctx->width = m_width;
m_ctx->height = m_height;
m_ctx->time_base = { 1, (int)fps };
m_ctx->qmin = 10;
m_ctx->qmax = 35;
m_ctx->gop_size = fps;
m_ctx->max_b_frames = 0;
m_ctx->has_b_frames = false;

m_ctx->codec_id = m_encoder->id;
m_ctx->codec_type = AVMEDIA_TYPE_VIDEO;
m_ctx->pix_fmt = m_h264InputFormat;

AVDictionary *param = nullptr;
av_dict_set(&param, "look_ahead", "0", 0);
av_dict_set(&param, "look_ahead_depth", "8", 0);
av_dict_set(&param, "preset", "veryfast", 0);
av_dict_set(&param, "tune", "zerolatency", 0);

int ret = avcodec_open2(m_ctx, m_encoder, &param);



-
How can record music playing on headphone ?
27 avril 2022, par showkeyList all the cards in my pc :


pacmd list-cards 
2 card(s) available.
 index: 1
 name: 
 driver: 
 owner module: 7
 properties:
 alsa.card = "0"
 alsa.card_name = "HD-Audio Generic"
 alsa.long_card_name = "HD-Audio Generic at 0xfccc8000 irq 59"
 alsa.driver_name = "snd_hda_intel"
 device.bus_path = "pci-0000:09:00.1"
 sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:09:00.1/sound/card0"
 device.bus = "pci"
 device.vendor.id = "1002"
 device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
 device.product.id = "15de"
 device.product.name = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"
 device.string = "0"
 device.description = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"
 module-udev-detect.discovered = "1"
 device.icon_name = "audio-card-pci"
 profiles:
 output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
 output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
 output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
 output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
 output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
 output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
 output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
 output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
 output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
 off: Off (priority 0, available: unknown)
 active profile: <off>
 ports:
 hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
 properties:
 device.icon_name = "video-display"
 hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
 properties:
 device.icon_name = "video-display"
 hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
 properties:
 device.icon_name = "video-display"
 index: 2
 name: 
 driver: 
 owner module: 8
 properties:
 alsa.card = "2"
 alsa.card_name = "HD-Audio Generic"
 alsa.long_card_name = "HD-Audio Generic at 0xfccc0000 irq 60"
 alsa.driver_name = "snd_hda_intel"
 device.bus_path = "pci-0000:09:00.6"
 sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:09:00.6/sound/card2"
 device.bus = "pci"
 device.vendor.id = "1022"
 device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
 device.product.id = "15e3"
 device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"
 device.string = "2"
 device.description = "Family 17h (Models 10h-1fh) HD Audio Controller"
 module-udev-detect.discovered = "1"
 device.icon_name = "audio-card-pci"
 profiles:
 input:analog-stereo: Analog Stereo Input (priority 65, available: no)
 output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
 output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)
 output:analog-surround-40: Analog Surround 4.0 Output (priority 1200, available: unknown)
 output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 1265, available: no)
 output:analog-surround-51: Analog Surround 5.1 Output (priority 1300, available: unknown)
 output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 1365, available: no)
 output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
 output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5565, available: no)
 output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (priority 300, available: unknown)
 output:iec958-ac3-surround-51+input:analog-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Analog Stereo Input (priority 365, available: no)
 off: Off (priority 0, available: unknown)
 active profile: 
 sinks:
 alsa_output.pci-0000_09_00.6.analog-stereo/#0: Family 17h (Models 10h-1fh) HD Audio Controller Analog Stereo
 sources:
 alsa_output.pci-0000_09_00.6.analog-stereo.monitor/#1: Monitor of Family 17h (Models 10h-1fh) HD Audio Controller Analog Stereo
 ports:
 analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
 properties:
 device.icon_name = "audio-input-microphone"
 analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
 properties:
 device.icon_name = "audio-input-microphone"
 analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
 properties:
 
 analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: yes)
 properties:
 
 analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: yes)
 properties:
 device.icon_name = "audio-headphones"
 iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
 properties:
</off>


Playing a music on speaker,record it with ffmpeg and save as
music.mp3
in current directory.

device_speaker="alsa_output.pci-0000_09_00.6.analog-stereo.monitor"
ffmpeg -f pulse -i $device_speaker music.mp3



I turn off the speaker and play the music on my headphone,how can record it with ffmpeg ?


-
Decoding to specific pixel format in ffmpeg with C++
26 juillet 2019, par Lucas ZanellaI need to decode video but my video player only supports RGB8 pixel format. So I’m looking into how to do pixel format conversion in the GPU, preferably in the decoding process, but if not possible, after it.
I’ve found How to set decode pixel format in libavcodec ? which explains how to decode video on ffmpeg to an specific pixel format, as long as it’s suported by the codec.
Basically,
get_format()
is a function which chooses, from a list of supported pixel formats from the codec, a pixel format for the decoded video. My questions are :- Is this list of supported codec output formats the same for all computers ? For example, if my codec is for H264, then it will always give me the same list on all computers ? (assuming same ffmpeg version of all computers)
- If I choose any of these supported pixel formats, will the pixel format conversion always happen in the GPU ?
- If some of the pixel format conversions won’t happen in the GPU, then my question is : does
sws_scale()
function converts in the GPU or CPU ?