Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (98)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (9969)

  • Downloading individual songs from YouTube playlist [closed]

    23 août 2024, par user26961371
      

    • I've created a custom script using yt-dlp.
    • 


    • The script takes a single argument, which is the actual playlist URL.
    • 


    • I'm using the following command :
    • 


    


    yt-dlp --extract-audio --audio-format mp3 --yes-playlist -o "/Users/$USER/Desktop/%(id)s.%(ext)s" --embed-chapters $1


    


    Try :
I've run the command with a valid playlist URL, but it's downloading each song from the playlist into a single MP3 file for each song. I want to download each song as an individual file, not the entire playlist in a single file 15 times.

    


    Expectation :
I expect yt-dlp to download each song from the playlist as a separate MP3 file, rather than combining all songs into a single MP3 file for each song.

    


    Context :
The issue is likely due to the use of the --yes-playlist option, which tells yt-dlp to treat the input as a playlist URL and download all songs in one go.
I've checked the official documentation for yt-dlp, but I couldn't find a solution.

    


  • Find out what device to use for capturing with ffmpeg ?

    14 septembre 2013, par wvxvw

    I'm trying to broadcast my screen and I cannot capture audio. There's one complication however. I don't have pulseaudio, and it simply doesn't work on my system, so installing it is out of question. Below is the command I'm trying :

    ffmpeg -f alsa -i ??? -f x11grab -s 1920x1200 -r 15 -i :0.0 \
       -acodec pcm_s16le -vcodec libx264 \
       -preset fast -pix_fmt yuv420p -s 1280x800 -threads 0 -f flv "$URL"

    Here's the list of my audio devices :

    $ aplay -L
    null
       Discard all samples (playback) or generate zero samples (capture)
    default:CARD=PCH
       HDA Intel PCH, ALC269VB Analog
       Default Audio Device
    sysdefault:CARD=PCH
       HDA Intel PCH, ALC269VB Analog
       Default Audio Device
    front:CARD=PCH,DEV=0
       HDA Intel PCH, ALC269VB Analog
       Front speakers
    surround40:CARD=PCH,DEV=0
       HDA Intel PCH, ALC269VB Analog
       4.0 Surround output to Front and Rear speakers
    surround41:CARD=PCH,DEV=0
       HDA Intel PCH, ALC269VB Analog
       4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=PCH,DEV=0
       HDA Intel PCH, ALC269VB Analog
       5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=PCH,DEV=0
       HDA Intel PCH, ALC269VB Analog
       5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=PCH,DEV=0
       HDA Intel PCH, ALC269VB Analog
       7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    iec958:CARD=PCH,DEV=0
       HDA Intel PCH, ALC269VB Digital
       IEC958 (S/PDIF) Digital Audio Output
    hdmi:CARD=NVidia,DEV=0
       HDA NVidia, HDMI 0
       HDMI Audio Output
    hdmi:CARD=NVidia,DEV=1
       HDA NVidia, HDMI 0
       HDMI Audio Output
    hdmi:CARD=NVidia,DEV=2
       HDA NVidia, HDMI 0
       HDMI Audio Output
    hdmi:CARD=NVidia,DEV=3
       HDA NVidia, HDMI 0
       HDMI Audio Output

    I know that ??? should be something like hw:X,Y, but maybe it can be something else. I can't find the corresponding entry in the man page.

    As an aside, it would be great if you can suggest another audio codec. I can't find what are the options, and this particular one isn't compatible with FLV because of too high bitrate.

    PS. This is the error I'm getting :

    Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input
  • Seek issue with ffmpeg

    1er janvier 2015, par Ramesh

    I implemented one audio player using with ffmpeg for playing all format audio files in android.I used following code for seek the song.

            int64_t seekTime = av_rescale_q(seekValue * AV_TIME_BASE,
                       AV_TIME_BASE_Q,
                       fmt_ctx->streams[seekStreamIndex]->time_base);

               int64_t seekStreamDuration =
                       fmt_ctx->streams[seekStreamIndex]->duration;

               int flags = AVSEEK_FLAG_BACKWARD;
               if (seekTime > 0 && seekTime < seekStreamDuration)
                   flags |= AVSEEK_FLAG_ANY;

               int ret = av_seek_frame(fmt_ctx, seekStreamIndex, seek_target,
                       flags);

               if (ret < 0)
                   ret = av_seek_frame(fmt_ctx, seekStreamIndex, seekTime,
                           flags);

             avcodec_flush_buffers(dec_ctx);

    Its working fine for most of the songs.But some of the mp3 songs getting duration problem.For example if the song length is 2 mins if i seek the song to some position then finally song ends with 2 mins 10 seconds.I get this issue with only mp3 songs.Without seeking the same song ends with exact time. I am using ffmpeg 2.1 The some code working fine with ffmpeg 0.11.1 Please provide any information about this issue.