a = ["uploads\/fields\/2017\/07\\5010994846725-a.jpg","uploads\/fields\/2017\/07\\5010994846725-b.jpg","uploads\/fields\/2017\/07\\5010994846725-c.jpg"]
type(a)
import requests
from requests.auth import HTTPBasicAuth
from requests.auth import HTTPDigestAuth
session = requests.Session()
url = "http://10.38.1.2"
#response = session.post(url, auth=('ckmp', 'ghjofqcgenybrFV4'))
#response = session.post(url, auth=HTTPDigestAuth('ckmp', 'ghjofqcgenybrFV4'))
response = session.post(url, auth=HTTPBasicAuth('ckmp', 'ghjofqcgenybrFV4'))
print(response)
print(response.text)
print(response.headers)
ffplay -i 1.wav -autoexit
pause
C:\Новая папка>ffplay -i 1.wav -autoexit
ffplay version N-89369-g5a93a85fd0 Copyright (c) 2003-2017 the FFmpeg developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --e
nable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libblur
ay --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopu
s --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --ena
ble-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-lib
x264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-z
lib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-c
uvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-l
ibmfx
libavutil 56. 4.100 / 56. 4.100
libavcodec 58. 6.102 / 58. 6.102
libavformat 58. 2.103 / 58. 2.103
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 6.100 / 7. 6.100
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
Input #0, wav, from '1.wav':aq= 0KB vq= 0KB sq= 0B f=0/0
Metadata:
encoder : Lavf58.2.103
Duration: 00:00:10.34, bitrate: 768 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 1 channels,
s16, 768 kb/s
SDL_OpenAudio (1 channels, 48000 Hz): WASAPI can't initialize audio client: ╨Э╨╡
╨▒╤Л╨╗ ╨┐╤А╨╛╨╕╨╖╨▓╨╡╨┤╨╡╨╜ ╨▓╤Л╨╖╨╛╨▓ CoInitialize.
SDL_OpenAudio (1 channels, 44100 Hz): WASAPI can't initialize audio client: ╨Э╨╡
╨▒╤Л╨╗ ╨┐╤А╨╛╨╕╨╖╨▓╨╡╨┤╨╡╨╜ ╨▓╤Л╨╖╨╛╨▓ CoInitialize.
No more combinations to try, audio open failed
Failed to open file '1.wav' or configure filtergraph
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
C:\Новая папка>pause
Для продолжения нажмите любую клавишу . . .
C:\Новая папка>ffmpeg -i left.wav -af "volumedete
ct" -f nul
ffmpeg version N-89369-g5a93a85fd0 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --e
nable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libblur
ay --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopu
s --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --ena
ble-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-lib
x264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-z
lib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-c
uvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-l
ibmfx
libavutil 56. 4.100 / 56. 4.100
libavcodec 58. 6.102 / 58. 6.102
libavformat 58. 2.103 / 58. 2.103
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 6.100 / 7. 6.100
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
Trailing options were found on the commandline.
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, wav, from 'left.wav':
Metadata:
encoder : Lavf58.2.103
Duration: 00:00:05.18, bitrate: 768 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, mono, s16,
768 kb/s
At least one output file must be specified