Jump to content


Photo

Is someone have a Chromecast v2 DLNA profile for Direct Play please?

dlna chromecast direct play transcoding

  • Please log in to reply
8 replies to this topic

#1 lakano OFFLINE  

lakano

    Newbie

  • Members
  • 6 posts
  • Local time: 08:29 AM

Posted 22 August 2017 - 10:57 AM

Hi !

 

I have a screen attached to a Chromecast v2.

I have a Raspberry Pi 2, with Emby server with DLNA support.

 

From my iPad, with the Emby official application, I can stream all my movies.

 

But, for each video, there is transcoding, my CPU is > 99% even for videos that don't require transcoding because the Chromecast v2 support it.

 

If I use a simple iPad application to play a DLNA video to my Chromecast (without any transcoding), I can play the same video with less than 5% of CPU usage.

 

So, I suppose this could be fixed if I create a ChromeCast profile to skip some supported audio/video codecs, to be in direct play, but it's really complicated for me to do this because there is a lot of informations to known, and my knowledges are too limited to fill this correctly.

 

I would like to known if someone have already created this DLNA profile and could share it please?

 

Best regards,

 

 



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135757 posts
  • Local time: 02:29 AM

Posted 22 August 2017 - 11:16 AM

We already direct play whenever possible. Can you please discuss a specific example? Thanks.

#3 lakano OFFLINE  

lakano

    Newbie

  • Members
  • 6 posts
  • Local time: 08:29 AM

Posted 22 August 2017 - 12:26 PM

Hi Luke,

 

For example, I have a video where Emby detect : 720P H264 5.1 DTS, the .nfo codec info are:

      <video>
        <codec>h264</codec>
        <micodec>h264</micodec>
        <bitrate>5664761</bitrate>
        <width>1280</width>
        <height>536</height>
        <aspect>2.40:1</aspect>
        <aspectratio>2.40:1</aspectratio>
        <framerate>23.97599</framerate>
        <language>eng</language>
        <scantype>progressive</scantype>
        <default>True</default>
        <forced>False</forced>
        <duration>110</duration>
        <durationinseconds>6624</durationinseconds>
      </video>
      <audio>
        <codec>dts</codec>
        <micodec>dts</micodec>
        <bitrate>1536000</bitrate>
        <language>fre</language>
        <scantype>progressive</scantype>
        <channels>6</channels>
        <samplingrate>48000</samplingrate>
        <default>True</default>
        <forced>False</forced>
      </audio>

And when I play it from Emby application on the iPad to the Chromecast, my Raspberry Pi suffering ( > 99%, ffmpeg process )

If I play the same video from any simple iPad application player, that only detect the resources URI of the DLNA videa on my Pi and ask Chromecast to play it, this works like a charm with less than 5% CPU load.

 

Regards 



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135757 posts
  • Local time: 02:29 AM

Posted 22 August 2017 - 01:48 PM

@lakano, Chromecast does not support DTS. If you would like a more detailed explanation of what happened, then please attach the information requested in how to report a media playback issue. thanks !



#5 lakano OFFLINE  

lakano

    Newbie

  • Members
  • 6 posts
  • Local time: 08:29 AM

Posted 22 August 2017 - 01:54 PM

Ok, so how is it possible that I listen the sound of the video if I use a simple DLNA-to-Chromecast player (AllCast TV app) ?

May be ChromeCast v2 convert it on-the-fly himself to stereo ?

Because on the Pi, there is no active process when I use another player, and this works like a charm.



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135757 posts
  • Local time: 02:29 AM

Posted 22 August 2017 - 01:55 PM

The dlna app is probably converting it on the fly, just like emby server is.



#7 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135757 posts
  • Local time: 02:29 AM

Posted 22 August 2017 - 01:57 PM

https://productforum...ast/z_mXhzP3ASk



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135757 posts
  • Local time: 02:29 AM

Posted 22 August 2017 - 01:57 PM

https://productforum...ast/Vy4bIDLnO-s



#9 lakano OFFLINE  

lakano

    Newbie

  • Members
  • 6 posts
  • Local time: 08:29 AM

Posted 22 August 2017 - 02:03 PM

hummm it's strange because this app doesn't doing transcoding.

If I totaly turn off the iPad after launching the video, the video continue to play, and I have the sound.

May be the video it's not really DTS (nfo error?). I'll check with others videos to see if it's always a DTS case.

I'll check that in few hours.

Thanks for your feedback Luke !


Edited by lakano, 22 August 2017 - 02:03 PM.






Also tagged with one or more of these keywords: dlna, chromecast, direct play, transcoding

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users