Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (23)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (5364)

  • ffmpeg : Could not find audio only device

    5 août 2023, par ENunn

    I'm trying to record something off my sound card through ffmpeg, but it refuses to work.

    


    So I first got the list of my devices.

    


    ffmpeg -list_devices true -f dshow -i dummy
[dshow @ 00000228d837f240] "Digital Audio (S/PDIF) (2- Sound Blaster X-Fi Xtreme Audio)" (audio)
[dshow @ 00000228d837f240]   Alternative name "@device_cm_{33D9A762-90C8-1"1D0-BD43-00A0C911CE86}\wave_{B7E10DA0-B1E9-4930-8E38-90AECFE61349}


    


    Then I try to get an input working.

    


    ffmpeg -rtbufsize 1702000k -f dshow -audio_pin_name 1 -channels 2 -sample_rate 48000 -acodec pcm_s16le -i audio="Digital Audio (S/PDIF) (2- Sound Blaster X-Fi Xtreme Audio)" -c copy -f wav


    


    However, I get an error message.

    


    Trailing option(s) found in the command: may be ignored.
[dshow @ 0000025b849efa80] Could not set audio only options
[dshow @ 0000025b849efa80] Searching for audio device within video devices for Digital Audio (S/PDIF) (2- Sound Blaster X-Fi Xtreme Audio)
[dshow @ 0000025b849efa80] Could not find audio only device with name [Digital Audio (S/PDIF) (2- Sound Blaster X-Fi Xtreme Audio)] among source devices of type video.
audio=Digital Audio (S/PDIF) (2- Sound Blaster X-Fi Xtreme Audio): I/O error


    


    Don't know why it's saying it can't find an audio only device with that name when there's clearly an audio only device with that name. Tried truncating the name as well, and it didn't work either. Is there a fix for this ? I'm running ffmpeg version N-105384-g6a86dd1172-ge102fd98d6+3.

    


  • How can I combine HDR video with a still PNG in FFMPEG without messing up colors ?

    2 juin 2022, par Robert

    I'm trying to add a still image to the end of a video as a title-card. Normally this is simple, but the video is HDR (shot on an iPhone) and for reasons I don't understand that's causing the colors in the PNG to go nuts.

    


    Here's the original png :
Original colors

    


    Here's a screenshot from the end of the output video :
Changed colors

    


    Clearly something is amiss. I made the PNG image in Photoshop from a photo, and I've tried it with and without embedding the color profile without any noticeable difference.

    


    Here's the command for ffmpeg :

    


    ffmpeg -y\
 -t 5 -i '../inputs/video.MOV'\
 -loop 1 -t 5 -i '../../common/end-youtube.png'\
 -filter_complex '
[1:v] fade=type=in:duration=1:alpha=1, setpts=PTS-STARTPTS+5/TB[end];
[0:v][end] overlay [outV]
'\
 -map [outV] '../test.mp4'


    


    I've tried this with non-HDR videos and the colors look perfectly normal, so clearly the HDRness is somehow involved. I've also tried adding this line to set the colorspace etc of the output. It helps with the PNG (although it's not perfect) but then the video is washed out.

    


     -colorspace bt709 -color_trc bt709 -color_primaries bt709 -color_range mpeg \


    


    I don't really care if the output video is HDR or not, as long as the video and png parts both look visually close to the inputs. This is something I'll need to do to many videos, so if possible a solution that doesn't involve tweaking colors for each one would be ideal.

    


  • nvenc encoder performed resolution 2560 * 1440 encoding yuv444 failed ?

    8 novembre 2022, par Travis990

    NVIDIA Gefore GTX 1660Ti graphics card, I use video-sdk-samples for HEVC encoding, YUV format : NV_ENC_BUFFER_FORMAT_YUV444, resolution “1920 * 1080” and “3840 * 2160” resolution encoding is successful, but resolution 2560*1440 encoding, prompting error info :NV_ENC_ERR_INVALID_PARAM, I do not know where the problem lies ?

    


    void NvEncoder::DoEncode(NV_ENC_INPUT_PTR inputBuffer, std::vector<bool> &amp;vKeyFrame, std::vector> &amp;vPacket, NV_ENC_PIC_PARAMS *pPicParams)&#xA;{&#xA;    NV_ENC_PIC_PARAMS picParams = {};&#xA;    if (pPicParams)&#xA;    {&#xA;        picParams = *pPicParams;&#xA;    }&#xA;    picParams.version = NV_ENC_PIC_PARAMS_VER;&#xA;    picParams.pictureStruct = NV_ENC_PIC_STRUCT_FRAME;&#xA;    picParams.inputBuffer = inputBuffer;&#xA;    picParams.bufferFmt = GetPixelFormat();&#xA;    picParams.inputWidth = GetEncodeWidth();&#xA;    picParams.inputHeight = GetEncodeHeight();&#xA;    picParams.outputBitstream = m_vBitstreamOutputBuffer[m_iToSend % m_nEncoderBuffer];&#xA;    picParams.completionEvent = m_vpCompletionEvent[m_iToSend % m_nEncoderBuffer];&#xA;    NVENCSTATUS nvStatus = m_nvenc.nvEncEncodePicture(m_hEncoder, &amp;picParams);&#xA;    if (nvStatus == NV_ENC_SUCCESS || nvStatus == NV_ENC_ERR_NEED_MORE_INPUT)&#xA;    {&#xA;        m_iToSend&#x2B;&#x2B;;&#xA;        GetEncodedPacket(m_vBitstreamOutputBuffer, vKeyFrame, vPacket, false);&#xA;    }&#xA;    else&#xA;    {&#xA;        printf("picParams.inputWidth = %d,picParams.inputHeight = %d \n", picParams.inputWidth, picParams.inputHeight);&#xA;        NVENC_THROW_ERROR("nvEncEncodePicture API failed", nvStatus);&#xA;    }&#xA;}&#xA;&#xA;error:&#xA;nvEncEncodePicture Prompt Error:NV_ENC_ERR_INVALID_PARAM &#xA;&#xA;</bool>

    &#xA;

    `

    &#xA;