FAQ  •  Register  •  Login

Transcoding working in 1.1 has problems in 1.2

<<

mbarnig

User avatar

Serviio newbie

Posts: 6

Joined: Mon Mar 11, 2013 9:11 am

Location: Luxembourg

Post Mon Mar 11, 2013 9:32 am

Transcoding working in 1.1 has problems in 1.2

Hello,

I use the Serviio server in my home-network since version 0.6.2.
It's a great product. I run it on a Synology NAS DS412+.
My main renderers are settopboxes provided by the french company Netgem (netbox 8000 and netbox 5000).
These are basic DLNA devices v1.0.

Here is the description.xml :
  Code:
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion><major>1</major><minor>0</minor></specVersion>
<device><deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>
<friendlyName>netbox [54:39:E3]</friendlyName>
<manufacturer>Netgem</manufacturer>
<manufacturerURL>http://www.netgem.com/</manufacturerURL>
<modelName>netbox</modelName>
<modelNumber>5000 v5.2.65-70</modelNumber>
<modelURL>http://www.netgem.com/</modelURL>
<UDN>uuid:af0a754a-685c-4765-b418-0004305439e3</UDN>
<presentationURL>/description.xml</presentationURL>
</device></root>


UPnP detection with Serviio is working, but the devices are shown as "Unrecognized device" in the Serviio console.
I use the following profile to play Quicktime mjpeg videos on my TV's connected to the netboxes :

  Code:
<Profile id="netbox" name="SetTopBox Netgem" extendsProfileId="1">
       <Detection>
         <UPnPSearch>
            <FriendlyName>netbox</FriendlyName>
         </UPnPSearch>
      </Detection>
      <Transcoding>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
            <Matches container="mp4" vCodec="mjpeg" />
         </Video>
      </Transcoding>
</Profile>


Since version 1.2, the transcoding is no longer working. The audio is playing without an image,
a spinning icon shows that the video never finish loading.
The same problem appears on my Windows 7 PC with Serviio version 1.2.
I reinstalled versions 1.0.1 and 1.1 on the same Windows 7 PC with the netbox profile.
The transcoding is working as expected with both versions.

Something seems to have changed with version 1.2.

I add the zipped log file with the debug informations when I tried to play 4 video items on the netbox with IP address 192.168.178.24.
I think these are the relevant data from the log file :

  Code:
2013-03-10 18:33:37,565 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2013-03-10 18:33:37,566 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Sun, 10 Mar 2013 17:33:37 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/1.2,Cache-control: no-cache,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-03-10 18:33:39,085 DEBUG [TranscodingJobListener] Transcoding finished; successful: true
2013-03-10 18:33:47,215 DEBUG [WebServer] I/O error: Connection reset by peer: socket write error


Thank you in advance for any help. In the meantime I will go back to version 1.1.

mbarnig, Luxembourg
Attachments
pc5dczc_log.zip
Serviio log file for mjpeg transcoding
(10.93 KiB) Downloaded 336 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Mar 11, 2013 12:43 pm

Re: Transcoding working in 1.1 has problems in 1.2

what if you use the ffmpeg binary from 1.1 in 1.2 installation?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Mar 11, 2013 1:01 pm

Re: Transcoding working in 1.1 has problems in 1.2

zip wrote:what if you use the ffmpeg binary from 1.1 in 1.2 installation?


I had the same problem with some AVI/mjpeg camcorder, works with 1.1, failed with 1.2
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 Mon Mar 11, 2013 4:59 pm

Re: Transcoding working in 1.1 has problems in 1.2

Does FFmpeg fail then or does it just produce an invalid file? Can you try with latest Ffmpeg as well - if they fixed it I could still include it in 1.2.1
<<

mbarnig

User avatar

Serviio newbie

Posts: 6

Joined: Mon Mar 11, 2013 9:11 am

Location: Luxembourg

Post Mon Mar 11, 2013 7:51 pm

Re: Transcoding working in 1.1 has problems in 1.2

Hello Zip & Illico,
Thank you for the quick answers.

I replaced ffmpeg.exe in Serviio version 1.2 with the ffmpeg.exe from Serviio version 1.1 on my Windows PC.
This did the job, the mjpeg transcoding is working again.
I tried also with the latest Zeranoe FFmpeg Build Version: git-586ae70 (2013-03-10), without success. The problem is not fixed in this version.

I would like to do the 1.1 change in my Synology NAS, but this seams less obvious.
The Synology Serviio lib folder has no single ffmpeg binary, but the individual ffmpeg libraries.
Worse, I don't have a copy of the Synology package 1.1 because I did an automatic upgrade and
I can't find the 1.1 package in the forum or on the web.

I would be grateful if somebody could give me a hint what ffmpeg binaries to change in the Synology package and provide me the corresponding files.

Your help is appreciated.
kind regards,

mbarnig
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Mar 11, 2013 9:36 pm

Re: Transcoding working in 1.1 has problems in 1.2

can you or Illico create a ticket at ffmpeg? https://ffmpeg.org/trac/ffmpeg
<<

mbarnig

User avatar

Serviio newbie

Posts: 6

Joined: Mon Mar 11, 2013 9:11 am

Location: Luxembourg

Post Tue Mar 12, 2013 8:51 am

Re: Transcoding working in 1.1 has problems in 1.2

I will create a ticket at ffmpeg as soon as possible.

mbarnig
<<

sushidog

Serviio newbie

Posts: 11

Joined: Tue Mar 12, 2013 11:27 pm

Post Tue Mar 12, 2013 11:32 pm

Re: Transcoding working in 1.1 has problems in 1.2

After reinstalling Serviio and Java multiple times this afternoon trying to figure out what's up, I think this is what happened to me as well. Some avis that used to play no longer do. Although they play using other servers, including through my Panasonic's built in DLNA setup, Serviio was just more robust that the internal server, or than Plex (which I tired in my frustration). I'm anxious to see if a new version of ffmpeg.exe fixes my problem (been scouring the web for possible sources of old files, but no luck so far).
<<

mbarnig

User avatar

Serviio newbie

Posts: 6

Joined: Mon Mar 11, 2013 9:11 am

Location: Luxembourg

Post Wed Mar 13, 2013 11:02 am

Re: Transcoding working in 1.1 has problems in 1.2

Hello shushidog,

please find here a link to download the windows ffmpeg version from Serviio 1.1
http://www.web3.lu/download/ffmpeg_pc5dczc_1_1.zip

mbarnig
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Mar 13, 2013 12:13 pm

Re: Transcoding working in 1.1 has problems in 1.2

mbarnig wrote:Hello shushidog,

please find here a link to download the windows ffmpeg version from Serviio 1.1
http://www.web3.lu/download/ffmpeg_pc5dczc_1_1.zip

mbarnig

Just to note, this version will not support burned-in subtitles
<<

sushidog

Serviio newbie

Posts: 11

Joined: Tue Mar 12, 2013 11:27 pm

Post Wed Mar 13, 2013 10:13 pm

Re: Transcoding working in 1.1 has problems in 1.2

mbarnig wrote:Hello shushidog,

please find here a link to download the windows ffmpeg version from Serviio 1.1
http://www.web3.lu/download/ffmpeg_pc5dczc_1_1.zip

mbarnig



Thanks, I'll give that a try...
<<

sushidog

Serviio newbie

Posts: 11

Joined: Tue Mar 12, 2013 11:27 pm

Post Thu Mar 14, 2013 4:12 am

Re: Transcoding working in 1.1 has problems in 1.2

My Java messed up and had to re-install it a few times before I could get Serviio working again. Finally did and then swapped in the older ffmpeg, but no luck. I can get the files to play using the built-in network or with Plex, but neither one is as elegant as Serviio when it's working. I'll keep looking for a solution.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 42 guests

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