-for H libFixedKey is required
.key file has to be in same directory as .srf
Code: Select all
xxx/bla.srf
xxx/bla.key
Code: Select all
ffmpeg version 3.2.4 [SamyGO] Copyright (c) 2000-2017 the FFmpeg developers
srf decryption v0.1.1 (c) 2016-2017 bugficks@samygo
built with gcc 6.3.0 (Rev2, Built by MSYS2 project)
configuration: --enable-libx264 --enable-libx265 --enable-librtmp --enable-libtheora --enable-opencl --enable-opengl --enable-gnutls --enable-gpl --enable-nonfree --enable-version3
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
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
[mpegts @ 0000000000fddf80] PES packet size mismatch
Last message repeated 3 times
[mpegts @ 0000000000fddf80] Could not find codec parameters for stream 5 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from '20130901195758.srf':
Duration: 00:00:13.41, start: 33303.704389, bitrate: 8433 kb/s
Program 5001
Program 5002
Stream #0:0[0x899]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0:1[0x8a3](ger): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 160 kb/s (clean effects)
Stream #0:2[0x8a4](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s (clean effects)
Stream #0:3[0x8c1](ger): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 448 kb/s (clean effects)
Stream #0:4[0x8fd](ger,ger): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:5[0x1f41]: Unknown: none ([5][0][0][0] / 0x0005)
Program 5004
Program 5005
Output #0, mpegts, to 'output.ts':
Metadata:
encoder : Lavf57.56.101
Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 50 fps, 50 tbr, 90k tbn, 90k tbc
Stream #0:1(ger): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, 160 kb/s (clean effects)
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0000000000fddf80] PES packet size mismatch
frame= 631 fps=0.0 q=-1.0 Lsize= 11890kB time=00:00:13.31 bitrate=7316.0kbits/s speed= 118x
video:10713kB audio:246kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.495028%
Code: Select all
w/o hw aes:
lavu AES-128 size: 1048576 runs: 1024 time: 17.688 +- 1.377
w/ hw aes:
lavu AES-128 size: 1048576 runs: 1024 time: 7.970 +- 0.930
0.1.1
- initial version
- .key file can be specified using -cryptokey path/to/xxx.key
- added workaround for srf w/ zero channel audio streams