Jump to content


Photo

Why is this file being DirectStreamed and not DirectPlayed?

directstream directplay remux convert ffmpeg

  • Please log in to reply
10 replies to this topic

#1 plexman OFFLINE  

plexman

    Advanced Member

  • Members
  • 340 posts
  • Local time: 03:05 PM
  • LocationSpain

Posted 15 March 2020 - 05:35 PM

I've seen that some files are being remuxed (changed from mp4 to ts, no changes in video or audio codec) whitout apparent reason. Can somebody give me a clue why this file is being converted from mp4 to ts copying both the video and the audio?

 

The device where is being seen is able to do DirectPlay but insted it is DirectStreaming.

 

Thanks, can provide more info if needed.

Attached Files


Edited by plexman, 15 March 2020 - 05:36 PM.


#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156872 posts
  • Local time: 09:05 AM

Posted 15 March 2020 - 05:38 PM

I would compare the quality setting in the app to the bitrate of the video.



#3 plexman OFFLINE  

plexman

    Advanced Member

  • Members
  • 340 posts
  • Local time: 03:05 PM
  • LocationSpain

Posted 15 March 2020 - 05:40 PM

I would compare the quality setting in the app to the bitrate of the video.

 

I'm not sure to understand your answer sorry, what do I have to do?

 

Here is another file in the same situation.

 

EDIT: Users are not able to choose quality as transcoding video is disbled for them.

Attached Files


Edited by plexman, 15 March 2020 - 05:41 PM.


#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156872 posts
  • Local time: 09:05 AM

Posted 15 March 2020 - 05:41 PM

Did you check the quality setting in the app?



#5 plexman OFFLINE  

plexman

    Advanced Member

  • Members
  • 340 posts
  • Local time: 03:05 PM
  • LocationSpain

Posted 15 March 2020 - 05:48 PM

Let me see if I can, I'll call the user.



#6 plexman OFFLINE  

plexman

    Advanced Member

  • Members
  • 340 posts
  • Local time: 03:05 PM
  • LocationSpain

Posted 15 March 2020 - 06:00 PM

Checked the quality setting in the app and it is not there. I can't change the quality as users are not allowed to transcode video, the quality setting in profile > playback settings is disabled. And still, the file is being direct streamed instead of direct played, when the app (in this case firefox) should be able to directplay.

 

Another log and file attached.

Attached Files



#7 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156872 posts
  • Local time: 09:05 AM

Posted 15 March 2020 - 06:12 PM

You would need to deny remuxing privilege as the only way of forcing it, but of course if you do that then you'll probably see playback failures with certain things. Better to just grant all the permissions and set the quality settings appropriately.



#8 plexman OFFLINE  

plexman

    Advanced Member

  • Members
  • 340 posts
  • Local time: 03:05 PM
  • LocationSpain

Posted 15 March 2020 - 06:26 PM

Ok found the problem with the remuxing and the strange algorithm behid it. I'll try to explain my self best as possible, the situations explained are in order of execution, one after the other.

 

Video file 1080p 5 Mbps (mp4/h264/aac)

 

Situation 1:

  • User settings: EnableVideoPlaybackTranscoding - true
  • App quality (Firefox): Auto (720p - 1.5 Mbps)
  • Playback: Transcoding
  • Comment: It plays correctly, but it is transcoding as the app decided that the original bitrate was too high, ok.

Situation 2:

  • User settings: EnableVideoPlaybackTranscoding - true
  • App quality (Firefox): Forced by setting (1080p - 60 Mbps)
  • Playback: DirectPlay
  • Comment: Forcing the quality to the max plays correctly, which means the app is not deciding the best quality.

Setting back the quality to Auto, and then disabling user permission to transcode:

 

Situation 3:

  • User settings: EnableVideoPlaybackTranscoding - false
  • App quality (Firefox): Can't change.
  • Playback: DirectStreaming
  • Comment: It is now remuxing to "ts" format coying video and audio, no sense as it can direct play it perfectly.

Enabling again the user permision to transcode, then setting back the app quality to the max and then disabling the user to transcode again results in:

 

Situation 4:

  • User settings: EnableVideoPlaybackTranscoding - false
  • App quality (Firefox): Can't change.
  • Playback: DirectPlayin
  • Comment: It is now DirectPlaying :o.

Conclusion, the apps are not deciding correctly which one is the optimal quality because forcing it results in a correct play.

 

Hope it helps!


Edited by plexman, 15 March 2020 - 06:27 PM.


#9 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156872 posts
  • Local time: 09:05 AM

Posted 15 March 2020 - 06:31 PM

Right, you're better off setting the quality setting to a value that you know is accurate rather than just forcing direct play.



#10 plexman OFFLINE  

plexman

    Advanced Member

  • Members
  • 340 posts
  • Local time: 03:05 PM
  • LocationSpain

Posted 16 March 2020 - 02:42 PM

The thing is, that same file, played in Google Chrome (not Firefox) is DirectPlayed in all cases. So it's like with one app it recommends the best suitable quality (Chrome), and with the other app it recommend a medium suitable quality (Firefox) even if it is able to choose the best. Don't know, seems strange for me.

 

Thanks!



#11 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156872 posts
  • Local time: 09:05 AM

Posted 16 March 2020 - 02:44 PM

The browsers are probably just reporting different bandwidth estimations. That is why I'm suggesting to specify a quality in the app settings.


  • plexman likes this





Also tagged with one or more of these keywords: directstream, directplay, remux, convert, ffmpeg

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users