Page 1 of 1

Samsung mpeg4 transcoding

PostPosted: Sun Jul 10, 2011 12:32 pm
by kkrpst
I'm using Serviio for some time now. It is really great. Simple and easy.
However I noticed that some of files are not correctly trans-coded. This is one of them:

  Code:
C:\Program Files (x86)\Serviio\lib>ffmpeg.exe -i C:\temp\tst.avi
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan 10 2011 21:46:22 with gcc 4.4.2
  configuration: --enable-static --disable-shared --disable-shared --disable-ffplay --disable-ffserver --enable-memalign-hack
 --enable-libmp3lame --arch=x86 --enable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i686-mingw3
2-
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 0 /  0.16. 0
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.92. 0 / 52.92. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.72. 0 /  1.72. 0
  libswscale     0.12. 0 /  0.12. 0
[mpeg4 @ 02b01fa0] Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from 'C:\temp\tst.avi':
  Duration: 01:33:23.88, start: 0.000000, bitrate: 2095 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 720x288 [PAR 1:1 DAR 5:2], 25 fps, 25 tbr, 25 tbn, 25 tbc
    Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
At least one output file must be specified

C:\Program Files (x86)\Serviio\lib>


MediaInfo

  Code:
General
Complete name                    : C:\temp\tst.avi
Format                           : AVI
Format/Info                      : Audio Video Interleave
File size                        : 1.37 GiB
Duration                         : 1h 33mn
Overall bit rate                 : 2 096 Kbps
Writing application              : VirtualDubMod 1.5.10.3 | www.virtualdub-fr.org || (build 2550/release)
Writing library                  : VirtualDub build 27700/release

Video
ID                               : 0
Format                           : MPEG-4 Visual
Format profile                   : Advanced Simple@L5
Format settings, BVOP            : 1
Format settings, QPel            : Yes
Format settings, GMC             : 3 warppoints
Format settings, Matrix          : Default (MPEG)
Muxing mode                      : Packed bitstream
Codec ID                         : XVID
Codec ID/Hint                    : XviD
Duration                         : 1h 33mn
Bit rate                         : 1 702 Kbps
Width                            : 720 pixels
Height                           : 288 pixels
Display aspect ratio             : 2.500
Frame rate                       : 25.000 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Compression mode                 : Lossy
Bits/(Pixel*Frame)               : 0.328
Stream size                      : 1.11 GiB (81%)
Writing library                  : XviD 1.2.0.dev47 (UTC 2006-11-01)

Audio
ID                               : 1
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Codec ID                         : 2000
Duration                         : 1h 33mn
Bit rate mode                    : Constant
Bit rate                         : 384 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          : 3s 500ms
Stream size                      : 257 MiB (18%)
Alignment                        : Split accross interleaves
Interleave, duration             : 40 ms (1.00 video frame)
Interleave, preload duration     : 500 ms


System is: Win7 64bit
Serviio: 0.5.2 (latest version)
Device: Samsung TV C6000 series
Profile that I'm using: Samsung TV / player (C/D-series), profile ID = 7

When I try to stream it to TV I get: 'Not supported file format' message

Any suggestions ?

Re: Samsung mpeg4 transcoding

PostPosted: Sun Jul 10, 2011 2:09 pm
by zip
Looks like a normal DivX AVI file. Not sure, but it looks like some encoding settings are preventing it from being played on the TV. You could either reencode it manually or setup transcoding for all divx files - which is a big overkill though, as other divx files should be playable natively.

Re: Samsung mpeg4 transcoding

PostPosted: Sun Jul 10, 2011 6:48 pm
by kkrpst
Can this be cause of the issue:

[mpeg4 @ 02b01fa0] Invalid and inefficient vfw-avi packed B frames detected ?

It is part of ffmpeg.exe output ... see above.

Re: Samsung mpeg4 transcoding

PostPosted: Mon Jul 11, 2011 8:26 am
by zip
possibly yes

Re: Samsung mpeg4 transcoding

PostPosted: Tue Jul 12, 2011 5:15 pm
by kkrpst
OK. I will try to fix file. Thanks