Page 1 of 1

how to disable transcoding for AVC codec

PostPosted: Tue Nov 29, 2011 11:58 am
by bugalugs
Hi This file plays on my sammy d series but not when transcoding is turned on..

I would like to leave transcoding turned on and modify the profile.xml so it is delivered natively any suggestions?



  Code:
2011-11-29 22:45:57,642 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 2119 (local)
2011-11-29 22:45:57,642 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 2119)
2011-11-29 22:45:57,642 DEBUG [VideoDAOImpl] Reading a Video (id = 2119)
2011-11-29 22:45:57,642 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 2119, format AVC_MP4_MP_HD_720p_AAC and profile Samsung TV / player (C/D-series)
2011-11-29 22:45:57,642 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file BuildaDeck.mp4
2011-11-29 22:45:57,642 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file BuildaDeck.mp4: MPEG_TS_SD_EU_ISO
2011-11-29 22:45:57,642 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file BuildaDeck.mp4: MPEG_TS_SD_NA_ISO
2011-11-29 22:45:57,642 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file BuildaDeck.mp4: MPEG_TS_SD_KO_ISO
2011-11-29 22:45:57,642 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: No media description available for required version: AVC_MP4_MP_HD_720p_AAC
org.serviio.dlna.UnsupportedDLNAMediaFileFormatException: No media description available for required version: AVC_MP4_MP_HD_720p_AAC
   at org.serviio.delivery.resource.AbstractDeliveryEngine.findMediaInfoForFileProfile(AbstractDeliveryEngine.java:202)
   at org.serviio.delivery.resource.AbstractTranscodingDeliveryEngine.retrieveTranscodedMediaInfoForVersion(AbstractTranscodingDeliveryEngine.java:144)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.getMediaInfoForMediaItem(AbstractDeliveryEngine.java:107)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResourceInfo(MediaResourceRetrievalStrategy.java:152)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:122)
   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)



  Code:
General
Complete name                    : C:\movies\BuildaDeck.mp4
Format                           : MPEG-4
Format profile                   : Base Media
Codec ID                         : isom
File size                        : 1.25 GiB
Duration                         : 1h 21mn
Overall bit rate mode            : Variable
Overall bit rate                 : 2 200 Kbps
Encoded date                     : UTC 2011-11-23 15:30:45
Tagged date                      : UTC 2011-11-23 15:30:45
Writing application              : Yamb 2.1.0.0 [http://yamb.unite-video.com]

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 3 frames
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 1h 21mn
Bit rate                         : 1 770 Kbps
Maximum bit rate                 : 9 722 Kbps
Width                            : 1 280 pixels
Height                           : 720 pixels
Display aspect ratio             : 16:9
Frame rate mode                  : Constant
Frame rate                       : 25.000 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.077
Stream size                      : 1.01 GiB (80%)
Writing library                  : x264 core 116 r2074 2641b9e
Encoding settings                : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=1770 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=25000 / vbv_bufsize=25000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Encoded date                     : UTC 2011-11-23 15:30:45
Tagged date                      : UTC 2011-11-23 15:31:27

Audio #1
ID                               : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format profile                   : LC
Codec ID                         : 40
Duration                         : 1h 21mn
Bit rate mode                    : Variable
Bit rate                         : 128 Kbps
Maximum bit rate                 : 162 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Compression mode                 : Lossy
Stream size                      : 74.5 MiB (6%)
Encoded date                     : UTC 2011-11-23 15:31:01
Tagged date                      : UTC 2011-11-23 15:31:27

Audio #2
ID                               : 3
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format profile                   : LC
Codec ID                         : 40
Duration                         : 1h 21mn
Bit rate mode                    : Variable
Bit rate                         : 298 Kbps
Maximum bit rate                 : 391 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Compression mode                 : Lossy
Stream size                      : 173 MiB (14%)
Encoded date                     : UTC 2011-11-23 15:31:10
Tagged date                      : UTC 2011-11-23 15:31:27


  Code:
C:\movies>\ffmpeg -i "BuildaDeck.mp4"
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 14 2011 23:37:53 with gcc 4.4.2
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-memali
gn-hack --enable-libmp3lame --enable-librtmp --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch
=x86 --enable-runtime-cpudetect --enable-pthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --
pkg-config=pkg-config
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 25. 0 /  2. 25. 0
  libswscale    2.  0. 0 /  2.  0. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'BuildaDeck.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2011-11-23 15:30:45
    encoder         : Yamb 2.1.0.0 [http://yamb.unite-video.com]
  Duration: 01:21:22.17, start: 0.000000, bitrate: 2200 kb/s
    Stream #0.0(und): Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 1769 kb/s, 25 fps, 25
 tbr, 25k tbn, 50 tbc
    Metadata:
      creation_time   : 2011-11-23 15:30:45
    Stream #0.1(und): Audio: aac, 48000 Hz, stereo, s16, 128 kb/s
    Metadata:
      creation_time   : 2011-11-23 15:31:01
    Stream #0.2(und): Audio: aac, 48000 Hz, 5.1, s16, 297 kb/s
    Metadata:
      creation_time   : 2011-11-23 15:31:10
At least one output file must be specified

Re: how to disable transcoding for AVC codec

PostPosted: Tue Nov 29, 2011 4:19 pm
by zip
that is weird error. Can you confirm (from the log above) that the right (C/D) profile is used for browsing as well as playback? Try to set up static IP for your TV and assign the profile manually.