Darn, just when Microsoft fixes the 360 by adding the xvid codec into their new "Metro" dashboard so we won't need to have a Live connected unit, we have to switch to a new video format that requires you to be on Live to get a signed codec package.
If we want to force transcoding of x264 to a native format that the 360 can take without having it be connected to live, what would we need to add/change in the profile? Or how can it be handled to match the xvid input/ouput?
So for example, here is a video format that works fine for Serviio to the 360:
Once.Upon.a.Time.(2011).S01E14.Dreamy.SD.TV.avi
- Code:
General
Complete name : Once.Upon.a.Time.(2011).S01E14.Dreamy.SD.TV.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 350 MiB
Duration : 41mn 56s
Overall bit rate mode : Variable
Overall bit rate : 1 166 Kbps
Writing application : MEncoder SVN-r32669-4.3.2
Writing library : MPlayer
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings, BVOP : 1
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Muxing mode : Packed bitstream
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 41mn 56s
Bit rate : 1 025 Kbps
Width : 624 pixels
Height : 352 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
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.195
Stream size : 307 MiB (88%)
Writing library : XviD 1.2.1 (UTC 2008-12-04)
Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : 55
Codec ID/Hint : MP3
Duration : 41mn 56s
Bit rate mode : Variable
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 38.4 MiB (11%)
Alignment : Aligned on interleaves
Interleave, duration : 24 ms (0.58 video frame)
Interleave, preload duration : 533 ms
However, new episodes of shows are x264 and they're erroring.
- Code:
General
Complete name : Once.Upon.a.Time.(2011).S01E15.Red.Handed.SD.TV.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 289 MiB
Duration : 43mn 5s
Overall bit rate mode : Variable
Overall bit rate : 938 Kbps
Encoded date : UTC 2012-03-10 19:22:50
Tagged date : UTC 2012-03-10 19:22:50
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 43mn 5s
Bit rate : 811 Kbps
Maximum bit rate : 3 994 Kbps
Width : 720 pixels
Height : 404 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
Bits/(Pixel*Frame) : 0.116
Stream size : 250 MiB (87%)
Writing library : x264 core 122 r2183 c522ad1
Encoding settings : cabac=1 / ref=8 / deblock=1:1:1 / analyse=0x3:0x133 / me=umh / subme=9 / 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=1 / chroma_qp_offset=-2 / threads=20 / 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=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2012-03-11 17:36:01
Tagged date : UTC 2012-03-10 19:22:57
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 43mn 5s
Bit rate mode : Variable
Bit rate : 122 Kbps
Maximum bit rate : 147 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 37.6 MiB (13%)
Encoded date : UTC 2012-03-10 19:22:55
Tagged date : UTC 2012-03-10 19:22:57
ffmpeg -i is below:
for the avi (xvid)
- Code:
"c:\Program Files (x86)\Serviio\lib\ffmpeg.exe" -i Once.Upon.a.Time.(2011).S01E14.Dreamy.SD.TV.avi
ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers
built on Dec 13 2011 20:46:11 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-memalign-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. 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
[mpeg4 @ 01828e00] Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from 'Once.Upon.a.Time.(2011).S01E14.Dreamy.SD.TV.avi':
Metadata:
encoder : MEncoder SVN-r32669-4.3.2
Duration: 00:41:56.13, start: 0.000000, bitrate: 1165 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 624x352 [SAR 1:1 DAR 39:22], 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 128 kb/s
At least one output file must be specified
x264
- Code:
"c:\Program Files (x86)\Serviio\lib\ffmpeg.exe" -i Once.Upon.a.Time.(2011).S01E15.Red.Handed.SD.TV.mp4
ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers
built on Dec 13 2011 20:46:11 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-memalign-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. 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
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Once.Upon.a.Time.(2011).S01E15.Red.Handed.SD.TV.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
creation_time : 2012-03-10 19:22:50
Duration: 00:43:05.53, start: 0.000000, bitrate: 937 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x404,811 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
Metadata:
creation_time : 2012-03-11 17:36:01
handler_name : GPAC ISO Video Handler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 122 kb/s
Metadata:
creation_time : 2012-03-10 19:22:55
handler_name : GPAC ISO Audio Handler
At least one output file must be specified