FAQ  •  Register  •  Login

LG42LD550 Transcoding Issue

<<

Seduced

Serviio newbie

Posts: 5

Joined: Wed Nov 30, 2011 12:48 am

Post Mon Dec 05, 2011 10:42 pm

LG42LD550 Transcoding Issue

I did a lot of research on the forums when I had issues transcoding on my TV and thought I had found the error. I believed it was related to this thread: viewtopic.php?f=12&t=546. However, I turned on the detailed reporting and realize that probably isn't the issue since I don't see the second request with an invalid data range. Instead, the log shows that the transcoded file cannot be found in the /tmp/Serviio directory. The file is there (the last line of this log even acknowledges it transcoded successfuly) and if I move it to a shared directory and rename it with a .mpg extension it plays just fine.

Here is the log:

  Code:
2011-12-05 12:18:10,664 DEBUG [WebServer] Incoming connection from /192.168.1.225:55573
2011-12-05 12:18:10,664 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.225:
2011-12-05 12:18:10,664 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.225
2011-12-05 12:18:10,669 DEBUG [ContentDirectory] Browse() called for renderer LG TV / player (profile 8) with parameters: objectID = V_F#FOL_R1$F41, browseFlag = BrowseMetadata, filter = @id,@parentID,@restricted,@childCount,dc:title,dc:creator, upnp:artist,upnp:class,dc:date,upnp:album,upnp:genre,res,res@size,res@duration,res@bitrate,res@resolution,res@protocolInfo,res@nrAudioChannels,res@sampleFrequency, startIndex = 0, count = 0, sortCriteria =
2011-12-05 12:18:10,669 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2011-12-05 12:18:10,672 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2011-12-05 12:18:10,708 DEBUG [WebServer] Incoming connection from /192.168.1.225:55574
2011-12-05 12:18:10,709 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.1.225:
2011-12-05 12:18:10,709 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.225
2011-12-05 12:18:10,714 DEBUG [ContentDirectory] Browse() called for renderer LG TV / player (profile 8) with parameters: objectID = V_F#FOL_R1$F41, browseFlag = BrowseDirectChildren, filter = @id,@parentID,@restricted,@childCount,dc:title,dc:creator, upnp:artist,upnp:class,dc:date,upnp:album,upnp:genre,res,res@size,res@duration,res@bitrate,res@resolution,res@protocolInfo,res@nrAudioChannels,res@sampleFrequency, startIndex = 0, count = 54, sortCriteria =
2011-12-05 12:18:10,714 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2011-12-05 12:18:10,725 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2011-12-05 12:18:10,791 DEBUG [WebServer] Incoming connection from /192.168.1.225:55576
2011-12-05 12:18:10,791 DEBUG [ResourceTransportRequestHandler] GET /resource/367/MEDIA_ITEM/AVC_TS_HP_HD_MPEG1_L2_ISO$0 HTTP/1.1, headers = [Host: 192.168.1.213:8895,Pragma: no-cache,Cache-Control: no-cache,Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, text/html, text/xml, text/plain, application/json, application/atom+xml, */*,Accept-Language: ko-kr, ko;q=0.8, en-us;q=0.5, en;q=0.3,Connection: Close,User-Agent: Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; LG_UA; AD_LOGON=LGE.NET; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; LG_UA; AD_LOGON=LGE.NET; LG NetCast.TV-2010)]]
2011-12-05 12:18:10,792 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.225
2011-12-05 12:18:10,792 DEBUG [WebServer] Incoming connection from /192.168.1.225:55575
2011-12-05 12:18:10,794 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-05 12:18:10,794 DEBUG [ResourceTransportRequestHandler] GET /resource/367/MEDIA_ITEM/AVC_TS_HP_HD_MPEG1_L2_ISO$0 HTTP/1.1, headers = [Host: 192.168.1.213:8895,Pragma: no-cache,Cache-Control: no-cache,Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, text/html, text/xml, text/plain, application/json, application/atom+xml, */*,Accept-Language: ko-kr, ko;q=0.8, en-us;q=0.5, en;q=0.3,Connection: Close,User-Agent: Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; LG_UA; AD_LOGON=LGE.NET; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; LG_UA; AD_LOGON=LGE.NET; LG NetCast.TV-2010)]]
2011-12-05 12:18:10,794 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.225
2011-12-05 12:18:10,794 DEBUG [ResourceTransportRequestHandler] Request for resource 367 and type 'MEDIA_ITEM' received
2011-12-05 12:18:10,795 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 367 (local)
2011-12-05 12:18:10,795 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 367)
2011-12-05 12:18:10,795 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-05 12:18:10,795 DEBUG [ResourceTransportRequestHandler] Request for resource 367 and type 'MEDIA_ITEM' received
2011-12-05 12:18:10,795 DEBUG [VideoDAOImpl] Reading a Video (id = 367)
2011-12-05 12:18:10,795 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 367 (local)
2011-12-05 12:18:10,796 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 367)
2011-12-05 12:18:10,796 DEBUG [VideoDeliveryEngine] Delivering item '367' for client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-05 12:18:10,796 DEBUG [VideoDAOImpl] Reading a Video (id = 367)
2011-12-05 12:18:10,796 DEBUG [VideoDeliveryEngine] Delivering file 'sample.mkv' using transcoding
2011-12-05 12:18:10,797 DEBUG [AbstractTranscodingDeliveryEngine] Stopping previous transcoding job of file '/tmp/Serviio/transcoding-temp-29-MPEG2TS.stf'
2011-12-05 12:18:10,797 DEBUG [VideoDeliveryEngine] Delivering item '367' for client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-05 12:18:10,797 DEBUG [VideoDeliveryEngine] Delivering file 'sample.mkv' using transcoding
2011-12-05 12:18:11,010 DEBUG [AbstractTranscodingDeliveryEngine] Deleted temp file '/tmp/Serviio/transcoding-temp-29-MPEG2TS.stf': true
2011-12-05 12:18:11,014 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-05 12:18:11,015 DEBUG [MediaItemDAOImpl] Getting file of media item 367
2011-12-05 12:18:11,015 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /media/Azeroth/Videos/sample/sample.mkv
2011-12-05 12:18:11,016 DEBUG [ProcessExecutor] Starting ffmpeg -i /media/Azeroth/Videos/sample/sample.mkv -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec mp2 -ab 192k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-367-MPEG2TS.stf
2011-12-05 12:18:18,518 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-05 12:18:18,518 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file '/tmp/Serviio/transcoding-temp-367-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file '/tmp/Serviio/transcoding-temp-367-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
 at org.serviio.delivery.resource.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:115)
 at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:93)
 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)
2011-12-05 12:18:18,518 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file '/tmp/Serviio/transcoding-temp-367-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file '/tmp/Serviio/transcoding-temp-367-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
 at org.serviio.delivery.resource.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:115)
 at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:93)
 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)
2011-12-05 12:18:20,804 DEBUG [WebServer] Incoming connection from /192.168.1.225:55578
2011-12-05 12:18:20,804 DEBUG [WebServer] Incoming connection from /192.168.1.225:55579
2011-12-05 12:18:20,805 DEBUG [ResourceTransportRequestHandler] GET /resource/367/MEDIA_ITEM/AVC_TS_HP_HD_MPEG1_L2_ISO$0 HTTP/1.1, headers = [Host: 192.168.1.213:8895,Pragma: no-cache,Cache-Control: no-cache,Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, text/html, text/xml, text/plain, application/json, application/atom+xml, */*,Accept-Language: ko-kr, ko;q=0.8, en-us;q=0.5, en;q=0.3,Connection: Close,User-Agent: Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; LG_UA; AD_LOGON=LGE.NET; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; LG_UA; AD_LOGON=LGE.NET; LG NetCast.TV-2010)]]
2011-12-05 12:18:20,805 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.225
2011-12-05 12:18:20,806 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-05 12:18:20,806 DEBUG [ResourceTransportRequestHandler] Request for resource 367 and type 'MEDIA_ITEM' received
2011-12-05 12:18:20,806 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 367 (local)
2011-12-05 12:18:20,806 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 367)
2011-12-05 12:18:20,806 DEBUG [VideoDAOImpl] Reading a Video (id = 367)
2011-12-05 12:18:20,807 DEBUG [ResourceTransportRequestHandler] GET /resource/367/MEDIA_ITEM/AVC_TS_HP_HD_MPEG1_L2_ISO$0 HTTP/1.1, headers = [Host: 192.168.1.213:8895,Pragma: no-cache,Cache-Control: no-cache,Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, text/html, text/xml, text/plain, application/json, application/atom+xml, */*,Accept-Language: ko-kr, ko;q=0.8, en-us;q=0.5, en;q=0.3,Connection: Close,User-Agent: Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; LG_UA; AD_LOGON=LGE.NET; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; LG_UA; AD_LOGON=LGE.NET; LG NetCast.TV-2010)]]
2011-12-05 12:18:20,807 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.225
2011-12-05 12:18:20,808 DEBUG [VideoDeliveryEngine] Delivering item '367' for client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-05 12:18:20,810 DEBUG [VideoDeliveryEngine] Delivering file 'sample.mkv' using transcoding
2011-12-05 12:18:20,810 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-05 12:18:20,810 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file '/tmp/Serviio/transcoding-temp-367-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file '/tmp/Serviio/transcoding-temp-367-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
 at org.serviio.delivery.resource.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:115)
 at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:93)
 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)
2011-12-05 12:18:20,811 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-05 12:18:20,811 DEBUG [ResourceTransportRequestHandler] Request for resource 367 and type 'MEDIA_ITEM' received
2011-12-05 12:18:20,811 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 367 (local)
2011-12-05 12:18:20,812 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 367)
2011-12-05 12:18:20,812 DEBUG [VideoDAOImpl] Reading a Video (id = 367)
2011-12-05 12:18:20,812 DEBUG [VideoDeliveryEngine] Delivering item '367' for client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-05 12:18:20,812 DEBUG [VideoDeliveryEngine] Delivering file 'sample.mkv' using transcoding
2011-12-05 12:18:20,813 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-05 12:18:20,813 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file '/tmp/Serviio/transcoding-temp-367-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file '/tmp/Serviio/transcoding-temp-367-MPEG2TS.stf' cannot be found, FFmpeg execution probably failed
 at org.serviio.delivery.resource.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:115)
 at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:93)
 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)
2011-12-05 12:18:30,698 DEBUG [TranscodingJobListener] Transcoding finished; successful: true


Any ideas?

Thanks in advance.
(Zip, sorry to have wasted your time w/those 2 e-mails last week).
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Dec 06, 2011 10:17 am

Re: LG42LD550 Transcoding Issue

What happens if you execute this?

  Code:
ffmpeg -i /media/Azeroth/Videos/sample/sample.mkv -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec mp2 -ab 192k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-367-MPEG2TS.stf
<<

Seduced

Serviio newbie

Posts: 5

Joined: Wed Nov 30, 2011 12:48 am

Post Tue Dec 06, 2011 10:49 pm

Re: LG42LD550 Transcoding Issue

Here is all the output from that command. I didn't know specifically what was important so I'm giving it all to you.

  Code:
jeffs@old-linux-box:~$ ffmpeg -i /media/Azeroth/Videos/sample/sample.mkv -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec mp2 -ab 192k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-367-MPEG2TS.stf
ffmpeg version 0.7.2-4:0.7.2-1ubuntu1, Copyright (c) 2000-2011 the Libav developers
  built on Oct  2 2011 15:12:32 with gcc 4.6.1
  configuration: --extra-version='4:0.7.2-1ubuntu1' --arch=i386 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
  WARNING: library configuration mismatch
  avutil      configuration: --extra-version='4:0.7.2-1ubuntu1' --arch=i386 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
  avcodec     configuration: --extra-version='4:0.7.2-1ubuntu1' --arch=i386 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
  avformat    configuration: --extra-version='4:0.7.2-1ubuntu1' --arch=i386 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
  avdevice    configuration: --extra-version='4:0.7.2-1ubuntu1' --arch=i386 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
  avfilter    configuration: --extra-version='4:0.7.2-1ubuntu1' --arch=i386 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
  swscale     configuration: --extra-version='4:0.7.2-1ubuntu1' --arch=i386 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
  postproc    configuration: --extra-version='4:0.7.2-1ubuntu1' --arch=i386 --prefix=/usr --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --shlibdir=/usr/lib/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay
  libavutil    51.  7. 0 / 51.  7. 0
  libavcodec   53.  5. 0 / 53.  5. 0
  libavformat  53.  2. 0 / 53.  2. 0
  libavdevice  53.  0. 0 / 53.  0. 0
  libavfilter   2.  4. 0 /  2.  4. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  52.  0. 0 / 52.  0. 0
[matroska,webm @ 0x9ae02a0] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (20000000/417083) -> 23.98 (24000/1001)
Input #0, matroska,webm, from '/media/Azeroth/Videos/sample/sample.mkv':
  Metadata:
    title           : sample
  Duration: 00:00:49.50, start: 0.000000, bitrate: 1536 kb/s
    Stream #0.0(eng): Video: h264 (High), yuv420p, 1280x544, PAR 1:1 DAR 40:17, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) (forced)
    Metadata:
      title           : sample
    Stream #0.1(eng): Audio: dca (DTS), 48000 Hz, 5.1, s16, 1536 kb/s (default) (forced)
    Metadata:
      title           : English DTS-HDMA core 5.1 1509Kbps
[mpegts @ 0x9ae2120] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/tmp/Serviio/transcoding-temp-367-MPEG2TS.stf':
  Metadata:
    title           : sample
    encoder         : Lavf53.2.0
    Stream #0.0(eng): Video: [0][0][0][0] / 0x0000, yuv420p, 1280x544 [PAR 1:1 DAR 40:17], q=2-31, 90k tbn, 23.98 tbc (default) (forced)
    Metadata:
      title           : sample
    Stream #0.1(eng): Audio: mp2, 48000 Hz, 2 channels, s16, 192 kb/s (default) (forced)
    Metadata:
      title           : English DTS-HDMA core 5.1 1509Kbps
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press ctrl-c to stop encoding
Input stream #0.1 frame changed from rate:48000 fmt:s16 ch:6 to rate:48000 fmt:s16 ch:2
frame= 1187 fps=712 q=-1.0 Lsize=   36193kB time=49.42 bitrate=5998.8kbits/s   
video:32253kB audio:1161kB global headers:0kB muxing overhead 8.315959%


Also, I checked the file it created again and it played fine on the TV once I moved and renamed it to .mpg.

I'm not really sure what this means on line 6 of the code though: WARNING: library configuration mismatch
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Wed Dec 07, 2011 7:56 am

Re: LG42LD550 Transcoding Issue

old version of FFmpeg it teh old ubuntu issue that e repo copy of ffmpeg is really old and causes issues, so you will need to upfdate it to latest version.
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
<<

Seduced

Serviio newbie

Posts: 5

Joined: Wed Nov 30, 2011 12:48 am

Post Wed Dec 07, 2011 8:24 am

Re: LG42LD550 Transcoding Issue

Yeah, I found this and figured I'd get rid of the warning. Note... it's only a warning so really I'm not sure why Serviio isn't seeing that the file is created.

http://ubuntuforums.org/showthread.php?t=1553321

and from that post went to this post: http://ubuntuforums.org/showthread.php?t=786095

I figured I'd try it at least and see if that worked. I'll let you know.
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Wed Dec 07, 2011 6:20 pm

Re: LG42LD550 Transcoding Issue

http://ubuntuforums.org/showthread.php?t=786095 <-- howto install latest version of ffmpeg on unbuntu :)
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
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Dec 08, 2011 4:20 pm

Re: LG42LD550 Transcoding Issue

<<

Seduced

Serviio newbie

Posts: 5

Joined: Wed Nov 30, 2011 12:48 am

Post Fri Dec 09, 2011 12:32 am

Re: LG42LD550 Transcoding Issue

Well, I got ffmpeg installed just fine, but now it looks like a different problem. Here is the readout from ffmpeg:

  Code:
jeffs@old-linux-box:~$ ffmpeg
ffmpeg version N-35515-g901af94, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec  7 2011 01:50:19 with gcc 4.6.1
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
  libavutil    51. 30. 0 / 51. 30. 0
  libavcodec   53. 41. 0 / 53. 41. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 51. 0 /  2. 51. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'


And here is readout from the new problem:

  Code:
2011-12-07 19:22:10,632 DEBUG [WebServer] Incoming connection from /192.168.1.225:54416
2011-12-07 19:22:10,633 DEBUG [ResourceTransportRequestHandler] GET /resource/366/MEDIA_ITEM/AVC_TS_HP_HD_MPEG1_L2_ISO$0 HTTP/1.1, headers = [Host: 192.168.1.213:8895,Pragma: no-cache,Cache-Control: no-cache,Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, text/html, text/xml, text/plain, application/json, application/atom+xml, */*,Accept-Language: ko-kr, ko;q=0.8, en-us;q=0.5, en;q=0.3,Connection: Close,User-Agent: Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; LG_UA; AD_LOGON=LGE.NET; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; LG_UA; AD_LOGON=LGE.NET; LG NetCast.TV-2010)]]
2011-12-07 19:22:10,633 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.225
2011-12-07 19:22:10,633 DEBUG [WebServer] Incoming connection from /192.168.1.225:54417
2011-12-07 19:22:10,640 DEBUG [ResourceTransportRequestHandler] GET /resource/366/MEDIA_ITEM/AVC_TS_HP_HD_MPEG1_L2_ISO$0 HTTP/1.1, headers = [Host: 192.168.1.213:8895,Pragma: no-cache,Cache-Control: no-cache,Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, text/html, text/xml, text/plain, application/json, application/atom+xml, */*,Accept-Language: ko-kr, ko;q=0.8, en-us;q=0.5, en;q=0.3,Connection: Close,User-Agent: Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; LG_UA; AD_LOGON=LGE.NET; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; LG_UA; AD_LOGON=LGE.NET; LG NetCast.TV-2010)]]
2011-12-07 19:22:10,640 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.225
2011-12-07 19:22:10,641 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-07 19:22:10,641 DEBUG [ResourceTransportRequestHandler] Request for resource 366 and type 'MEDIA_ITEM' received
2011-12-07 19:22:10,641 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 366 (local)
2011-12-07 19:22:10,643 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-07 19:22:10,646 DEBUG [ResourceTransportRequestHandler] Request for resource 366 and type 'MEDIA_ITEM' received
2011-12-07 19:22:10,646 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 366 (local)
2011-12-07 19:22:10,646 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 366)
2011-12-07 19:22:10,646 DEBUG [VideoDAOImpl] Reading a Video (id = 366)
2011-12-07 19:22:10,647 DEBUG [VideoDeliveryEngine] Delivering item '366' for client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-07 19:22:10,647 DEBUG [VideoDeliveryEngine] Delivering file 'sample.mkv' using transcoding
2011-12-07 19:22:10,647 DEBUG [AbstractTranscodingDeliveryEngine] Stopping previous transcoding job of file '/tmp/Serviio/transcoding-temp-368-MPEG2TS.stf'
2011-12-07 19:22:10,649 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 366)
2011-12-07 19:22:10,649 DEBUG [VideoDAOImpl] Reading a Video (id = 366)
2011-12-07 19:22:10,650 DEBUG [VideoDeliveryEngine] Delivering item '366' for client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-07 19:22:10,650 DEBUG [VideoDeliveryEngine] Delivering file 'sample.mkv' using transcoding
2011-12-07 19:22:10,664 DEBUG [AbstractTranscodingDeliveryEngine] Deleted temp file '/tmp/Serviio/transcoding-temp-368-MPEG2TS.stf': true
2011-12-07 19:22:10,664 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-07 19:22:10,664 DEBUG [MediaItemDAOImpl] Getting file of media item 366
2011-12-07 19:22:10,664 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /media/Azeroth/Videos/sample/sample.mkv
2011-12-07 19:22:10,665 DEBUG [ProcessExecutor] Starting ffmpeg -i /media/Azeroth/Videos/sample/sample.mkv -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec mp2 -ab 192k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-366-MPEG2TS.stf
2011-12-07 19:22:11,665 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file sample.mkv: AVC_TS_HP_HD_MPEG1_L2_ISO
2011-12-07 19:22:11,666 DEBUG [AbstractTranscodingDeliveryEngine] Sending transcoding stream
2011-12-07 19:22:11,665 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/192.168.1.225, Profile=LG TV / player'
2011-12-07 19:22:11,666 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 366) as read
2011-12-07 19:22:11,666 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file sample.mkv: AVC_TS_HP_HD_MPEG1_L2_ISO
2011-12-07 19:22:11,666 DEBUG [AbstractTranscodingDeliveryEngine] Sending transcoding stream
2011-12-07 19:22:11,666 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 366) as read
2011-12-07 19:22:11,688 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-12-07 19:22:11,688 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 50000000000
2011-12-07 19:22:11,689 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2011-12-07 19:22:11,689 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-12-07 19:22:11,689 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Thu, 08 Dec 2011 03:22:11 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.0.1,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2011-12-07 19:22:11,696 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-12-07 19:22:11,696 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 50000000000
2011-12-07 19:22:11,696 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2011-12-07 19:22:11,697 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-12-07 19:22:11,697 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Thu, 08 Dec 2011 03:22:11 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.0.1,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2011-12-07 19:22:11,744 DEBUG [WebServer] I/O error: Broken pipe


Are we getting closer? :)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Dec 09, 2011 11:14 am

Re: LG42LD550 Transcoding Issue

The TV rejects the file for some reason, not sure why. You could try to transcode to mpegps/mpeg2video instead just remuxing to mpegts to see if it makes any difference.
<<

Seduced

Serviio newbie

Posts: 5

Joined: Wed Nov 30, 2011 12:48 am

Post Fri Dec 09, 2011 5:56 pm

Re: LG42LD550 Transcoding Issue

I think I already tried that but will do so again when I get back home. Here is a link to the video/audio codecs LG says the TV supports (I don't really know the codecs as you guys do - seems like they have multiple names for the same one sometimes).

This is a PDF on Dropbox: http://dl.dropbox.com/u/51662773/LG_XXLD550_Codecs.pdf

Thank you.

Return to LG

Who is online

Users browsing this forum: No registered users and 32 guests

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