FAQ  •  Register  •  Login

Transcoding when no needed

<<

agucortes

Serviio newbie

Posts: 17

Joined: Thu Apr 11, 2013 1:09 am

Post Thu Apr 11, 2013 1:20 am

Transcoding when no needed

movie2.txt
this file is transcoded
(2.06 KiB) Downloaded 497 times
movie1.txt
this play without trancode
(2.06 KiB) Downloaded 481 times
Hi, i'm new here...
i'll go straight to the point.
I have two files with exactly the same codecs and container (container: MP4, codec: AVC1 AAC), in one case it play normally without transcoding. But in the other case the movie is transcoded, and cause a slow image.
I've been looking in profiles, but i didnt found anything; serviio is configured with Sony Bravia TV (2012) profile.
The tv i'm using is a Sony Bravia kdl-32ex655.
Can someone help to solving this issue? because i'm dry of ideas.
Thanks in advance.

ps: i atached two fourcc codec analysis.
The two files play fine with the windows dnla server by default (play to option)
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Thu Apr 11, 2013 3:19 am

Re: Transcoding when no needed

Have a look at both files using MediaInfo (and/or do an fmpeg -i for each - see here for details) and post the results. There must be some difference in the files that is triggering transcoding in one case but not the other - once you find it, you can modify the profile so that it is no longer a trigger. For example, the Sony Bravia (2012) profile will transcode if the h264 profile level is over 4.1 - your attachments don't show this level of detail.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

agucortes

Serviio newbie

Posts: 17

Joined: Thu Apr 11, 2013 1:09 am

Post Thu Apr 11, 2013 5:34 pm

Re: Transcoding when no needed

Thanks for the help. Here is the result for ffmpeg -i for each file:

this one play:
  Code:

ffmpeg version N-51683-g9dc88ac Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr  8 2013 21:19:21 with gcc 4.8.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrn
b --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libr
tmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheo
ra --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-li
bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --ena
ble-zlib
  libavutil      52. 25.100 / 52. 25.100
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  1.100 / 55.  1.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 49.101 /  3. 49.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Hitchcock.2012.1080p.BluRay.x264.YIFY.m
p4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2013-03-05 05:56:31
  Duration: 01:38:20.95, start: 0.000000, bitrate: 2191 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x800
[SAR 1:1 DAR 12:5], 2091 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
    Metadata:
      creation_time   : 2013-03-05 05:56:31
      handler_name    : mkv.264#trackID=1:fps=23.976@GPAC0.5.1-DEV-rev4283
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 95
 kb/s
    Metadata:
      creation_time   : 2013-03-05 03:17:38
      handler_name    : Sound Media Handler
At least one output file must be specified


this one, don't play:
  Code:
ffmpeg version N-51683-g9dc88ac Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr  8 2013 21:19:21 with gcc 4.8.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrn
b --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libr
tmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheo
ra --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-li
bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --ena
ble-zlib
  libavutil      52. 25.100 / 52. 25.100
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  1.100 / 55.  1.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 49.101 /  3. 49.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Django.Unchained.2012.1080p.BluRay.x264
.YIFY.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2013-03-26 12:09:32
  Duration: 02:45:22.79, start: 0.000000, bitrate: 1906 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x800
[SAR 1:1 DAR 12:5], 1806 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
    Metadata:
      creation_time   : 2013-03-26 12:09:32
      handler_name    : unchained.2012.1080p.bluray.x264-sparks.mkv.264#trackID=
1:fps=23.976@GPAC0.5.1-DEV-rev4283
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96
 kb/s
    Metadata:
      creation_time   : 2013-03-26 07:10:36
      handler_name    : Sound Media Handler
At least one output file must be specified


i didn't see any diference, but perhaps i'm missing something.

edit: here is the analysis with media info
Attachments
filesr.7z
the two htmls results from mediainfo
(1.74 KiB) Downloaded 334 times
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Apr 11, 2013 6:37 pm

Re: Transcoding when no needed

Please in future, extract MediaInfo in text format in english langage.

I don't know why these two files are not play in same way... :(
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
<<

agucortes

Serviio newbie

Posts: 17

Joined: Thu Apr 11, 2013 1:09 am

Post Thu Apr 11, 2013 8:07 pm

Re: Transcoding when no needed

i've tried some modes in the profile, but nothing seems to make it work properly.
here is the media info in english for the two files.
this one use transcode:
  Code:
General
Complete name                            : D:\MediaCenter\Peliculas\Django Unchained (2012) [1080p]\Django.Unchained.2012.1080p.BluRay.x264.YIFY.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 2.20 GiB
Duration                                 : 2h 45mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 907 Kbps
Encoded date                             : UTC 2013-03-26 12:09:32
Tagged date                              : UTC 2013-03-26 12:09:32

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 2h 45mn
Bit rate                                 : 1 807 Kbps
Maximum bit rate                         : 12.2 Mbps
Width                                    : 1 920 pixels
Height                                   : 800 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.049
Stream size                              : 2.09 GiB (95%)
Title                                    : unchained.2012.1080p.bluray.x264-sparks.mkv.264#trackID=1:fps=23.976@GPAC0.5.1-DEV-rev4283
Writing library                          : x264 core 129 r2245 bc13772
Encoding settings                        : cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=1807 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2013-03-26 12:09:32
Tagged date                              : UTC 2013-03-26 12:09:53

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 2h 45mn
Bit rate mode                            : Variable
Bit rate                                 : 96.0 Kbps
Maximum bit rate                         : 136 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 114 MiB (5%)
Language                                 : English
Encoded date                             : UTC 2013-03-26 07:10:36
Tagged date                              : UTC 2013-03-26 12:09:53


this one not:

  Code:
General
Complete name                            : D:\MediaCenter\Peliculas\Hitchcock (2012) [1080p]\Hitchcock.2012.1080p.BluRay.x264.YIFY.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 1.51 GiB
Duration                                 : 1h 38mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 2 191 Kbps
Encoded date                             : UTC 2013-03-05 05:56:31
Tagged date                              : UTC 2013-03-05 05:56:31

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1h 38mn
Bit rate                                 : 2 092 Kbps
Maximum bit rate                         : 15.5 Mbps
Width                                    : 1 920 pixels
Height                                   : 800 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.057
Stream size                              : 1.44 GiB (95%)
Title                                    : mkv.264#trackID=1:fps=23.976@GPAC0.5.1-DEV-rev4283
Writing library                          : x264 core 129 r2245 bc13772
Encoding settings                        : cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=2092 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2013-03-05 05:56:31
Tagged date                              : UTC 2013-03-05 05:57:00

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 1h 38mn
Bit rate mode                            : Variable
Bit rate                                 : 96.0 Kbps
Maximum bit rate                         : 153 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 67.4 MiB (4%)
Language                                 : English
Encoded date                             : UTC 2013-03-05 03:17:38
Tagged date                              : UTC 2013-03-05 05:57:00


i keep looking forward any solution.
Thanks for answering.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Apr 11, 2013 10:56 pm

Re: Transcoding when no needed

Do you have hardsubs enabled? maybe the one that transcodes has a subtitle file.
<<

agucortes

Serviio newbie

Posts: 17

Joined: Thu Apr 11, 2013 1:09 am

Post Fri Apr 12, 2013 11:37 am

Re: Transcoding when no needed

Yes, but in both cases have subtitles files. I already tried that.
That's why i'm thinking only in the video file
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Apr 12, 2013 5:25 pm

Re: Transcoding when no needed

So do you have subtitles enabled? try to disable them
<<

agucortes

Serviio newbie

Posts: 17

Joined: Thu Apr 11, 2013 1:09 am

Post Sat Apr 13, 2013 1:00 am

Re: Transcoding when no needed

Yes.. you hit in the nail!
so, with subtitles it always transcode the movie, just to paste them.
There is any chance to configure the transcode so the video and audio are copied as is? i mean, with no decode and encode.
<<

slyguy42o

DLNA master

Posts: 481

Joined: Wed Oct 24, 2012 5:29 am

Post Sat Apr 13, 2013 5:20 pm

Re: Transcoding when no needed

when it's transcoding with subtitles... it means that the device your playing it on doesn't support pulling subs from a source so they must be burned into the video.. in order to do this... the video has to be transcoded so that the resulting output can have the subs burned into the play back stream

it's very strange that two exact same movies are triggering transcoding differently due to the sub title file. here's an idea. switch the sub title files between the movies and rename them accordingly and see if the problem follows the subtitle file and not the movie itself.

If this turns out to be the case, post the file here so we can try to figure out why it's triggering a transcode.
<<

agucortes

Serviio newbie

Posts: 17

Joined: Thu Apr 11, 2013 1:09 am

Post Sun Apr 14, 2013 4:58 pm

Re: Transcoding when no needed

Well... i don't know what i do, but now is transcoding allways with the subtitle.
So i'll paste the subtitles outside serviio and all solved.
Thanks for helping me

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 24 guests

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