FAQ  •  Register  •  Login

[SOLVED] Video File that does not play

<<

Iced

Serviio newbie

Posts: 7

Joined: Fri Jul 01, 2011 3:52 pm

Post Sat Jun 30, 2012 6:55 pm

[SOLVED] Video File that does not play

Kids on my case about a TV show that won't play. (That's my story and I'm sticking to it :D)

renderer
  Code:
2012-06-30 11:59:21,901 DEBUG [WebServer] Incoming connection from /192.168.0.216:43335
2012-06-30 11:59:21,902 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.0.216:
2012-06-30 11:59:21,902 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.216
2012-06-30 11:59:21,906 DEBUG [ContentDirectory] Browse() called for renderer UN46D8000 (profile 7) with parameters: objectID = V_F^FOL_R6$F1128, browseFlag = BrowseDirectChildren, filter = @id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:CaptionInfoEx, sec:dcmInfo, sec:MetaFileInfo,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bitrate,dc:creator, startIndex = 30, count = 30, sortCriteria =


ffmpeg information
  Code:
root@box:/media/share1/Kids TV Shows/My Little Pony Friendship is Magic# ffmpeg -i "My Little Pony Friendship is Magic [1X01] Friendship is Magic Mare in the Moon (1).mkv"
FFmpeg version SVN-r0.5.9-4:0.5.9-0ubuntu0.10.04.1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5.9-0ubuntu0.10.04.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Jun 12 2012 16:27:59, gcc: 4.4.3

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 24.00 (24/1)
Input #0, matroska, from 'My Little Pony Friendship is Magic [1X01] Friendship is Magic Mare in the Moon (1).mkv':
  Duration: 00:22:01.38, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264, yuv420p, 1920x1080, PAR 1:1 DAR 16:9, 24 tbr, 1k tbn, 47.95 tbc
    Stream #0.1(eng): Audio: aac, 24000 Hz, 5.1, s16
At least one output file must be specified


mediainfo information
  Code:
root@box:/media/share1/Kids TV Shows/My Little Pony Friendship is Magic# mediainfo "My Little Pony Friendship is Magic [1X01] Friendship is Magic Mare in the Moon (1).mkv"
General
Unique ID                                : 239996763093622065058409002902059281582 (0xB48DB1FC8BDE2A39A460E16C9AA0ECAE)
Complete name                            : My Little Pony Friendship is Magic [1X01] Friendship is Magic Mare in the Moon (1).mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 253 MiB
Duration                                 : 22mn 1s
Overall bit rate                         : 1 603 Kbps
Encoded date                             : UTC 2011-08-29 12:54:49
Writing application                      : mkvmerge v4.8.0 ('I Got The...') built on May 24 2011 03:12:58
Writing library                          : libebml v1.2.0 + libmatroska v1.1.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 16 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 22mn 1s
Nominal bit rate                         : 1 410 Kbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.028
Writing library                          : x264 core 115 r1995 c1e60b9
Encoding settings                        : cabac=1 / ref=16 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=1410 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=17500 / vbv_bufsize=14000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : HE-AAC / LC
Codec ID                                 : A_AAC
Duration                                 : 22mn 1s
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz / 24.0 KHz
Compression mode                         : Lossy
Language                                 : English
Default                                  : Yes
Forced                                   : No


serviio log (what I believe is relevant)
  Code:
2012-06-30 11:59:21,324 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.0.216:
2012-06-30 11:59:21,324 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.216
2012-06-30 11:59:21,333 DEBUG [ContentDirectory] Browse() called for renderer UN46D8000 (profile 7) with parameters: objectID = V_F^FOL_R6$F1128, browseFlag = BrowseDirectChildren, filter = @id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:CaptionInfoEx, sec:dcmInfo, sec:MetaFileInfo,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bitrate,dc:creator, startIndex = 0, count = 30, sortCriteria =

  Code:
2012-06-30 11:59:21,333 DEBUG [FolderDAOImpl] Getting number of sub-Folders in folder 1128
2012-06-30 11:59:21,334 DEBUG [VideoDAOImpl] Retrieving list of videos for folder 1128 (from=0, count=30)
2012-06-30 11:59:21,383 DEBUG [GenreDAOImpl] Reading a Genre (id = 3)
2012-06-30 11:59:21,385 DEBUG [VideoDAOImpl] Reading a Video (id = 29774)
2012-06-30 11:59:21,386 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 29774 and profile Samsung TV / player (C/D-series)
2012-06-30 11:59:21,386 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file My Little Pony Friendship is Magic [1X01] Friendship is Magic Mare in the Moon (1).mkv: MPEG_TS_SD_EU_ISO
2012-06-30 11:59:21,386 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file My Little Pony Friendship is Magic [1X01] Friendship is Magic Mare in the Moon (1).mkv: MPEG_TS_SD_NA_ISO
2012-06-30 11:59:21,386 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file My Little Pony Friendship is Magic [1X01] Friendship is Magic Mare in the Moon (1).mkv: MPEG_TS_SD_KO_ISO

  Code:
2012-06-30 11:59:27,044 DEBUG [VideoDAOImpl] Reading a Video (id = 29774)
2012-06-30 11:59:27,044 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 29774, format MPEG_TS_SD_KO_ISO and profile Samsung TV / player (C/D-series)
2012-06-30 11:59:27,044 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file My Little Pony Friendship is Magic [1X01] Friendship is Magic Mare in the Moon (1).mkv
2012-06-30 11:59:27,045 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file My Little Pony Friendship is Magic [1X01] Friendship is Magic Mare in the Moon (1).mkv: MPEG_TS_SD_EU_ISO
2012-06-30 11:59:27,045 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file My Little Pony Friendship is Magic [1X01] Friendship is Magic Mare in the Moon (1).mkv: MPEG_TS_SD_NA_ISO
2012-06-30 11:59:27,045 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file My Little Pony Friendship is Magic [1X01] Friendship is Magic Mare in the Moon (1).mkv: MPEG_TS_SD_KO_ISO
2012-06-30 11:59:27,046 DEBUG [ResourceTransportRequestHandler] Sending HEAD response back
2012-06-30 11:59:27,046 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Content-Length: 50000000000,Date: Sat, 30 Jun 2012 18:59:27 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.2,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=MPEG_TS_SD_KO_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming]]
2012-06-30 11:59:27,051 DEBUG [WebServer] Incoming connection from /192.168.0.216:52523
2012-06-30 11:59:27,052 DEBUG [ResourceTransportRequestHandler] GET /resource/29774/MEDIA_ITEM/MPEG_TS_SD_KO_ISO*0 HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1,transferMode.dlna.org: Streaming,getMediaInfo.sec: 1,TimeSeekRange.dlna.org: npt=0-,Host: xxx.xxx.xxx.xxx:8895]]
2012-06-30 11:59:27,052 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.216
2012-06-30 11:59:27,052 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.0.216, Profile=Samsung TV / player (C/D-series)'
2012-06-30 11:59:27,053 DEBUG [ResourceTransportRequestHandler] Request for resource 29774 and type 'MEDIA_ITEM' received
2012-06-30 11:59:27,053 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 29774 (local)
2012-06-30 11:59:27,054 DEBUG [VideoDAOImpl] Reading a Video (id = 29774)
2012-06-30 11:59:27,054 DEBUG [VideoDeliveryEngine] Delivering item '29774' for client 'IPAddress=/192.168.0.216, Profile=Samsung TV / player (C/D-series)'
2012-06-30 11:59:27,054 DEBUG [VideoDeliveryEngine] Delivering file 'My Little Pony Friendship is Magic [1X01] Friendship is Magic Mare in the Moon (1).mkv' using transcoding
2012-06-30 11:59:27,055 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.0.216, Profile=Samsung TV / player (C/D-series)'
2012-06-30 11:59:27,058 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /media/share1/Kids TV Shows/My Little Pony Friendship is Magic/My Little Pony Friendship is Magic [1X01] Friendship is Magic Mare in the Moon (1).mkv
2012-06-30 11:59:27,058 DEBUG [ProcessExecutor] Starting ffmpeg -i /media/share1/Kids TV Shows/My Little Pony Friendship is Magic/My Little Pony Friendship is Magic [1X01] Friendship is Magic Mare in the Moon (1).mkv -y -threads 1 -async 1 -vcodec mpeg2video -b 20000k -maxrate 20000k -bufsize 20000k -r 24 -g 15 -copyts -acodec ac3 -ab 192k -ar 48000 -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-29774-MPEG2TS.stf
2012-06-30 11:59:27,213 WARN  [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error.
2012-06-30 11:59:27,213 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
2012-06-30 11:59:27,559 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
        at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:47)
        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)
Last edited by Iced on Sat Jun 30, 2012 7:18 pm, edited 1 time in total.
<<

Iced

Serviio newbie

Posts: 7

Joined: Fri Jul 01, 2011 3:52 pm

Post Sat Jun 30, 2012 7:14 pm

Re: Video File that does not play

Am I possibly missing a ffmpeg codec for the 6 channel (5.1 audio)? My Samsung loses a connection to Serviio after this happens but seems to reconnect after a short period of time without any interaction. I'm suspecting/guessing this is how AllShare handles the return code
<<

Iced

Serviio newbie

Posts: 7

Joined: Fri Jul 01, 2011 3:52 pm

Post Sat Jun 30, 2012 7:24 pm

Re: Video File that does not play

I extracted the ffmpeg line from the log and executed manually and think my original suspicions related to audio are right :
  Code:
root@box:/tmp# ffmpeg -i "/media/share1/Kids TV Shows/My Little Pony Friendship is Magic/My Little Pony Friendship is Magic [1X01] Friendship is Magic Mare in the Moon (1).mkv" -y -threads 1 -async 1 -vcodec mpeg2video -b 20000k -maxrate 20000k -bufsize 20000k -r 24 -g 15 -copyts -acodec ac3 -ab 192k -ar 48000 -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-29774-MPEG2TS.stf
FFmpeg version SVN-r0.5.9-4:0.5.9-0ubuntu0.10.04.1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5.9-0ubuntu0.10.04.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Jun 12 2012 16:27:59, gcc: 4.4.3

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 24.00 (24/1)
Input #0, matroska, from '/media/share1/Kids TV Shows/My Little Pony Friendship is Magic/My Little Pony Friendship is Magic [1X01] Friendship is Magic Mare in the Moon (1).mkv':
  Duration: 00:22:01.38, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264, yuv420p, 1920x1080, PAR 1:1 DAR 16:9, 24 tbr, 1k tbn, 47.95 tbc
    Stream #0.1(eng): Audio: aac, 24000 Hz, 5.1, s16
Output #0, mpegts, to '/tmp/Serviio/transcoding-temp-29774-MPEG2TS.stf':
    Stream #0.0: Video: mpeg2video, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2-31, 20000 kb/s, 90k tbn, 24 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
[mpeg2video @ 0x17cdaa0]impossible bitrate constraints, this will fail
Press [q] to stop encoding
[aac @ 0x176e800]SBR not implemented. Update your FFmpeg version to the newest one from SVN. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x176e800]SBR not implemented. Update your FFmpeg version to the newest one from SVN. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x176e800]SBR not implemented. Update your FFmpeg version to the newest one from SVN. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x176e800]SBR not implemented. Update your FFmpeg version to the newest one from SVN. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x176e800]SBR not implemented. Update your FFmpeg version to the newest one from SVN. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x176e800]SBR not implemented. Update your FFmpeg version to the newest one from SVN. If the problem still occurs, it means that your file has a feature which has not been implemented.
Resampling with input channels greater than 2 unsupported.
Can not resample 6 channels @ 24000 Hz to 2 channels @ 48000 Hz
<<

Iced

Serviio newbie

Posts: 7

Joined: Fri Jul 01, 2011 3:52 pm

Post Sat Jun 30, 2012 10:59 pm

Re: Video File that does not play

I can play this file via VLC in Windows (Windows XP) and Linux (Ubuntu 10.04) and both audio/video works. I tried fiddling with the ffmpeg parameters but was unsuccessful on the command line but could not get it to successfully convert
<<

Iced

Serviio newbie

Posts: 7

Joined: Fri Jul 01, 2011 3:52 pm

Post Sat Jun 30, 2012 11:40 pm

Re: Video File that does not play

I followed this guide for Ubuntu Server Users (specifically everything in Preparation, Installation, and Optional Installation) things now work. Kids happy and I can enjoy the rest of this rainy day...

p.s. I find these forums awfully quiet. I hope I'm just in a completely different timezone than the rest of you. btw: enjoy the extra leapsecond in about 20 minutes from now ;-)
Last edited by Iced on Sun Jul 01, 2012 11:12 pm, edited 1 time in total.
<<

Iced

Serviio newbie

Posts: 7

Joined: Fri Jul 01, 2011 3:52 pm

Post Sun Jul 01, 2012 8:14 am

Re: Video File that does not play

btw: for those interested, these are the new versions
  Code:
root@box:~/downloads/ffmpeg/ffmpeg# ffmpeg -version
ffmpeg version git-2012-06-30-64b2593
built on Jun 30 2012 16:32:50 with gcc 4.4.3
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
libavutil      51. 63.100 / 51. 63.100
libavcodec     54. 31.100 / 54. 31.100
libavformat    54. 14.100 / 54. 14.100
libavdevice    54.  0.100 / 54.  0.100
libavfilter     3.  0.100 /  3.  0.100
libswscale      2.  1.100 /  2.  1.100
libswresample   0. 15.100 /  0. 15.100
libpostproc    52.  0.100 / 52.  0.100
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Jul 01, 2012 7:19 pm

Re: Video File that does not play

So with the latest ffmepg build, it play well ? (topic could be solved ?)
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
<<

Iced

Serviio newbie

Posts: 7

Joined: Fri Jul 01, 2011 3:52 pm

Post Sun Jul 01, 2012 11:13 pm

Re: Video File that does not play

Yes, topic solved

Return to Serviio Support & Help

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 20 guests

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