Skip to content

Instantly share code, notes, and snippets.

@amarcadet
Last active December 17, 2015 00:10
Show Gist options
  • Save amarcadet/5518826 to your computer and use it in GitHub Desktop.
Save amarcadet/5518826 to your computer and use it in GitHub Desktop.
Synology VideoStation Information
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
built on Apr 12 2013 14:42:18 with gcc 4.2.1 (GCC)
configuration: --arch=arm --target-os=linux --cross-prefix=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl --enable-shared --disable-static --enable-version3 --enable-nonfree --enable-libfaac --enable-encoders --enable-pthreads --disable-bzlib --disable-protocol=rtp --enable-muxer=mp4 --enable-avfilter --disable-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffserver --disable-ffplay --disable-network --disable-devices --disable-bzlib --disable-altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-encoder=zmbv --enable-libshine --extra-libs=-lshine --enable-decoder=h264
libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
/var/packages/VideoStation/target/bin/ffmpeg -ss 0 -copyts -i <file> -threads 0 -vcodec copy -vsync 2 -vbsf h264_mp4toannexb -acodec libshine -ab 256k -ar 48000 -ac 2 -f mpegts -mpegts_copyts 1 pipe:10
/lib/ld-linux.so.3
libsynovte.so
__cxa_begin_catch
SLIBCErrGet
_ZNSs4_Rep10_M_destroyERKSaIcE
_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_S8_
_ZNSt6vectorISsSaISsEEaSERKS1_
_ZN10LibSynoVTE10LIBSYNOVTE18VTE_SS_TranscodingERKSsS2_f
__gmon_start__
_Jv_RegisterClasses
_fini
_ZSt20__throw_length_errorPKc
_ZN10LibSynoVTE10LIBSYNOVTE11VTE_SS_ReadERKSsS2_PcRKmRKlRl
_ZdlPv
_ZN10LibSynoVTE10LIBSYNOVTE8SaveFileERKSsS2_
_ZNSsC1EPKcRKSaIcE
_ZN10LibSynoVTE10LIBSYNOVTE8ReadFileERKSs
_ZNK4Json5Value8isMemberEPKc
_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs
_ZNSsD1Ev
_ZN4Json5ValueixERKSs
__data_start
_ZN4Json5ValueixEPKc
_ZN10LibSynoVTE10LIBSYNOVTE29VTE_HLS_ExecTransAndSegmenterERKSsS2_b
__gxx_personality_v0
_ZNSs4_Rep20_S_empty_rep_storageE
_ZN10LibSynoVTE10LIBSYNOVTE18VTE_SS_GetManifestERKSsPcRKmRKlRl
_ZNKSs7compareEPKc
_ZNKSs4findEPKcjj
_ZN4Json5ValueD1Ev
_ZN10LibSynoVTE10LIBSYNOVTE12VTE_SS_CloseERKSs
_ZN10LibSynoVTE10LIBSYNOVTE14VTE_HLS_GetPLSERKSsPcRKmRKlRl
_ZNK4Json5Value4sizeEv
_ZNSs6appendEPKcj
_ZSt17__throw_bad_allocv
_ZNSs6appendERKSs
VolumeAvailGet
__cxa_end_cleanup
_ZNSt8ios_base4InitD1Ev
__cxa_end_catch
_ZN4Json5ValueC1ERKSs
_ZN10LibSynoVTE10LIBSYNOVTE11VTE_SS_InitERKSsS2_S2_S2_S2_PKcyf
_ZN10LibSynoVTE10LIBSYNOVTE12GetTrackInfoERKSsRN4Json5ValueES5_
_ZN10LibSynoVTE10LIBSYNOVTE12VTE_HLS_ReadERKSsS2_PcRKmRKlRl
_ZN9__gnu_cxx18__exchange_and_addEPVii
_ZNSt8ios_base4InitC1Ev
_ZN4Json5ValueixEj
pthread_cancel
_ZNK4Json5Value8asStringEv
_ZNSs6assignERKSs
_ZN4Json5ValueC1ENS_9ValueTypeE
__cxa_rethrow
_ZN4Json5ValueaSERKS0_
_Znwj
_ZNSsC1ERKSs
_ZNSs6assignEPKcj
_init
SLIBCEncShParam
_ZN10LibSynoVTE10LIBSYNOVTE12VTE_HLS_InitERKSsS2_S2_S2_S2_PKcS4_S4_S4_yb
_ZN10LibSynoVTE10LIBSYNOVTE13VTE_HLS_CloseERKSs
libavformat.so.54
libavcodec.so.54
libavutil.so.51
libfaac.so.0
libopencore-amrnb.so.0
libopencore-amrwb.so.0
libshine.so.1
libdsm.so.4
SLIBCErrSet
_ZN3DSM4Task6reloadEv
_ZN16HTTPFileOutputer6OutputEPKcS1_
_ZN8WebUtils9EncodeURLEPKc
_ZN8WebUtils12LoadJsonFileERN4Json5ValueEPKc
_ZNK4Json5ValueixEPKc
_ZNK3DSM4Task11getPropertyEPKc
SLIBCFileExist
_ZN16HTTPFileOutputer11GetMimeTypeEPKc
_ZNK4Json5Value6isNullEv
libsynoutils.so.1
_ZNSsC1ERKSsjj
_ZSt20__throw_out_of_rangePKc
libsynocgi.so.4
libjson.so
_ZNK4Json5ValueixEj
libpam.so.0
libsynoddnsclient.so
libsynowimax.so
libbackup.so
libsynoacl.so
libsynoproxy.so.4
libcurl.so.4
libsqlite3.so.0
libsynobandwidth.so.4
libsynoldap.so.4
libsynosdk.so.4
libsynocore.so.4
libcrypt.so.1
libicui18n.so.22
libicuuc.so.22
libicudata.so.22
libxml2.so.2
libz.so.1
libm.so.6
libdl.so.2
libsynogpl.so.4
libsynocoregpl.so.4
libssl.so.1.0.0
liblunbkp.so
libhwcontrol.so
libindexutils.so
libsynoindex.so
libsynodb.so
libpq.so.5
libwebapi.so
_ZN4SYNO6WebAPI16HandleUploadFileEv
_ZN4SYNO6WebCGI11WriteHeaderEPKc
_ZN4SYNO6WebAPI8SetErrorEi
_ZN4SYNO6WebAPIC2EPKcS2_
_ZN4SYNO6WebAPI15CheckPermissionEv
_ZTVN4SYNO6WebAPIE
_ZN4SYNO6WebCGI12GetSessionIDEv
_ZN4SYNO6WebAPI3RunEv
_ZN4SYNO6WebCGID1Ev
_ZTIN4SYNO6WebAPIE
_ZN4SYNO6WebAPI11SetResponseERN4Json5ValueE
_ZN4SYNO6WebCGI2InEPKcS2_
libsynovideostation.so
_ZN15LibVideoStation13StringExplodeERKSsS1_
_ZN15LibVideoStation27GetMachineTranscodeAndRemuxERbS0_
_ZN15LibVideoStation10GetCPUInfoERKSs
_ZN15LibVideoStation16VideoMetadataAPID1Ev
_ZN15LibVideoStation16VideoMetadataAPIC1Ev
_ZN15LibVideoStation16VideoMetadataAPI17GetFieldValueByIdERKSsS2_S2_
libsynomp4.so
_ZN10LibSynoMP410LIBSYNOMP49OutputMP4ERKSsS2_
libstdc++.so.6
_ZNKSs5rfindEcj
__cxa_pure_virtual
_ZTVN10__cxxabiv120__si_class_type_infoE
libgcc_s.so.1
__aeabi_unwind_cpp_pr1
__aeabi_uldivmod
__aeabi_d2f
__aeabi_f2d
__aeabi_ddiv
libc.so.6
strcasestr
fflush
srand
closedir
puts
fork
time
unlink
abort
popen
syslog
symlink
fgets
strlen
memset
strstr
memcmp
dup2
stdout
__strtoll_internal
fclose
__strtol_internal
strcasecmp
opendir
__xstat64
getenv
system
readlink
pclose
usleep
fwrite
fread
readdir64
__strtod_internal
fopen64
strcmp
__libc_start_main
snprintf
__aeabi_atexit
libpthread.so.0
__exidx_start
__exidx_end
_edata
__bss_start
__bss_start__
__bss_end__
__end__
$ORIGIN/../../lib:$ORIGIN/../../../libsynovideostation/lib:$ORIGIN/../../../libsynovideostation/libsynovte:$ORIGIN/../../../libsynovideostation/libsynomp4:/var/packages/VideoStation/target/lib/ffmpeg:/var/packages/VideoStation/target/lib
GLIBC_2.4
GCC_3.5
CXXABI_1.3
GLIBCXX_3.4
:$PK
15VTEStreamingAPI
rm -rf %s
touch
text/xml
%s/%s/%s
/tmp/VideoStation
video/MP2T
%s/%s/%s/%s
access_status
%s:%d Bad parameter
vtestreaming.cpp
%s:%d Failed to load file [%s]
%s:%d There is no such json member, value[%s] in [%s]
%s:%d There is no such json member, value[%s][%s] in [%s]
%s:%d There is no such json member, value[%s][%s][%s] in [%s]
%s:%d There is no such json member, value[%s][%s][%s][%s] in [%s]
basic_string::substr
%s/%s
%s:%d Failed to smooth streaming transcoding
video/mp4
video_ratio
playlist_type
application/x-mpegURL
/tmp/VideoStation/HLS
video
video.m3u8
subtitle
subtitle.m3u8
%s/%s.m3u8
hls_remux
%s:%d VTE - Failed to close hls(hls_remux)[%s]
%s:%d VTE - Failed to close smooth streaming[%s]
%s:%d VTE - Failed to close MP4[%s]
%s:%d VTE - Failed to close RAW[%s]
%s:%d Bad close format for webapi [format = %s]
echo -n %s | %s md5
/usr/syno/bin/openssl
%s:%d Failed to open file [%s]
filepath
mpegts_remux_aac_ab96_ar8000
mpegts_240p_x264_vb320_vr_mp3_ab40
cpu cores
video_file
others
resolutiony
1080p
profile
hd_medium
channel
mpegts_remux_shine_ab256_ar48000
/var/packages/VideoStation/target/etc/TransInfo_SS
filesize
resolutionx
HTTP_HOST
%s:%d VTE - Failed to get DS ip and port
HTTPS
http%s://%s/webapi/VideoStation/vtestreaming.cgi
/var/packages/VideoStation/target/etc/TransProfile
audio_id
%s:%d Failed to save video ratio
QualityLevels(1500000)/Fragments(video=0)
%s:%d Failed to get session id from cookie
/var/packages/VideoStation/target/etc/TransInfo_HLS
http%s://%s/webapi/VideoStation/subtitle.cgi?api=SYNO.VideoStation.Subtitle&method=get&version=2&
subtitle_id
Accept-Ranges: bytes
vector::_M_insert_aux
matroska,webm
h264
mpeg4
codec
mjpeg
%s:%d VolumeAvailGet() failed!! synoerr=[0x%04X]
/@tmp/VideoStation
mkdir -p %s
%s:%d There are not enough volume space for streaming RAW. Need space [%d bytes]
TransSapceNotEnough
%s:%d There are not enough volume space for streaming MP4. Need space [%d bytes]
format
force_close
true
%s:%d Failed to fork()
/dev/null
hls_header
slice_id
%s:%d VTE - Failed to stream out m3u8 playlist for hls(hls_remux)[%s]
fragment_id
manifest_predict
%s:%d VTE - Failed to stream out fragment mp4 [%s] for smooth streaming[%s]
%s:%d VTE - Failed to stream out MP4[%s]
%s:%d VTE - Failed to stream out RAW[%s]
%s:%d Wrong parameter for VTE.stream webapi [format=%s]
accept_format
%s:%d Failed to get path from video id [%s]
container_type
%s:%d Failed to get track information [%s]
%s:%d VTE - Failed to init MP4[%s]
%s:%d VTE - Failed to init HLS[%s]
%s:%d VTE - Failed to init HLS[%s]. Transcoding space not enough
TransEnable
%s:%d VTE - Failed to init HLS[%s]. Transcoding has enabled
%s:%d VTE - Failed to init RAW[%s]
stream_id
open
stream
close
rm_serial
rmvb, rm
mpeg_serial
mpeg, mpg, mpeg2, mpeg1, mp2, m1v, m2v, mpe, dat, dvr-ms, tp, trp
wmv_serial
wmv, asf
mkv_serial
avi_serial
avi, divx, xvid
480p
720p
N12VideoStation11VideoWebAPIE
VideoStation.api
VideoStation
GCC: (GNU) 4.2.1
GCC: (GNU) 4.2.1
GCC: (GNU) 4.2.1
GCC: (GNU) 4.2.1
GCC: (GNU) 4.2.1
GCC: (GNU) 4.2.1
GCC: (GNU) 4.2.1
GCC: (GNU) 4.2.1
aeabi
ARM10TDMI
.shstrtab
.interp
.note.ABI-tag
.hash
.dynsym
.dynstr
.gnu.version
.gnu.version_r
.rel.dyn
.rel.plt
.init
.text
.fini
.rodata
.ARM.extab
.ARM.exidx
.eh_frame
.init_array
.fini_array
.jcr
.dynamic
.got
.data
.bss
.comment
.ARM.attributes
HTTP/1.1 200 GET /webapi/VideoStation/vtestreaming.cgi?api=SYNO.VideoStation.Streaming&version=1&method=stream&id=<token>&format=hls_remux&_sid=<cookie>
Content-Type: application/x-mpegurl
Content-Length: 72925
#EXTM3U
#EXT-X-TARGETDURATION:8
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:8,
http://192.168.0.10:5000/webapi/VideoStation/vtestreaming.cgi?api=SYNO.VideoStation.Streaming&method=stream&version=1&format=hls&_sid=<cookie>&id=<token>&slice_id=00000
#EXTINF:8,
http://192.168.0.10:5000/webapi/VideoStation/vtestreaming.cgi?api=SYNO.VideoStation.Streaming&method=stream&version=1&format=hls&_sid=<cookie>&id=<token>&slice_id=00001
#EXTINF:8,
http://192.168.0.10:5000/webapi/VideoStation/vtestreaming.cgi?api=SYNO.VideoStation.Streaming&method=stream&version=1&format=hls&_sid=<cookie>&id=<token>&slice_id=00002
#EXTINF:8,
http://192.168.0.10:5000/webapi/VideoStation/vtestreaming.cgi?api=SYNO.VideoStation.Streaming&method=stream&version=1&format=hls&_sid=<cookie>&id=<token>&slice_id=00003
[...]
#EXTINF:8,
http://192.168.0.10:5000/webapi/VideoStation/vtestreaming.cgi?api=SYNO.VideoStation.Streaming&method=stream&version=1&format=hls&_sid=<cookie>&id=<token>&slice_id=00327
#EXTINF:1,
http://192.168.0.10:5000/webapi/VideoStation/vtestreaming.cgi?api=SYNO.VideoStation.Streaming&method=stream&version=1&format=hls&_sid=<cookie>&id=<token>&slice_id=00328
#EXT-X-ENDLIST
HTTP/1.1 200 GET /webapi/VideoStation/vtestreaming.cgi?api=SYNO.VideoStation.Streaming&method=stream&version=1&format=hls&_sid=<cookie>&id=<token>&slice_id=00000
Content-Type: video/mp2t
Content-Length: 2897719
[binary content]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment