Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (104)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (11837)

  • garbled audio when streaming to youtube using ffmpeg

    27 mai 2022, par skavish

    I am having some weird audio issues streaming to youtube using ffmpeg.

    


    The same stream on facebook and twitch is fine, but on youtube it has some garbling audio issues.

    


    Here is one of those streams : https://www.youtube.com/watch?v=zat4fhwFGUI

    


    Here is ffmpeg command which was used to stream this video. I removed input, output key and inserted newlines for readability.

    


    This command is streaming to youtube (last tee), to hls (first) and to mp4 (second). hls and mp4 do not have this audio issue. Also no issues if we add another tee to stream say to facebook as well.

    


    It happens only with youtube.

    


    I would appreciate any help or ideas on what is going on there. Thank you !

    


    ffmpeg -i XXXXXXXXXX -r 30 -preset ultrafast -tune zerolatency -threads 0 -vsync 1 -map 0:v -c:v libx264 -crf 23 -g 60.0 -sc_threshold 0 -keyint_min 60.0
-pix_fmt yuv420p -map 1:a:0 -c:a:0 aac -b:a:0 128k -ac 2 -ar 44100 -aq 0 -flags +global_header
-f tee
[f=hls:var_stream_map='v:0,a:0':select='v:0,a:0':hls_time=2.0:hls_playlist_type=event:
hls_flags=independent_segments+temp_file:master_pl_publish_rate=1:hls_segment_type=mpegts:hls_segment_filename=/tmp/10311326958150343888/stream_%v_%02d.ts:
master_pl_name=master.m3u8]/tmp/10311326958150343888/stream_%v.m3u8|

/tmp/10311326958150343888/stream.mp4|

[f=fifo:fifo_format=flv:recover_any_error=0:drop_pkts_on_overflow=1:attempt_recovery=1:recovery_wait_time=1:max_recovery_attempts=100:
onfail=ignore:format_opts=flvflags=no_duration_filesize]rtmp://a.rtmp.youtube.com/live2/xxxxxxxxxxxxxxx


    


  • FFmpeg api generating distorted image when using 422 or 420 chroma subsampling and SD resoltuion

    24 juin 2021, par faboudib

    I created an application based on FFmpeg api. The application reads video frames, does some processing, then writes the processed video frames to a new file. The application is working perfectly fine in most circumstances. However, I'm facing weird output when the application is configured to use 420 or 422 chroma subsampling with SD resolution (720x480). When using 420 or 422 chroma subsampling with HD resolution (1920x1080), the output turns out fine. With the distorted output I can see the problem is with the subsampled channels. The Y channel looks good, but Cr and Cb seem to be distorted.

    


    I am not using any specific codec options in the encoder and can replicate the issue with either prores or hevc codecs. If I output to raw binary video files I can't see any issues which confirms that the problem is happening sometime during encoding and the binary data fed into the AVFrame is properly formatted after subsampling.

    


    The images can be seen below :

    


    Original input video

    


    Correct output video (HD)

    


    Distorted output video (SD)

    


  • Encoding with FFMPEG stretches frames

    24 août 2017, par micropro.cz

    I am trying to encode video with FFMPEG into H.265, but I have a problem with a weird stretching. Input video is 1920x1080 and output has the same resolution, but when I compare both images on same timestamp, encoded video seems to be stretched by few pixels (it is visibly wider on both sizes despite the fact resolution is same). It seems that this stretching introduces ugly bluriness in whole video. It seems like FFMPEG crop few pixels from left and right (probably black pixels at the edge of video) and stretches content to fill those missing pixels and preserve same resolution.

    I did not find any way how to disable this behavior. I tried to change encoder from x265 to x264 to see if that is the problem, but result was still stretched.

    I used this command line parameters :

    ffmpeg -i input.mkv -c:v libx265 -preset medium -crf 23 -t 30 output.mp4

    -t 30 is there to test result visual quality on small sample of length 30 seconds.

    Does anyone have any idea why this happens and how to fix it ? Most visual quality is lost because of this deformation and not because of recompression, which I proved by encoding with -crf 0, which is basically lossless and result was still blurred.

    EDIT : Link to full console output : https://pastebin.com/gpMD5Qec