FAQ  •  Register  •  Login

Sony SMP-N100 sporadic error “the file is corrupt or unsup

<<

eksServiio

Serviio newbie

Posts: 7

Joined: Thu Mar 01, 2012 12:55 am

Post Thu Mar 01, 2012 1:05 am

Sony SMP-N100 sporadic error “the file is corrupt or unsup

I'm running the latest version of serviio on a PC with Windows 7 64bit.

I have a network with two Sony SMP-N100 media players connected via Ethernet cable.

Overall it works good - pictures and audio files play perfectly!

The irresolution are videos (mv4 and mp4 video files all encoded with Handbrake - default setting).

About half the time when I try to play a movie I get the error message "the file is corrupt or unsupported".
All I need to do is to try it again and it will plays perfectly.

Anyone having the same issue?
<<

eksServiio

Serviio newbie

Posts: 7

Joined: Thu Mar 01, 2012 12:55 am

Post Thu Mar 01, 2012 1:29 am

Re: Sony SMP-N100 sporadic error “the file is corrupt or un

I think this is the matching error message in the serviio.log:

2012-02-29 19:02:53,509 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file 'C:\Windows\TEMP\Serviio\transcoding-temp-4740-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file 'C:\Windows\TEMP\Serviio\transcoding-temp-4740-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:129)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:96)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:121)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:116)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:187)
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Thu Mar 01, 2012 2:34 am

Re: Sony SMP-N100 sporadic error “the file is corrupt or un

full logs please parts of logs are useless.
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
<<

eksServiio

Serviio newbie

Posts: 7

Joined: Thu Mar 01, 2012 12:55 am

Post Thu Mar 01, 2012 11:55 pm

Re: Sony SMP-N100 sporadic error “the file is corrupt or un

The log is very large.

This is the top section of the log.
The error gets repeated over and over "Error while processing resource, sending back 500 error. Message: Transcoded file...."
The errors matches when It fails to play the movie.
All I need to do is and choose the same movie again and it works.
Not failing every time, but 50% of the time for sure.


2012-02-12 16:49:33,260 INFO [MediaServer] Serviio DLNA media streaming server v 0.6.2 (rev. aec3abd196d6+)
2012-02-12 16:49:33,260 INFO [MediaServer] Petr Nejedly 2009-2011
2012-02-12 16:49:33,260 INFO [MediaServer] http://www.serviio.org
2012-02-12 16:49:33,260 INFO [MediaServer]
2012-02-12 16:49:33,260 INFO [MediaServer] Java 1.6.0_23-Sun Microsystems Inc.
2012-02-12 16:49:33,260 INFO [MediaServer] OS Windows 7 amd64 6.1
2012-02-12 16:49:33,260 INFO [MediaServer] File encoding: windows-1252
2012-02-12 16:49:33,260 INFO [MediaServer] Headless mode enabled: true
2012-02-12 16:49:33,260 INFO [MediaServer] User home dir: C:\
2012-02-12 16:49:33,260 INFO [MediaServer] Temp dir: C:\Windows\TEMP\
2012-02-12 16:49:33,260 INFO [MediaServer] ------------------------------------------------------------------------
2012-02-12 16:49:33,556 INFO [RestletServer] Starting Restlet server exposed on port 23423
2012-02-12 16:49:33,650 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2012-02-12 16:49:35,771 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2012-02-12 16:49:36,442 INFO [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2012-02-12 16:49:36,785 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2012-02-12 16:49:36,973 INFO [ProfilesDefinitionParser] Added profile 'Xbox 360' (id=3)
2012-02-12 16:49:37,238 INFO [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2012-02-12 16:49:37,363 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2012-02-12 16:49:37,472 INFO [ProfilesDefinitionParser] Added profile 'DirecTV HD-DVR' (id=6)
2012-02-12 16:49:37,955 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV / player (C/D-series)' (id=7)
2012-02-12 16:49:37,971 INFO [ProfilesDefinitionParser] Added profile 'LG TV / player' (id=8)
2012-02-12 16:49:38,408 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011)' (id=9)
2012-02-12 16:49:38,969 INFO [ProfilesDefinitionParser] Added profile 'Sony BD Player / SMP' (id=10)
2012-02-12 16:49:39,235 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera' (id=12)
2012-02-12 16:49:39,453 INFO [ProfilesDefinitionParser] Added profile 'Toshiba REGZA' (id=13)
2012-02-12 16:49:39,625 INFO [ProfilesDefinitionParser] Added profile 'WDTV Live' (id=14)
2012-02-12 16:49:39,640 INFO [ProfilesDefinitionParser] Added profile 'LaCie LaCinema Media Player' (id=15)
2012-02-12 16:49:39,749 INFO [ProfilesDefinitionParser] Added profile 'Manta WIFI Centre' (id=16)
2012-02-12 16:49:39,796 INFO [ProfilesDefinitionParser] Added profile 'Pure Flow' (id=17)
2012-02-12 16:49:39,983 INFO [ProfilesDefinitionParser] Added profile 'Sharp Aquos' (id=18)
2012-02-12 16:49:40,077 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2010)' (id=19)
2012-02-12 16:49:40,373 INFO [ProfilesDefinitionParser] Added profile 'Philips' (id=20)
2012-02-12 16:49:40,576 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2009)' (id=21)
2012-02-12 16:49:42,464 INFO [WebServer] Socket buffer set to 65535 bytes
2012-02-12 16:49:42,495 INFO [Device] Created UPnP Device with UUID: 3ffad415-9d1a-32d2-80c7-718d4ac17c97, bound address: 192.168.1.102
2012-02-12 16:49:42,947 INFO [PluginCompilerThread] Looking for plugins at C:\Program Files\Serviio\bin\..\plugins
2012-02-12 16:49:42,947 INFO [PluginCompilerThread] Started looking for plugins
2012-02-12 16:49:44,632 INFO [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data
2012-02-12 16:49:45,709 INFO [WebServer] WebServer starting on port 8895
2012-02-12 16:49:45,849 INFO [EventDispatcher] Starting EventDispatcher
2012-02-12 16:49:45,849 INFO [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2012-02-12 16:49:45,849 INFO [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2012-02-12 16:49:45,974 INFO [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface eth3 (Intel(R) 82566DC Gigabit Network Connection) and address 192.168.1.102, timeout = 0
2012-02-12 16:49:46,007 INFO [RendererExpirationChecker] Starting RendererExpirationChecker
2012-02-12 16:49:46,007 INFO [RendererSearchSender] Searching for Renderer devices
2012-02-12 16:50:12,868 INFO [FeedUpdaterThread] Started looking for information about online resources
2012-02-12 16:50:12,884 INFO [LibraryAdditionsCheckerThread] Started looking for newly added files
2012-02-12 16:50:13,508 INFO [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2012-02-12 16:50:27,239 INFO [UpdateChecker] Checking if a new version is available
2012-02-12 16:51:26,470 INFO [ContentDirectoryDefinitionParser] Parsing ContentDirectory definition
2012-02-12 16:51:27,643 INFO [BrowsingCategoriesMessages] Loaded browsing categories message bundle for locale: en
2012-02-13 13:37:27,913 INFO [RendererManager] Stored a new renderer: uuid='bbff08d3-3996-4047-bc45-7cd1f879a886', name = 'Sony BD Player / SMP', ipAddress='192.168.1.105', profile = '10'
2012-02-13 13:38:33,430 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file 'C:\Windows\TEMP\Serviio\transcoding-temp-4751-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file 'C:\Windows\TEMP\Serviio\transcoding-temp-4751-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:129)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:96)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:121)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:116)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:187)
2012-02-13 13:54:16,979 INFO [RendererManager] Stored a new renderer: uuid='01871267-d4d5-4119-b9a2-cd6c7fc1c40c', name = 'Unrecognized device', ipAddress='192.168.1.103', profile = '1'
2012-02-13 14:26:01,650 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file 'C:\Windows\TEMP\Serviio\transcoding-temp-4753-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file 'C:\Windows\TEMP\Serviio\transcoding-temp-4753-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:129)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:96)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:121)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:116)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:187)
2012-02-13 21:33:18,524 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file
The log is very large.

This is the top of the log. The error is the same

'C:\Windows\TEMP\Serviio\transcoding-temp-32904-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file 'C:\Windows\TEMP\Serviio\transcoding-temp-32904-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:129)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:96)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:121)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:116)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:187)
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Fri Mar 02, 2012 12:24 am

Re: Sony SMP-N100 sporadic error “the file is corrupt or un

2012-02-12 16:49:33,260 INFO [MediaServer] Java 1.6.0_23-Sun Microsystems Inc.

please update.
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
<<

eksServiio

Serviio newbie

Posts: 7

Joined: Thu Mar 01, 2012 12:55 am

Post Fri Mar 02, 2012 3:59 am

Re: Sony SMP-N100 sporadic error “the file is corrupt or un

Thanks for the response.
I did update Java.

Still get the same sporadic problem.

Results from the log file:

2012-03-01 20:29:01,753 INFO [MediaServer] ------------------------------------------------------------------------
2012-03-01 20:29:01,800 INFO [MediaServer] Serviio DLNA media streaming server v 0.6.2 (rev. aec3abd196d6+)
2012-03-01 20:29:01,800 INFO [MediaServer] Petr Nejedly 2009-2011
2012-03-01 20:29:01,800 INFO [MediaServer] http://www.serviio.org
2012-03-01 20:29:01,800 INFO [MediaServer]
2012-03-01 20:29:01,800 INFO [MediaServer] Java 1.6.0_31-Sun Microsystems Inc.
2012-03-01 20:29:01,800 INFO [MediaServer] OS Windows 7 amd64 6.1
2012-03-01 20:29:01,800 INFO [MediaServer] File encoding: windows-1252
2012-03-01 20:29:01,878 INFO [MediaServer] Headless mode enabled: true
2012-03-01 20:29:01,878 INFO [MediaServer] User home dir: C:\
2012-03-01 20:29:01,878 INFO [MediaServer] Temp dir: C:\Windows\TEMP\
2012-03-01 20:29:01,878 INFO [MediaServer] ------------------------------------------------------------------------
2012-03-01 20:29:04,374 INFO [RestletServer] Starting Restlet server exposed on port 23423
2012-03-01 20:29:05,809 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2012-03-01 20:29:13,843 INFO [ServiioConsole] Connecting to Serviio REST on localhost:23423
2012-03-01 20:29:21,955 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2012-03-01 20:29:22,641 INFO [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2012-03-01 20:29:22,985 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2012-03-01 20:29:23,172 INFO [ProfilesDefinitionParser] Added profile 'Xbox 360' (id=3)
2012-03-01 20:29:23,421 INFO [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2012-03-01 20:29:23,562 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2012-03-01 20:29:23,655 INFO [ProfilesDefinitionParser] Added profile 'DirecTV HD-DVR' (id=6)
2012-03-01 20:29:24,061 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV / player (C/D-series)' (id=7)
2012-03-01 20:29:24,092 INFO [ProfilesDefinitionParser] Added profile 'LG TV / player' (id=8)
2012-03-01 20:29:24,467 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011)' (id=9)
2012-03-01 20:29:25,028 INFO [ProfilesDefinitionParser] Added profile 'Sony BD Player / SMP' (id=10)
2012-03-01 20:29:25,293 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera' (id=12)
2012-03-01 20:29:25,512 INFO [ProfilesDefinitionParser] Added profile 'Toshiba REGZA' (id=13)
2012-03-01 20:29:25,637 INFO [ProfilesDefinitionParser] Added profile 'WDTV Live' (id=14)
2012-03-01 20:29:25,668 INFO [ProfilesDefinitionParser] Added profile 'LaCie LaCinema Media Player' (id=15)
2012-03-01 20:29:25,761 INFO [ProfilesDefinitionParser] Added profile 'Manta WIFI Centre' (id=16)
2012-03-01 20:29:25,808 INFO [ProfilesDefinitionParser] Added profile 'Pure Flow' (id=17)
2012-03-01 20:29:25,949 INFO [ProfilesDefinitionParser] Added profile 'Sharp Aquos' (id=18)
2012-03-01 20:29:26,027 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2010)' (id=19)
2012-03-01 20:29:26,292 INFO [ProfilesDefinitionParser] Added profile 'Philips' (id=20)
2012-03-01 20:29:26,417 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2009)' (id=21)
2012-03-01 20:29:28,616 INFO [WebServer] Socket buffer set to 65535 bytes
2012-03-01 20:29:28,616 INFO [Device] Created UPnP Device with UUID: 3ffad415-9d1a-32d2-80c7-718d4ac17c97, bound address: 192.168.1.102
2012-03-01 20:29:29,334 INFO [PluginCompilerThread] Looking for plugins at C:\Program Files\Serviio\bin\..\plugins
2012-03-01 20:29:29,490 INFO [PluginCompilerThread] Started looking for plugins
2012-03-01 20:29:34,201 INFO [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data
2012-03-01 20:29:34,388 INFO [WebServer] WebServer starting on port 8895
2012-03-01 20:29:34,404 INFO [EventDispatcher] Starting EventDispatcher
2012-03-01 20:29:34,404 INFO [RendererExpirationChecker] Starting RendererExpirationChecker
2012-03-01 20:29:34,404 INFO [RendererSearchSender] Searching for Renderer devices
2012-03-01 20:29:34,435 INFO [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2012-03-01 20:29:34,435 INFO [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2012-03-01 20:29:34,513 INFO [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface eth3 (Intel(R) 82566DC Gigabit Network Connection) and address 192.168.1.102, timeout = 0
2012-03-01 20:29:42,500 INFO [Messages] Loaded console message bundle for locale: en
2012-03-01 20:29:42,516 INFO [UpdateChecker] Checking if a new version is available
2012-03-01 20:29:47,436 INFO [ContentDirectoryDefinitionParser] Parsing ContentDirectory definition
2012-03-01 20:29:48,014 INFO [BrowsingCategoriesMessages] Loaded browsing categories message bundle for locale: en
2012-03-01 20:30:01,898 INFO [FeedUpdaterThread] Started looking for information about online resources
2012-03-01 20:30:01,929 INFO [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2012-03-01 20:30:01,960 INFO [LibraryAdditionsCheckerThread] Started looking for newly added files
2012-03-01 21:41:48,324 INFO [LibraryAdditionsCheckerThread] Added file 'Tweenies 1.mp4' (title: Tweenies 1) to Library
2012-03-01 21:54:24,591 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file 'C:\Windows\TEMP\Serviio\transcoding-temp-4701-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file 'C:\Windows\TEMP\Serviio\transcoding-temp-4701-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:129)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:96)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:121)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:116)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:187)
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Fri Mar 02, 2012 4:16 am

Re: Sony SMP-N100 sporadic error “the file is corrupt or un

mkv files? if so its a known issue with ffmpeg, you can try the latest daily build see if its any better.

http://wiki.serviio.org/doku.php?id=win_ffmpeg
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
<<

eksServiio

Serviio newbie

Posts: 7

Joined: Thu Mar 01, 2012 12:55 am

Post Fri Mar 02, 2012 11:56 pm

Re: Sony SMP-N100 sporadic error “the file is corrupt or un

Nope.

I only have .mp4 and m4v files.

All have been created with the Handbrake (default setting).
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Mar 08, 2012 7:17 pm

Re: Sony SMP-N100 sporadic error “the file is corrupt or un

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
<<

eksServiio

Serviio newbie

Posts: 7

Joined: Thu Mar 01, 2012 12:55 am

Post Fri Mar 09, 2012 12:49 am

Re: Sony SMP-N100 sporadic error “the file is corrupt or un

Thanks for the link. Lots of good info on it.
Unfortunately none of it is applicable to the problem I described above.
All movies play fine - its just they often take 1 to 2 tries (where I get: "the file is corrupt or unsupported").
Once it starts it works 100%
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Fri Mar 09, 2012 8:21 am

Re: Sony SMP-N100 sporadic error “the file is corrupt or un

You have to found why ffmpeg crashed.
The error gets repeated over and over "Error while processing resource, sending back 500 error. Message: Transcoded file...."


Enable detailed logging, then try the same ffmpeg command line locally in windows terminal and post the error ouuput here (as explain in the previous FAQ link)
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
<<

eksServiio

Serviio newbie

Posts: 7

Joined: Thu Mar 01, 2012 12:55 am

Post Sun Mar 11, 2012 7:53 pm

Re: Sony SMP-N100 sporadic error “the file is corrupt or un

Thanks for the response.

After a bit more testing I think I have a "theory" what is going on.

All my movies are stored on an external Samsung hard drive.

The drive spins down when it is not actively used - this is the key!

If the drive is in a resting state and you choose a movie to be played, serviio runs the ffmpeg.exe command ASYNCHRONOUSLY an it in turn places the trans-coded *.stf file into a temp folder.
The Samsung drive needs to spin up before ffmpeg.exe can start the trans-coding.
Since this takes a bit of time the serviio software moves on to the next step to play the movie.
It doesn’t find the file (since ffmpeg.exe has not started because it is waiting for the drive to spin up) and a file not found error occurs.

When I later look into the temp folder I see the trans-coded file in the temp folder that where created with the same date time stamp when I notice the failures C:\Windows\Temp\Serviio\transcoding-temp-32989-MPEG2TS.stf. They also play fine using VLC.

So the solution:
Somehow serviio needs to pole the temp folder longer (wait for the file to be created) before thowing an error, but this is better addressed by the experts :)

The error in the serviio log file with debug option turned on:

2012-03-09 22:39:54,704 DEBUG [MediaItemDAOImpl] Getting file of media item 4633
2012-03-09 22:39:54,705 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: J:\Movies\Movie1.m4v
2012-03-09 22:39:54,706 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -i J:\Movies\Movie1.m4v -y -async 1 -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec copy -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-4633-MPEG2TS.stf
2012-03-09 22:40:02,207 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file 'C:\Windows\TEMP\Serviio\transcoding-temp-4633-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file 'C:\Windows\TEMP\Serviio\transcoding-temp-4633-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:129)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:96)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:121)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:116)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:187)

Return to Sony

Who is online

Users browsing this forum: No registered users and 4 guests

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