FAQ  •  Register  •  Login

Transcoding quits prematurely

<<

michel-rose

Serviio newbie

Posts: 3

Joined: Fri Feb 03, 2012 1:11 pm

Post Fri Feb 03, 2012 1:16 pm

Transcoding quits prematurely

Dear All,

Succesfully transcoding flac to wav on my Bravia television. Right out of the box.
Even cover art on the tv for some files.
Some room for improvement though.
Last part of the song is lost. In other words the song is shorter than it should be.
Bravia indicates that the song last for 4:18 (shown on the progress bar) but it quits at 3:20
Bravia indicates that the song last for 4:31 (shown on the progress bar) but it quits at 3:09
I have no idea what is causing this. I guess it could be that when serviio has finished transcoding, it assumes the song is ended and is going to the next song.

Attached the logfile for playing the two songs. The ...return code 1...... is created on start playing of the song (2 songs).
2012-02-02 20:16:37,504 WARN [**] Process /root/.serviio/opt/bin/ffmpeg has a return code of 1! This is a possible error.
2012-02-02 20:19:48,390 WARN [RendererManager] Error while retrieving renderer description: Cannot retrieve device description from http://192.168.2.1:55178/MediaRenderer/device.xml
2012-02-02 20:19:49,522 WARN [**] Process /root/.serviio/opt/bin/ffmpeg has a return code of 1! This is a possible error.

I hope this is helpful for improving serviio

Kind regards Michel
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Fri Feb 03, 2012 1:21 pm

Re: Transcoding quits prematurely

okkk?? bit more info please. please provide ffmpeg -i information on files that fail. and please attach (zip it up and attach to this thread) your serviio log file.
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
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Fri Feb 03, 2012 1:31 pm

Re: Transcoding quits prematurely

If you edit "profiles.xml" file read the Sony profiles section you will find this :

<Audio targetContainer="lpcm" forceInheritance="true">
<!-- To allow "pause" then "resume" functions and album art for TVs that support it - transcode to mp3 instead -->
<Matches container="asf" />
<Matches container="mp4" />
<Matches container="ogg" />
<Matches container="flac" />
<Matches container="adts" />
</Audio>


Could you try with <Audio targetContainer="mp3" forceInheritance="true"> ?
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
<<

michel-rose

Serviio newbie

Posts: 3

Joined: Fri Feb 03, 2012 1:11 pm

Post Fri Feb 03, 2012 9:17 pm

Re: Transcoding quits prematurely

Cerberus wrote:okkk?? bit more info please. please provide ffmpeg -i information on files that fail. and please attach (zip it up and attach to this thread) your serviio log file.


Hello Cerberus,
This happens with all the flac files i select. Therefore i assume it is not the file that is causing the problem.
I will try to send the logfile asap. The only changes in the logfile while playing music was copied into the message above.

Kind regards
Michel
<<

michel-rose

Serviio newbie

Posts: 3

Joined: Fri Feb 03, 2012 1:11 pm

Post Fri Feb 03, 2012 9:21 pm

Re: Transcoding quits prematurely

Illico wrote:If you edit "profiles.xml" file read the Sony profiles section you will find this :

<Audio targetContainer="lpcm" forceInheritance="true">
<!-- To allow "pause" then "resume" functions and album art for TVs that support it - transcode to mp3 instead -->
<Matches container="asf" />
<Matches container="mp4" />
<Matches container="ogg" />
<Matches container="flac" />
<Matches container="adts" />
</Audio>


Could you try with <Audio targetContainer="mp3" forceInheritance="true"> ?


Hello Illico,
I tried your proposal, just without the forceInheritance="true". This was not in the profile.
Nevertheless the bravia showed the flac files on the screen as mp3 and i was able to play them.
Although there were some pauses while playing (cpu >80%) the file played from the beginning untill the end.
converting from flac to wav using the command line tool takes a short time, so i think my QNap ts219 is capable of that.
Have you ever tried the same setup ? playing flac files on the bravia as lpcm ?

Kind regards
Michel Rose

Return to Sony

Who is online

Users browsing this forum: Google [Bot] and 19 guests

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