FAQ  •  Register  •  Login

s390 and avi files

<<

nagyg

Serviio newbie

Posts: 3

Joined: Thu Sep 20, 2012 5:18 pm

Post Thu Sep 20, 2012 5:54 pm

s390 and avi files

I just got a SONY S390 and cannot get avi files to play via SERVIIO. The show as MPEG files, but i get "the file is corrupt or not supported" error. I have tried FourCC changer and DivFix, but to no avail. I have a huge AVI film collection, what can I do to get them to play?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Sep 20, 2012 6:37 pm

Re: s390 and avi files

What is your region US, UK,etc ?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

nagyg

Serviio newbie

Posts: 3

Joined: Thu Sep 20, 2012 5:18 pm

Post Thu Sep 20, 2012 7:08 pm

Re: s390 and avi files

US
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Fri Sep 21, 2012 8:50 am

Re: s390 and avi files

US models does not support AVI/DIVX/MKV format.

viewtopic.php?f=11&t=2004
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

nagyg

Serviio newbie

Posts: 3

Joined: Thu Sep 20, 2012 5:18 pm

Post Fri Sep 21, 2012 11:44 am

Re: s390 and avi files

what a bummer!! Thanks for letting me know ...
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Tue Oct 02, 2012 9:07 pm

Re: s390 and avi files

Can you try deleting this line from the Sony BDP/SMP section of profiles.xml:
  Code:
<MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_PAL,MPEG_PS_NTSC">AVI</MediaFormatProfile>


Then restart Serviio and see if AVI playback works? I only have a UK model of 2012 BDP to test on, so to get some testing on a US model would be very useful. If it works, it's very likely that only AVIs which use the XVid codec will work, whereas DivX ones won't (this is the case with the European players).
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

jakev383

Serviio newbie

Posts: 4

Joined: Fri Oct 05, 2012 1:43 am

Post Fri Oct 05, 2012 1:48 am

Re: s390 and avi files

I also have the US region BDP-S390, and experienced errors when playing AVI files. I made the following changes to the /opt/serviio/config/profiles.xml file:

# diff profiles.xml orig_profiles.xml
701c701
< <MediaFormatProfile mime-type="video/mpeg">MATROSKA</MediaFormatProfile>
---
> <MediaFormatProfile mime-type="video/divx">MATROSKA</MediaFormatProfile>
704c704
< <!-- <MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_PAL,MPEG_PS_NTSC">AVI</MediaFormatProfile> -->
---
> <MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_PAL,MPEG_PS_NTSC">AVI</MediaFormatProfile>

(for those not familiar with diff, I changed the video/mpeg to video/divx on line 701, and commented out line 704 as advised above).

I no longer have issues playing AVI files stored on my file server.
Thanks!

(edit)
Here are the details of the AVI file I was trying to watch, which was previously giving me an unsupported error:

Metadata:
encoder : VirtualDubMod 1.5.10.2 (build 2540/release)
Duration: 01:35:13.36, start: 0.000000, bitrate: 1036 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 704x288 [SAR 1:1 DAR 22:9], 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 32 kb/s
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Sun Oct 07, 2012 6:15 pm

Re: s390 and avi files

That's useful thanks. The problem we have is that there doesn't seem to be a way to automatically identify whether a player is running US or European firmware. So going forward we'll have to make a separate US profile that will need manually selecting in the dropdown.
Can you confirm whether your modification above works ok for Matroska files?
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

sloMoses

Serviio newbie

Posts: 1

Joined: Tue Oct 09, 2012 5:39 am

Post Tue Oct 09, 2012 5:53 am

Re: s390 and avi files

patters wrote:Can you confirm whether your modification above works ok for Matroska files?


I have a US version BDP-S390. It has the 7/20/2012 M11.R.0422 firmware. Using Serviio over DLNA, this player was not playing any AVI files that I tried ("use" and "description" fourcc of XVID on all I tried). It was not playing mkv files, either. All files play without issue from a USB drive.

I made modifications to profiles.xml according to the diff supplied by jakev383 (changed video/divx to video/mpeg on line 701 and also commented out the referenced AVI line 704).

The player now plays the XVID AVI files and I can confirm that it now plays mkv files (at least the few mkv files that I have).

Thanks to jakev383 for posting the diff output and to Serviio developers/maintainers for providing the software.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Oct 09, 2012 6:57 am

Re: s390 and avi files

sloMoses wrote:I made modifications to profiles.xml according to the diff supplied by jakev383 (changed video/divx to video/mpeg on line 701 and also commented out the referenced AVI line 704).
The player now plays the XVID AVI files and I can confirm that it now plays mkv files (at least the few mkv files that I have).

So for the next release, with new fourcc matcher option, we could create specific US BDP profile. Patters could you follow this for the next beta version?
https://bitbucket.org/xnejp03/serviio/i ... for-fourcc
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Wed Oct 10, 2012 12:56 am

Re: s390 and avi files

Yep will do.
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Oct 10, 2012 12:44 pm

Re: s390 and avi files

Is it not just mime-type change, rather that transcoding matching?
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Sun Oct 28, 2012 11:55 am

Re: s390 and avi files

The newer ones only play Xvid natively (not DivX) so we want to transcode all MPEG4-ASP fourCCs to MPEG2 except Xvid. Same for new Bravias I think. Would be great if we could use FFmpeg to spoof the FourCC then I think they'd just play. After all, it doesn't take long to copy a 700MB file to Serviio's temp folder before playback starts.
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!

Return to Sony

Who is online

Users browsing this forum: No registered users and 25 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.