Using ytube python project, I have been able to download youtube videos to server. When I select the trailer, it looks like file beings to stream. But it never plays on the TV. Based on logs below, nnybody have an idea why it's not playing?
34895 - Sep 25 18:16:32.329 [ThreadID:6090] - [6090] > ---------------------------------------------------------------------
34896 - Sep 25 18:16:32.329 [ThreadID:6090] - [6090] SOCK > 6090 adjusted buffer size on socket 7052 to 262160 (from 262112)
34897 - Sep 25 18:16:32.329 [ThreadID:6090] - [6090] > 6090 [ Roku Streaming Player (Mkv)]: iNewSize != tb (14671416 / 0)
34898 - Sep 25 18:16:32.329 [ThreadID:6090] - [6090] INFO > Reading from file: E:\o\trailers\ytube_Lani_Hall__Never_Say_Never_Aga in_Widescreen_Stereo_Mix.mp4 at pos: 0, bytesToRead=262112, bytesRead=262112
34899 - Sep 25 18:16:32.329 [ThreadID:6090] - [6090] > 6090 [ Roku Streaming Player (Mkv)]: session 0B683C17, socket 7052, f = 92442896, cp/tb/l/t = 0 / 14671416 / 14671416 / 262112
34900 - Sep 25 18:16:32.329 [ThreadID:6090] - [6090] INFO > Sending bytes from 0, length=262112
34901 - Sep 25 18:16:32.329 [ThreadID:6090] - [6090] OUT > 6090 SendTo: (send) socket 7052, length = 262112, bytes sent = 262112
<binary data>
34902 - Sep 25 18:16:32.329 [ThreadID:6090] - [6090] > ---------------------------------------------------------------------
34903 - Sep 25 18:16:32.332 [ThreadID:23e0] - [23E0] INFO > Reading from file: E:\o\trailers\ytube_Lani_Hall__Never_Say_Never_Aga in_Widescreen_Stereo_Mix.mp4 at pos: 262112, bytesToRead=262112, bytesRead=262112
34904 - Sep 25 18:16:32.332 [ThreadID:23e0] - [23E0] > 23E0 [ Roku Streaming Player (Mkv)]: session 0B683C17, socket 7052, f = 92442896, cp/tb/l/t = 262112 / 14671416 / 14409304 / 262112
34905 - Sep 25 18:16:32.332 [ThreadID:23e0] - [23E0] INFO > Sending bytes from 262112, length=262112
34906 - Sep 25 18:16:32.332 [ThreadID:23e0] - [23E0] OUT > 23E0 SendTo: (send) socket 7052, length = 262112, bytes not sent
34907 - Sep 25 18:16:32.332 [ThreadID:23e0] - [23E0] > ---------------------------------------------------------------------
34908 - Sep 25 18:16:32.335 [ThreadID:23e0] - [23E0] INFO > 23E0 SendTo: we are blocked on socket 7052
34909 - Sep 25 18:16:32.335 [ThreadID:23e0] - [23E0] SOCK > 23E0 closing socket 6368 (UnBlockChain - chain A7223E8)
34910 - Sep 25 18:16:32.335 [ThreadID:6320] - [6320] INFO > select returned 1
34911 - Sep 25 18:16:32.335 [ThreadID:6320] - [6320] SOCK > select triggered readset socket 6368
34912 - Sep 25 18:16:32.335 [ThreadID:23e0] - [23E0] INFO > 23E0 Not everything was sent on socket 7052, we need to wait for SendOK event to continue (PAUSE = 1)!
34913 - Sep 25 18:16:32.346 [ThreadID:6320] - [6320] INFO > 6320 fd_counts: readset = 5, writeset = 1, errorset = 6, tv_sec = 696, tv_usec = 57000, slct = 0, v = 696057
34914 - Sep 25 18:16:32.346 [ThreadID:6320] - [6320] INFO > select returned 1
34915 - Sep 25 18:16:32.346 [ThreadID:6320] - [6320] SOCK > select triggered writeset socket 7052
34916 - Sep 25 18:16:32.346 [ThreadID:6320] - [6320] OUT > 6320 PostSelect: (send) socket 7052, length = 262112, bytes sent = 262112
<binary data>
34917 - Sep 25 18:16:32.346 [ThreadID:6320] - [6320] > ---------------------------------------------------------------------
34918 - Sep 25 18:16:32.346 [ThreadID:6320] - [6320] INFO > 6320 PostSelect: TriggerSendOK = 1
34919 - Sep 25 18:16:32.346 [ThreadID:58bc] - [58BC] INFO > Reading from file: E:\o\trailers\ytube_Lani_Hall__Never_Say_Never_Aga in_Widescreen_Stereo_Mix.mp4 at pos: 524224, bytesToRead=262112, bytesRead=262112
34920 - Sep 25 18:16:32.346 [ThreadID:58bc] - [58BC] > 58BC [ Roku Streaming Player (Mkv)]: session 0B683C17, socket 7052, f = 92442896, cp/tb/l/t = 524224 / 14671416 / 14147192 / 262112
34921 - Sep 25 18:16:32.346 [ThreadID:58bc] - [58BC] INFO > Sending bytes from 524224, length=262112
34922 - Sep 25 18:16:32.346 [ThreadID:58bc] - [58BC] OUT > 58BC SendTo: (send) socket 7052, length = 262112, bytes not sent
34923 - Sep 25 18:16:32.346 [ThreadID:58bc] - [58BC] > ---------------------------------------------------------------------
34924 - Sep 25 18:16:32.346 [ThreadID:58bc] - [58BC] INFO > 58BC SendTo: we are blocked on socket 7052
34925 - Sep 25 18:16:32.346 [ThreadID:58bc] - [58BC] SOCK > 58BC closing socket 6632 (UnBlockChain - chain A7223E8)
34926 - Sep 25 18:16:32.346 [ThreadID:58bc] - [58BC] INFO > 58BC Not everything was sent on socket 7052, we need to wait for SendOK event to continue (PAUSE = 1)!
34927 - Sep 25 18:16:32.364 [ThreadID:6320] - [6320] INFO > 6320 fd_counts: readset = 5, writeset = 1, errorset = 5, tv_sec = 696, tv_usec = 46000, slct = -1, v = 696046
34928 - Sep 25 18:16:32.380 [ThreadID:6320] - [6320] INFO > 6320 fd_counts: readset = 5, writeset = 1, errorset = 6, tv_sec = 696, tv_usec = 28000, slct = 0, v = 696028
34929 - Sep 25 18:16:32.380 [ThreadID:6320] - [6320] INFO > select returned 1
34930 - Sep 25 18:16:32.380 [ThreadID:6320] - [6320] SOCK > select triggered writeset socket 7052
34931 - Sep 25 18:16:32.380 [ThreadID:6320] - [6320] OUT > 6320 PostSelect: (send) socket 7052, length = 262112, bytes sent = 262112
<binary data>
34932 - Sep 25 18:16:32.380 [ThreadID:6320] - [6320] > ---------------------------------------------------------------------
34933 - Sep 25 18:16:32.380 [ThreadID:6320] - [6320] INFO > 6320 PostSelect: TriggerSendOK = 1
34934 - Sep 25 18:16:32.380 [ThreadID:06d8] - [06D8] INFO > Reading from file: E:\o\trailers\ytube_Lani_Hall__Never_Say_Never_Aga in_Widescreen_Stereo_Mix.mp4 at pos: 786336, bytesToRead=262112, bytesRead=262112
34935 - Sep 25 18:16:32.380 [ThreadID:06d8] - [06D8] > 6D8 [ Roku Streaming Player (Mkv)]: session 0B683C17, socket 7052, f = 92442896, cp/tb/l/t = 786336 / 14671416 / 13885080 / 262112
34936 - Sep 25 18:16:32.380 [ThreadID:06d8] - [06D8] INFO > Sending bytes from 786336, length=262112
34937 - Sep 25 18:16:32.380 [ThreadID:06d8] - [06D8] OUT > 6D8 SendTo: (send) socket 7052, length = 262112, bytes not sent
34938 - Sep 25 18:16:32.380 [ThreadID:06d8] - [06D8] > ---------------------------------------------------------------------
34939 - Sep 25 18:16:32.380 [ThreadID:06d8] - [06D8] INFO > 6D8 SendTo: we are blocked on socket 7052
34940 - Sep 25 18:16:32.380 [ThreadID:06d8] - [06D8] SOCK > 6D8 closing socket 6608 (UnBlockChain - chain A7223E8)
34941 - Sep 25 18:16:32.380 [ThreadID:06d8] - [06D8] INFO > 6D8 Not everything was sent on socket 7052, we need to wait for SendOK event to continue (PAUSE = 1)!
34942 - Sep 25 18:16:32.398 [ThreadID:6320] - [6320] INFO > 6320 fd_counts: readset = 5, writeset = 1, errorset = 5, tv_sec = 696, tv_usec = 12000, slct = -1, v = 696012
34943 - Sep 25 18:16:32.417 [ThreadID:6320] - [6320] INFO > 6320 fd_counts: readset = 5, writeset = 1, errorset = 6, tv_sec = 695, tv_usec = 994000, slct = 0, v = 695994
34944 - Sep 25 18:16:32.417 [ThreadID:6320] - [6320] INFO > select returned 1
34945 - Sep 25 18:16:32.417 [ThreadID:6320] - [6320] SOCK > select triggered writeset socket 7052
34946 - Sep 25 18:16:32.417 [ThreadID:6320] - [6320] OUT > 6320 PostSelect: (send) socket 7052, length = 262112, bytes not sent
34947 - Sep 25 18:16:32.417 [ThreadID:6320] - [6320] > ---------------------------------------------------------------------
34948 - Sep 25 18:16:32.417 [ThreadID:6320] - [6320] ERROR> 6320 PostSelect: Socket Error: 10054 on socket 7052
34949 - Sep 25 18:16:32.417 [ThreadID:6320] - [6320] SOCK > 6320 closing socket 1916 (UnBlockChain - chain A7223E8)
34950 - Sep 25 18:16:32.417 [ThreadID:6320] - [6320] INFO > 6320 PostSelect: TriggerSendOK = 0
34951 - Sep 25 18:16:32.434 [ThreadID:6320] - [6320] INFO > 6320 fd_counts: readset = 5, writeset = 0, errorset = 5, tv_sec = 0, tv_usec = 0, slct = -1, v = 0
34952 - Sep 25 18:16:32.434 [ThreadID:6320] - [6320] > Disconnect: socket 7052
34953 - Sep 25 18:16:32.434 [ThreadID:6320] - [6320] SOCK > 6320 closing socket 7052 (Disconnect)
34954 - Sep 25 18:16:32.434 [ThreadID:6320] - [6320] WARN > HTTP-GET request aborted by client endpoint. session = B683C17
34955 - Sep 25 18:16:32.451 [ThreadID:6320] - [6320] INFO > 6320 fd_counts: readset = 5, writeset = 0, errorset = 6, tv_sec = 695, tv_usec = 958000, slct = 0, v = 695958
34956 - Sep 25 18:16:32.520 [ThreadID:5b74] - [5B74] WARN > select timed out with tv_sec = 0 and tv_usec = 500000
34957 - Sep 25 18:16:32.520 [ThreadID:5b74] - [5B74] INFO > 5B74 fd_counts: readset = 9, writeset = 0, errorset = 7, tv_sec = 776, tv_usec = 689000, slct = 0, v = 776689
34958 - Sep 25 18:16:32.973 [ThreadID:6320] - [6320] WARN > select timed out with tv_sec = 0 and tv_usec = 500000
34959 - Sep 25 18:16:32.990 [ThreadID:6320] - [6320] INFO > 6320 fd_counts: readset = 5, writeset = 0, errorset = 6, tv_sec = 695, tv_usec = 419000, slct = 0, v = 695419
34960 - Sep 25 18:16:33.025 [ThreadID:5b74] - [5B74] WARN > select timed out with tv_sec = 0 and tv_usec = 500000
34961 - Sep 25 18:16:33.025 [ThreadID:5b74] - [5B74] INFO > 5B74 fd_counts: readset = 9, writeset = 0, errorset = 7, tv_sec = 776, tv_usec = 184000, slct = 0, v = 776184
34962 - Sep 25 18:16:33.494 [ThreadID:6320] - [6320] WARN > select timed out with tv_sec = 0 and tv_usec = 500000
34963 - Sep 25 18:16:33.510 [ThreadID:6320] - [6320] INFO > 6320 fd_counts: readset = 5, writeset = 0, errorset = 6, tv_sec = 694, tv_usec = 898000, slct = 0, v = 694898
34964 - Sep 25 18:16:33.534 [ThreadID:5b74] - [5B74] WARN > select timed out with tv_sec = 0 and tv_usec = 500000
34965 - Sep 25 18:16:33.534 [ThreadID:5b74] - [5B74] INFO > 5B74 fd_counts: readset = 9, writeset = 0, errorset = 7, tv_sec = 775, tv_usec = 675000, slct = 0, v = 775675
34966 - Sep 25 18:16:33.921 [ThreadID:6320] - [6320] INFO > select returned 1
34967 - Sep 25 18:16:33.921 [ThreadID:6320] - [6320] SOCK > select triggered readset socket 3712
34968 - Sep 25 18:16:33.921 [ThreadID:6320] - [6320] > 6320 PostSelect: (accept) socket 6920 is available for listen socket 3712
34969 - Sep 25 18:16:33.921 [ThreadID:6320] - [6320] SOCK > Scope: all
34970 - Sep 25 18:16:33.921 [ThreadID:6320] - [6320] SOCK > UseThisSocket: 6920
34971 - Sep 25 18:16:33.921 [ThreadID:6320] - [6320] SOCK > 6320 closing socket 1916 (UnBlockChain - chain A7223E8)
34972 - Sep 25 18:16:33.921 [ThreadID:6320] - [6320] > 6320 PostSelect: (accept) connected socket 6920 on listen socket 3712 to 162.207.161.251
34973 - Sep 25 18:16:33.939 [ThreadID:6320] - [6320] INFO > 6320 fd_counts: readset = 6, writeset = 0, errorset = 6, tv_sec = 4, tv_usec = 993000, slct = -1, v = 4993
34974 - Sep 25 18:16:33.939 [ThreadID:6320] - [6320] INFO > select returned 1
34975 - Sep 25 18:16:33.939 [ThreadID:6320] - [6320] SOCK > select triggered readset socket 6920
34976 - Sep 25 18:16:33.939 [ThreadID:6320] - [6320] IN > 6320 recvfrom socket 6920 (162.207.161.251) bytes received = 246
GET /content/taz1l0z1l122041z1l15z2l106009z2l106035zvl7491x2fbe ?contenturl=aHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2 g_dj1Nd20xSDBkeEFLWQ==&cva_extract=1 HTTP/1.1
Bookmarks