Skip to content

Instantly share code, notes, and snippets.

@Pmmlabs
Created April 18, 2016 19: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 Pmmlabs/49917348652dc5ae678b3033707534cb to your computer and use it in GitHub Desktop.
Save Pmmlabs/49917348652dc5ae678b3033707534cb to your computer and use it in GitHub Desktop.
C:\Downloads>ffmpeg -i "http://periscope-prod-eu-central-1.global.ssl.fastly.net/vidmanlive/GAeZOqwnNwrYMBbl.O2hnZIwy5Uq
DkzqPQ0Vpx149Xs2ObObx11IIZbYzWZdSgUSCOrujUVWiTgiRPxgxeYvYgb7lhsy5T2vjqUH3rg==/playlist.m3u8?t=eyJhbGciOiJIUzI1NiIsInR5cC
I6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJBbGxvd2VkUHJvdG9jb2xzIjpbImhscyJdLCJCcm9hZGNhc3RJZCI6IjFCZEdZRHp2TVhsS1giLCJHcmFudFR5cG
UiOiJyZWFkIiwiR3JhbnRlZEF0IjowLCJHcmFudGVkVG8iOiJQVUJMSUMiLCJleHAiOjg2NDAwfQ.SZdt1IVsVtnrhuIhv1sGl6QUPcVTZal38yXDXw03moI
" -c copy -bsf:a aac_adtstoasc result.mp4
ffmpeg version N-79173-gbe746ae Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfi
g --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3l
ame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enabl
e-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-
libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx
264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 32.100 / 57. 32.100
libavformat 57. 29.101 / 57. 29.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 40.102 / 6. 40.102
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[mpegts @ 00000000004b3ae0] Invalid timestamps stream=1, pts=62061390, dts=62065080, size=313
[h264 @ 00000000004a61a0] Increasing reorder buffer to 1
[mpegts @ 00000000004b3ae0] Invalid timestamps stream=1, pts=62068860, dts=62080020, size=382
[mpegts @ 00000000004b3ae0] Invalid timestamps stream=1, pts=62087580, dts=62091270, size=468
[mpegts @ 00000000004b3ae0] Invalid timestamps stream=1, pts=62098830, dts=62106300, size=843
[mpegts @ 00000000004b3ae0] Invalid timestamps stream=1, pts=62110080, dts=62117550, size=356
[mpegts @ 00000000004b3ae0] Invalid timestamps stream=1, pts=62125110, dts=62128800, size=301
[mpegts @ 00000000004b3ae0] Invalid timestamps stream=1, pts=62140050, dts=62147520, size=321
[mpegts @ 00000000004b3ae0] Invalid timestamps stream=1, pts=62155080, dts=62158770, size=269
[mpegts @ 00000000004b3ae0] Invalid timestamps stream=1, pts=62166330, dts=62173800, size=245
[mpegts @ 00000000004b3ae0] Invalid timestamps stream=1, pts=62177580, dts=62185050, size=356
[hls,applehttp @ 0000000000098020] Invalid timestamps stream=1, pts=62061390, dts=62065080, size=327
[hls,applehttp @ 0000000000098020] Invalid timestamps stream=1, pts=62068860, dts=62080020, size=396
[hls,applehttp @ 0000000000098020] Invalid timestamps stream=1, pts=62087580, dts=62091270, size=482
[hls,applehttp @ 0000000000098020] Invalid timestamps stream=1, pts=62098830, dts=62106300, size=857
[hls,applehttp @ 0000000000098020] Invalid timestamps stream=1, pts=62110080, dts=62117550, size=370
[hls,applehttp @ 0000000000098020] Invalid timestamps stream=1, pts=62125110, dts=62128800, size=315
[hls,applehttp @ 0000000000098020] Invalid timestamps stream=1, pts=62140050, dts=62147520, size=335
[hls,applehttp @ 0000000000098020] Invalid timestamps stream=1, pts=62155080, dts=62158770, size=283
[hls,applehttp @ 0000000000098020] Invalid timestamps stream=1, pts=62166330, dts=62173800, size=259
[hls,applehttp @ 0000000000098020] Invalid timestamps stream=1, pts=62177580, dts=62185050, size=370
Input #0, hls,applehttp, from 'http://periscope-prod-eu-central-1.global.ssl.fastly.net/vidmanlive/GAeZOqwnNwrYMBbl.O2hn
ZIwy5UqDkzqPQ0Vpx149Xs2ObObx11IIZbYzWZdSgUSCOrujUVWiTgiRPxgxeYvYgb7lhsy5T2vjqUH3rg==/playlist.m3u8?t=eyJhbGciOiJIUzI1NiI
sInR5cCI6IkpXVCIsInZlcnNpb24iOiIyIn0.eyJBbGxvd2VkUHJvdG9jb2xzIjpbImhscyJdLCJCcm9hZGNhc3RJZCI6IjFCZEdZRHp2TVhsS1giLCJHcmF
udFR5cGUiOiJyZWFkIiwiR3JhbnRlZEF0IjowLCJHcmFudGVkVG8iOiJQVUJMSUMiLCJleHAiOjg2NDAwfQ.SZdt1IVsVtnrhuIhv1sGl6QUPcVTZal38yXD
Xw03moI':
Duration: N/A, start: 689.487000, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0: Data: timed_id3 (ID3 / 0x20334449)
Stream #0:1: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 320x568, 24 tbr, 90k tbn, 180k tbc
Stream #0:2: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, mono, fltp, 30 kb/s
File 'result.mp4' already exists. Overwrite ? [y/N] y
Output #0, mp4, to 'result.mp4':
Metadata:
encoder : Lavf57.29.101
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 320x568, q=2-31, 24 tbr, 90k tbn, 90k tbc
Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, mono, 30 kb/s
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Stream #0:2 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mp4 @ 0000000003f21ca0] Invalid DTS: 11250 PTS: 7560 in output stream 0:0, replacing by guess
[mp4 @ 0000000003f21ca0] Invalid DTS: 26190 PTS: 15030 in output stream 0:0, replacing by guess
[mp4 @ 0000000003f21ca0] Invalid DTS: 37440 PTS: 33750 in output stream 0:0, replacing by guess
[mp4 @ 0000000003f21ca0] Invalid DTS: 52470 PTS: 45000 in output stream 0:0, replacing by guess
[mp4 @ 0000000003f21ca0] Invalid DTS: 63720 PTS: 56250 in output stream 0:0, replacing by guess
[mp4 @ 0000000003f21ca0] Invalid DTS: 74970 PTS: 71280 in output stream 0:0, replacing by guess
[mp4 @ 0000000003f21ca0] Invalid DTS: 93690 PTS: 86220 in output stream 0:0, replacing by guess
[mp4 @ 0000000003f21ca0] Invalid DTS: 104940 PTS: 101250 in output stream 0:0, replacing by guess
[mp4 @ 0000000003f21ca0] Invalid DTS: 119970 PTS: 112500 in output stream 0:0, replacing by guess
[mp4 @ 0000000003f21ca0] Invalid DTS: 131220 PTS: 123750 in output stream 0:0, replacing by guess
[mpegts @ 00000000004b3ae0] Invalid timestamps stream=1, pts=62192520, dts=62199990, size=339
[hls,applehttp @ 0000000000098020] Invalid timestamps stream=1, pts=62192520, dts=62199990, size=353
[mp4 @ 0000000003f21ca0] Invalid DTS: 146160 PTS: 138690 in output stream 0:0, replacing by guess
[mpegts @ 00000000004b3ae0] Invalid timestamps stream=1, pts=62203770, dts=62211240, size=305
[hls,applehttp @ 0000000000098020] Invalid timestamps stream=1, pts=62203770, dts=62211240, size=319
[mp4 @ 0000000003f21ca0] Invalid DTS: 157410 PTS: 149940 in output stream 0:0, replacing by guess
[mpegts @ 00000000004b3ae0] Invalid timestamps stream=1, pts=62215020, dts=62222490, size=353
[hls,applehttp @ 0000000000098020] Invalid timestamps stream=1, pts=62215020, dts=62222490, size=367
[mp4 @ 0000000003f21ca0] Invalid DTS: 168660 PTS: 161190 in output stream 0:0, replacing by guess
[mpegts @ 00000000004b3ae0] Invalid timestamps stream=1, pts=62226270, dts=62233740, size=274
[hls,applehttp @ 0000000000098020] Invalid timestamps stream=1, pts=62226270, dts=62233740, size=288
[mp4 @ 0000000003f21ca0] Invalid DTS: 179910 PTS: 172440 in output stream 0:0, replacing by guess
[mpegts @ 00000000004b3ae0] Invalid timestamps stream=1, pts=62241300, dts=62248770, size=323
[hls,applehttp @ 0000000000098020] Invalid timestamps stream=1, pts=62241300, dts=62248770, size=337
[mp4 @ 0000000003f21ca0] Invalid DTS: 194940 PTS: 187470 in output stream 0:0, replacing by guess
[mpegts @ 00000000004b3ae0] Invalid timestamps stream=1, pts=63808200, dts=63815670, size=388
[hls,applehttp @ 0000000000098020] Invalid timestamps stream=1, pts=63808200, dts=63815670, size=402
[mp4 @ 0000000003f21ca0] Invalid DTS: 1761840 PTS: 1754370 in output stream 0:0, replacing by guess
frame= 252 fps= 30 q=-1.0 Lsize= 388kB time=00:00:20.00 bitrate= 158.9kbits/s speed=2.35x
video:299kB audio:78kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.148014%
C:\Downloads>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment