Skip to content

Instantly share code, notes, and snippets.

@anildigital
Created November 8, 2017 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anildigital/e1a30a9f457d96b1609719d7c726d156 to your computer and use it in GitHub Desktop.
Save anildigital/e1a30a9f457d96b1609719d7c726d156 to your computer and use it in GitHub Desktop.
# ffmpeg -i hello.opus -i hello.mp4 final_result.mp4
ffmpeg version 3.2.6 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.0 (Alpine 6.3.0)
configuration: --prefix=/usr --enable-avresample --enable-avfilter --enable-gnutls --enable-gpl --enable-libmp3lame --enable-librtmp --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-x11grab --disable-stripping --disable-static --enable-vaapi --enable-libopus --disable-debug
libavutil 55. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Input #0, ogg, from 'hello.opus':
Duration: 00:00:03.92, start: -0.020000, bitrate: 26 kb/s
Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55dad44b27c0] Missing key frame while reordering index according to edit list
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55dad44b27c0] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 640x480, 1773 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'hello.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.56.101
Duration: 00:00:04.60, bitrate: 1776 kb/s
Stream #1:0(und): Video: h264 (avc1 / 0x31637661), none, 640x480, 1773 kb/s, 27.82 fps, 30 tbr, 90k tbn, 180k tbc (default)
Metadata:
handler_name : VideoHandler
[buffer @ 0x55dad44631c0] Unable to parse option value "-1" as pixel format
Last message repeated 1 times
[buffer @ 0x55dad44631c0] Error setting option pix_fmt to value -1.
[graph 0 input from stream 1:0 @ 0x55dad44630c0] Error applying options to the filter.
Error opening filters!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment