Skip to content

Instantly share code, notes, and snippets.

@roxlu
Last active September 15, 2016 12:15
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 roxlu/4dd865fb5478a2da84c26a509dcd565b to your computer and use it in GitHub Desktop.
Save roxlu/4dd865fb5478a2da84c26a509dcd565b to your computer and use it in GitHub Desktop.
./ffmpeg -ss 00:00:36.18 -i 194084902998742.webm -c:a copy -c:v copy -y tmp-1-194084902998742.webm
ffmpeg version N-81655-g415f907 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 6.1.1 (GCC) 20160602
configuration: --prefix=/home/roxlu/programming/tests/003_janus/installed
libavutil 55. 29.100 / 55. 29.100
libavcodec 57. 55.101 / 57. 55.101
libavformat 57. 49.100 / 57. 49.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 62.100 / 6. 62.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
Input #0, matroska,webm, from '194084902998742.webm':
Metadata:
encoder : Lavf57.49.100
Duration: 00:00:55.93, start: 0.000000, bitrate: 1041 kb/s
Stream #0:0: Video: vp8, yuv420p, 640x480, SAR 1:1 DAR 4:3, 1k fps, 30 tbr, 1k tbn, 1k tbc (default)
Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp
[webm @ 0x37573e0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Last message repeated 1 times
Output #0, webm, to 'tmp-1-194084902998742.webm':
Metadata:
encoder : Lavf57.49.100
Stream #0:0: Video: vp8, yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 1k fps, 30 tbr, 1k tbn, 1k tbc (default)
Stream #0:1: Audio: opus, 48000 Hz, stereo
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 772 fps=0.0 q=-1.0 Lsize= 3363kB time=00:00:19.75 bitrate=1394.5kbits/s speed= 673x
video:3252kB audio:97kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.398896%
./ffprobe tmp-1-194084902998742.webm
ffprobe version N-81655-g415f907 Copyright (c) 2007-2016 the FFmpeg developers
built with gcc 6.1.1 (GCC) 20160602
configuration: --prefix=/home/roxlu/programming/tests/003_janus/installed
libavutil 55. 29.100 / 55. 29.100
libavcodec 57. 55.101 / 57. 55.101
libavformat 57. 49.100 / 57. 49.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 62.100 / 6. 62.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
Input #0, matroska,webm, from 'tmp-1-194084902998742.webm':
Metadata:
encoder : Lavf57.49.100
Duration: 00:00:25.87, start: 0.000000, bitrate: 1064 kb/s
Stream #0:0: Video: vp8, yuv420p, 640x480, SAR 1:1 DAR 4:3, 1k fps, 30 tbr, 1k tbn, 1k tbc (default)
Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment