Recherche avancée

Médias (1)

Mot : - Tags -/embed

Sur d’autres sites (2120)

  • avformat/avio : Document the end of list case in avio_read_dir()

    27 mars 2015, par Michael Niedermayer
    avformat/avio : Document the end of list case in avio_read_dir()
    

    This was mentioned in a previous review

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/avio.h
  • avfilter/vf_showinfo : Fix erroneous results for mean and stdev with pixel bits >8

    6 janvier 2020, par Limin Wang
    avfilter/vf_showinfo : Fix erroneous results for mean and stdev with pixel bits >8
    

    Have tested with be and le pixel format on be and le system for >8bit.
    System :
    lmwang@ubuntu : /ffmpeg.git.mips$ grep HAVE_BIGENDIAN config.h
    ffmpeg.git git :(showinfo) ✗ grep HAVE_BIGENDIAN config.h

    Test result :
    1, yuv420p
    ./ffmpeg -f lavfi -i color=black:duration=1:r=1:size=1280x720,format=yuv420p,showinfo
    Master :
    mean :[16 128 128] stdev :[0.0 0.0 0.0]
    After applied the patch :
    mean :[16 128 128] stdev :[0.0 0.0 0.0]

    2, yuv420p10le
    ./ffmpeg -f lavfi -i color=black:duration=1:r=1:size=1280x720,format=yuv420p10le,showinfo
    Master :
    mean :[32 1 1] stdev :[32.0 1.0 1.0]
    After applied the patch :
    mean :[64 512 512] stdev :[0.0 0.0 0.0]

    3, yuv420p10be
    ./ffmpeg -f lavfi -i color=black:duration=1:r=1:size=1280x720,format=yuv420p10be,showinfo
    Master :
    mean :[32 1 1] stdev :[32.0 1.0 1.0]
    After applied the patch :
    mean :[64 512 512] stdev :[0.0 0.0 0.0]

    Signed-off-by : Limin Wang <lance.lmwang@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavfilter/vf_showinfo.c
  • How to get dimension and aspect ratio of input video and pass it as param to another input in the same command ?

    2 mars 2020, par theapache64

    I’ve a mp4 file. I want to create an input color feed with same dimension and sample aspect ratio. Currently, I use ffprobe to get dimension and sar as a separate command and pass it to ffmpeg command manually.

    ffmpeg -y
    -i input.mp4
    -i bgm.mp3
    -f lavfi -i color=c=black :s="1280"x"544":sar=1299/1280:d=3.0
    -filter_complex ...

    Is there any way to get dimension and sar of first input video to -f lavfi -i color.

    Something like

    -f lavfi -i color=c=black:s="widthOfFirstVideo"x"heightOfFirstVideo":sar=sarOfFirstVideo:d=3.0