FAQ  •  Register  •  Login

Sony BDP-S370 flv H.264 support on Buffalo LS-WXL

<<

regli

Serviio newbie

Posts: 7

Joined: Thu Nov 10, 2011 12:01 am

Post Thu Nov 10, 2011 2:24 am

Sony BDP-S370 flv H.264 support on Buffalo LS-WXL

I just finally got Serviio 6.0.1 to nicely work on a Buffalo LS-WXL device. However, I have many Flash flv files that I like to play. With the present profile, these files are transcoded and the WXL with its 600 Mhz CPU is severely overtaxed and only processes 10 fps leading to stop and go viewing. FFmpeg reports them as :

Metadata:
aacaot : 2
audiochannels : 2
audiocodecid : mp4a
audiosamplerate : 32000
avclevel : 30
avcprofile : 77
duration : 880
height : 240
moovPosition : 32
videocodecid : avc1
videoframerate : 25
width : 432

However, I discovered that running:

  Code:
ffmpeg -vcodec copy -acodec copy -i test.flv out.mp4


simply remuxes the stream and the player is able to play "out.mp4" perfectly. This seems to imply that a few fixes in the profile should fix this issue permanently. However, I checked out the profiles.xml and am not quite clear how to enable that.

Any help would be greatly appreciated.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Nov 10, 2011 7:59 am

Re: Sony BDP-S370 flv H.264 support on Buffalo LS-WXL

For the moment, Serviio doesn't support transcoding to mp4 in the fly.
But you could transcode locally with your command and add the result into serviio library.

Could you provide "ffmpeg -i" result of this file?
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
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Nov 10, 2011 10:08 am

Re: Sony BDP-S370 flv H.264 support on Buffalo LS-WXL

I assume remuxing to mpeg2ts should work as well (h264 flv videos only).
<<

regli

Serviio newbie

Posts: 7

Joined: Thu Nov 10, 2011 12:01 am

Post Thu Nov 10, 2011 8:19 pm

Re: Sony BDP-S370 flv H.264 support on Buffalo LS-WXL

Illico wrote:For the moment, Serviio doesn't support transcoding to mp4 in the fly.
But you could transcode locally with your command and add the result into serviio library.

Could you provide "ffmpeg -i" result of this file?



Here are the complete results:

root@NASLS2:/mnt/disk1/tmp# ffmpeg -i test.flv
ffmpeg version 0.8.git, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 8 2011 21:21:41 with gcc 4.2.3
configuration: --arch=arm --enable-armv5te --prefix=/opt --extra-cflags=-I/opt/include --extra-ldflags='-L/opt/lib:/lib' --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-libmp3lame --enable-librtmp
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 25. 0 / 2. 25. 0
libswscale 2. 0. 0 / 2. 0. 0
[flv @ 0xcd6440] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'test.flv':
Metadata:
aacaot : 2
audiochannels : 2
audiocodecid : mp4a
audiosamplerate : 32000
avclevel : 30
avcprofile : 77
duration : 880
height : 240
moovPosition : 32
videocodecid : avc1
videoframerate : 25
width : 432
Duration: 00:14:39.92, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264 (Main), yuv420p, 432x240 [PAR 1:1 DAR 9:5], 25 tbr, 1k tbn, 50 tbc
Stream #0.1: Audio: aac, 32000 Hz, stereo, s16
At least one output file must be specified


FFmpeg is compiled from the source at the Serviio site.

I'll play around with profile.xml. I assume that all I'd need to do is add a correct MediaFormatProfile to implement zip's suggestion.

Thanks for your help!
<<

regli

Serviio newbie

Posts: 7

Joined: Thu Nov 10, 2011 12:01 am

Post Thu Nov 10, 2011 8:56 pm

Re: Sony BDP-S370 flv H.264 support on Buffalo LS-WXL

Should this do it in the transcoding section?
  Code:
         <!-- allow flv/H.264 files to be remuxed -->
         <Video targetContainer="mpegts">
            <Matches container="flv" vCodec="h264" />
         </Video>
<<

regli

Serviio newbie

Posts: 7

Joined: Thu Nov 10, 2011 12:01 am

Post Fri Nov 11, 2011 6:03 am

Re: Sony BDP-S370 flv H.264 support on Buffalo LS-WXL

This works quite well now. Thanks for the help.

However, on a 4:3 TV it cuts off the sides instead of formatting it into 16:9 with black bars.

Any option to force that?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Nov 11, 2011 10:51 am

Re: Sony BDP-S370 flv H.264 support on Buffalo LS-WXL

that is a known problem and will be fixed at some point
<<

regli

Serviio newbie

Posts: 7

Joined: Thu Nov 10, 2011 12:01 am

Post Fri Nov 11, 2011 4:24 pm

Re: Sony BDP-S370 flv H.264 support on Buffalo LS-WXL

Thanks again and kudos for a great system.

BTW should that section of code be added to the general Sony BD profile? There are still a lot of YouTube capture programs out there and horsepower starved processors on many NAS boxes can this way still handle them handily.

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.