This project has moved. For the latest updates, please go here.

MP4 to WTV (H.264) no video on XBox 360

Jan 23, 2015 at 7:19 PM
Edited Jan 27, 2015 at 11:33 AM
[update] Chunk is uploaded to FTP server. Also, I wasn't clear that I am using my 360 as a MCE.

I went through most of the posts about this issue and wasn't able to fix my issue. Release notes say that this is fixed on the latest versions. I am running 2.4.1.

Issue: Audio and Video plays fine on HTPC (which doesn't have a monitor), but I only get audio on my 360 extenders.

Purpose: The whole reason I donated was to get this ability. I want to convert all my movies and TV Shows to WTV H.264 to conserve space and be able to fast forward/rewind on the 360 extenders.

I even went so far as to rebuild my Windows 7 x64 HTPC (figured it was due anyways) and I get the same result.

Here's a little bit of the code and also a link to the log file. I will work on a chunk.

https://dl.dropboxusercontent.com/u/1179628/Log.log
--> Starting conversion - DEBUG MESSAGES
INFORMATION> --> Windows OS Version -> Microsoft Windows NT 6.1.7601 Service Pack 1 (WIN_7_2008_SERVER_R2, Professional)
INFORMATION> --> Windows Platform -> 64 Bit
INFORMATION> --> MCEBuddy Build Platform -> 64 Bit
INFORMATION> --> MCEBuddy Build Version : 2.4.1.1
INFORMATION> --> MCEBuddy Build Date : 12/25/2014 10:30:26
INFORMATION> --> MCEBuddy Running as Service : True
--> Domain Name -> 
User Name -> Guest
Password -> 
Wake Hour -> -1
Wake Minute -> -1
Start Hour -> -1
Start Minute -> -1
Stop Hour -> -1
Stop Minute -> -1
Days of Week -> Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday
Minimum Age -> 2
Max Concurrent Jobs -> 1
Enable Job Logs -> True
Log Level -> 3
Log Keep Days -> 15
Use Recycle Bin -> False
Delete Original -> False
Archive Original -> False
Sync Converted -> False
Allow Sleep During Conversions -> True
Pause Conversion on Battery Power -> False
Send eMails -> False
eMail settings -> Send eMail Settings -> SMTP Server -> 
Port -> 25
SSL -> False
User Name -> 
Password -> 
From -> 
To -> 
Bcc -> 

eMail On Success -> True
eMail On Failure -> True
eMail On Cancellation -> True
eMail On Start -> True
eMail On Download Failure -> True
eMail On Queueing -> True
Custom subject for Successful conversion -> 
Custom subject for Failed conversion -> 
Custom subject for Cancelled conversion -> 
Custom subject for Start of conversion -> 
Custom subject for Download Failure -> 
Custom subject for Queueing conversion -> 
Skip eMail Body for notifications -> False
Coordinator
Jan 27, 2015 at 1:33 PM
the 360 is a very picky thing. try editing your profile to use ffmpeg instead of handbrake by changing
order=handbrake,ffmpeg
to
order=ffmpeg
Jan 28, 2015 at 2:53 AM
I tried that (also tried doing that on version 2.4 beta 2) in both cases WTV profile results in audio, but no video present. (I had this problem in the past, and just thought I'd try again with newer builds to see if it still did it then I saw this post so rather than make a new post it just made sense to post here.)
Jan 28, 2015 at 3:03 PM
rboy1,
I made the profile change as per your suggestion. I still only get audio and no video. Log file link below and I can upload a chunk if needed (assuming I didn't already delete it).

https://dl.dropboxusercontent.com/u/1179628/log1.zip

Other things I have tried.
  1. Updated ffmpeg with latest build --> same thing
  2. Updated handbrake with latest build --> same thing
I also want to note that I converted a UFC pre-lim fight (~2.5 hours) using the WTV Legacy profile. It was 18GB when it was done from a 3.5GB MKV. I would be willing to do this temporarily until we can figure out how to get WTV (H.264) working on the 360 MCE. However, I went to watch it today and it was terrible. Video slow downs, audio off in areas. I could only fast forward using 2x. Upping it to 3x would go back to normal speed. It skipped about an hour auto-magically in the middle of a match.

I am willing to put in the work here to figure out what I need to do. I can research a bit on my own but I need to get more familiar with handbrake and ffmpeg. I voted for the bugs you requested as well.

I am going to try and put the working directory on a different drive. I musing an XW8600 (sata 2 only) but I would think that wouldn't make a difference, at least in a successful conversion. I understand the time aspect.

So what next? I am not having decent results in either profile. I have create second profiles of each to force the other encoder and will see how it work.
Jan 29, 2015 at 9:06 PM
Fyi - i'm having the same issues with the wtv x.264 profile as Bobby and ualdayan, using the donator's early release version, downloaded today (1/29/15).
Coordinator
Jan 30, 2015 at 6:46 PM
need to look into this more, some users are having limited success but no pattern.

Feb 3, 2015 at 2:41 PM
Thank rboy1. Let me know what I can do to assist.
Feb 6, 2015 at 5:40 PM
FYI: handbrake v 0.10.0.6534 produces the same results as mcebuddy: a wtv file with audio, but no video, and a similar increase in file size. So maybe the problem is in handbrake and ffmpeg?
Feb 12, 2015 at 3:47 PM
For whatever its worth, the following command in a dos prompt is giving good results on a few video files i tried:

ffmpeg -i "input_file" -ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -crf 22 -map 0:v -sn -acodec ac3 -ab 384k -map 0:a output_file

All of the parameters came from the mcebuddy2x config file.

Are mcebuddy's smarts (with the probe, figuring out details about the input file) confusing ffmpeg?
Coordinator
Feb 12, 2015 at 3:55 PM
@ericmhart - what build of ffmpeg are you using? Also have you tried the using ffmpeg with MCEBuddy by changing the order in the profile from handbrake to ffmpeg? Does that work?

this is definitely interesting. Wondering by one works and the other doesn't.

Feb 12, 2015 at 4:29 PM
FFmpeg verion:

ffmpeg version N-66779-gcb530dd Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 10 2014 19:57:31 with gcc 4.8.2 (GCC)

This is the ffmpeg that comes with mcebuddy.

I did try changing the order, and no that did not work.
Feb 12, 2015 at 5:13 PM
Just tried deleting all handbrake fields from the wtv x264/ac3 section of the profile, and still got a 12gb file with audio and no video. One thing i noticed: mcebuddy creates a ts file as an intermediate step, and ffmpeg command line does not.
Coordinator
Feb 12, 2015 at 5:56 PM
This is very interesting.

Can you try checking skip remuxing option in the expert settings page. (If you don't have donator version of comskip please use show analyzer or skip commercial cutting for test purposes). This will avoid the intermediary TS file.

Also uncheck the write metadata (information) option in expert settings. Will try to isolate why there is a difference.

Feb 12, 2015 at 7:53 PM
I believe I did everything you asked. I reinstalled my OS and installed 2.4.1. I created a new Profile listed below.
[WTV - FFMPEG Only]
Description=Recodes the video to creates high quality WTV (H.264/AC3) files.
order=ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -crf 22 -map 0:v -sn
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384K -map 0:a
ffmpeg-ext=.wtv
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2 -f mp4 -4
handbrake-video=--start-at duration:3 -e x264 -q 22
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-remuxto=.wtv
handbrake-audiodelay=skip
PreConversionCommercialRemover=false
I checked Skip Remuxing and unchecked Add Info and Download information. I get no video. I will try the command line conversion and see how that works.
Feb 12, 2015 at 8:42 PM
Edited Feb 12, 2015 at 8:43 PM
rboy1,
I took the same file that I had used in the above post. It is a copy of the Deadliest Catch S10E01 that I may have downloaded. I used the following batch file to convert it. I get the same no video. I can make the file available if needed. I also tried to use the below batch file with an HD recording from my OTA antenna, but it errors out. The output from the batch file is below as well.
@echo off
cd C:\Program Files\MCEBuddy2x\ffmpeg

ffmpeg -i "m:\temp\test1.mp4" -ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -crf 22 -map 0:v -sn -acodec ac3 -ab 384k -map 0:a m:\temp\test1a.wtv

pause
ffmpeg version N-66779-gcb530dd Copyright (c) 2000-2014 the FFmpeg developers
  built on Oct 10 2014 19:57:31 with gcc 4.8.2 (GCC)
  configuration: --arch=x86_64 --target-os=mingw32 --cross-prefix=/home/mcebuddy
/Software/ffmpeg/sandbox/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-config=p
kg-config --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --ena
ble-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorb
is --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --e
nable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable
-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-lib
xavs --extra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libop
encore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --
enable-libilbc --prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-x86_64/
x86_64-w64-mingw32 --enable-static --disable-shared --enable-libsoxr --enable-fo
ntconfig --enable-libass --enable-libutvideo --enable-libbluray --enable-iconv -
-enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-
libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-li
bvidstab --enable-libx265 --extra-cflags= --extra-cflags= --enable-nonfree --ena
ble-libfdk-aac --enable-libfaac --enable-runtime-cpudetect
  libavutil      54. 10.100 / 54. 10.100
  libavcodec     56.  4.101 / 56.  4.101
  libavformat    56.  9.100 / 56.  9.100
  libavdevice    56.  1.100 / 56.  1.100
  libavfilter     5.  1.103 /  5.  1.103
  libswscale      3.  1.100 /  3.  1.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  1.100 / 53.  1.100
[mpeg2video @ 00000000003305c0] slice below image (30 >= 30)
[wtv @ 0000000000348f20] Stream #4: not enough frames to estimate rate; consider
 increasing probesize
Input #0, wtv, from 'm:\temp\test1.wtv':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : Skating & Gymnastics Spectacular
    WM/SubTitleDescription: From Jamestown, N.Y.
    genre           : Sports;Special;General;Other
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : ;;;
    service_provider: WSOCDT
    service_name    : WSOCDT (WSOC-DT)
    WM/MediaNetworkAffiliation: ABC Affiliate
    WM/MediaOriginalChannel: 9
    WM/MediaOriginalChannelSubNumber: 1
    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
    WM/MediaOriginalRunTime: 51750630489
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : true
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: false
    WM/WMRVEncodeTime: 2015-02-07 21:36:44
    WM/WMRVSeriesUID: !GenericSeries!Skating & Gymnastics Spectacular
    WM/WMRVServiceID: !MCService!28458387
    WM/WMRVProgramID: !MCProgram!306280939
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 2323
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVHardPrePadding: 4294965093
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 51754693710
    WM/WMRVEndTime  : 2015-02-07 23:03:00
    WM/WMRVBitrate  : 13.168514
    WM/WMRVKeepUntil: 4294967295
    WM/WMRVActualSoftPrePadding: 4294967295
    WM/WMRVActualSoftPostPadding: 180
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/MediaThumbWidth: 352
    WM/MediaThumbHeight: 198
    WM/MediaThumbStride: 1056
    WM/MediaThumbRet: 0
    WM/MediaThumbRatingSystem: 255
    WM/MediaThumbRatingLevel: 255
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 16
    WM/MediaThumbAspectRatioY: 9
    WM/MediaThumbTimeStamp: 4648024331321761867
  Duration: 01:26:14.74, start: 188.999628, bitrate: 13170 kb/s
    Stream #0:0[0x16](eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:1[0x17](spa): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:2[0x18]: Video: mpeg2video, yuv420p(tv), 704x480, max. 79975 kb/s,
 59.94 fps, 59.94 tbr, 10000k tbn, 119.88 tbc
    Stream #0:3[0x19]: Subtitle: eia_608
    Stream #0:4[0xffffffff]: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown)
, 200x113 [SAR 96:96 DAR 200:113], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      title           : TV Thumbnail
File 'm:\temp\test1a.wtv' already exists. Overwrite ? [y/N] y
[wtv @ 00000000003bf3c0] Frame rate very high for a muxer not efficiently suppor
ting it.
Please consider specifying a lower framerate, a different muxer or -vsync 2
No pixel format specified, yuvj420p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0000000004e17520] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1
Cache64
[libx264 @ 0000000004e17520] profile High, level 3.1
[libx264 @ 0000000004aafb20] height not divisible by 2 (200x113)
Output #0, wtv, to 'm:\temp\test1a.wtv':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : Skating & Gymnastics Spectacular
    WM/SubTitleDescription: From Jamestown, N.Y.
    genre           : Sports;Special;General;Other
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : ;;;
    service_provider: WSOCDT
    service_name    : WSOCDT (WSOC-DT)
    WM/MediaNetworkAffiliation: ABC Affiliate
    WM/MediaOriginalChannel: 9
    WM/MediaOriginalChannelSubNumber: 1
    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
    WM/MediaOriginalRunTime: 51750630489
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : true
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: false
    WM/WMRVEncodeTime: 2015-02-07 21:36:44
    WM/WMRVSeriesUID: !GenericSeries!Skating & Gymnastics Spectacular
    WM/WMRVServiceID: !MCService!28458387
    WM/WMRVProgramID: !MCProgram!306280939
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 2323
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVHardPrePadding: 4294965093
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 51754693710
    WM/WMRVEndTime  : 2015-02-07 23:03:00
    WM/WMRVBitrate  : 13.168514
    WM/WMRVKeepUntil: 4294967295
    WM/WMRVActualSoftPrePadding: 4294967295
    WM/WMRVActualSoftPostPadding: 180
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/MediaThumbWidth: 352
    WM/MediaThumbHeight: 198
    WM/MediaThumbStride: 1056
    WM/MediaThumbRet: 0
    WM/MediaThumbRatingSystem: 255
    WM/MediaThumbRatingLevel: 255
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 16
    WM/MediaThumbAspectRatioY: 9
    WM/MediaThumbTimeStamp: 4648024331321761867
    Stream #0:0: Video: h264 (libx264), yuv420p, 704x480, q=-1--1, 59.94 fps, 59
.94 tbn, 59.94 tbc
    Metadata:
      encoder         : Lavc56.4.101 libx264
    Stream #0:1: Video: h264, q=2-31, 128 kb/s, SAR 96:96 DAR 0:0, 90k fps
    Metadata:
      title           : TV Thumbnail
      encoder         : Lavc56.4.101 libx264
    Stream #0:2(eng): Audio: ac3, 0 channels, 128 kb/s
    Metadata:
      encoder         : Lavc56.4.101 ac3
    Stream #0:3(spa): Audio: ac3, 0 channels, 128 kb/s
    Metadata:
      encoder         : Lavc56.4.101 ac3
Stream mapping:
  Stream #0:2 -> #0:0 (mpeg2video (native) -> h264 (libx264))
  Stream #0:4 -> #0:1 (mjpeg (native) -> h264 (libx264))
  Stream #0:0 -> #0:2 (ac3 (native) -> ac3 (native))
  Stream #0:1 -> #0:3 (ac3 (native) -> ac3 (native))
Error while opening encoder for output stream #0:1 - maybe incorrect parameters
such as bit_rate, rate, width or height
Press any key to continue . . .
Coordinator
Feb 12, 2015 at 8:48 PM
okay am interested to see this.
@ericmhart - can you also try skipping remuxing to see if that works for you?

Coordinator
Feb 12, 2015 at 8:53 PM
@BigBobbyBuns

Instead of 0:v use 0:2

Reason: 0:v tells ffmpeg to use all video streams, where as the mjpeg stream while identified as video (a bug in my opinion which ffmpeg refuses to fix and mcebuddy has a workaround for it), it really isn't a video stream. Hence use 0:2 to use the main video stream.

You can also replace 0:a with 0:0

Feb 12, 2015 at 9:12 PM
RBoy1, Skipping the remux made no difference. Neither did unchecking the download info box.
Coordinator
Feb 13, 2015 at 12:05 AM
Could you please upload the log file of this last conversion and also the output you got from your ffmpeg output. I would like to see what the difference is. thanks

Coordinator
Feb 13, 2015 at 12:42 PM
also @ericmhart - I hope you tried with commercial detection disabled (that introduced one more cutting step I would like to avoid to isolate the issue).

@BigBoggyBuns - did you have any luck with the ffmpeg command?
Feb 13, 2015 at 1:42 PM
rboy1,
the command line was successful, but still did not render video on my 360 MCE.
Coordinator
Feb 13, 2015 at 4:47 PM
hmm I wonder what's the difference between the 2 files. Looks like you're both using the same command.

Feb 13, 2015 at 4:56 PM
Below is the output from the ffmpeg command. By the way, the resulting file plays fine in windows media player and windows media center, but not on an xbox 360 extender. The audio is there, but no video. :( My apologies for thinking the video would work on an xbox because it worked in windows.


C:\Program Files\MCEBuddy2x\ffmpeg>ffmpeg -i "c:\video\tv\wolf hall_20150121.mkv" -ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -cr
f 22 -map 0:v -sn -acodec ac3 -ab 384k -map 0:a "c:\video\WtvIn\Wolf Hall_20150121.wtv"
ffmpeg version N-66779-gcb530dd Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 10 2014 19:57:31 with gcc 4.8.2 (GCC)
configuration: --arch=x86_64 --target-os=mingw32 --cross-prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-x86_64/bin/x86_64
-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --enable-libmp3lame --enable-
version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls
--enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r --enable-filter=frei0r --enable-libvo-aa
cenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopencore-amrwb --enabl
e-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64
-x86_64/x86_64-w64-mingw32 --enable-static --disable-shared --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo
--enable-libbluray --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable
-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable-libx265 --extra-cflags= --extra-cflags= --enable-n
onfree --enable-libfdk-aac --enable-libfaac --enable-runtime-cpudetect
libavutil 54. 10.100 / 54. 10.100
libavcodec 56. 4.101 / 56. 4.101
libavformat 56. 9.100 / 56. 9.100
libavdevice 56. 1.100 / 56. 1.100
libavfilter 5. 1.103 / 5. 1.103
libswscale 3. 1.100 / 3. 1.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 1.100 / 53. 1.100
Input #0, matroska,webm, from 'c:\video\tv\wolf hall_20150121.mkv':
Metadata:
encoder         : libebml v1.3.0 + libmatroska v1.4.1
creation_time   : 2015-01-19 03:12:58
Duration: 01:02:37.55, start: 0.000000, bitrate: 2666 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
Stream #0:1(eng): Audio: aac, 44100 Hz, stereo, fltp (default)
[libx264 @ 000000000567f940] using SAR=1/1
[libx264 @ 000000000567f940] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 000000000567f940] profile High, level 3.1
Output #0, wtv, to 'c:\video\WtvIn\Wolf Hall_20150121.wtv':
Metadata:
encoder         : Lavf56.9.100
Stream #0:0(eng): Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 30 fps, 10000k tbn,
30 tbc (default)
Metadata:
  encoder         : Lavc56.4.101 libx264
Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 44100 Hz, stereo, fltp, 384 kb/s (default)
Metadata:
  encoder         : Lavc56.4.101 ac3
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> ac3 (native))
Press [q] to stop, [?] for help
[matroska,webm @ 0000000002a391e0] Unknown entry 0x1941A4692 bitrate=1568.6kbits/s
Truncating packet of size 8615 to 182
frame=112636 fps= 48 q=-1.0 Lsize= 719708kB time=01:02:34.55 bitrate=1570.3kbits/s
video:516319kB audio:175995kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.956860%
[libx264 @ 000000000567f940] frame I:937 Avg QP:17.78 size: 35803
[libx264 @ 000000000567f940] frame P:44655 Avg QP:20.43 size: 8402
[libx264 @ 000000000567f940] frame B:67044 Avg QP:23.44 size: 1789
[libx264 @ 000000000567f940] consecutive B-frames: 14.9% 14.9% 6.4% 63.7%
[libx264 @ 000000000567f940] mb I I16..4: 15.8% 61.7% 22.5%
[libx264 @ 000000000567f940] mb P I16..4: 3.6% 8.4% 0.7% P16..4: 34.3% 8.4% 3.9% 0.0% 0.0% skip:40.8%
[libx264 @ 000000000567f940] mb B I16..4: 0.1% 0.2% 0.0% B16..8: 30.0% 1.2% 0.1% direct: 0.4% skip:67.9% L0:42.1% L1:56.0%
BI: 1.9%
[libx264 @ 000000000567f940] 8x8 transform intra:65.1% inter:80.0%
[libx264 @ 000000000567f940] coded y,uvDC,uvAC intra: 28.6% 29.4% 4.2% inter: 5.7% 6.9% 0.1%
[libx264 @ 000000000567f940] i16 v,h,dc,p: 44% 20% 7% 28%
[libx264 @ 000000000567f940] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 14% 34% 3% 4% 5% 4% 4% 3%
[libx264 @ 000000000567f940] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 18% 13% 5% 7% 8% 6% 6% 4%
[libx264 @ 000000000567f940] i8c dc,h,v,p: 67% 13% 18% 2%
[libx264 @ 000000000567f940] Weighted P-Frames: Y:2.6% UV:1.0%
[libx264 @ 000000000567f940] ref P L0: 67.9% 8.0% 17.8% 6.1% 0.2%
[libx264 @ 000000000567f940] ref B L0: 90.6% 8.0% 1.4%
[libx264 @ 000000000567f940] ref B L1: 97.0% 3.0%
[libx264 @ 000000000567f940] kb/s:1126.55

C:\Program Files\MCEBuddy2x\ffmpeg>
Feb 27, 2015 at 1:25 AM
@rboy1

Been away for about a week. What do you need from me to continue work on this?
Coordinator
Feb 27, 2015 at 1:27 AM
were you able to get any combination working?

Feb 27, 2015 at 2:19 AM
@rboy1,
I have not been able to. i have used the command line. I have used MCEBuddy. I have converted some MP4 movies I may have downloaded and i have converted OTA HD as well. I end up with the same issue.

1) No video
2) Fast Forward is .... weird. Can't get to 3 FFs.

Give me some direction and I will do it.
Feb 27, 2015 at 2:47 PM
I am having this exact issue as well and I am available to help test if needed. I can report that I tried MP4 and MKV with limited success. The MP4 and MKV files wont show up under recorded TV but, the MKV will show up under movies - strange in itself, but i think i am digressing here.

For the WTV (normal profile), when i switch the placement of handbrake and ffmpeg, it seems to convert fine, just very large. When handbrake runs first, the file is small but no video. Also, when i was running 2.3.15, the WTV profile out of the box worked, just metadata was broken (no thumbnails in WMC) and large files. Now metadata works, but the video is broken. Perhaps there needs to be a combination of the two? Not an expert, just a thought. Thanks.
Coordinator
Feb 27, 2015 at 11:26 PM
I think you're confusing way too many issues here.

First mp4 and Mkv will never show up under recorded tv. That's MCE design and nothing to do with mcebuddy

As for WTV - I didn't understand. You saying it works with ffmpeg but not handbrake?

Feb 27, 2015 at 11:48 PM
Thanks rboy1 - i kinda figured that was the case, but certainly not the issue at hand.

Sorry for my writing, it was a little bit in haste so i apologize for that. When i edit the standard WTV profile to use ffmpeg then handbrake, I am able to view the files in WMC on my xbox. if handbrake runs first, then it wont work. Also, i wanted to make mention that the file size between running ffmpeg first versus handbrake is substantial. An hour long show would be around 8-900MB whereas running handbrake first would be around 2.5-3GB. I hope that makes more sense.
Coordinator
Feb 28, 2015 at 12:07 AM
Yes am wondering if ffmpeg is creating mpeg2 instead of h.264 files. Check the conversion log at the end it will print the converted file details

Feb 28, 2015 at 1:22 PM
i believe i found one that used handbrake first:

INFORMATION> 2015-02-26T13:03:32 MCEBuddy.VideoProperties.VideoInfo --> Skipping crop information
INFORMATION> 2015-02-26T13:03:32 MCEBuddy.Engine.ConversionJob --> Converting
--> Profile being used : WTV.
Profile entries ->
--> Description=Recodes the video to creates high quality WTV (H.264/AC3) files.
--> ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
--> ffmpeg-audioac3=-acodec ac3 -ab 384K -map 0:a
--> ffmpeg-audiodelay=skip
--> ffmpeg-ext=.wtv
--> ffmpeg-general=-threads 0
--> ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -crf 22 -map 0:v -sn
--> handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
--> handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
--> handbrake-audiodelay=skip
--> handbrake-ext=.mp4
--> handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2 -f mp4 -4
--> handbrake-remuxto=.wtv
--> handbrake-video=--start-at duration:3 -e x264 -q 20
--> order=handbrake, ffmpeg
--> PreConversionCommercialRemover=true
INFORMATION> 2015-02-26T13:03:32 MCEBuddy.Transcode.ConvertWithHandbrake --> Checking for Unsupported profile for container / codec combination
INFORMATION> 2015-02-26T13:03:32 MCEBuddy.AppWrapper.Handbrake --> Handbrake checking for OpenCL and QuickSync support
2015-02-26T13:03:32 MCEBuddy.AppWrapper.Handbrake --> Launching process C:\Program Files\MCEBuddy2x\handbrake\handbrakecli.exe

at the end of the log file i see this: (not sure if this is the line you are looking for?)
2015-02-26T14:05:41 MCEBuddy.AppWrapper.Base --> Stream #0:0[0x2]: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 384 kb/s
2015-02-26T14:05:41 MCEBuddy.AppWrapper.Base --> Stream #0:1[0x3]: Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x718 [SAR 1:1 DAR 640:359], 59.94 fps, 59.94 tbr, 10000k tbn, 180k tbc

I can upload this log file if it would make it easier for you. although i am unsure how to do that. One last thing i think i failed to mention. I am converting .ts files to .wtv. not sure if that would really make any difference since the end result of the file is the same, but i figured you should know. Thanks.
Coordinator
Feb 28, 2015 at 2:12 PM
yes you can upload hte file to dropbox or onedrive and post the link here. So is this the file that works or doesn't work?

Mar 1, 2015 at 8:05 PM
rboy, see if you can view the logs from here:
https://www.dropbox.com/sh/d4gdvymq667nfem/AACkQBFVeOrU_HdUG2CKRli6a?dl=0

turns out, regardless of running handbrake or ffmpeg, it doesn't result in being able to view in xbox 360. I think i did that originally because i was experiencing the color issue. If i were to run WTV legacy or unprocessed, then it would work perfectly on the xbox. If you need anything else, please let me know. Thanks.
Mar 5, 2015 at 6:58 PM
rboy - i know your busy but i was just curious if you saw my uploaded logs regarding this? if you can't get to them until later, no problem. We all have lives to live. Just wanted to make sure you did receive them. Thanks and keep up the great work!
Coordinator
Mar 5, 2015 at 8:26 PM
Yes thanks. Actually been on the road a bit. The team is also looking into this one. It had a dependency on ffmpeg and we have opened a ticket with them. It would be great if users also pitched in. See the users help required thread on how to support it.

Mar 20, 2015 at 1:20 PM
rboy,
Its been a few weeks and I just wanted to follow up about this and see if there has been any progress with this issue. Also, i wanted to let you know that I tried a conversion using the WTV unprocessed profile and it plays back perfectly on my xbox 360 while playing it from the recorded tv menu in WMC. I would continue to use this profile, but the files sizes it produces is very large. A 30 minute show is roughly 1.7GB after commercial removal. i have uploaded the log file so that you can take a look at it and see if there is some way to compare the settings from that and apply it to the other WTV profiles and still produce smaller file sizes. The file is named TBBT - working x360, unprocessed.log You can find it in the same link from above. Thanks in advance for the assistance.
Coordinator
Mar 20, 2015 at 3:00 PM
Been looking into this. It's still an issue with ffmpeg. See if you can request them to fix it. It's specific to h.264 in wtv container. I've given a link in the users to vote for issues thread.

Apr 2, 2015 at 8:25 PM
Rboy - just wanted to update you on my progress. I couldn't find anything from ffmpeg's website. So i decided to go back to when i had an older version. The wtv profile worked right out the box. So i went back to my profiles.old (smart idea by the way for upgrades). I found the WTV ffmpeg line, copied it and, replaced it on to my current WTV profile. Bam - worked like a charm. Here is the profile i am using in its entirety:

[WTV]
Description=Recodes the video to creates high quality WTV (H.264/AC3) files.
order=handbrake, ffmpeg
ffmpeg-general=-threads 2
ffmpeg-video=-ss 3 -vf yadif=0:-1,hqdn3d -vcodec mpeg2video -qscale 2 -map 0:a -map 0:v
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384K -map 0:a
ffmpeg-ext=.wtv
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2 -f mp4 -4
handbrake-video=--start-at duration:3 -e x264 -q 20
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-remuxto=.wtv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

The main take away is this line (working great):
ffmpeg-video=-ss 3 -vf yadif=0:-1,hqdn3d -vcodec mpeg2video -qscale 2 -map 0:a -map 0:v
Originally it looked like this (doesn't work):
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -crf 22 -map 0:v -sn

So it might not be ffmpeg that is the issue, but the vcodec. That would seem to make sense since I get audio but no video. Since the commands are so different, i dont think i can just replace libx264 with mpeg2video and have it work. Also, you might think that the working line looks like your WTV Legacy Profile - and it does - except for one thing:

ffmpeg-video=-ss 3 -vf yadif=0:-1,hqdn3d -vcodec mpeg2video -qscale 2 -map 0:a -map 0:v - GOOD
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec mpeg2video -qscale 2 -map 0:v -sn - BAD

Almost the same, except for the -1:1 part and 0:a instead of 0:v. Not sure what they do (or do not do for that matter) but it works great without them!

So to summarize, i have it working great. The file sizes are a little big - around 2.2GB for a 30 minute show. But i can deal as long as its working.

If you are able to take this and apply it to your next release, I would be grateful so I don't have to retrace my steps :) Thanks!
Coordinator
Apr 4, 2015 at 8:11 PM
yes it works fine with mpeg2video, the issue with ffmpeg is with h264 video.

I didn't understand, are you saying it works with map 0:a or without map 0:a?

(the yadif is only a deinterlacer and won't impact the container), the map 0:a says to keep all audio tracks

Apr 12, 2015 at 1:55 PM
rboy - you clearly know more about this than I. I have no idea what a yadif is and/or does, but as long as you know :)

I was saying that map 0:a does work and it appears that it works with map 0:v as well, as long as they are in the same line. I guess map 0:v doesn't function alone.

Regardless - the first command is what i have been using for all of my encodes and it has been working great - i dont even mind the 2.5GB files anymore. Function over storage for me.

Thanks
Coordinator
Apr 12, 2015 at 3:38 PM
Okay thanks, let me look into this. Will come back if I need more info
Coordinator
May 6, 2015 at 12:30 PM
Okay I have a new ffmpeg build with some patches and need some volunteers to test the h264 conversions on the xbox. please reach out to me if you would like to help us test the build.
May 7, 2015 at 2:03 AM
rboy, i am more than happy to assist you with this, just let me know what you need me to do and consider it done :). Thanks.
Coordinator
May 7, 2015 at 1:43 PM
There is a folder called XBOX_360 in the UPLOAD folder. It contains a special build of ffmpeg (32 and 64 bits), please take the one appropriate to your installation and replace the ffmpeg in the MCEBuddy installation directory. Then try the WTV and WTV Legacy profiles with your recordings and let me know if they work on your MCE and XBox Extenders.

May 7, 2015 at 6:01 PM
thanks rboy1, i'll give it a try. However, i don't believe i made a good backup of the WTV profile before i start making all my changes. Can you post the default WTV profile for me? Right now I have this:

[WTV Test]
Description=Recodes the video to creates WTV (MPEG-2 / AC3) files.
order=ffmpeg, handbrake
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1,hqdn3d -vcodec mpeg2video -qscale 2 -map 0:a -map 0:v
ffmpeg-audio=-acodec ac3 -ab 192k
ffmpeg-audioac3=-acodec ac3 -ab 384K
ffmpeg-ext=.wtv
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2 -f mp4 -4
handbrake-video=--start-at duration:3 -e x264 -q 20
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-remuxto=.wtv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true
Coordinator
May 7, 2015 at 10:27 PM
[WTV]
Description=Recodes the video to creates high quality WTV (H.264/AC3) files.
order=handbrake,ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -crf 22 -map 0:v -sn
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384K -map 0:a
ffmpeg-ext=.wtv
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2 -f mp4
handbrake-video=--start-at duration:3 -e x264 -q 20
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-remuxto=.wtv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

[WTV Legacy]
Description=This is primarly for older Media Extenders (like XBox, Ceton Echo and Linksys DMA2100) which don't support h.264 in WTV. Recodes the video to creates high quality WTV (MPEG2/AC3) files.
order=ffmpeg,handbrake
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec mpeg2video -qscale 2 -map 0:v -sn
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384K -map 0:a
ffmpeg-ext=.wtv
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2 -f mp4
handbrake-video=--start-at duration:3 -e ffmpeg2 -q 2
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-remuxto=.wtv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true
May 8, 2015 at 2:56 PM
rboy,
using your profiles, neither work. i think it's the new files you provided. The episode will not even start play back nor can i see a thumbnail icon on the xbox. any thing else you would like me to test out?
Coordinator
May 8, 2015 at 3:29 PM
Do either of the profiles work with the older bundled ffmpeg?

Coordinator
May 8, 2015 at 3:30 PM
Also can you verify if the older or newer ffmpeg works with your customized profiles. Thanks

May 8, 2015 at 3:32 PM
I will have to test the new profile with the older stuff. So stay tuned.

I did have two jobs running concurrently using old and new profiles with the new ffmpeg stuff and both failed to play. Thats what lead me to believe the new files do not work.
Coordinator
May 8, 2015 at 4:33 PM
Okay just trying to baseline what does and what doesn't. Old profile meaning stock and new meaning your customized right?

May 8, 2015 at 6:16 PM
Rboy, you have it backwards. Old being what i had prior to you providing the stock script. So your stuff would be the "new" or perhaps i'll refer to it as test instead
Coordinator
May 8, 2015 at 8:27 PM
Okay so 2x2 matrix

old profile
new profile

x

old ffmpeg
new ffmpeg

Coordinator
May 11, 2015 at 5:14 PM
Any word on this @xtcee
May 15, 2015 at 6:26 PM
rboy,
sorry it took me so long to get back to you. usually Fridays are the best time for me to work on these as the rest of the week is generally hectic with work. The test i did was using the default profiles that you provided. One is labelled wtv test and the other wtv legacy test

So i did put aside some time to look at this and here is your 2x2 matrix

With new ffpmeg files:
wtv test - after hitting play, it immediately went back to the main screen and did not play anything
wtv legacy test - same as old profile

with old ffmpeg files:
wtv test - would play sound but no video
wtv legacy test - plays perfectly

i haven't tried with my current profile because i didn't have enough time. If you would like, i can see about uploading the log files for your review. let me know. Thanks.
Coordinator
May 15, 2015 at 7:43 PM
@xtcee, thanks for trying it out. I found an issue and put a patch.

I've uploaded in the same directory a new build of ffmpeg with this patch, can you please try it with the new and old profiles (new first if you have a constraint). It seems to be working with our tests here so just waiting for your feedback.

Let me know if it works. If it does I will need your help to test some additional WTV profiles also on the XBOX360

Thanks

Coordinator
May 16, 2015 at 9:57 AM
Okay this one seems to work here even with multiple audio tracks, will wait for your feedback.

Coordinator
May 19, 2015 at 12:02 AM
I know xtcee is tied up. Anyone else get a chance to try the new ffmpeg build on the mcebuddy server?
May 19, 2015 at 11:18 PM
I think I tried it. Is that the static WTV streams patch uploaded on 5/16? If so, i still had no video on XBOX360. 😞
Coordinator
May 19, 2015 at 11:29 PM
Yep
Is that with WTV or WTV Legacy profile?
Could you try both please.

May 20, 2015 at 12:51 AM
It was WTV. I can try legacy tomorrow.
May 21, 2015 at 7:54 PM
rboy,

Found sometime today to run some tests. Here are the results:
                            Old ffmpeg  New ffmpeg
WTV Yes - A/V No - A
WTV Test No - A No - A
WTV Legacy Yes - A/V Yes - A/V
WTV Legacy Test Yes - A/V Yes - A/V

Sorry about the formatting. I can't copy and paste from excel.

These we all tested on my xbox360. The Yes - A/V indicates that everything worked as expected. The No - A means that only audio would play with a black screen.

The WTV was my own modified profile and WTV Test was the one you supplied earlier in this thread.
WTV Legacy was default and WTV Legacy Test was what you provided earlier in this thread.

So your patch works, but only with the legacy profiles. My WTV profile was basically a legacy profile just renamed so it would be easier for me. For reference purposes, these are the profiles used:

[WTV]
Description=Recodes the video to creates high quality WTV (H.264/AC3) files.
order=handbrake, ffmpeg
ffmpeg-general=-threads 2
ffmpeg-video=-ss 3 -vf yadif=0:-1,hqdn3d -vcodec mpeg2video -qscale 2 -map 0:a -map 0:v
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384K -map 0:a
ffmpeg-ext=.wtv
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2 -f mp4 -4
handbrake-video=--start-at duration:3 -e x264 -q 20
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-remuxto=.wtv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

[WTV Test]
Description=Recodes the video to creates high quality WTV (H.264/AC3) files.
order=handbrake,ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -crf 22 -map 0:v -sn
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384K -map 0:a
ffmpeg-ext=.wtv
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2 -f mp4
handbrake-video=--start-at duration:3 -e x264 -q 20
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-remuxto=.wtv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

[WTV Legacy Test]
Description=This is primarly for older Media Extenders (like XBox, Ceton Echo and Linksys DMA2100) which don't support h.264 in WTV. Recodes the video to creates high quality WTV (MPEG2/AC3) files.
order=ffmpeg,handbrake
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec mpeg2video -qscale 2 -map 0:v -sn
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384K -map 0:a
ffmpeg-ext=.wtv
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2 -f mp4
handbrake-video=--start-at duration:3 -e ffmpeg2 -q 2
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-remuxto=.wtv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

[WTV Legacy]
Description=This is primarly for older Media Extenders (like XBox, Ceton Echo and Linksys DMA2100) which don't support h.264 in WTV. Recodes the video to creates high quality WTV (MPEG2/AC3) files.
order=ffmpeg,handbrake
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec mpeg2video -qscale 2 -map 0:v -sn
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384K -map 0:a
ffmpeg-ext=.wtv
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2 -f mp4 -4
handbrake-video=--start-at duration:3 -e ffmpeg2 -q 2
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-remuxto=.wtv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

Also, the file size looks very good on the WTV Legacy with and without the patch! - so I wouldn't mind using the legacy profiles going forward. Lastly, the time to convert seemed much better using the patched version you supplied. It was able to handle multiple streams much better than the version that comes with 2.4.1. Keep up the good work!
Coordinator
May 22, 2015 at 3:35 AM
@xtcee thanks for checking this out. I am however a little confused here.
  1. From the matrix above it looks like the "old ffmpeg" and your WTV profile seem to work fine on the xbox360. So if the old ffmpeg works and the new ffmpeg does not work on the xbox360, why am I looking at creating a patch?
  2. Also you mention that the new ffmpeg works better on the wtv legacy handling multiple streams. Please elaborate what you mean by that? In what way/how does it handle multiple streams better than the old ffmpeg?
  3. Another point, looking at your WTV profile, the handbrake section uses h.264 where as the ffmpeg section uses mpeg2. Why are you using different codecs and which one is being used during conversion? Can you please upload the log file for the old ffmpeg and your WTV profile. They only difference I can see between your WTV profile and the WTV test profile (assuming it is using handbrake since it's the first encoder) is the "-4" option. If that's truly the casing difference then it helps explain a lot about the xbox360 capabilities. Can you please test your WTV Test profile by adding the "-4" option to the handbrake-general line and let me know if it works.
Thanks for your help.
May 22, 2015 at 4:34 PM
@rboy1

I'll do my best to clarify for you.

For question 1 - my WTV profile has changed drastically from what the default is. I stated "My WTV profile was basically a legacy profile just renamed so it would be easier for me" This is also why i included the profiles i was using so you could see the differences. The WTV Test profile is what would be considered an untouched, default WTV profile. This is also why my WTV profile works and the WTV Test profile does not. So we are trying to fix the WTV Test profile. Clear as mud?

2 - It might have been just a coincidence but it seemed to handle two conversions at the same time better and faster the the old ffpmeg. With the old ffmpeg, even though i would have two jobs running, one job would take precedence and consume all the resources for itself. With the patch it seems to split the load between to two and be more efficient at it. This only makes it a benefit to use, for me at least.

3 - I'll report back once i have tried this out. In the mean time, i'll upload the logs under the xbox360 folder, assuming i have permission to do so
May 22, 2015 at 5:10 PM
Edited May 22, 2015 at 7:10 PM
Hi, I'm new to mcebuddy, but I'm having the exact same issue. Files encoded with the WTV Profile are audio-only on Xbox 360 extender. I'm on 2.4 beta2

I just downloaded the patched ffmpeg binaries from the XBOX_360 folder in the ftp site and am going to test it out. To make sure I understand, I need to replace:
order=handbrake, ffmpeg 
with
order=ffmpeg 
in my WTV profile to test the ffmpeg patch properly? (I have replaced the ffmpeg.exe and ffprobe.exe in the mcebuddy ffmpeg dir already)
May 28, 2015 at 12:51 PM
@bradvido - there seems to be more to it then order of handbrake and ffmpeg. It is ffmpeg that is causing the issue. In the meantime, you can use the same profile i use for conversions to play correctly:
[WTV]
Description=Recodes the video to creates high quality WTV (H.264/AC3) files.
order=handbrake, ffmpeg
ffmpeg-general=-threads 2
ffmpeg-video=-ss 3 -vf yadif=0:-1,hqdn3d -vcodec mpeg2video -qscale 2 -map 0:a -map 0:v
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384K -map 0:a
ffmpeg-ext=.wtv
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2 -f mp4 -4
handbrake-video=--start-at duration:3 -e x264 -q 20
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-remuxto=.wtv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

@rboy1 - I tried with the -4 like you suggested and it didn't output video, only audio. This was the exact line i used in my profile:
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2 -f mp4 -4

If you want me to try anthing else, please let me know.
Coordinator
May 29, 2015 at 5:35 PM
@xtcee can you please upload the log from one your conversions using your WTV profile that works on your xbox. Let me analyze it before I make any suggestions.

thanks.
Coordinator
May 29, 2015 at 5:45 PM
@xtcee - There are 2 things I would appreciate if you can try with YOUR WTV profile.
  1. Change
    -thread 2
    to
    -threads 0
  2. Change
    -vcodec mpeg2video -qscale 2
    to
    -vcodec libx264 -crf 10
Please try these changes one at a time and then together with the Old and New ffmpeg.
I know it's a lot of testing (6 combinations) but that would definitely help.

Also as mentioned above please upload the log of one your current WTV profile successful conversions.

thank you
May 31, 2015 at 1:38 AM
FWIW, rboy1 i tried the #2 change above w/ xtcee's profile and the new ffmpeg. Same results, no video in 360 mce.
His unchanged profile does play back, but it's not very well compressed, obviously it's not using x264.
Coordinator
May 31, 2015 at 10:53 AM
Can you upload the conversion log for the video that plays back.
Coordinator
Jun 15, 2015 at 5:40 PM
Let me know once it's done
Coordinator
Jun 24, 2015 at 7:20 PM
Any update on this, I need the log file for a working profile to isolate the fix this.
Jun 26, 2015 at 1:09 PM
Rboy - sorry for not getting back soon. I also thought i would have some relief on being the sole person that helps you out :)

Anyway, i was able to try a video yesterday with your edits. However, i didn't do 6 jobs as i needed only make the changes and try with the old ffmpeg and the new one your provided. I should also mention that i upgraded to 2.4.2 so the old ffpmeg is now the version that was included with that. The new one is still the patched one your provided earlier. If there is a newer one you want me to use, please let me know.

So both conversions with your recommendations failed to display video, but audio was good (as usual). I used this for my test profile:

[WTV Rboy Test]
Description=Recodes the video to creates high quality WTV (H.264/AC3) files.
order=handbrake,ffmpeg
ffmpeg-general=-threads 0
ffmpeg-video=-ss 3 -vf yadif=0:-1:1,hqdn3d -vcodec libx264 -crf 10 -map 0:v -sn
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384K -map 0:a
ffmpeg-ext=.wtv
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2 -f mp4
handbrake-video=--start-at duration:3 -e x264 -q 20
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-remuxto=.wtv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true
Coordinator
Jun 26, 2015 at 1:39 PM
Okay can you please upload a log of a conversion that works fine with your profile.

I will use that to try and reverse engineer why it's working. Thanks

Jun 26, 2015 at 2:13 PM
@rboy - i uploaded the two failed jobs and one that is successful and labeled as such for your review. they are under xbox360/6.26 logs

The two failed ones used the profile in the message above and the successful one is:

[WTV 2.4.1 (X360 Playback)]
Description=Recodes the video to creates high quality WTV (H.264/AC3) files.
order=handbrake, ffmpeg
ffmpeg-general=-threads 2
ffmpeg-video=-vf yadif=0:-1,hqdn3d -vcodec mpeg2video -qscale 2 -map 0:a -map 0:v
ffmpeg-audio=-acodec ac3 -ab 192k -map 0:a
ffmpeg-audioac3=-acodec ac3 -ab 384K -map 0:a
ffmpeg-ext=.wtv
ffmpeg-audiodelay=skip
handbrake-general=--decomb --denoise --loose-anamorphic --verbose=2 -f mp4 -4
handbrake-video=--start-at duration:3 -e x264 -q 20
handbrake-audio=-E ffac3 -R auto -B 192 -D 0 -a 1,2,3,4,5
handbrake-audioac3=-E ffac3 -R auto -B 384 -D 0 -a 1,2,3,4,5
handbrake-ext=.mp4
handbrake-remuxto=.wtv
handbrake-audiodelay=skip
PreConversionCommercialRemover=true

If you need anything else, let me know. Thanks again rboy - we will get this right!
Coordinator
Jun 26, 2015 at 2:57 PM
Thanks

Coordinator
Jun 27, 2015 at 6:41 AM
Okay I checked it out, and as I thought the converted video is mpeg2 and not h.264
2015-06-25T10:54:34 MCEBuddy.AppWrapper.Base --> Stream #0:1[0x3]: Video: mpeg2video (Main) (mpg2 / 0x3267706D), yuv420p(tv), 1920x1072 [SAR 1:1 DAR 120:67], max. 104857 kb/s, 29.97 fps, 29.97 tbr, 10000k tbn, 59.94 tbc
Your handbrake line is failing because of the -4 option is unsupported in the newer build of handbrake and it falls back to your ffmpeg line which is mpeg2.
You profile essentially works like the WTV Legacy profile

Sorry no go here. Back to the books.
Jun 28, 2015 at 12:12 AM
rboy,
Good catch - i dont think i quite understand why it failed based on that snippet you provided, but as long as one of us knows the reason, that's good enough for me. So, where do we go from here? Your "no go, back to the books" leads me to think we have reached the end of the road but I'm almost positive you aren't going to give up on it at least i hope you aren't. If you do need me to test some more, you know I'll get it to as soon as i can. Thanks again for all the hard work!
Coordinator
Jun 28, 2015 at 11:38 AM
Will come back, looking for some inspiration :)

Jul 6, 2015 at 5:19 AM
Hello,

I've been using Xbox 360 as my main means of DVR/Live TV in the Living room for a few years.

I'm new to MCEBuddy, and just got around to setting it up for the first time these last couple of weeks. Discovered my Converted Files (WTV to WTV with commercials removed via ComSkip) would only play Audio, no Video on my XBox 360 Extender. (Same issue occurred with WTV to MP4/Comskip conversions)

So, let me know what I can do to assist with testing, as my Xbox 360 is how we watch TV.

Thanks,
Stephen
Coordinator
Jul 6, 2015 at 1:23 PM
Try using the WTV Legacy profile

Jul 10, 2015 at 5:09 AM
rboy1 wrote:
Try using the WTV Legacy profile
I set the profile to use the WTV Legacy profile, and I do get video and audio now.

Oddly enough, the specific Show I ran through MCEBuddy 'lopped off' the first 8 Minutes and 30 seconds of the show. This occurred on two different Systems that I Processed this show on. The 1 hour show only produced 34 minutes in duration, which I thought was a bit short with commercials removed. We only discovered it was missing this 8 minutes and 30 seconds after going back and watching the original WTV recording.

Let me know if you need any info from that show. I'll try to run a few more shows through MCEBuddy this weekend to test. using the WTV Legacy Profile.

Stephen
Coordinator
Jul 10, 2015 at 1:05 PM
You will need to see why it's getting "lopped" off, most likely it's comskip that needs to be tuned. Try running one with ShowAnalyzer of with commercial removal disabled.
Or better yet go through the logs and see the EDL timestamps (search for EDL) it'll tell you which sections are being cut.

If it's comskip then you will need to tune it accordingly.