FAQ  •  Register  •  Login

Why is it mandatory to embed subtitles in container?

<<

gabychou

Serviio newbie

Posts: 12

Joined: Thu Mar 29, 2012 9:42 pm

Post Thu Mar 29, 2012 9:50 pm

Why is it mandatory to embed subtitles in container?

Hi there,

I've tried for a long time to read subtitles (from SRT files) with videos through DLNA on my Panasonic VT30 (connected to my computer through wifi).
I was told DLNA doesn't support it, but I've recently tried PS3 Media Server and find out il seems possible! Although I have some other issues regarding the lag.

I prefer Serviio, but since another SW is able to process SRT files through DLNA, how come Serviio doesn't?

I've tried several times to embed subtitles in MKV containers, but :
- it doesn't resolve AVI subtitles
- it doesn't seem to work correctly (my TV doesn't recognise the files computed with mkvmerge on my Win7 computer)
- it 's not friendly to have to process files before being able to read them

I am tired of copying file on USB keys, especially with a WiFi equiped brand new TV...
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Thu Mar 29, 2012 11:07 pm

Re: Why is it mandatory to embed subtitles in container?

Please post the information about your TV enable detailed logging (see signature) and play something with subtitles that does not work. Then attach that serviio.log file.
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
<<

PMI

User avatar

DLNA master

Posts: 156

Joined: Tue Jan 03, 2012 3:32 am

Location: Milwaukee, Wisconsin

Post Fri Mar 30, 2012 3:41 pm

Re: Why is it mandatory to embed subtitles in container?

Panasonic Viera TV sets do not seem to support external subtitles with MKV files (at least not in 2011 models).

External subtitles from a .srt file CAN be muxed into MKV files with some restrictions.

a) The Viera set MUST support subtitles (see "Setup SUB Menu"/Video Options, not all Viera models support subtitles)
b) The original MKV file must play without transcoding (depending on the Viera profile being used, Level > 4.1 or 4.2, or DTS sound, cause Serviio to transcode the file).
c) Header Compression has to be disabled in the muxed MKV file. See directions by Illico:

Illico wrote:1. Download MKVToolnix
2. Install MKVToolnix then go to where you install MKVToolnix (usually C:\Program Files\MKVtoolnix)
3. run MKVMerge GUI
4. Find the MKV file you want to remux. Load it into MKVMerge GUI
5. Once loaded, click on the Video layer, click on the Extra Options tab and change the Compression to "NONE"
6. Click on the Audio Layer, click on the Extra Options tab and change the Compression to "NONE"
7. Set Output Filename accordingly
8. Start Muxing
Peter
Beta Tester Group
Wiki | FAQ

Panasonic Viera TC-L32E3 LCD | Panasonic DMP-BDT210 | 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
<<

gabychou

Serviio newbie

Posts: 12

Joined: Thu Mar 29, 2012 9:42 pm

Post Fri Mar 30, 2012 4:00 pm

Re: Why is it mandatory to embed subtitles in container?

My TV set is brand new and fully compatible with subtitles (VT30E is the lattest and top Panasonic model)

I will post a serviio.log file when I am at home.

Regarding the mux, I've followed the exact same procedure, but the TV doesn't even see the file in serviio.

Again, Panasonic TV are able to process the srt files since it is possible with PMS...
<<

gabychou

Serviio newbie

Posts: 12

Joined: Thu Mar 29, 2012 9:42 pm

Post Fri Mar 30, 2012 5:57 pm

Re: Why is it mandatory to embed subtitles in container?

Okay, I got the explanation regarding PMS :
PanTV doesn't support subtitles via DLNA but PMS supports it. When subs are used, file is not streamed as is to TV but it is transcoded so CPU and network is heavily used.


So this means there is absolutely no way to read SRT with an AVI file? :?

log file is huge, but I don't see any new information when I play a file (with or without subtitles)... here are the lines regarding today
  Code:
2012-03-30 19:38:51,866 INFO  [ServiioConsole] Leaving Serviio Console
2012-03-30 19:39:00,955 INFO  [ServiioConsole] Starting Serviio Console
2012-03-30 19:39:01,748 INFO  [ServiioConsole] Connecting to Serviio REST on localhost:23423
2012-03-30 19:39:03,522 INFO  [Messages] Loaded console message bundle for locale: fr
2012-03-30 19:39:03,528 INFO  [UpdateChecker] Checking if a new version is available
2012-03-30 19:47:54,504 WARN  [IndexedDiskCache] Region [online_technical_metadata] Disk cache not shutdown properly, shutting down now.
2012-03-30 19:47:54,506 WARN  [IndexedDiskCache] Region [thumbnails] Disk cache not shutdown properly, shutting down now.
2012-03-30 19:47:54,548 INFO  [LibraryAdditionsCheckerThread] Finished looking for newly added files
2012-03-30 19:47:54,649 INFO  [LibraryUpdatesCheckerThread] Finished looking for updates to currently shared files
2012-03-30 19:47:54,748 INFO  [FeedUpdaterThread] Finished looking for online resources information
2012-03-30 19:47:54,848 INFO  [PluginCompilerThread] Finished looking for plugins
2012-03-30 19:47:54,948 INFO  [DiscoveryAdvertisementNotifier] Leaving DiscoveryAdvertisementNotifier
2012-03-30 19:47:54,948 INFO  [WebServer] WebServer shutting down
2012-03-30 19:47:54,972 INFO  [EventSubscriptionExpirationChecker] Leaving EventSubscriptionExpirationChecker, removing all event subscriptions
2012-03-30 19:47:54,973 INFO  [EventDispatcher] Leaving EventDispatcher
2012-03-30 19:47:55,712 INFO  [DiscoverySSDPMessageListener] Leaving DiscoverySSDPMessageListener
2012-03-30 19:47:55,721 INFO  [DatabaseManager] Shutting down database
2012-03-30 19:47:56,541 INFO  [RendererExpirationChecker] Leaving RendererExpirationChecker
2012-03-30 19:47:58,975 INFO  [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data
2012-03-30 19:47:59,602 INFO  [ServiioConsole] Leaving Serviio Console


I've tried another time to mux a file, without compression, even on srt file (all the program configuration is by default) :
  Code:
mkvmerge v5.4.0 ('Piper') compilé le Mar 10 2012 à 13:34:39.
'D:\Vidéos\Séries\Fringe\Fringe.S04E15.720p.HDTV.X264-DIMENSION.mkv' : Using the demultiplexer for the format 'Matroska'.
'D:\Vidéos\Séries\Fringe\Fringe.S04E15.720p.HDTV.X264-DIMENSION.srt' : Using the demultiplexer for the format 'SRT subtitles'.
'D:\Vidéos\Séries\Fringe\Fringe.S04E15.720p.HDTV.X264-DIMENSION.mkv' piste 0 : Using the output module for the format 'AVC/h.264'.
'D:\Vidéos\Séries\Fringe\Fringe.S04E15.720p.HDTV.X264-DIMENSION.mkv' piste 1 : Using the output module for the format 'AC3'.
'D:\Vidéos\Séries\Fringe\Fringe.S04E15.720p.HDTV.X264-DIMENSION.srt' piste 0 : Using the output module for the format 'text subtitles'.
Le fichier 'D:\Vidéos\Séries\Fringe\Fringe.S04E15.720p.HDTV.X264-DIMENSION (1).mkv' est ouvert en écriture.
Les entrées d'index sont créées...
Muxing took 46 secondes.


Thanks
<<

PMI

User avatar

DLNA master

Posts: 156

Joined: Tue Jan 03, 2012 3:32 am

Location: Milwaukee, Wisconsin

Post Fri Mar 30, 2012 6:17 pm

Re: Why is it mandatory to embed subtitles in container?

gabychou wrote:My TV set is brand new and fully compatible with subtitles (VT30E is the lattest and top Panasonic model)

There are differences between models (and region/country where purchased), but the software which reads the various video file formats is similar. See owners manual for notes on various file formats. For example, from VT30 manual:
Attachments
Viera_Subtitles.jpg
from VT30 owners manual pg 32
Viera_Subtitles.jpg (73.82 KiB) Viewed 27893 times
Peter
Beta Tester Group
Wiki | FAQ

Panasonic Viera TC-L32E3 LCD | Panasonic DMP-BDT210 | 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
<<

PMI

User avatar

DLNA master

Posts: 156

Joined: Tue Jan 03, 2012 3:32 am

Location: Milwaukee, Wisconsin

Post Fri Mar 30, 2012 6:26 pm

Re: Why is it mandatory to embed subtitles in container?

gabychou wrote:So this means there is absolutely no way to read SRT with an AVI file? :?
If your model supports AVI files WITHOUT transcoding (some Euro models do that), you may be able to play subtitles in Serviio using external subs in .srt file. At least one other person here (voodooo) was able to do that with his Viera set, a TX-L42E30E. You can look for his posts here, for example:

voodooo wrote:...subtitles are just fine. In .avi i have external .srt in .mkv I just remuxe them in the container, the same .srt but remuxed with no compression.

  Code:
Text
ID                               : 3
Format                           : UTF-8
Codec ID                         : S_TEXT/UTF8
Codec ID/Info                    : UTF-8 Plain Text
Default                          : Yes
Forced                           : No


...
Peter
Beta Tester Group
Wiki | FAQ

Panasonic Viera TC-L32E3 LCD | Panasonic DMP-BDT210 | 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
<<

gabychou

Serviio newbie

Posts: 12

Joined: Thu Mar 29, 2012 9:42 pm

Post Fri Mar 30, 2012 10:10 pm

Re: Why is it mandatory to embed subtitles in container?

OK, my bad, I can't understand why, but I've acheived to read a muxed file :x
I may have failed to deactivate compression for srt file, which seems to be mandatory...

Regarding VT30, it doesn't seem to support AVI files without transcoding, it's really a shame considering the price :roll:

Thanks a lot for your help!
<<

PMI

User avatar

DLNA master

Posts: 156

Joined: Tue Jan 03, 2012 3:32 am

Location: Milwaukee, Wisconsin

Post Fri Mar 30, 2012 11:05 pm

Re: Why is it mandatory to embed subtitles in container?

It might help other people, if you post in what region/country the set was purchased, also:

does it play DTS audio?
does it actually play the muxed srt subtitles?

I ask this because there seems to be no consensus on what is supported by the different models...
Peter
Beta Tester Group
Wiki | FAQ

Panasonic Viera TC-L32E3 LCD | Panasonic DMP-BDT210 | 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
<<

gabychou

Serviio newbie

Posts: 12

Joined: Thu Mar 29, 2012 9:42 pm

Post Sat Mar 31, 2012 8:18 am

Re: Why is it mandatory to embed subtitles in container?

OK : the model is TX-P50VT30E, purchased in France.
It is compatible with DTS signal through DLNA, though I had to use PopCorn MKV Audio Converter on some movies (I think it was on certain 3D movies, but I didn't keep trace of it, so I can't detail what were the differences...)

I've tried muxing several MKV video files with SRT subtitles yesterday, it worked fine, provided compression is unchecked for all the files, even SRT file.
Then the subtitles can be selected with 'Option' key of the remote control.

So, the only impossible thing with DLNA and this TV is to read SRT subtitles with AVI files...
<<

PMI

User avatar

DLNA master

Posts: 156

Joined: Tue Jan 03, 2012 3:32 am

Location: Milwaukee, Wisconsin

Post Sat Mar 31, 2012 4:50 pm

Re: Why is it mandatory to embed subtitles in container?

gabychou wrote:So, the only impossible thing with DLNA and this TV is to read SRT subtitles with AVI files...
It is probably possible.

From what you found, it looks like your set has the same file support (at least for DLNA) as the other 2011 Viera models sold in Europe. Voodoo tested the Euro version pretty extensively, and it seems odd that your model would have the same features EXCEPT no playing .srt subs with AVI files... that just seems very unlikely. You could try sending him a message, he does not seem to be reading the forum much at this time.

Unfortunately, I can't give you specific help on that, because the US models are missing the function to turn on subtitles in the sub menu, along with AVI/DivX support and DTS... :(
Peter
Beta Tester Group
Wiki | FAQ

Panasonic Viera TC-L32E3 LCD | Panasonic DMP-BDT210 | 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
<<

gabychou

Serviio newbie

Posts: 12

Joined: Thu Mar 29, 2012 9:42 pm

Post Mon Apr 02, 2012 11:03 pm

Re: Why is it mandatory to embed subtitles in container?

Strange indeed : I've tested in every way but SRT files don't seem to be recognized along with AVI files. I'll try and contact Voodoo, or izy007 who happens to have almost the same model and who doesn't seem to have problems with it :?
<<

PMI

User avatar

DLNA master

Posts: 156

Joined: Tue Jan 03, 2012 3:32 am

Location: Milwaukee, Wisconsin

Post Tue Apr 03, 2012 12:34 am

Re: Why is it mandatory to embed subtitles in container?

I assume you mean that the AVI file does play fine, but subtitles do not show up when you try to turn them on from the menu (?)

The next step may be to turn on detailed logging (see viewtopic.php?f=5&t=7 ), then check the log file to see if srt subtitles are being delivered to your set. (or, just post part of the log file so one of the experts can look at it)
Peter
Beta Tester Group
Wiki | FAQ

Panasonic Viera TC-L32E3 LCD | Panasonic DMP-BDT210 | 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
<<

gabychou

Serviio newbie

Posts: 12

Joined: Thu Mar 29, 2012 9:42 pm

Post Tue Apr 03, 2012 8:31 pm

Re: Why is it mandatory to embed subtitles in container?

Yes, you've understood correctly...

Thanks, I've enabled debug mode and try several movies with SRT file.
I think this is the extractt for one of them :
  Code:
2012-04-03 22:11:38,331 DEBUG [GenreDAOImpl] Reading a Genre (id = 60)
2012-04-03 22:11:38,331 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 20177)
2012-04-03 22:11:38,332 DEBUG [MediaItemDAOImpl] Getting file of media item 20177
2012-04-03 22:11:38,332 DEBUG [SubtitlesService] Found subtitle file: D:\Vidéos\DivX\Freedomland.srt
2012-04-03 22:11:38,332 DEBUG [VideoDAOImpl] Reading a Video (id = 20177)
2012-04-03 22:11:38,332 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 20177 and profile Generic DLNA profile
2012-04-03 22:11:38,333 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 29123)
[...]
2012-04-03 22:11:41,993 DEBUG [WebServer] Incoming connection from /192.168.1.2:44116
2012-04-03 22:11:41,994 DEBUG [ResourceTransportRequestHandler] GET /resource/20177/MEDIA_ITEM/AVI*0 HTTP/1.1, headers = [Host: 192.168.1.1:8895,Range: bytes=0-,Connection: keep-alive]]
2012-04-03 22:11:41,994 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.2
2012-04-03 22:11:41,995 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.2, Profile=Generic DLNA profile'
2012-04-03 22:11:41,995 DEBUG [ResourceTransportRequestHandler] Request for resource 20177 and type 'MEDIA_ITEM' received
2012-04-03 22:11:41,996 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 20177 (local)
2012-04-03 22:11:41,996 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 20177)
2012-04-03 22:11:41,996 DEBUG [VideoDAOImpl] Reading a Video (id = 20177)
2012-04-03 22:11:41,997 DEBUG [VideoDeliveryEngine] Delivering item '20177' for client 'IPAddress=/192.168.1.2, Profile=Generic DLNA profile'
2012-04-03 22:11:41,998 DEBUG [VideoDeliveryEngine] Delivering file 'Freedomland.avi' in native format
2012-04-03 22:11:41,998 DEBUG [MediaItemDAOImpl] Getting file of media item 20177
2012-04-03 22:11:41,999 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 20177) as read
2012-04-03 22:11:42,033 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2012-04-03 22:11:42,034 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 732329984
2012-04-03 22:11:42,034 DEBUG [ResourceTransportRequestHandler] Sending file back
2012-04-03 22:11:42,034 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/x-msvideo,Content-Range: bytes 0-732329983/732329984,Content-Length: 732329984,Date: Tue, 03 Apr 2012 20:11:42 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.2,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2012-04-03 22:11:42,065 DEBUG [WebServer] Incoming connection from /192.168.1.2:65282
2012-04-03 22:11:42,065 DEBUG [ResourceTransportRequestHandler] GET /resource/20177/MEDIA_ITEM/AVI*0 HTTP/1.1, headers = [Host: 192.168.1.1:8895,Range: bytes=0-,Connection: keep-alive]]
2012-04-03 22:11:42,066 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.2
2012-04-03 22:11:42,066 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.2, Profile=Generic DLNA profile'
2012-04-03 22:11:42,066 DEBUG [ResourceTransportRequestHandler] Request for resource 20177 and type 'MEDIA_ITEM' received
2012-04-03 22:11:42,067 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 20177 (local)
2012-04-03 22:11:42,067 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 20177)
2012-04-03 22:11:42,068 DEBUG [VideoDAOImpl] Reading a Video (id = 20177)
2012-04-03 22:11:42,070 DEBUG [VideoDeliveryEngine] Delivering item '20177' for client 'IPAddress=/192.168.1.2, Profile=Generic DLNA profile'
2012-04-03 22:11:42,070 DEBUG [VideoDeliveryEngine] Delivering file 'Freedomland.avi' in native format
2012-04-03 22:11:42,070 DEBUG [MediaItemDAOImpl] Getting file of media item 20177
2012-04-03 22:11:42,071 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 20177) as read
2012-04-03 22:11:42,074 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2012-04-03 22:11:42,075 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 732329984
2012-04-03 22:11:42,075 DEBUG [ResourceTransportRequestHandler] Sending file back
2012-04-03 22:11:42,075 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/x-msvideo,Content-Range: bytes 0-732329983/732329984,Content-Length: 732329984,Date: Tue, 03 Apr 2012 20:11:42 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.2,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2012-04-03 22:11:42,092 DEBUG [WebServer] I/O error: Connection reset by peer: socket write error
2012-04-03 22:11:42,099 DEBUG [WebServer] Incoming connection from /192.168.1.2:43393
2012-04-03 22:11:42,100 DEBUG [ResourceTransportRequestHandler] GET /resource/20177/MEDIA_ITEM/AVI*0 HTTP/1.1, headers = [Host: 192.168.1.1:8895,Range: bytes=0-,Connection: keep-alive]]
2012-04-03 22:11:42,100 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.2
2012-04-03 22:11:42,100 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.2, Profile=Generic DLNA profile'
2012-04-03 22:11:42,100 DEBUG [ResourceTransportRequestHandler] Request for resource 20177 and type 'MEDIA_ITEM' received
2012-04-03 22:11:42,100 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 20177 (local)
2012-04-03 22:11:42,100 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 20177)
2012-04-03 22:11:42,101 DEBUG [VideoDAOImpl] Reading a Video (id = 20177)
2012-04-03 22:11:42,101 DEBUG [VideoDeliveryEngine] Delivering item '20177' for client 'IPAddress=/192.168.1.2, Profile=Generic DLNA profile'
2012-04-03 22:11:42,101 DEBUG [VideoDeliveryEngine] Delivering file 'Freedomland.avi' in native format
2012-04-03 22:11:42,101 DEBUG [MediaItemDAOImpl] Getting file of media item 20177
2012-04-03 22:11:42,101 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 20177) as read
2012-04-03 22:11:42,103 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2012-04-03 22:11:42,103 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 732329984
2012-04-03 22:11:42,103 DEBUG [ResourceTransportRequestHandler] Sending file back
2012-04-03 22:11:42,103 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/x-msvideo,Content-Range: bytes 0-732329983/732329984,Content-Length: 732329984,Date: Tue, 03 Apr 2012 20:11:42 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.2,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2012-04-03 22:11:42,152 DEBUG [WebServer] Incoming connection from /192.168.1.2:41869
2012-04-03 22:11:42,153 DEBUG [ResourceTransportRequestHandler] GET /resource/20177/MEDIA_ITEM/AVI*0 HTTP/1.1, headers = [Host: 192.168.1.1:8895,Range: bytes=725206314-,Connection: keep-alive]]
2012-04-03 22:11:42,153 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.2
2012-04-03 22:11:42,153 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.2, Profile=Generic DLNA profile'
2012-04-03 22:11:42,154 DEBUG [ResourceTransportRequestHandler] Request for resource 20177 and type 'MEDIA_ITEM' received
2012-04-03 22:11:42,154 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 20177 (local)
2012-04-03 22:11:42,154 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 20177)
2012-04-03 22:11:42,154 DEBUG [VideoDAOImpl] Reading a Video (id = 20177)
2012-04-03 22:11:42,154 DEBUG [VideoDeliveryEngine] Delivering item '20177' for client 'IPAddress=/192.168.1.2, Profile=Generic DLNA profile'
2012-04-03 22:11:42,154 DEBUG [VideoDeliveryEngine] Delivering file 'Freedomland.avi' in native format
2012-04-03 22:11:42,154 DEBUG [MediaItemDAOImpl] Getting file of media item 20177
2012-04-03 22:11:42,155 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 7123670
2012-04-03 22:11:42,155 DEBUG [ResourceTransportRequestHandler] Sending file back
2012-04-03 22:11:42,155 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/x-msvideo,Content-Range: bytes 725206314-732329983/732329984,Content-Length: 7123670,Date: Tue, 03 Apr 2012 20:11:42 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.2,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2012-04-03 22:11:44,196 DEBUG [WebServer] I/O error: Connection reset by peer: socket write error
2012-04-03 22:11:47,072 DEBUG [WebServer] Incoming connection from /192.168.1.2:53057
2012-04-03 22:11:47,074 DEBUG [ResourceTransportRequestHandler] GET /resource/20177/MEDIA_ITEM/AVI*0 HTTP/1.1, headers = [Host: 192.168.1.1:8895,Range: bytes=10248-,Connection: keep-alive]]
2012-04-03 22:11:47,075 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.2
2012-04-03 22:11:47,075 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.2, Profile=Generic DLNA profile'
2012-04-03 22:11:47,076 DEBUG [ResourceTransportRequestHandler] Request for resource 20177 and type 'MEDIA_ITEM' received
2012-04-03 22:11:47,076 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 20177 (local)
2012-04-03 22:11:47,076 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 20177)
2012-04-03 22:11:47,077 DEBUG [VideoDAOImpl] Reading a Video (id = 20177)
2012-04-03 22:11:47,078 DEBUG [VideoDeliveryEngine] Delivering item '20177' for client 'IPAddress=/192.168.1.2, Profile=Generic DLNA profile'
2012-04-03 22:11:47,078 DEBUG [VideoDeliveryEngine] Delivering file 'Freedomland.avi' in native format
2012-04-03 22:11:47,078 DEBUG [MediaItemDAOImpl] Getting file of media item 20177
2012-04-03 22:11:47,079 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 732319736
2012-04-03 22:11:47,079 DEBUG [ResourceTransportRequestHandler] Sending file back
2012-04-03 22:11:47,079 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/x-msvideo,Content-Range: bytes 10248-732329983/732329984,Content-Length: 732319736,Date: Tue, 03 Apr 2012 20:11:47 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.2,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2012-04-03 22:11:50,169 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eth3 (NVIDIA nForce 10/100 Mbps Ethernet ) and address 192.168.1.1, timeout = 0
2012-04-03 22:11:50,170 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device 232e919c-d3d9-3eeb-ac51-8e4209d980af
2012-04-03 22:11:50,891 DEBUG [WebServer] Incoming connection from /192.168.1.2:16983
2012-04-03 22:11:50,892 DEBUG [DeviceDescriptionRequestHandler] DeviceDescription request received for device 232e919c-d3d9-3eeb-ac51-8e4209d980af from 192.168.1.2 (headers = [User-Agent: Panasonic MIL DLNA CP UPnP/1.0 DLNADOC/1.50,Host: 192.168.1.1:8895,X-PANASONIC-Registration: VklFUkEgVlQzMCBTZXJpZXMAAAAAAAAAAAA=,X-PANASONIC-DMP-Profile: MPEG_PS_PAL JPEG_SM PV_DIVX_DIV3 PV_DIVX_DIV4 PV_DIVX_DIVX PV_DIVX_DX50 PV_DRM_DIVX_DIV3 PV_DRM_DIVX_DIV4 PV_DRM_DIVX_DIVX PV_DRM_DIVX_DX50])
2012-04-03 22:11:50,892 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.2
2012-04-03 22:11:50,893 DEBUG [RendererManager] Looking for a renderer profile for Http headers: [User-Agent: Panasonic MIL DLNA CP UPnP/1.0 DLNADOC/1.50,Host: 192.168.1.1:8895,X-PANASONIC-Registration: VklFUkEgVlQzMCBTZXJpZXMAAAAAAAAAAAA=,X-PANASONIC-DMP-Profile: MPEG_PS_PAL JPEG_SM PV_DIVX_DIV3 PV_DIVX_DIV4 PV_DIVX_DIVX PV_DIVX_DX50 PV_DRM_DIVX_DIV3 PV_DRM_DIVX_DIV4 PV_DRM_DIVX_DIVX PV_DRM_DIVX_DX50]
2012-04-03 22:11:50,894 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.2
2012-04-03 22:11:50,898 DEBUG [DeviceDescriptionRequestHandler] Sending DeviceDescription XML back using profile 'Generic DLNA profile'
2012-04-03 22:11:51,970 DEBUG [DiscoveryAdvertisementNotifier] Will advertise again in 00:01:07


Hope you'll find something, because I don't :)
<<

PMI

User avatar

DLNA master

Posts: 156

Joined: Tue Jan 03, 2012 3:32 am

Location: Milwaukee, Wisconsin

Post Wed Apr 04, 2012 3:02 pm

Re: Why is it mandatory to embed subtitles in container?

It looks like you are using the generic DLNA profile (?) That may be part of the problem. I am not even certain the generic profile supports srt files. Cerberus made two new profiles for Viera models sold 2011 and later.

You should probably add one of the new Viera profiles to the Profiles.xml file before doing any more testing. The new profiles have not been tested by anyone with your Viera model (at least nobody who posted results). However, based on what you posted so far, I think you should use the Viera Profile for sets WITH AVI support, because I believe that should work for any recent Viera set sold in Europe. This is the profile voodooo tested and worked for him.
Peter
Beta Tester Group
Wiki | FAQ

Panasonic Viera TC-L32E3 LCD | Panasonic DMP-BDT210 | 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
<<

gabychou

Serviio newbie

Posts: 12

Joined: Thu Mar 29, 2012 9:42 pm

Post Wed Apr 04, 2012 6:51 pm

Re: Why is it mandatory to embed subtitles in container?

Actually I tried the one found there for VT30 : viewtopic.php?f=13&t=5119&p=36038&hilit=VT30#p36038
This is what was used when doing the test yesterday :

  Code:
 
   <Profile id="24" name="Panasonic Viera With AVI Support" extendsProfileId="1">
            <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.PacketVideoDLNAMessageBuilder</ContentDirectoryMessageBuilder>
            <SubtitlesMimeType>text/srt</SubtitlesMimeType>
            <Transcoding>
          <!-- Transcode h264 videos with profile level > 4.1 to mpegts with ac3 audio -->
          <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" maxVBitrate="20000">
             <Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.2" />
             <Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.2" />
             <Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.2" />
             <Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.2" />
          </Video>
               <!-- remux VORBIS/FLAC/LPCM in MKV/MP4 to AC3 -->
               <Video targetContainer="mpegts" targetACodec="ac3" >
                  <Matches container="matroska" vCodec="h264" aCodec="flac" />
                  <Matches container="matroska" vCodec="h264" aCodec="vorbis" />
                  <Matches container="matroska" vCodec="h264" aCodec="truehd" />
                  <Matches container="mp4" vCodec="h264" aCodec="lpcm"/>
                  <Matches container="mp4" vCodec="h264" aCodec="aac"/>
                  <Matches container="3gp" vCodec="h264" />
               </Video>
               <!-- Remux MPEG-TS with no transcoding -->
               <Video targetContainer="mpegts">
                  <Matches container="mp4" vCodec="h264" />
                  <Matches container="matroska" vCodec="mpeg2video"/>
               </Video>
               <!-- Remux WTV files to MPEG-PS with no transcoding-->
               <Video targetContainer="mpeg">
                  <Matches container="wtv" />
               </Video>
               <!-- unsupported codecs will be transcoded into mpeg-ts, mpeg2 video and ac3 audio -->
               <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">           
                  <Matches container="avi" />
                  <Matches container="mp4" vCodec="mjpeg" />
                  <Matches container="mp4" vCodec="mpeg4" />
             <Matches container="mpeg" vCodec="mpeg1video" />
             <Matches container="matroska" vCodec="mpeg4" />
                  <Matches container="asf" />
                  <Matches container="flv" />
                  <Matches container="ogg" />
                  <Matches container="3gp" />
               </Video>
               <!-- unsupported audio will be transcoded into lpcm audio -->
               <Audio targetContainer="lpcm">
                  <Matches container="flac" />
                  <Matches container="ogg" />
                  <Matches container="asf" />
                  <Matches container="adts" />
               </Audio>
            </Transcoding>     
        </Profile>
<<

PMI

User avatar

DLNA master

Posts: 156

Joined: Tue Jan 03, 2012 3:32 am

Location: Milwaukee, Wisconsin

Post Thu Apr 05, 2012 3:15 am

Re: Why is it mandatory to embed subtitles in container?

Looking at the excerpt of the log file, I only see references to "Generic DLNA Profile". see highlite:

2012-04-03 22:11:41,997 DEBUG [VideoDeliveryEngine] Delivering item '20177' for client 'IPAddress=/192.168.1.2, Profile=Generic DLNA profile'
2012-04-03 22:11:41,998 DEBUG [VideoDeliveryEngine] Delivering file 'Freedomland.avi' in native format

Perhaps the Viera Profile was not selected at the time of the test (you have to do that manually in the Serviio Console, and then click the "Save" button). Mind you, this is just a guess, but the excerpt of the log file has no trace of any Viera profile... :?
Peter
Beta Tester Group
Wiki | FAQ

Panasonic Viera TC-L32E3 LCD | Panasonic DMP-BDT210 | 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
<<

gabychou

Serviio newbie

Posts: 12

Joined: Thu Mar 29, 2012 9:42 pm

Post Fri Apr 06, 2012 5:38 pm

Re: Why is it mandatory to embed subtitles in container?

Nice! It works :D

Sorry, you were right, the profile wasn't selected :roll:

It appears that I can use for my french VT30E the profile that Cerberus posted for E30, GT30 and UT30 : my TV has AVI support indeed
http://forum.serviio.org/viewtopic.php?f=13&t=5119&p=36038&hilit=VT30#p36038

Thanks a lot for you patience PMI :D
<<

rafik

Serviio newbie

Posts: 4

Joined: Fri Oct 26, 2012 9:54 pm

Post Sun Oct 28, 2012 5:59 pm

Re: Why is it mandatory to embed subtitles in container?

Hi all,
I'm trying to get subs with serviio on my TV Panasonic TX-P55VT30E. Unfortunately without success.
Results are:
a) avi with external .srt file: no
b) mp4 with external .srt file:no
c) mkv with external .srt file: no
d) mkv with muxed .srt file (muxing done with compression = none for all three streams: video, audio, subs): yes when selected on TV remote Option -> Subtitle: Subtitle1(und) (by default is selected Off and subs are not displayed)
I made above checking using both profiles "Panasonic Viera With AVI Support" and "Panasonic Viera Without AVI Support" available here: viewtopic.php?f=13&t=5119&hilit=VT30&start=60. Of course appropriate profile is selected in serviio console. Results are same.
Could you please advice what and where (serviio or TV set) should I set or change in order to get external subs displayed at least with mp4 and mkv ?
As I read this post there are TV sets supporting external subs, some no. How to check if my model is supporting external subs ?
Aha, one more important information: in all cases a)-d) PS3 Media Server is working on my TV set: subs are displayed, so this is really pity that it doesn't work with serviio.
<<

rafik

Serviio newbie

Posts: 4

Joined: Fri Oct 26, 2012 9:54 pm

Post Thu Nov 01, 2012 4:32 pm

Re: Why is it mandatory to embed subtitles in container?

Hi,
Finally I'm able to display .srt with avi files... The problem with displaying them was caused by wrong .srt files - they must be saved with ANSI encoding, so the problem is solved :-)
Anyhow it's a pity that there is no way to configure subtitles with font, color, size, border, etc.
In PS3 Media Server you can do these configurations with subtitles but then mencoder is transcoding every format (avi, mp4, mkv) which utilize CPU heavily.

Return to Panasonic

Who is online

Users browsing this forum: No registered users and 13 guests

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