[FFmpeg-user] h264 support in webm containers?

Andy Baird andybaird at gmail.com
Mon Aug 21 09:43:27 EEST 2017


Hey Carl,

Here's a sample: https://www.dropbox.com/s/sf9agwlxxij5g93/replay-
1503297479867.webm?dl=0

And here's the ffmpeg output of a copy operation:

$ ./bin/ffmpeg.exe -i replay-1503297479867.webm -c copy test.webm
ffmpeg version N-86848-g03a9e6f Copyright (c) 2000-2017 the FFmpeg
developers
  built with gcc 7.1.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda
--enable-cuvid --e
                                     nable-d3d11va --enable-dxva2
--enable-libmfx --enable-nvenc --enable-avisynth --

 enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enable-iconv
                                  --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-li
                                                               bfreetype
--enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug -

             -enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enabl
                                                     e-libopenh264
--enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li

         bsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolam
                                     e --enable-libvidstab
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx

  --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable
                           -libxavs --enable-libxvid --enable-libzimg
--enable-lzma --enable-zlib
  libavutil      55. 68.100 / 55. 68.100
  libavcodec     57.102.100 / 57.102.100
  libavformat    57. 76.100 / 57. 76.100
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 95.100 /  6. 95.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
Input #0, matroska,webm, from 'replay-1503297479867.webm':
  Metadata:
    encoder         : Chrome
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0(eng): Video: h264 (Constrained Baseline),
yuv420p(progressive),
                                        854x480, SAR 1:1 DAR 427:240, 30.30
fps, 29.50 tbr, 1k tbn, 60 tbc (default)
Output #0, webm, to 'test.webm':
  Metadata:
    encoder         : Lavf57.76.100
    Stream #0:0(eng): Video: h264 (Constrained Baseline),
yuv420p(progressive),
                                        854x480 [SAR 1:1 DAR 427:240],
q=2-31, 30.30 fps, 29.50 tbr, 1k tbn, 1k tbc (def
                                                                   ault)
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[webm @ 00000000025d4de0] Only VP8 or VP9 video and Vorbis or Opus audio
and Web
                         VTT subtitles are supported for WebM.
av_interleaved_write_frame(): Invalid argument
Error writing trailer of test.webm: Invalid argument
frame=    1 fps=0.0 q=-1.0 Lsize=       0kB time=00:00:00.00
bitrate=2864.0kbits
                                     /s speed=N/A
video:52kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing ov
                           erhead: unknown
Conversion failed!


On Fri, Aug 18, 2017 at 4:17 AM, Carl Eugen Hoyos <ceffmpeg at gmail.com>
wrote:

> 2017-08-17 21:24 GMT+02:00 Andy Baird <andybaird at gmail.com>:
>
> > Are there any plans for ffmpeg to support h264 for webm?
>
> Please provide a sample.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list