Page 1 of 1

SD mkv is being transcoded by BDP profile, not sure why

PostPosted: Fri Feb 03, 2012 11:20 pm
by patters
I just wanted to watch a TV show which I have several seasons of. The episodes are small files - they're SD h264 with aac audio. However, they seem to be getting transcoded to mpeg2, which my NAS can't do in realtime.

I'm fairly sure these files used to play fine with Serviio 0.5.2, remuxed to mpegts, as one might expect from the Sony BD profile. Any idea why they're matching the transcode section of the profile?

  Code:
ffmpeg version 0.9-Serviio, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 19 2011 01:36:11 with gcc 4.2.3
  configuration: --arch=arm --enable-armv5te --prefix=/opt --extra-cflags=-I/opt/include --extra-ldflags=-L/tmp/lib --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-pthreads --enable-libmp3lame --enable-librtmp --extra-version=Serviio
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 42. 0 / 53. 42. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0

Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1)
Input #0, matroska,webm, from 'An.episode.of.some.show.S01E01.mkv':
  Duration: 00:42:54.08, start: 0.000000, bitrate: 391 kb/s
    Stream #0:0: Video: h264 (High), yuv420p, 576x320, SAR 1:1 DAR 9:5, 25 fps, 50 tbr, 1k tbn, 50 tbc (default)
    Stream #0:1(dut): Audio: aac, 48000 Hz, stereo, s16 (default)
    Stream #0:2(eng): Subtitle: text (default)
    Stream #0:3(eng): Subtitle: text
At least one output file must be specified

Re: SD mkv is being transcoded by BDP profile, not sure why

PostPosted: Sun Feb 05, 2012 12:42 pm
by zip
when you re-add the file (with detailed log), what level does it say it is?

Re: SD mkv is being transcoded by BDP profile, not sure why

PostPosted: Mon May 07, 2012 3:37 pm
by patters
I finally remembered to investigate this issue. The files are all H.264 High Profile Level 5.1 for some stupid reason, even though they're tiny. I guess I can remove the level checking in the BDP profile to force them to play, since they worked before.

Re: SD mkv is being transcoded by BDP profile, not sure why

PostPosted: Mon May 07, 2012 3:44 pm
by will
I've found http://coolsoft.altervista.org/en/h264leveleditor very useful for editing the profile level.