Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 2015 00:46:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202313] multimedia/ffmpeg: add OPENH264 option
Message-ID:  <bug-202313-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202313

            Bug ID: 202313
           Summary: multimedia/ffmpeg: add OPENH264 option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: feature, needs-qa, patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)
          Assignee: multimedia@FreeBSD.org

Created attachment 159853
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159853&action=edit
v0

multimedia/openh264 doesn't install h264enc/h264dec binaries, so testing the
implementation before was a bit non-trivial.

$ ffmpeg -codecs 2>/dev/null | fgrep -i 264
 DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
(decoders: h264 h264_vdpau ) (encoders: libx264 libx264rgb libopenh264 )

$ ffmpeg -f x11grab -i :0 -codec:v libopenh264 foo.mp4
[...]
Input #0, x11grab, from ':0':
  Duration: N/A, start: 1439513005.309265, bitrate: N/A
    Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 640x480, 29.97 fps,
29.97 tbr, 1000k tbn, 29.97 tbc
[OpenH264] this = 0x0x80ca67090, Warning:bEnableFrameSkip = 0,bitrate can't be
controlled for RC_QUALITY_MODE,RC_BITRATE_MODE and RC_TIMESTAMP_MODE without
enabling skip frame.
Output #0, mp4, to 'foo.mp4':
  Metadata:
    encoder         : Lavf56.36.100
    Stream #0:0: Video: h264 (libopenh264) ([33][0][0][0] / 0x0021), yuv420p,
640x480, q=2-31, 200 kb/s, 29.97 fps, 30k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc56.41.100 libopenh264
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libopenh264))
Press [q] to stop, [?] for help
frame=  249 fps= 30 q=-1.0 Lsize=     617kB time=00:00:08.30 bitrate=
608.4kbits/s

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202313-13>