Modify

Ticket #576 (closed task: fixed)

Opened 4 years ago

Last modified 3 years ago

Streaming Error - Filename Sanitisation Issue - Transcode Star

Reported by: anna Owned by:
Priority: minor Milestone: 4.8
Component: Transcoding Severity:
Keywords: Cc:
Who will test this: And

Description (last modified by anna) (diff)

Rico reports getting a streaming error while trying to watch a video.

 https://www.engagemedia.org/Members/ivaa/videos/Korban%20%28Destruksi%201%29%20-%20Performance%20art%20oleh%20FX%20Harsono.mp4/view

He says that he loads the page, then gets an error 200 stream not found. Then it takes ages to load, but eventually it loads as normal.

If you try downloading the ogv (or transcoded mp4 file manually), you'll get a file not found. Checking the urls, the one that plumi is trying to access is:  http://videos.engagemedia.org/transcoded/http/www.engagemedia.org/Members/ivaa/videos/Korban-%28Destruksi-1%29---Performance-art-oleh-FX-Harsono.mp4/ogg/Korban-Destruksi-1-Performance-art-oleh-FX-Harsono.ogv while the one that the transcode daemon actually provides for the video, is:  http://videos.engagemedia.org/transcoded/http/www.engagemedia.org/Members/ivaa/videos/Korban-%2528Destruksi-1%2529---Performance-art-oleh-FX-Harsono.mp4/ogg/Korban-Destruksi-1-Performance-art-oleh-FX-Harsono.ogv

Notice the extra %25s. This is because of the (pretty strange) filename that this video has. Most of these, plone and the daemon try to sanitise but it seems that this is a case that sanitisation doesn't work in the same way for both. It's a different issue, it has nothing to do with the site performance. We should open a new ticket with the specific video and try to solve this sanitisation issue for one of the next milestones.

The reason that if you click a few times the flowplayer the video plays, is that eventually after it times-out you may manage to make it fall-back and make it play the original video which is also an mp4.

A quick way to solve this would be to download the original file and re-upload it with a more compatible filename.

This seems like an edge-case, so am assigning to 4.2 for now.

NOTE: another proposed solution is to allow renaming of the video file itself through the web.

Attachments

Change History

comment:1 Changed 4 years ago by anna

  • Description modified (diff)

From Andrew:

one quick thing on this - unfortunately people upload badly named files (with spaces) via ftp quite frequently. Because ftp delivered files are often quite large downloading/uploading them again on Indonesian bandwidth can be a little cumbersome.

One thing I'm wondering is does renaming the file through plone change the name of the file? This might be a short way around it. Or is there a doing that could be enabled through the web?

comment:2 Changed 4 years ago by anna

i wonder if we could put a text file in that ftp directory called....

REMOVE-SPACES-FROM-FILENAME-BEFORE-UPLOADING

also with an indonesian translation.... ?

comment:3 Changed 4 years ago by and

  • Milestone changed from 4.3 Beta (Re-Design of EM.org & Plumi) to 4.5 Beta Refactoring

Moving to refactor, unless this continues to be an immediate issue.

comment:4 Changed 3 years ago by and

Dimo/Mike? - with the TD refactoring do you expect this is something that will be solved?

comment:5 Changed 3 years ago by and

  • Status changed from new to closed
  • Resolution set to ready for testing

AFAIK this is no longer an issue, moved to ready for testing for anna to check.

comment:6 Changed 3 years ago by anna

  • Status changed from closed to reopened
  • Resolution ready for testing deleted

I uploaded a video via FTP with spaces in the filename, the transcoder picked it up.

comment:7 Changed 3 years ago by anna

  • Status changed from reopened to closed
  • Resolution set to fixed
View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.