Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. PeerTube
  3. Transcode after import fails

Transcode after import fails

Scheduled Pinned Locked Moved Solved PeerTube
46 Posts 3 Posters 2.8k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • girishG girish

    @imc67 said in Transcode after import fails:

    Does it play HLS or WebTorrent?

    How can I make out? I actually disabled WebTorrent just like your initial transcoding configuration. Only HLS with P2P is enabled. But I would like to check how it's playing the video.

    imc67I Online
    imc67I Online
    imc67
    translator
    wrote on last edited by
    #36

    @girish said in Transcode after import fails:

    I actually disabled WebTorrent

    Did you disabled before uploading video or after?

    girishG 1 Reply Last reply
    0
    • imc67I imc67

      @girish said in Transcode after import fails:

      I actually disabled WebTorrent

      Did you disabled before uploading video or after?

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #37

      @imc67 said in Transcode after import fails:

      Did you disabled before uploading video or after?

      I disabled before uploading the video. I see firefox downloading a lot of "fragmented" mp4s.

      993697a2-d5b0-4f8f-940b-f5b1ac32e9de-image.png

      imc67I 1 Reply Last reply
      0
      • girishG girish

        @imc67 said in Transcode after import fails:

        Did you disabled before uploading video or after?

        I disabled before uploading the video. I see firefox downloading a lot of "fragmented" mp4s.

        993697a2-d5b0-4f8f-940b-f5b1ac32e9de-image.png

        imc67I Online
        imc67I Online
        imc67
        translator
        wrote on last edited by
        #38

        @girish said in Transcode after import fails:

        I see firefox downloading a lot of "fragmented" mp4s

        WebTorrent als has those fragmented files, did you see also in that network-list a *.m3u8 file (see my screenshot earlier)? Then it's HLS.

        girishG 1 Reply Last reply
        0
        • imc67I imc67

          @girish said in Transcode after import fails:

          I see firefox downloading a lot of "fragmented" mp4s

          WebTorrent als has those fragmented files, did you see also in that network-list a *.m3u8 file (see my screenshot earlier)? Then it's HLS.

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #39

          @imc67 Yes, I see m3u8 downloaded (which is the HLS index file, I guess). Also, AFAICT this tracker/socket thing is something webtorrent related and the 403 is returned because we disabled webtorrent explicitly. I am trying to get peertube to indicate in the logs to confirm this.

          5c330c7e-737f-4916-8e2c-2d0fc91d042c-image.png

          1 Reply Last reply
          0
          • imc67I Online
            imc67I Online
            imc67
            translator
            wrote on last edited by
            #40

            @girish very strange the videos do play HLS in Safari in your environment. Then it must be the video? Our videos are all 720P25 mp4, I could send you one to test?

            girishG 2 Replies Last reply
            0
            • imc67I imc67

              @girish very strange the videos do play HLS in Safari in your environment. Then it must be the video? Our videos are all 720P25 mp4, I could send you one to test?

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #41

              @imc67 I think I found the issue with the tracker wss. Looks like the package have trust proxy configured incorrectly - https://github.com/Chocobozzz/PeerTube/blob/4e239e3554ba7162c03e939f54133933527a1b74/server/controllers/tracker.ts#L99 .

              BTW, I changed the location of my peertube instance and this completely broke the videos. Do you know if you changed the location of your peertube instance by any chance? The peertube docs do say that this won't work, I forgot about it. Otherwise, if you can put the video for download somewhere, I can try it out in my instance.

              1 Reply Last reply
              0
              • imc67I imc67

                @girish very strange the videos do play HLS in Safari in your environment. Then it must be the video? Our videos are all 720P25 mp4, I could send you one to test?

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #42

                @imc67 Actually, the tracker is not a problem. Peertube simply returns 403 when info hash (something webtorrent related) is not found and blocks that IP. So, I guess the status now is that it works for me and we can test it out with your video in my instance. Also, confirm that you haven't changed the location of peertube after installing/uploading videos. This seems to break everything.

                imc67I 1 Reply Last reply
                0
                • girishG girish

                  @imc67 Actually, the tracker is not a problem. Peertube simply returns 403 when info hash (something webtorrent related) is not found and blocks that IP. So, I guess the status now is that it works for me and we can test it out with your video in my instance. Also, confirm that you haven't changed the location of peertube after installing/uploading videos. This seems to break everything.

                  imc67I Online
                  imc67I Online
                  imc67
                  translator
                  wrote on last edited by
                  #43

                  @girish I can confirm I haven't changed location. I'll send you an email with a download link for a test video and the URL of our instance.

                  imc67I 1 Reply Last reply
                  0
                  • imc67I imc67

                    @girish I can confirm I haven't changed location. I'll send you an email with a download link for a test video and the URL of our instance.

                    imc67I Online
                    imc67I Online
                    imc67
                    translator
                    wrote on last edited by
                    #44

                    @imc67 I just uploaded a video produced in 1080P and that one plays fine!?!

                    So I guess it are the export settings causing this error in PT.

                    I created an issue in their Github: https://github.com/Chocobozzz/PeerTube/issues/3502

                    girishG 1 Reply Last reply
                    0
                    • imc67I imc67

                      @imc67 I just uploaded a video produced in 1080P and that one plays fine!?!

                      So I guess it are the export settings causing this error in PT.

                      I created an issue in their Github: https://github.com/Chocobozzz/PeerTube/issues/3502

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #45

                      @imc67 Is there a sample video you can link to the upstream task, so they can test it out?

                      1 Reply Last reply
                      0
                      • imc67I Online
                        imc67I Online
                        imc67
                        translator
                        wrote on last edited by imc67
                        #46

                        @girish it’s probably fixed:

                        Force HLS transcoding
                        Fix weird behaviour with some web browsers. Don't really know if it's a ffmpeg bug, a safari bug or a peertube bug, but forcing transcoding seems to fix this playback bug

                        Now we have to wait for the next release πŸ˜€

                        1 Reply Last reply
                        2
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Bookmarks
                        • Search