FAQ  •  Register  •  Login

Audio codec not supported

<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Sun Feb 06, 2011 8:26 pm

Audio codec not supported

Hi,

I am running serviio 0.5. I am having trouble playing a wmv file on my samsung LE40C650 (c-series profile). The tv says audio codec not supported. Video plays fine.

From the ffmpeg info it seems that the audio is wma pro

FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 10 2011 21:46:22 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-shared --disable-ffplay --disable-ffserver --enable-memalign
-hack --enable-libmp3lame --arch=x86 --enable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i
686-mingw32-
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.72. 0 / 1.72. 0
libswscale 0.12. 0 / 0.12. 0
[asf @ 0113bc10] max_analyze_duration reached

Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 23.98 (24000/1001)
Input #0, asf, from 'j:\Serviio\series\Dexter\seizoen 2\Dexter.S02E01.NLSubs.720p.Spetter.WMV':
Metadata:
title :
artist :
copyright :
comment :
WMFSDKVersion : 11.0.6002.18049
WMFSDKNeeded : 0.0.0.0000
IsVBR : 0
Duration: 00:53:20.26, start: 3.000000, bitrate: 3908 kb/s
Stream #0.0: Audio: wmapro, 48000 Hz, 5.1, flt, 440 kb/s
Stream #0.1: Video: vc1, yuv420p, 1280x720, 3500 kb/s, 23.98 tbr, 1k tbn, 1k tbc
At least one output file must be specified

Is there some way to trigger transcoding of these files into another target for the audio ?

Regards,

Hen
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Feb 06, 2011 8:41 pm

Re: Audio codec not supported

<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Sun Feb 06, 2011 8:48 pm

Re: Audio codec not supported

Is there a way to force transcoding for wmv files for now ?

I tried adding this to the samsumg profile (it's probably wrong)

<Video targetContainer="mpegts" targetACodec="ac3">
<Matches container="wmv" aCodec="wmapro" />
</Video>

and got this error and serviio won't start:

2011-02-06 21:36:05,935 ERROR [XmlUtils] XML Profiles.xsd didn't pass validation, reason: cvc-enumeration-valid: Value 'wmv' is not facet-valid with respect to enumeration '[mp4, asf, mpegvideo, mpeg, mpegts, matroska, avi, flv]'. It must be a value from the enumeration.

any other way to force transcoding for now so I can view the files ?

Regards,

Hen
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Feb 06, 2011 9:16 pm

Re: Audio codec not supported

  Code:
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
  <Matches container="asf" />
</Video>
<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Mon Feb 07, 2011 6:59 am

Re: Audio codec not supported

zip wrote:
  Code:
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
  <Matches container="asf" />
</Video>


Is it possible to retain the original video stream (vc1), as this works fine ?

Kind regards,

Hen
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Feb 07, 2011 9:56 am

Re: Audio codec not supported

Not sure if it'll play but give it a try (although I seem to remember that there is a problem muxing VC1 into mpegTS in FFmpeg):

  Code:
<Video targetContainer="mpegts" targetACodec="ac3">
  <Matches container="asf" vCodec="vc1" />
</Video>
<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Mon Feb 07, 2011 8:08 pm

Re: Audio codec not supported

I cannot get it to work with either of the two settings in the profile.

It seems the file is not being transcoded and the message on the tv is still audio codec not supported

I have attached my profiles.xml. perhaps someone can see what I did wrong.
Attachments
profiles.zip
(3.94 KiB) Downloaded 531 times
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Mon Feb 07, 2011 8:48 pm

Re: Audio codec not supported

profiles.zip
(3.97 KiB) Downloaded 663 times
try this :)
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Mon Feb 07, 2011 9:54 pm

Re: Audio codec not supported

Cerberus wrote:
profiles.zip
try this :)


Hi this seems to work (at least partially).
I get sound now, but every few seconds I get drops in the sound
. The dolby digital signal on my receiver stops and resumes., The silence in between is a fraction to a quarter of a second.

Any way to solve that in a profile.

Could it be that the bitrate is too high for the tv to stream ?
I have some other files that do this, but they are mostly BD rips with DTS sound, and I guess bitrate is also the bottleneck here.

Regards,

Hen
<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Tue Feb 08, 2011 11:14 pm

Re: Audio codec not supported

I added aBitrate="384" to the profile and now I have no sound drops anymore, but the video starts to rebuffer every few minutes. Is there any way to prevent that ?

Kind regards,

Hen
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Wed Feb 09, 2011 5:59 am

Re: Audio codec not supported

thats a question for ZIP as its way beyond me sry.
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Feb 09, 2011 9:46 am

Re: Audio codec not supported

try changing the aBitrate to something else (like 192). Also are you on wired or wireless connection? If you transcode the file manually (see the ffmpeg command serviio uses) and add the file into library to play natively does it still have the same problem? If it does, you can play with the ffmpeg command and if you find a working version post it back.
<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Wed Feb 09, 2011 10:23 pm

Re: Audio codec not supported

zip wrote:try changing the aBitrate to something else (like 192). Also are you on wired or wireless connection? If you transcode the file manually (see the ffmpeg command serviio uses) and add the file into library to play natively does it still have the same problem? If it does, you can play with the ffmpeg command and if you find a working version post it back.


Hi,

it was at 192 before but then I had the sound drops. Not on the computer (when I open the transcoded file using mpc-hc it plays fine, but on the tv every few seconds I had no sound.

I am on a wired connection.

where can i find the exact syntax for the transcoding, or are only the parameters used that are set in the profile ?

Kind regards,

Hen
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Feb 09, 2011 11:51 pm

Re: Audio codec not supported

you have to enable detailed logging and you'll see the ffmpeg command there when you play the file.
<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Thu Feb 10, 2011 7:55 am

Re: Audio codec not supported

Thanks,

I will try that.

Kind regards,

Hen
<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Thu Feb 10, 2011 5:07 pm

Re: Audio codec not supported

zip wrote:try changing the aBitrate to something else (like 192). Also are you on wired or wireless connection? If you transcode the file manually (see the ffmpeg command serviio uses) and add the file into library to play natively does it still have the same problem? If it does, you can play with the ffmpeg command and if you find a working version post it back.


When I transcode the file manually it and add it to the library it does not need to rebuffer. Does that mean I need to add more cores for transcoding in serviio ?

Regards,

Hen
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Feb 10, 2011 9:36 pm

Re: Audio codec not supported

what was the ffmpeg command?
<<

hennys

DLNA master

Posts: 119

Joined: Tue Sep 21, 2010 7:13 am

Post Fri Feb 11, 2011 6:27 am

Re: Audio codec not supported

Hi zip,

zip wrote:what was the ffmpeg command?


the command line was:
C:\Program Files (x86)\Serviio\lib/ffmpeg.exe -threads 4 -i J:\Serviio\series\Dexter\seizoen 2\Dexter.S02E01.NLSubs.720p.Spetter.WMV -y -vcodec mpeg2video -sameq -r 23.98 -g 15 -copyts -acodec ac3 -ab 384k -ac 6 -map 0:1 -map 0:0 -sn -f mpegts d:\test\transcoding-temp-376-MPEG2TS.m2ts

I tried then transcoding setting to abitrate=256, and it started to rebuffer also.
I increased the cores to render the movie from 2 to 3 and then the video played fine. It seems the PC could not keep up transcoding with the speed being played (does this make any sense ?)

KInd regards,

Hen
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Feb 11, 2011 10:17 am

Re: Audio codec not supported

You are indeed transcoding the file (not just remuxing) so it's possible it didn't keep up. If you run that command it'll tell you how many fps it's doing. If it's less than (lets say) 25 then it can't play it real-time.

Return to Samsung

Who is online

Users browsing this forum: No registered users and 24 guests

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