Skip to content

Instantly share code, notes, and snippets.

@ericxtang
Last active November 17, 2017 01:26
Show Gist options
  • Select an option

  • Save ericxtang/cc1a21ae2eb344d82619a18c3a3c9983 to your computer and use it in GitHub Desktop.

Select an option

Save ericxtang/cc1a21ae2eb344d82619a18c3a3c9983 to your computer and use it in GitHub Desktop.
```
Watching for events...
Received verify request # 0
{ address: '0x10512991178cbb574f9a1109a7db33d8075750ad',
blockNumber: 6286,
transactionHash: '0xb5cabeb40cb87cf28fa57025003e7c0f1f5e96c18cad3cc96ea961c539f4bf53',
transactionIndex: 0,
blockHash: '0xae72a7dbbb4422cdf05126c46d9336ca9c257978ca23be6c102778c602b4fb17',
logIndex: 0,
removed: false,
event: 'VerifyRequest',
args:
{ requestId: BigNumber { s: 1, e: 0, c: [Array] },
jobId: BigNumber { s: 1, e: 0, c: [Array] },
claimId: BigNumber { s: 1, e: 0, c: [Array] },
segmentNumber: BigNumber { s: 1, e: 0, c: [Array] },
transcodingOptions: '93c717e7c0a6517a',
dataStorageHash: 'QmPm2NcQqs9tA3bmKumAJKQsGskvXweiTGbcnukTdWiSK5',
dataHash: '0x40bccebcb0c3bf1929fa57425bd72ca0f4ccca4a45bd935e0406f98a912c5138',
transcodedDataHash: '0xaa6fa84937ec88557a1cef155c4d279cd448136a6004296d820bcfcd4c77267c' } }
initializing IPFS node at /root/.ipfs
generating 2048-bit RSA keypair...done
peer identity: QmbJkX6c4YdQsuZodgmzcRj5mVMwUDPcxeeuzZoUNRXYgR
to get started, enter:
ipfs cat /ipfs/QmS4ustL54uo8FzR9455qaxZwuMiUhyvMcX9Ba8nUH4uVv/readme
Initializing daemon...
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip4/172.17.0.2/tcp/4001
Swarm listening on /p2p-circuit/ipfs/QmbJkX6c4YdQsuZodgmzcRj5mVMwUDPcxeeuzZoUNRXYgR
Swarm announcing /ip4/127.0.0.1/tcp/4001
Swarm announcing /ip4/172.17.0.2/tcp/4001
Swarm announcing /ip4/18.216.255.122/tcp/1024
API server listening on /ip4/127.0.0.1/tcp/5001
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8080
Daemon is ready
ffmpeg version 3.1-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.0 (Debian 5.4.0-4) 20160609
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --enable-librtmp --enable-libmfx --enable-libzimg --cc=gcc
libavutil 55. 27.100 / 55. 27.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 40.101 / 57. 40.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 46.102 / 6. 46.102
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, mpegts, from 'seg.ts':
Duration: 00:00:04.00, start: 16.000000, bitrate: 1096 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (High 4:2:2) ([27][0][0][0] / 0x001B), yuv422p, 1280x720, 30 fps, 30 tbr, 90k tbn, 60 tbc
No pixel format specified, yuv422p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
Last message repeated 1 times
[libx264 @ 0x5e6f940] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x5e6f940] profile High 4:2:2, level 3.0, 4:2:2 8-bit
[libx264 @ 0x5ea2a20] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x5ea2a20] profile High 4:2:2, level 2.1, 4:2:2 8-bit
[mpegts @ 0x5e6e0c0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[mpegts @ 0x5ea1ae0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, mpegts, to 'out0.ts':
Metadata:
encoder : Lavf57.40.101
Stream #0:0: Video: h264 (libx264), yuv422p, 640x360, q=-1--1, 30 fps, 90k tbn, 30 tbc
Metadata:
encoder : Lavc57.48.101 libx264
Side data:
cpb: bitrate max/min/avg: 1200000/0/0 buffer size: 1200000 vbv_delay: -1
Output #1, mpegts, to 'out1.ts':
Metadata:
encoder : Lavf57.40.101
Stream #1:0: Video: h264 (libx264), yuv422p, 426x240, q=-1--1, 30 fps, 90k tbn, 30 tbc
Metadata:
encoder : Lavc57.48.101 libx264
Side data:
cpb: bitrate max/min/avg: 600000/0/0 buffer size: 600000 vbv_delay: -1
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:0 -> #1:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame= 120 fps= 32 q=29.0 Lq=29.0 size= 207kB time=00:00:19.90 bitrate= 85.4kbits/s speed=5.31x
video:249kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 0x5e6f940] frame I:1 Avg QP:21.69 size: 21186
[libx264 @ 0x5e6f940] frame P:39 Avg QP:22.21 size: 3043
[libx264 @ 0x5e6f940] frame B:80 Avg QP:25.89 size: 526
[libx264 @ 0x5e6f940] consecutive B-frames: 10.0% 1.7% 5.0% 83.3%
[libx264 @ 0x5e6f940] mb I I16..4: 11.5% 47.0% 41.5%
[libx264 @ 0x5e6f940] mb P I16..4: 0.6% 1.4% 0.3% P16..4: 39.3% 10.4% 9.6% 0.0% 0.0% skip:38.3%
[libx264 @ 0x5e6f940] mb B I16..4: 0.0% 0.1% 0.0% B16..8: 25.6% 1.2% 0.2% direct: 0.6% skip:72.3% L0:38.6% L1:58.8% BI: 2.6%
[libx264 @ 0x5e6f940] 8x8 transform intra:55.1% inter:78.8%
[libx264 @ 0x5e6f940] coded y,uvDC,uvAC intra: 59.2% 83.9% 38.0% inter: 5.4% 20.5% 0.4%
[libx264 @ 0x5e6f940] i16 v,h,dc,p: 23% 21% 13% 43%
[libx264 @ 0x5e6f940] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 14% 24% 4% 9% 8% 6% 4% 5%
[libx264 @ 0x5e6f940] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 18% 11% 5% 8% 8% 6% 5% 7%
[libx264 @ 0x5e6f940] i8c dc,h,v,p: 47% 19% 29% 5%
[libx264 @ 0x5e6f940] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x5e6f940] ref P L0: 65.7% 7.0% 19.5% 7.8%
[libx264 @ 0x5e6f940] ref B L0: 92.0% 6.0% 2.0%
[libx264 @ 0x5e6f940] ref B L1: 97.0% 3.0%
[libx264 @ 0x5e6f940] kb/s:363.82
[libx264 @ 0x5ea2a20] frame I:1 Avg QP:22.56 size: 12215
[libx264 @ 0x5ea2a20] frame P:43 Avg QP:22.88 size: 1109
[libx264 @ 0x5ea2a20] frame B:76 Avg QP:26.80 size: 169
[libx264 @ 0x5ea2a20] consecutive B-frames: 13.3% 5.0% 5.0% 76.7%
[libx264 @ 0x5ea2a20] mb I I16..4: 9.4% 44.9% 45.7%
[libx264 @ 0x5ea2a20] mb P I16..4: 0.1% 0.7% 0.3% P16..4: 32.2% 7.3% 6.3% 0.0% 0.0% skip:53.1%
[libx264 @ 0x5ea2a20] mb B I16..4: 0.0% 0.1% 0.0% B16..8: 16.1% 1.0% 0.2% direct: 0.3% skip:82.2% L0:31.6% L1:63.2% BI: 5.2%
[libx264 @ 0x5ea2a20] 8x8 transform intra:50.7% inter:67.8%
[libx264 @ 0x5ea2a20] coded y,uvDC,uvAC intra: 70.1% 86.0% 54.5% inter: 4.0% 14.2% 0.7%
[libx264 @ 0x5ea2a20] i16 v,h,dc,p: 16% 17% 11% 56%
[libx264 @ 0x5ea2a20] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 15% 16% 5% 10% 11% 8% 6% 7%
[libx264 @ 0x5ea2a20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 21% 12% 5% 9% 8% 6% 5% 8%
[libx264 @ 0x5ea2a20] i8c dc,h,v,p: 41% 21% 32% 6%
[libx264 @ 0x5ea2a20] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x5ea2a20] ref P L0: 69.3% 8.7% 15.8% 6.2%
[libx264 @ 0x5ea2a20] ref B L0: 91.1% 6.4% 2.5%
[libx264 @ 0x5ea2a20] ref B L1: 96.6% 3.4%
[libx264 @ 0x5ea2a20] kb/s:145.55
562cc6e35e6e4012da9612ac7aa1c07cb2c5cef9eefef4934f2dc21a7d16c869
562cc6e35e6e4012da9612ac7aa1c07cb2c5cef9eefef4934f2dc21a7d16c869
Invoking callback with 0x562cc6e35e6e4012da9612ac7aa1c07cb2c5cef9eefef4934f2dc21a7d16c869
{ blockHash: '0xe36b81cd857d177e959ac4cdfd1085ce1ec78d56b3c708c1743ab07b9a5e1f3f',
blockNumber: 6301,
contractAddress: null,
cumulativeGasUsed: 30322,
from: '0x94107cb2261e722f9f4908115546eeee17decada',
gasUsed: 30322,
logs:
[ { address: '0x5deeb1a3f23a2f419e9acbe164f71616b0b74ddd',
topics: [Array],
data: '0x00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001',
blockNumber: 6301,
transactionHash: '0xcb1f68fbf94fdd4be045bc792a82cc6f08b494e20bf2cc1ab36cab97c748d385',
transactionIndex: 0,
blockHash: '0xe36b81cd857d177e959ac4cdfd1085ce1ec78d56b3c708c1743ab07b9a5e1f3f',
logIndex: 0,
removed: false },
{ address: '0x10512991178cbb574f9a1109a7db33d8075750ad',
topics: [Array],
data: '0x00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001',
blockNumber: 6301,
transactionHash: '0xcb1f68fbf94fdd4be045bc792a82cc6f08b494e20bf2cc1ab36cab97c748d385',
transactionIndex: 0,
blockHash: '0xe36b81cd857d177e959ac4cdfd1085ce1ec78d56b3c708c1743ab07b9a5e1f3f',
logIndex: 1,
removed: false } ],
logsBloom: '0x00000000000000000000000000000000000000000000000000004000000000000000000000800010000000000000000000001000000000000000200000000000000020000000000000000000000000000000000040400000000000020200000000000000020000000000000000000800000000000000100000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000040000000000000100000020000000000000000000000000000000000000000000000000000000000000000000',
status: '0x1',
to: '0x10512991178cbb574f9a1109a7db33d8075750ad',
transactionHash: '0xcb1f68fbf94fdd4be045bc792a82cc6f08b494e20bf2cc1ab36cab97c748d385',
transactionIndex: 0 }
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment