Post Mon Nov 03, 2014 10:19 am

bad transcode file

  Code:
General
Unique ID                                : 243210350423480595837347455374790009438 (0xB6F89C131B63316AB0CCB7F1FD7CA25E)
Complete name                            : Z:\Movies\The Amazing Spider-Man 2 (2014)\ The Amazing Spider-Man 2 (2014).1080p.AVC.6ch.DTS.mkv
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 11.4 GiB
Duration                                 : 2h 21mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 11.5 Mbps
Encoded date                             : UTC 2014-07-31 23:25:41
Writing application                      : mkvmerge v6.7.0 ('Back to the Ground') 64bit built on Jan  8 2014 15:10:52
Writing library                          : libebml v1.3.0 + libmatroska v1.4.1

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 2 frames
Format settings, GOP                     : M=1, N=10
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2h 21mn
Bit rate mode                            : Variable
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Default                                  : No
Forced                                   : No

Audio
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Format profile                           : MA / Core
Mode                                     : 16
Format settings, Endianness              : Big
Codec ID                                 : A_DTS
Duration                                 : 2h 21mn
Bit rate mode                            : Variable
Bit rate                                 : Unknown / 1 509 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossless / Lossy
Title                                    : DTS-HD
Language                                 : English
Default                                  : Yes
Forced                                   : No



Found a video file that fails to transcode correctly with the default ffmpeg version bundled with serviio. Upgrading to the latest current build fixed the problem, output file

  Code:
General
ID                                       : 1 (0x1)
Complete name                            : Z:\Temp\transcoding-temp-24766-bdp2010-ORIGINAL.stf.mpeg
Format                                   : MPEG-TS
File size                                : 3.68 GiB
Duration                                 : 51mn 41s
Overall bit rate mode                    : Variable
Overall bit rate                         : 10.2 Mbps

Video
ID                                       : 256 (0x100)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 2 frames
Format settings, GOP                     : M=1, N=10
Codec ID                                 : 27
Duration                                 : 51mn 41s
Bit rate                                 : 9 352 Kbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Stream size                              : 3.38 GiB (92%)

Audio
ID                                       : 257 (0x101)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : 129
Duration                                 : 51mn 41s
Bit rate mode                            : Constant
Bit rate                                 : 320 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Delay relative to video                  : -6ms
Stream size                              : 118 MiB (3%)
Language                                 : English

Menu
ID                                       : 4096 (0x1000)
Menu ID                                  : 1 (0x1)
Duration                                 : 51mn 41s
List                                     : 256 (0x100) (AVC) / 257 (0x101) (AC-3, English)
Language                                 :  / English
Service name                             : Service01
Service provider                         : FFmpeg
Service type                             : digital television


output video had bad video artifacts and blackness after awhile like it wasn't encoding the I-frames correctly. (i did kill the ffmpeg job so the output file is shorter deliberately) artifacts displayed on 2 different output devices and on my pc when i tested the output file.


This is the output file that plays fine

  Code:
General
ID                                       : 1 (0x1)
Complete name                            : C:\Windows\Temp\Serviio\transcoding-temp-4520-bdp2010-ORIGINAL.stf
Format                                   : MPEG-TS
File size                                : 10.1 GiB
Duration                                 : 2h 21mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 10.2 Mbps

Video
ID                                       : 256 (0x100)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 2 frames
Format settings, GOP                     : M=1, N=10
Codec ID                                 : 27
Duration                                 : 2h 21mn
Bit rate mode                            : Variable
Bit rate                                 : 9 413 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.189
Stream size                              : 9.31 GiB (92%)

Audio
ID                                       : 257 (0x101)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : 129
Duration                                 : 2h 21mn
Bit rate mode                            : Constant
Bit rate                                 : 320 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Delay relative to video                  : -6ms
Stream size                              : 324 MiB (3%)
Language                                 : English

Menu
ID                                       : 4096 (0x1000)
Menu ID                                  : 1 (0x1)
Duration                                 : 2h 21mn
List                                     : 256 (0x100) (AVC) / 257 (0x101) (AC-3, English)
Language                                 :  / English
Service name                             : Service01
Service provider                         : FFmpeg
Service type                             : digital television



I haven't really looked at any of the above outputs yet but for information at the moment. I think they are probably the same output details except 1 has artifacts the other doesn't likely a bug in ffmpeg that we use by default.

If you would like me to provide a sample file let me know i'll upload partials.