Page 1 of 6 123 ... LastLast
Results 1 to 10 of 55

Thread: Trailers not streaming part 2

  1. #1
    Join Date
    May 2016
    Posts
    32

    Default Trailers not streaming part 2

    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

  2. #2
    Join Date
    Sep 2009
    Posts
    2,699

    Default

    You may find that the Roku does not support the mp4 youtube video codec. For the YouTube trailers when they were working we had to force format 18 for Youtube which is 360p as other formats would not play.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  3. #3
    Join Date
    Jun 2012
    Posts
    1,090

    Default

    Quote Originally Posted by spags65 View Post
    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
    I haven't tested local You Tube trailers with Roku devices but I have a few of the Ultra devices and will see what I can determine. Can you tell me what type of Roku device you are using and do you have other endpoints connected to Mezzmo that you are using / playing trailers with ?

    Lastly, can you look in the Trailer Checker logfile for 3 lines which look like this and reply back with them ?

    2023-09-24 18:05:54 - Attempting fetch You Tube trailer at: 1080p - https://www.youtube.com/watch?v=GAjlZOTDV6o
    2023-09-24 18:06:02 - Fetched You Tube trailer at: 1080p - https://www.youtube.com/watch?v=GAjlZOTDV6o
    2023-09-24 18:06:03 - No adjustments needed for: ytube_THE_COVENANT_A_Process_Of_Discovery_Featuret te.mp4

    In your case the the last line for you will have:

    ytube_Lani_Hall__Never_Say_Never_Again_Widescreen_ Stereo_Mix.mp4

    in the name. This will let me see what format was downloaded from You Tube.

    If this ends up being a format issue and depending what else is on your network, I might be able to modify the Trailer Checker program to reencode into a Roku supported format. Roku devices have historically had a limited codec set but it has gotten better for video codecs. Audio is still problematic beyond the most basic codecs.

    Peter will need to confirm but I don't believe Mezzmo transcodes trailers like the main movies.


    Thanks,

    Jeff

  4. #4
    Join Date
    Jun 2012
    Posts
    1,090

    Default

    I did some testing with my Roku Ultra units and converted an existing mp4 trailer to mkv format. The Roku was able to play a 1080P trailer with no problems in MKV format but could not play the MP4 format. I can add a feature to the Trailer Checker where you can specify the output format as either either native (MP4) or MKV. Will that work ? Also would you want to see the container format in the trailer name (i.e Trailer Name (MKV), Trailer Name (MP4) or just leave as Trailer name) ?

    The only problem is that I may not be able to get to this for a bit. I am traveling the next 2 weeks and I don't know if I'll have time to finish the coding and testing this week. I'll see what I can do.


    Thanks,

    Jeff
    Last edited by jbinkley60; 09-26-2023 at 09:17 PM.

  5. #5
    Join Date
    May 2016
    Posts
    32

    Default

    Tweaking the trailer software to encode in mkv should resolve the issue. Might need help to figure out how to get the trailer software to re-download mp4 trailers.

    Thank you for your assistance.

  6. #6
    Join Date
    Jun 2012
    Posts
    1,090

    Default

    Quote Originally Posted by spags65 View Post
    Tweaking the trailer software to encode in mkv should resolve the issue. Might need help to figure out how to get the trailer software to re-download mp4 trailers.

    Thank you for your assistance.
    I am working on the option to convert the trailers as they are downloaded. Once done, I'll look to support bulk adjustments of existing trailers, like it currently supports frame rate and audio level adjustments. I'll add adjust output format.


    Stay tuned.

    Jeff

  7. #7
    Join Date
    May 2016
    Posts
    32

    Default

    Thank you. Thank you. Is there any way to make bulk adjustments for folder location of downloaded youtube file? My first batch of trailers were downloaded with config of e:\o\trailers. I left off the backslash. So the file location in mezzmo is incorrect. For example trailer was downloaded and saved in mezzmo with the following file location. E:\o\trailersytube_Lani_Hall__Never_Say_Never_Agai n_Widescreen_Stereo_Mix.mp4. The correct location should be E:\o\trailers\ytube_Lani_Hall__Never_Say_Never_Aga in_Widescreen_Stereo_Mix.mp4

    Changing the file location for ~ 400 trailers would be painful.

  8. #8
    Join Date
    Jun 2012
    Posts
    1,090

    Default

    I have a test release which can be downloaded here. You'll want to click on the "mezzmo_trailer_checker_v0.0.18test.zip" file. Note that the config file has an extra line in it now for selecting mp4 or mkv output. You can cut/paste this last line into your current config file and set it to mkv. mp4 is the default.

    This version only adjusts to mkv for new trailer downloads. Bulk adjustments will come later. You'll want to pick a movie to test. Once you have done this, here are the steps to test:

    1. Backup your Mezzmo database.
    2. In the Mezzmo GUI go to the properties for the movie you want to test and remove any local trailers, leaving just the trailers which are https://www.youtube....
    3. Stop Mezzmo server service and GUI
    4. Run the trailer checker clean name or clean number to remove the movie trailers for this movie from the Trailer Checker database. You will get a prompt letting you know what is being removed.
    5. Run the trailer checker with the trailer command. This will download the new trailers and convert them to mkv format You will see a lot of more stuff than normal on the screen. I left a lot of debugging information on the screen just in case there are issues.
    6. Restart Mezzmo GUI and server service
    7. Go back to the movie properties in Mezzmo and observe that the local trailers are now in mkv format

    If the trailers download successfully you should be able to play them on your Roku device.


    Thanks,

    Jeff
    Last edited by jbinkley60; 09-28-2023 at 03:14 AM.

  9. #9
    Join Date
    Jun 2012
    Posts
    1,090

    Default

    Quote Originally Posted by spags65 View Post
    Thank you. Thank you. Is there any way to make bulk adjustments for folder location of downloaded youtube file? My first batch of trailers were downloaded with config of e:\o\trailers. I left off the backslash. So the file location in mezzmo is incorrect. For example trailer was downloaded and saved in mezzmo with the following file location. E:\o\trailersytube_Lani_Hall__Never_Say_Never_Agai n_Widescreen_Stereo_Mix.mp4. The correct location should be E:\o\trailers\ytube_Lani_Hall__Never_Say_Never_Aga in_Widescreen_Stereo_Mix.mp4

    Changing the file location for ~ 400 trailers would be painful.
    Mezzmo has a bulk change utility but I don't know if it will work for this or not. I don't know if it runs against the file table only or also the filesExtra table (i.e. trailer table). Peter can comment on this. I think it only works on the file table, which won't help.

    Are these 400 movies or 400 trailers ? I'll give this some thought on the best way to fix. I might just create you a special one time query that will delete the bad entries from Mezzmo, then you'd clean them from the Trailer checker database and download them again. The bulk change I was eyeing was to bulk convert existing mp4 trailers to mkv format.


    Thanks,

    Jeff
    Last edited by jbinkley60; 09-28-2023 at 02:49 AM.

  10. #10
    Join Date
    May 2016
    Posts
    32

    Default

    This is 400 trailers that the path needs to be corrected in the database. I do have some experience with databases. Is it as easy as connecting with sql client to the database? If so, I may need schema to figure out where the files paths need to be corrected. More than likely, you will create a query a whole lot quicker.

Similar Threads

  1. Trailers not streaming
    By spags65 in forum Mezzmo Questions and Support
    Replies: 2
    Last Post: 09-08-2023, 10:27 AM
  2. Season/Episode AND part naming
    By spoid in forum Mezzmo Questions and Support
    Replies: 1
    Last Post: 09-07-2014, 11:30 AM
  3. Trailers
    By goingmad in forum Mezzmo Questions and Support
    Replies: 1
    Last Post: 07-01-2014, 07:05 AM
  4. Metadata for multi-part movies
    By Synn in forum Mezzmo Questions and Support
    Replies: 4
    Last Post: 02-25-2013, 09:36 AM
  5. Part of the dialog window is invisible
    By Konstant in forum DownloadStudio Questions and Support
    Replies: 2
    Last Post: 03-09-2012, 08:29 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •