Recherche avancée

Médias (0)

Mot : - Tags -/alertes

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (65)

Sur d’autres sites (13936)

  • avcodec/ffwavesynth : use uint32_t to compute difference, it is enough

    21 juin 2019, par Michael Niedermayer
    avcodec/ffwavesynth : use uint32_t to compute difference, it is enough
    

    Fixes : signed integer overflow : 6494225984479297536 - -6043795377581187040 cannot be represented in type 'long'
    Fixes : 15285/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFWAVESYNTH_fuzzer-5632780307791872

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/ffwavesynth.c
  • ffmpeg to calculate audio/visual difference between compressed and non-compressed video

    14 juin 2019, par Asymetr

    I’m trying to calculate the audio + visual difference between a harshly compressed video file and one that hasn’t been.
    I’m using pipes because ultimately I wish this to take src from a camera stream.

    I’ve managed to get the video results that I’m looking for, but I’m struggling with the audio.
    I’ve added a line to invert the phase of the compressed audio, so that when they add up in the blend they should almost cancel each other out, but that doesn’t happen.

    ffmpeg -i input.avi -f avi -c:v libxvid -qscale:v 30 -c:a wmav1 - | \
    ffmpeg -i - -f avi -af "aeval='-val(0)':c=same" - | \
    ffmpeg -i input.avi -i - -filter_complex "blend=all_mode=difference" -c:v libx264 -crf 18 -f avi - | \
    ffplay -

    I can still hear all the audio, when what I should be hearing are solely compression artifacts. thx

  • Difference between Deinterlace and Progressive

    21 février 2019, par Sasidharan S

    Is it deinterlace and progressive are same in ffmpeg or different ?

    If it is different how to convert from progressive scan to deinterlace in ffmpeg.

    Code I use :

    ffmpeg -ss 00:00:00.000 -t 00:01:00.000 -i 1.mp4 -ss 00:01:00.001 -t 00:02:00.000 -i 2.mp4 -filter_complex "[0:v:0] [1:v:0] concat=n=2:v=1[v] " -map "[v]" -c:v libx264 -preset fast -profile:v high -level 4.1 -coder 1 -yadif -pix_fmt yuv420p -g 50 -bf 3 -x264-params "keyint_min=50:sc_threshold=0:nal-hrd=cbr:subq=6:motion-est=1:trellis=2:8x8dct=1:b-pyramid=0" -b:v:0 500k -minrate 500k -maxrate 500k -bufsize 100k -s:v:0 512x384 -f mp4 -threads 4 -filter_complex "[0:a] [1:a] concat=n=2:v=0:a=1[a]" -map "[a]" -ar 48000 -ac 2 -b:a 128K -write_tmcd off SD_4X3_500k_1.mp4