Jump to content


Photo

Direct play XviD and transcode DivX. Possible?

dlna transcode xvid divx direct play

  • Please log in to reply
29 replies to this topic

#21 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134339 posts
  • Local time: 07:26 AM

Posted 22 February 2016 - 08:09 PM

Will done guys

#22 lol OFFLINE  

lol

    Advanced Member

  • Members
  • 30 posts
  • Local time: 11:26 AM

Posted 23 February 2016 - 06:13 PM

Evening folks.

 

So after extensive testing and trial and error I have further tweaked the 2014 Bravia profile to Direct play what it's capable of and transcode the rest.

Here's what I've done:

 

Replaced the mpeg4 direct play profile with xvid...

DirectPlayProfile container="avi" audioCodec="ac3,eac3,mp3,mp2" VideoCodecTag="xvid" type="Video" />

Added some codec profiles so it always transcodes these...

<CodecProfiles>
    <CodecProfile type="Video" codec="mpeg4">
      <Conditions>
        <ProfileCondition condition="NotEquals" property="VideoCodecTag" value="DX50" isRequired="true" />
	<ProfileCondition condition="NotEquals" property="VideoCodecTag" value="DIVX" isRequired="true" />
      </Conditions>
    </CodecProfile>
    <CodecProfile type="Video" codec="msmpeg4">
      <Conditions>
        <ProfileCondition condition="NotEquals" property="VideoCodecTag" value="DIV3" isRequired="true" />
      </Conditions>
    </CodecProfile>
</CodecProfiles>

I'm not sure if it's been pointed out before, but now I've added the VideoCodecTag property, the front end website doesn't work when I try to change my custom DLNA profile. All changes have to be made through editing the xml file.

 

Thanks for all the help  :D



#23 Redshirt OFFLINE  

Redshirt

    Android Adept

  • Alpha Testers
  • 5083 posts
  • Local time: 04:26 AM
  • LocationBritish Columbia, Canada

Posted 23 February 2016 - 06:19 PM

Well done lol.

 

Luke (or anyone else), can you just verify for my own knowledge. The isRequired property... when set to false it only affects transcoding profiles, when set to true it affects both direct play/stream and transcoding?



#24 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 15035 posts
  • Local time: 04:26 AM
  • LocationWashington State

Posted 23 February 2016 - 06:46 PM

I would think "NotEquals" would have given the opposite affect, transcoding everything not "DX50, DIVX, DIV3".



#25 Redshirt OFFLINE  

Redshirt

    Android Adept

  • Alpha Testers
  • 5083 posts
  • Local time: 04:26 AM
  • LocationBritish Columbia, Canada

Posted 23 February 2016 - 06:55 PM

Nah, I think that just re-enforces my question above.

 

When direct playing "mpeg4" the "VideoCodecTag" must "NotEquals" "DX50" or "DIVX". Chances are when it transcodes, it's transcoding to AAC or MP3.



#26 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 4987 posts
  • Local time: 04:26 AM

Posted 23 February 2016 - 07:08 PM

Redshirt yes. This brings back roku memories. The rokus firmware bugs made the codectag useful for a bit.

The first codec listed in your compatibility list will be the default. "aac,mp3" vs "mp3,aac" in the profile. In the sample by lol above he puts ac3 first which is what I do on the roku too.

Sent from my Nexus 7 using Tapatalk

Edited by speechles, 23 February 2016 - 07:10 PM.


#27 markofealing OFFLINE  

markofealing

    Member

  • Members
  • 12 posts
  • Local time: 11:26 AM

Posted 02 May 2016 - 05:24 AM

Loving Emby, but not loving transcoding!

 

I'm running Emby on Ubuntu 16.04 and have Samsung, LG and Panasonic Smart TVs. The Samsung TVs run the Emby App, the LG runs WebOS 2 and the Pansonic Firefox OS no Apps are available at present for these platforms. Emby is on the latest Ubuntu 15.10 version 3.0.5931.0 (awaiting a 16.04 repo). Whilst the Samsung TVs have DIVX registration screens in the setup the Panasonic doesn't, although I'm unsure what difference this makes.

 

On the Panasonic I can't playback DIVX or XVID videos unless I transcode them with Handbrake first. The videos are in MPEG4 AVI containers. Playback is via the web interface which Firefox OS runs beautifully, unlike WebOS 2 which gives me a blank screen!

 

When I try to play one of these videos all I get is an error reading the file message. DLNA Playback is enabled and I have tried to setup a DLNA custom profiles for DIVX and XDIV as follows:

 

Protocol: http

Container: ts

Video Codec: DIVX

Audio Codec: AC3

 

and

 

Protocol: http

Container: ts

Video Codec: xvid

Audio Codec: AC3

 

Information is from EMBY and/ or VLC codec tool.

 

 

Finally, for non DLNA playback how to I edit the profiles (where are they located in an Ubuntu install) so I can play videos using these codecs?

 

These codecs are quite common, so I don't understand why there isn't better default support in Emby or at the very least documentation on how to set this up. It's really frustrating.

 

 

 

 



#28 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134339 posts
  • Local time: 07:26 AM

Posted 02 May 2016 - 09:08 AM

Loving Emby, but not loving transcoding!

 

I'm running Emby on Ubuntu 16.04 and have Samsung, LG and Panasonic Smart TVs. The Samsung TVs run the Emby App, the LG runs WebOS 2 and the Pansonic Firefox OS no Apps are available at present for these platforms. Emby is on the latest Ubuntu 15.10 version 3.0.5931.0 (awaiting a 16.04 repo). Whilst the Samsung TVs have DIVX registration screens in the setup the Panasonic doesn't, although I'm unsure what difference this makes.

 

On the Panasonic I can't playback DIVX or XVID videos unless I transcode them with Handbrake first. The videos are in MPEG4 AVI containers. Playback is via the web interface which Firefox OS runs beautifully, unlike WebOS 2 which gives me a blank screen!

 

When I try to play one of these videos all I get is an error reading the file message. DLNA Playback is enabled and I have tried to setup a DLNA custom profiles for DIVX and XDIV as follows:

 

Protocol: http

Container: ts

Video Codec: DIVX

Audio Codec: AC3

 

and

 

Protocol: http

Container: ts

Video Codec: xvid

Audio Codec: AC3

 

Information is from EMBY and/ or VLC codec tool.

 

 

Finally, for non DLNA playback how to I edit the profiles (where are they located in an Ubuntu install) so I can play videos using these codecs?

 

These codecs are quite common, so I don't understand why there isn't better default support in Emby or at the very least documentation on how to set this up. It's really frustrating.

 

Hi there, welcome. You mentioned lots of different apps in a single posting, so it's a little difficult to understand where you're having issues. Best thing to do is see how to report a media playback issue. Thanks!



#29 markofealing OFFLINE  

markofealing

    Member

  • Members
  • 12 posts
  • Local time: 11:26 AM

Posted 07 May 2016 - 02:18 AM

Sorry, I will clarify:

 

When I try to play DIVX or XVID videos using Firefox OS web browser on the Panasonic (50CX700b) TV all I get is an error reading the file message.

 

DLNA Playback is enabled and I have tried to set-up a DLNA custom profiles for DIVX and XDIV as follows:

 

Protocol: http

Container: ts

Video Codec: DIVX

Audio Codec: AC3

 

and

 

Protocol: http

Container: ts

Video Codec: xvid

Audio Codec: AC3

 

Am I setting up these custom profiles incorrectly for transcoding xvid and divx codecs?

 

Thanks



#30 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134339 posts
  • Local time: 07:26 AM

Posted 07 May 2016 - 01:28 PM

No, you need to make sure to use the video codec names that appear in the web interface. But actually if you're using a web browser then this is not related to DLNA, which brings us back to my request in post #28. Thanks.







Also tagged with one or more of these keywords: dlna, transcode, xvid, divx, direct play

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users