FAQ  •  Register  •  Login

serviio with Toshiba TV

<<

yule

Serviio newbie

Posts: 6

Joined: Fri Dec 31, 2010 9:08 am

Post Fri Dec 31, 2010 9:13 am

serviio with Toshiba TV

Hello!

I just found serviio and must say it works brilliantly so far. What I was looking for was a tiny DLNA server with transcoding capabilites. I recently bought a Toshiba 37XV733G LCD which only seems to handle MPEG2 over DLNA. I added the following profile to the config/profiles.xml file, selected it from the console and it worked flawlessly (and fast!):

  Code:
<Profile id="11" name="Toshiba" extendsProfileId="1">
      <Detection>
         <X-AV-Client-Info>.*Intel.*</X-AV-Client-Info>
      </Detection>
      <Transcoding>
         <!-- All Others video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio (MPEG_TS_SD_EU). -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
            <Matches container="asf" />
            <Matches container="avi" />
            <Matches container="mp4" />
            <Matches container="matroska" />
         </Video>
      </Transcoding>
      <AutomaticImageRotation>true</AutomaticImageRotation>
   </Profile>


Maybe you could add it to the permanent distribution? I will tweak it some more though over the next weeks and I can report back here when I find more useful changes.

But so far, I must say: thank you very much for this useful piece of software! There seem to be so many DLNA solutions, but yours just worked (TM) for me!
<<

ninjavz

User avatar

Serviio newbie

Posts: 18

Joined: Mon Jan 10, 2011 3:39 am

Location: Peru

Post Tue Jan 11, 2011 12:59 am

Re: serviio with Toshiba TV

Yes this works with the 55UX600U LED TV from Toshiba too, but:
1. Pause works, play again not.
2. FF and REV do not work properly.

Any1 knows what codecs this TV can play naturally?

-Miguel
<<

Octalus

Serviio newbie

Posts: 8

Joined: Fri Nov 26, 2010 10:13 am

Post Wed Jan 12, 2011 1:54 pm

Re: serviio with Toshiba TV

I have the same problem - i figured out that the TV also supports "mpeg" as targetVideoCodec. When i select mpeg, i can skip and pause and resume etc without problems!

my config :
  Code:
<Profile id="11" name="Toshiba REGZA" extendsProfileId="1">
      <Detection>
         <X-AV-Client-Info>.*TOSHIBA.*</X-AV-Client-Info>
      </Detection>
      <Transcoding>
         <Video targetContainer="mpeg" targetACodec="ac3" targetVCodec="mpeg2video">
            <Matches container="mp4" />
            <Matches container="avi" />
            <Matches container="mpegts" />
            <Matches container="mpegvideo" />
            <Matches container="asf" />
            <!-- if audio different to ac3, must be transcoded -->
            <Matches container="mpeg" aCodec="aac" />
            <Matches container="mpeg" aCodec="mp3" />
            <Matches container="mpeg" aCodec="dca" />
         </Video>
          <Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
            <Matches container="matroska" />
          </Video>
      </Transcoding>
</Profile>

I figured out that i have problems with 1080p movies. when i use matroska with 1080p in combination with "mpeg" i get synch problems. This works better with mpegts (but here i cannot pause and resume - but its working at all)

Finally i have the problem with a 1080p MKV movie which has DTS and AC3 Audo track inside. I don't know why but ffmpeg returns :
  Code:
2011-01-12 14:35:18,013 WARN  [ProcessExecutor] Process C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe has a return code of 1! This is a possible error.
2011-01-12 14:35:25,466 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed

An other movie in MKV and 1080p with DTS only or AC3 tracks only is working. I have no idea why this one isn't transcoding :(

Any ideas?

Greatings!
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Jan 12, 2011 2:36 pm

Re: serviio with Toshiba TV

Octalus wrote:An other movie in MKV and 1080p with DTS only or AC3 tracks only is working. I have no idea why this one isn't transcoding :(

Could you enable detailed logging (see signature) and post the line with "ffmpeg -i" command when you start this movie?
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
<<

Octalus

Serviio newbie

Posts: 8

Joined: Fri Nov 26, 2010 10:13 am

Post Wed Jan 12, 2011 2:36 pm

Re: serviio with Toshiba TV

Ok, if anybody also has this problem :

if a mkv has DTS and AC3 inside - ffmpeg couldn't transcode the file. I used the program "mkvmerge" to delete the AC3 audio track. Finally the muxed file is working with serviio :-)

EDIT :
to the problematic file i had :

i activated DEBUG and the ffmpeg line is :
ffmpeg.exe -threads 4 -i Movie.1080p.mkv -y -vcodec mpeg2video -sameq -r 23.98 -g 15 -copyts -acodec copy -sn -f mpegts D:\Temp\Serviio\transcoding-temp-6483-MPEG2TS.stf

in console i get for this command :
  Code:
FFmpeg version SVN-r23012, Copyright (c) 2000-2010 the FFmpeg developers
  built on May  3 2010 19:05:24 with gcc 3.4.5 (mingw-vista special r3)
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-w32threads --extra-ldf
lags=-L/static/lib --extra-cflags=-I/static/include
  libavutil     50.15. 0 / 50.15. 0
  libavcodec    52.66. 0 / 52.66. 0
  libavformat   52.62. 0 / 52.62. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0.10. 0 /  0.10. 0
[matroska @ 00f9efa0]MAX_READ_SIZE:5000000 reached
[matroska @ 00f9efa0]Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/
1001) -> 23.98 (48000/2002)
Input #0, matroska, from 'Movie.1080p.mkv':
  Metadata:
    title           : presented by hd-world.org
  Duration: 02:28:07.96, start: 0.000000, bitrate: 192 kb/s
    Chapter #0.0: start 0.000000, end 701.743000
    Metadata:
      title           : 00:00:00.000
    Chapter #0.1: start 701.743000, end 1297.338000
    Metadata:
      title           : 00:11:41.743
    Chapter #0.2: start 1297.338000, end 1880.337000
    Metadata:
      title           : 00:21:37.338
    Chapter #0.3: start 1880.337000, end 2482.230000
    Metadata:
      title           : 00:31:20.337
    Chapter #0.4: start 2482.230000, end 3073.737000
    Metadata:
      title           : 00:41:22.230
    Chapter #0.5: start 3073.737000, end 3681.553000
    Metadata:
      title           : 00:51:13.737
    Chapter #0.6: start 3681.553000, end 4229.684000
    Metadata:
      title           : 01:01:21.553
    Chapter #0.7: start 4229.684000, end 4935.597000
    Metadata:
      title           : 01:10:29.684
    Chapter #0.8: start 4935.597000, end 5512.590000
    Metadata:
      title           : 01:22:15.597
    Chapter #0.9: start 5512.590000, end 6038.532000
    Metadata:
      title           : 01:31:52.590
    Chapter #0.10: start 6038.532000, end 6682.175000
    Metadata:
      title           : 01:40:38.532
    Chapter #0.11: start 6682.175000, end 7254.414000
    Metadata:
      title           : 01:51:22.175
    Chapter #0.12: start 7254.414000, end 7809.051000
    Metadata:
      title           : 02:00:54.414
    Chapter #0.13: start 7809.051000, end 8455.447000
    Metadata:
      title           : 02:10:09.051
    Chapter #0.14: start 8455.447000, end 8887.963000
    Metadata:
      title           : 02:20:55.447
    Stream #0.0(eng): Video: h264, yuv420p, 1920x800 [PAR 1:1 DAR 12:5], 23.98 t
br, 1k tbn, 47.95 tbc
    Stream #0.1(ger): Audio: ac3, 48000 Hz, 5.1, s16, 192 kb/s
    Stream #0.2(eng): Audio: dca, 48000 Hz, 6 channels, s16
    Stream #0.3(eng): Subtitle: 0x0000
[mpegts @ 035c0050]muxrate 1 bps, pcr every 2 pkts, sdt every 200, pat/pmt every
 40 pkts
Output #0, mpegts, to 'D:\Temp\Serviio\transcoding-temp-6483-MPEG2TS.stf':
  Metadata:
    encoder         : Lavf52.62.0
    Chapter #0.0: start 0.000000, end 701.743000
    Metadata:
      title           : 00:00:00.000
    Chapter #0.1: start 701.743000, end 1297.338000
    Metadata:
      title           : 00:11:41.743
    Chapter #0.2: start 1297.338000, end 1880.337000
    Metadata:
      title           : 00:21:37.338
    Chapter #0.3: start 1880.337000, end 2482.230000
    Metadata:
      title           : 00:31:20.337
    Chapter #0.4: start 2482.230000, end 3073.737000
    Metadata:
      title           : 00:41:22.230
    Chapter #0.5: start 3073.737000, end 3681.553000
    Metadata:
      title           : 00:51:13.737
    Chapter #0.6: start 3681.553000, end 4229.684000
    Metadata:
      title           : 01:01:21.553
    Chapter #0.7: start 4229.684000, end 4935.597000
    Metadata:
      title           : 01:10:29.684
    Chapter #0.8: start 4935.597000, end 5512.590000
    Metadata:
      title           : 01:22:15.597
    Chapter #0.9: start 5512.590000, end 6038.532000
    Metadata:
      title           : 01:31:52.590
    Chapter #0.10: start 6038.532000, end 6682.175000
    Metadata:
      title           : 01:40:38.532
    Chapter #0.11: start 6682.175000, end 7254.414000
    Metadata:
      title           : 01:51:22.175
    Chapter #0.12: start 7254.414000, end 7809.051000
    Metadata:
      title           : 02:00:54.414
    Chapter #0.13: start 7809.051000, end 8455.447000
    Metadata:
      title           : 02:10:09.051
    Chapter #0.14: start 8455.447000, end 8887.963000
    Metadata:
      title           : 02:20:55.447
    Stream #0.0(eng): Video: mpeg2video, yuv420p, 1920x800 [PAR 1:1 DAR 12:5], q
=2-31, 200 kb/s, 90k tbn, 23.98 tbc
    Stream #0.1(eng): Audio: 0x0000, 48000 Hz, 6 channels
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.2 -> #0.1
Press [q] to stop encoding
[h264 @ 00e63ea0]Cannot parallelize deblocking type 1, decoding such frames in s
equential order
[mpegts @ 035c0050]st:1 error, non monotone timestamps 990 >= 990
[mpegts @ 035c0050]st:1 error, pts < dts
av_interleaved_write_frame(): Error number -1 occurred
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jan 12, 2011 3:08 pm

Re: serviio with Toshiba TV

I hope 0.5 should fix this, but it'll only take the first audio stream (AC3 in your case) to the output file. ATM Serviio knows nothing about additional audio streams.
<<

Octalus

Serviio newbie

Posts: 8

Joined: Fri Nov 26, 2010 10:13 am

Post Wed Jan 12, 2011 3:21 pm

Re: serviio with Toshiba TV

it should be fine if serviio would take the first stream and start transcoding - but ffmpeg seems to have problems too with 2 streams? nothing is transcoded in this case...
i dont understand exactly the problem but its from ffmpeg here. i believe that ffmpeg trys to find out the source audio codec - if there are two tracks with different codec its not transcodable.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Jan 12, 2011 4:03 pm

Re: serviio with Toshiba TV

Could you try locally these command lines (post ffmpeg traces) and add output files to the serviio library and test with your TV?
1) Serviio default command
ffmpeg.exe -threads 4 -i Movie.1080p.mkv -y -vcodec mpeg2video -sameq -r 23.98 -g 15 -copyts -acodec copy -sn -f mpegts Test1.ts
2) Selection of audio source: ac3
ffmpeg.exe -threads 4 -i Movie.1080p.mkv -y -vcodec mpeg2video -sameq -r 23.98 -g 15 -copyts -acodec copy -sn -f mpegts Test2.ts -map 0.0 -map 0.1
3) Selection of audio source: dca
ffmpeg.exe -threads 4 -i Movie.1080p.mkv -y -vcodec mpeg2video -sameq -r 23.98 -g 15 -copyts -acodec copy -sn -f mpegts Test2.ts -map 0.0 -map 0.2

Have a look on this topic: viewtopic.php?f=8&t=1125&start=0&hilit=monotone
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 Wed Jan 12, 2011 4:17 pm

Re: serviio with Toshiba TV

Illico wrote:2) Selection of audio source: ac3
ffmpeg.exe -threads 4 -i Movie.1080p.mkv -y -vcodec mpeg2video -sameq -r 23.98 -g 15 -copyts -acodec copy -sn -f mpegts Test2.ts -map 0.0 -map 0.1

This is what is used in 0.5
<<

rlocke

Serviio newbie

Posts: 3

Joined: Mon May 02, 2011 4:19 pm

Post Tue May 03, 2011 12:36 pm

Re: serviio with Toshiba TV

Octalus' config file for Regza was the only one which allowed me to properly pause, rew, ff, etc.

It should probably replace the one which is currently bundled with Serviio for the next release.
<<

NineRedDogs

Serviio newbie

Posts: 2

Joined: Thu May 19, 2011 8:12 pm

Post Thu May 19, 2011 8:28 pm

Re: serviio with Toshiba TV

Hi fellas,

I've got a 37RV753, and I've used octalus' regza profile - this helps me to pause & ffwd video nicely...

What's the best way of transcoding everything apart from mp2 ?

What I'm trying to say, is that if the TV can play the file natively - don't run ffmpeg on the server .....

Can i set an mp2 extension for all files I know to be in this form, then add an entry to the profile ?

or is there something buried in the video file itself that I'll need to use in the profile.

It would be good if I only run ffmpeg when I need to :)

cheers for any response
9rD
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Thu May 19, 2011 8:44 pm

Re: serviio with Toshiba TV

serviio only transcodes when it is required. If you look at the profile that you are using it will tell you if needs to be transcoded. You can also disable transcoding via the serviio console.
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
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
<<

NineRedDogs

Serviio newbie

Posts: 2

Joined: Thu May 19, 2011 8:12 pm

Post Thu May 19, 2011 9:13 pm

Re: serviio with Toshiba TV

Cheers for the quick response Mark,

Here's the profile I'm using

  Code:
<Profile id="13" name="Toshiba REGZA" extendsProfileId="1">
      <!-- <Detection>
         <X-AV-Client-Info>.*TOSHIBA.*</X-AV-Client-Info>
      </Detection> -->
      <Transcoding>
         <Video targetContainer="mpeg" targetACodec="ac3" targetVCodec="mpeg2video">
            <Matches container="mp4" />
            <Matches container="avi" />
            <Matches container="mpegts" />
            <Matches container="mpegvideo" />
            <Matches container="asf" />
            <!-- if audio different to ac3, must be transcoded -->
            <Matches container="mpeg" aCodec="aac" />
            <Matches container="mpeg" aCodec="mp3" />
            <Matches container="mpeg" aCodec="dca" />
         </Video>
          <Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
            <Matches container="matroska" />
          </Video>
      </Transcoding>
</Profile>



and here's the info on the video file:

  Code:
> ffmpeg -i myfile.mp2.avi

<snip>
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 480x480 [PAR 16:9 DAR 16:9], 2516 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
<snip>

I then switched off transcoding on serviio-console -

played file successfully on regza TV without any transcoding
to prove it wasn't transcoding, i ran 'top' on server - no ffmpeg process running.

but then i switched transcoding back on.
played file (again successfully) on regza TV -

I was hoping not to see an ffmpeg process running - but I did - so it looks like with my profile (see above) that it's going to transcode an mpeg2video

Is there an entry I need to add to the profile to ensure it skips the transcoding step ?



cheers
9rD
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Thu May 19, 2011 9:40 pm

Re: serviio with Toshiba TV

Try taking out the following line of the profile you are using.

  Code:
<Matches container="avi" />


That will prevent anything in an AVI container from being transcoded. The Generic profile does not transcode anything also. So you might want to look at that or see if the files play with it selected.
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
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 May 20, 2011 6:43 am

Re: serviio with Toshiba TV

Check the detailed logging file to see how serviio provide the media to your TV (native or transcode).
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
<<

pteeson

Streaming enthusiast

Posts: 38

Joined: Mon Sep 19, 2011 6:29 pm

Location: Toronto, Canada

Post Mon Sep 19, 2011 8:38 pm

Re: serviio with Toshiba TV

I'm on Mac Pro with Snow Leopard and also Lion (separate partitions).
I use a wired connection to my TV which is a device on my LAN.

My Toshiba 55SL500U LED shows up in the Serviio Console with it's IP address and a Device name of 55SL500U.
But it is using a Generic profile. I have the Toshiba Manual specs for supported file formats (I'm interested in video ATM).
Also the DNLA Product Certification Certificate which I DL'd.

In the profiles.xml id=13 is for a "Toshiba Regza". My unit does support Regza.
However Serviio is not providing that profile (so far as Console is concerned.

Shall I make a new profile (inheriting from #1) with the relevant info from the Toshiba manual and DLNA certificate?

(I have actully been able to start a movie but that was using a Video_TS folder. But that is a different topic.)
(I tried running Device Spy under Windows XP which was running on my Mac under VBox but nothing showed up)

respect...

Peter
Mac Pro OS X Yosemite, Toshiba 55SL500U
<<

pteeson

Streaming enthusiast

Posts: 38

Joined: Mon Sep 19, 2011 6:29 pm

Location: Toronto, Canada

Post Mon Sep 19, 2011 8:50 pm

Re: serviio with Toshiba TV

Arrrggghhh!. I didn't realize there was a pop down. Sorry for the noise.

Peter
Mac Pro OS X Yosemite, Toshiba 55SL500U

Return to User experiences

Who is online

Users browsing this forum: No registered users and 6 guests

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