Opened 4 years ago

Last modified 14 months ago

#2252 reopened defect

WTV files created by ffmpeg do not playback on XBox 360 extender

Reported by: ramitbhalla Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: wtv bounty
Cc: cncb, ramitbhalla@gmail.com, alex@rtfs.hu Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: WTV files created by ffmpeg do not play back on X360 extender.
It gives an error:
" Files needed to display video are not installed..."

However it plays back fine on WMP and MCE.

Attachments (1)

wtv.patch (1.5 KB) - added by al3x 16 months ago.

Download all attachments as: .zip

Change History (63)

comment:1 Changed 4 years ago by ramitbhalla

To clarify the ffmpeg created WTV file has mpeg2video and AC3 audio.

comment:2 Changed 4 years ago by cehoyos

  • Keywords wtv added

comment:3 Changed 4 years ago by cehoyos

To make this a useful and valid ticket please:

Find a wtv file that plays on "XBox 360 extender" (between 2 and 10 MB, slightly bigger if you only have HD samples).

Provide the sample.

Try "ffmpeg -i yoursample -acodec copy -vcodec copy out1.wtv" and test if the output file plays as expected. If it does not, please provide the complete, uncut console output.

If out1.wtv plays fine, try to only reencode the audio:
"ffmpeg -i yoursample -vcodec copy -acodec ac3 -ac 2 -ab 128k out2.wtv", test the output file and provide complete, uncut console output if it does not play.

If out1.wtv and out2.wtv play fine, try to only reencode the video:
"ffmpeg -i yoursample -acodec copy -vcodec copy -qscale 10 out3.wtv", test out3.wtv and if it does not play, provide the complete, uncut console output.

Version 1, edited 4 years ago by cehoyos (previous) (next) (diff)

comment:4 Changed 4 years ago by ramitbhalla

None of the above 3 files created by ffmpeg work on the Xboc 360 Extender. while the original files does play.

I've uploaded the original file WTV-Extender-Issue.wtv

Here are the output logs of the conversions:

ffmpeg -i WTV-Extender-Issue.wtv -acodec copy -vcodec copy out1.wtv
ffmpeg version N-48065-g6375318 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 21 2012 09:06:30 with gcc 4.7.2 (GCC)
  configuration: --enable-static --arch=x86 --target-os=mingw32 --cross-prefix=/home/rdp/dev/ffmpeg-windows-build-helper
s/sandbox/mingw-w64-i686/bin/i686-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-libtheo
ra --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-fontconfig --ena
ble-libass --enable-libutvideo --enable-libopus --disable-w32threads --enable-frei0r --enable-filter=frei0r --enable-lib
vo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopenc
ore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libbluray --enable-libvpx --enable-runtime-cpudetect

  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 81.100 / 54. 81.100
  libavformat    54. 49.102 / 54. 49.102
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 29.100 /  3. 29.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpeg2video @ 02ccb040] mpeg_decode_postinit() failure
    Last message repeated 36 times
Input #0, wtv, from 'WTV-Extender-Issue.wtv':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : Modern Family
    WM/SubTitle     : A Slight at the Opera
    WM/SubTitleDescription: When the lead in the school's production of ``Phantom of the Opera'' gets sick, Manny is wil
ling to do anything to land the lead; Phil and Jay wind up in a golf-off with Mitch and Pepper; Gloria and Alex visit a
psychic.
    genre           : Comedy;Series
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : Ed O'Neill/Julie Bowen/Ty Burrell/Sofía Vergara/Jesse Tyler Ferguson/Eric Stonestreet/Sarah Hylan
d/Nolan Gould/Ariel Winter/Rico Rodriguez/Aubrey Anderson-Emmons;Jim Bagdonas;;Nathan Lane/Fred Willard/Reid Ewing/Piper
 Mackenzie Harris/Norma Maldonado/Nic
    service_provider: WTVDDT
    service_name    : WTVDDT (WTVD-DT)
    WM/MediaNetworkAffiliation: ABC Affiliate
    WM/MediaOriginalChannel: 1111
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 2013-02-06T05:00:00Z
    WM/MediaOriginalRunTime: 20358938924
    WM/MediaIsStereo: true
    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 : false
    WM/ParentalRating: TV-PG
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: true
    WM/WMRVEncodeTime: 2013-02-07 02:00:04
    WM/WMRVSeriesUID: !MCSeries!218237259
    WM/WMRVServiceID: !MCService!28457122
    WM/WMRVProgramID: !MCProgram!285240212
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 3
    WM/WMRVOriginalSoftPrePadding: 420
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 18562084171
    WM/WMRVEndTime  : 2013-02-07 02:31:00
    WM/WMRVBitrate  : 7.753845
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 295
    WM/WMRVActualSoftPostPadding: 0
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
  Duration: 00:29:51.50, start: 2.374407, bitrate: 46 kb/s
    Stream #0:0[0x10](eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:1[0x11](esl): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:2[0x12]: Video: mpeg2video (Main), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 59.94 fps, 60 tbr, 10000k tbn, 11
9.88 tbc
    Stream #0:3[0x13]: Subtitle: eia_608
Output #0, wtv, to 'out1.wtv':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : Modern Family
    WM/SubTitle     : A Slight at the Opera
    WM/SubTitleDescription: When the lead in the school's production of ``Phantom of the Opera'' gets sick, Manny is wil
ling to do anything to land the lead; Phil and Jay wind up in a golf-off with Mitch and Pepper; Gloria and Alex visit a
psychic.
    genre           : Comedy;Series
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : Ed O'Neill/Julie Bowen/Ty Burrell/Sofía Vergara/Jesse Tyler Ferguson/Eric Stonestreet/Sarah Hylan
d/Nolan Gould/Ariel Winter/Rico Rodriguez/Aubrey Anderson-Emmons;Jim Bagdonas;;Nathan Lane/Fred Willard/Reid Ewing/Piper
 Mackenzie Harris/Norma Maldonado/Nic
    service_provider: WTVDDT
    service_name    : WTVDDT (WTVD-DT)
    WM/MediaNetworkAffiliation: ABC Affiliate
    WM/MediaOriginalChannel: 1111
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 2013-02-06T05:00:00Z
    WM/MediaOriginalRunTime: 20358938924
    WM/MediaIsStereo: true
    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 : false
    WM/ParentalRating: TV-PG
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: true
    WM/WMRVEncodeTime: 2013-02-07 02:00:04
    WM/WMRVSeriesUID: !MCSeries!218237259
    WM/WMRVServiceID: !MCService!28457122
    WM/WMRVProgramID: !MCProgram!285240212
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 3
    WM/WMRVOriginalSoftPrePadding: 420
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 18562084171
    WM/WMRVEndTime  : 2013-02-07 02:31:00
    WM/WMRVBitrate  : 7.753845
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 295
    WM/WMRVActualSoftPostPadding: 0
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    encoder         : Lavf54.49.102
    Stream #0:0: Video: mpeg2video (mpg2 / 0x3267706D), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 59.94 fps, 10000k
tbn, 59.94 tbc
    Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), 384 kb/s
Stream mapping:
  Stream #0:2 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=  556 fps=0.0 q=-1.0 Lsize=    9252kB time=00:00:10.35 bitrate=7317.0kbits/s
video:8657kB audio:442kB subtitle:0 global headers:0kB muxing overhead 1.676691%


ffmpeg -i WTV-Extender-Issue.wtv -vcodec copy -acodec ac3 -ac 2 -ab 128k out2.wtv
ffmpeg version N-48065-g6375318 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 21 2012 09:06:30 with gcc 4.7.2 (GCC)
  configuration: --enable-static --arch=x86 --target-os=mingw32 --cross-prefix=/home/rdp/dev/ffmpeg-windows-build-helper
s/sandbox/mingw-w64-i686/bin/i686-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-libtheo
ra --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-fontconfig --ena
ble-libass --enable-libutvideo --enable-libopus --disable-w32threads --enable-frei0r --enable-filter=frei0r --enable-lib
vo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopenc
ore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libbluray --enable-libvpx --enable-runtime-cpudetect

  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 81.100 / 54. 81.100
  libavformat    54. 49.102 / 54. 49.102
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 29.100 /  3. 29.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpeg2video @ 0334ae20] mpeg_decode_postinit() failure
    Last message repeated 36 times
Input #0, wtv, from 'WTV-Extender-Issue.wtv':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : Modern Family
    WM/SubTitle     : A Slight at the Opera
    WM/SubTitleDescription: When the lead in the school's production of ``Phantom of the Opera'' gets sick, Manny is wil
ling to do anything to land the lead; Phil and Jay wind up in a golf-off with Mitch and Pepper; Gloria and Alex visit a
psychic.
    genre           : Comedy;Series
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : Ed O'Neill/Julie Bowen/Ty Burrell/Sofía Vergara/Jesse Tyler Ferguson/Eric Stonestreet/Sarah Hylan
d/Nolan Gould/Ariel Winter/Rico Rodriguez/Aubrey Anderson-Emmons;Jim Bagdonas;;Nathan Lane/Fred Willard/Reid Ewing/Piper
 Mackenzie Harris/Norma Maldonado/Nic
    service_provider: WTVDDT
    service_name    : WTVDDT (WTVD-DT)
    WM/MediaNetworkAffiliation: ABC Affiliate
    WM/MediaOriginalChannel: 1111
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 2013-02-06T05:00:00Z
    WM/MediaOriginalRunTime: 20358938924
    WM/MediaIsStereo: true
    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 : false
    WM/ParentalRating: TV-PG
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: true
    WM/WMRVEncodeTime: 2013-02-07 02:00:04
    WM/WMRVSeriesUID: !MCSeries!218237259
    WM/WMRVServiceID: !MCService!28457122
    WM/WMRVProgramID: !MCProgram!285240212
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 3
    WM/WMRVOriginalSoftPrePadding: 420
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 18562084171
    WM/WMRVEndTime  : 2013-02-07 02:31:00
    WM/WMRVBitrate  : 7.753845
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 295
    WM/WMRVActualSoftPostPadding: 0
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
  Duration: 00:29:51.50, start: 2.374407, bitrate: 46 kb/s
    Stream #0:0[0x10](eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:1[0x11](esl): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:2[0x12]: Video: mpeg2video (Main), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 59.94 fps, 60 tbr, 10000k tbn, 11
9.88 tbc
    Stream #0:3[0x13]: Subtitle: eia_608
Output #0, wtv, to 'out2.wtv':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : Modern Family
    WM/SubTitle     : A Slight at the Opera
    WM/SubTitleDescription: When the lead in the school's production of ``Phantom of the Opera'' gets sick, Manny is wil
ling to do anything to land the lead; Phil and Jay wind up in a golf-off with Mitch and Pepper; Gloria and Alex visit a
psychic.
    genre           : Comedy;Series
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : Ed O'Neill/Julie Bowen/Ty Burrell/Sofía Vergara/Jesse Tyler Ferguson/Eric Stonestreet/Sarah Hylan
d/Nolan Gould/Ariel Winter/Rico Rodriguez/Aubrey Anderson-Emmons;Jim Bagdonas;;Nathan Lane/Fred Willard/Reid Ewing/Piper
 Mackenzie Harris/Norma Maldonado/Nic
    service_provider: WTVDDT
    service_name    : WTVDDT (WTVD-DT)
    WM/MediaNetworkAffiliation: ABC Affiliate
    WM/MediaOriginalChannel: 1111
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 2013-02-06T05:00:00Z
    WM/MediaOriginalRunTime: 20358938924
    WM/MediaIsStereo: true
    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 : false
    WM/ParentalRating: TV-PG
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: true
    WM/WMRVEncodeTime: 2013-02-07 02:00:04
    WM/WMRVSeriesUID: !MCSeries!218237259
    WM/WMRVServiceID: !MCService!28457122
    WM/WMRVProgramID: !MCProgram!285240212
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 3
    WM/WMRVOriginalSoftPrePadding: 420
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 18562084171
    WM/WMRVEndTime  : 2013-02-07 02:31:00
    WM/WMRVBitrate  : 7.753845
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 295
    WM/WMRVActualSoftPostPadding: 0
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    encoder         : Lavf54.49.102
    Stream #0:0: Video: mpeg2video (mpg2 / 0x3267706D), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 59.94 fps, 10000k
tbn, 59.94 tbc
    Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 128 kb/s
Stream mapping:
  Stream #0:2 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (ac3 -> ac3)
Press [q] to stop, [?] for help
frame=  556 fps=0.0 q=-1.0 Lsize=    8996kB time=00:00:10.35 bitrate=7114.5kbits/s
video:8657kB audio:148kB subtitle:0 global headers:0kB muxing overhead 2.175829%

ffmpeg -i WTV-Extender-Issue.wtv -acodec copy -vcodec mpeg2video -qscale 10 out3.wtv
ffmpeg version N-48065-g6375318 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 21 2012 09:06:30 with gcc 4.7.2 (GCC)
  configuration: --enable-static --arch=x86 --target-os=mingw32 --cross-prefix=/home/rdp/dev/ffmpeg-windows-build-helper
s/sandbox/mingw-w64-i686/bin/i686-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-libtheo
ra --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-fontconfig --ena
ble-libass --enable-libutvideo --enable-libopus --disable-w32threads --enable-frei0r --enable-filter=frei0r --enable-lib
vo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopenc
ore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libbluray --enable-libvpx --enable-runtime-cpudetect

  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 81.100 / 54. 81.100
  libavformat    54. 49.102 / 54. 49.102
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 29.100 /  3. 29.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpeg2video @ 020ab040] mpeg_decode_postinit() failure
    Last message repeated 36 times
Input #0, wtv, from 'WTV-Extender-Issue.wtv':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : Modern Family
    WM/SubTitle     : A Slight at the Opera
    WM/SubTitleDescription: When the lead in the school's production of ``Phantom of the Opera'' gets sick, Manny is wil
ling to do anything to land the lead; Phil and Jay wind up in a golf-off with Mitch and Pepper; Gloria and Alex visit a
psychic.
    genre           : Comedy;Series
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : Ed O'Neill/Julie Bowen/Ty Burrell/Sofía Vergara/Jesse Tyler Ferguson/Eric Stonestreet/Sarah Hylan
d/Nolan Gould/Ariel Winter/Rico Rodriguez/Aubrey Anderson-Emmons;Jim Bagdonas;;Nathan Lane/Fred Willard/Reid Ewing/Piper
 Mackenzie Harris/Norma Maldonado/Nic
    service_provider: WTVDDT
    service_name    : WTVDDT (WTVD-DT)
    WM/MediaNetworkAffiliation: ABC Affiliate
    WM/MediaOriginalChannel: 1111
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 2013-02-06T05:00:00Z
    WM/MediaOriginalRunTime: 20358938924
    WM/MediaIsStereo: true
    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 : false
    WM/ParentalRating: TV-PG
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: true
    WM/WMRVEncodeTime: 2013-02-07 02:00:04
    WM/WMRVSeriesUID: !MCSeries!218237259
    WM/WMRVServiceID: !MCService!28457122
    WM/WMRVProgramID: !MCProgram!285240212
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 3
    WM/WMRVOriginalSoftPrePadding: 420
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 18562084171
    WM/WMRVEndTime  : 2013-02-07 02:31:00
    WM/WMRVBitrate  : 7.753845
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 295
    WM/WMRVActualSoftPostPadding: 0
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
  Duration: 00:29:51.50, start: 2.374407, bitrate: 46 kb/s
    Stream #0:0[0x10](eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:1[0x11](esl): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:2[0x12]: Video: mpeg2video (Main), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 59.94 fps, 60 tbr, 10000k tbn, 11
9.88 tbc
    Stream #0:3[0x13]: Subtitle: eia_608
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, wtv, to 'out3.wtv':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : Modern Family
    WM/SubTitle     : A Slight at the Opera
    WM/SubTitleDescription: When the lead in the school's production of ``Phantom of the Opera'' gets sick, Manny is wil
ling to do anything to land the lead; Phil and Jay wind up in a golf-off with Mitch and Pepper; Gloria and Alex visit a
psychic.
    genre           : Comedy;Series
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : Ed O'Neill/Julie Bowen/Ty Burrell/Sofía Vergara/Jesse Tyler Ferguson/Eric Stonestreet/Sarah Hylan
d/Nolan Gould/Ariel Winter/Rico Rodriguez/Aubrey Anderson-Emmons;Jim Bagdonas;;Nathan Lane/Fred Willard/Reid Ewing/Piper
 Mackenzie Harris/Norma Maldonado/Nic
    service_provider: WTVDDT
    service_name    : WTVDDT (WTVD-DT)
    WM/MediaNetworkAffiliation: ABC Affiliate
    WM/MediaOriginalChannel: 1111
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 2013-02-06T05:00:00Z
    WM/MediaOriginalRunTime: 20358938924
    WM/MediaIsStereo: true
    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 : false
    WM/ParentalRating: TV-PG
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: true
    WM/WMRVEncodeTime: 2013-02-07 02:00:04
    WM/WMRVSeriesUID: !MCSeries!218237259
    WM/WMRVServiceID: !MCService!28457122
    WM/WMRVProgramID: !MCProgram!285240212
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 3
    WM/WMRVOriginalSoftPrePadding: 420
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 18562084171
    WM/WMRVEndTime  : 2013-02-07 02:31:00
    WM/WMRVBitrate  : 7.753845
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 295
    WM/WMRVActualSoftPostPadding: 0
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    encoder         : Lavf54.49.102
    Stream #0:0: Video: mpeg2video (mpg2 / 0x3267706D), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 10000k t
bn, 60 tbc
    Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), 384 kb/s
Stream mapping:
  Stream #0:2 -> #0:0 (mpeg2video -> mpeg2video)
  Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
ac-tex damaged at 33 190.0 size=    2934kB time=00:00:09.55 bitrate=2516.9kbits/s dup=68 drop=0
[mpeg2video @ 020ab040] Warning MVs not available
[mpeg2video @ 020ab040] concealing 2080 DC, 2080 AC, 2080 MV errors in P frame
frame=  625 fps=125 q=10.0 Lsize=    3608kB time=00:00:10.40 bitrate=2842.0kbits/s dup=71 drop=0
video:3014kB audio:442kB subtitle:0 global headers:0kB muxing overhead 4.376411%

comment:5 follow-up: Changed 4 years ago by ramitbhalla

I'm not sure if it's related, but the wtv files created by FFMPEG play on Windows 7 but don't play on Windows 8.

comment:6 Changed 4 years ago by cehoyos

Please test current git head.

comment:7 in reply to: ↑ 5 Changed 4 years ago by cehoyos

Replying to ramitbhalla:

I'm not sure if it's related, but the wtv files created by FFMPEG play on Windows 7 but don't play on Windows 8.

Audio plays fine here with WMP on Windows 8, which player did you test?

comment:8 follow-up: Changed 4 years ago by ramitbhalla

Win 8 Media Center. WMP works, MCE doesn't. I'll try the latest git today

comment:9 in reply to: ↑ 8 Changed 4 years ago by cehoyos

Replying to ramitbhalla:

Win 8 Media Center. WMP works

I am sorry if I misunderstand: Does one of the output files work on Windows 8 Media Center? Here, video fails for all three files.

comment:10 Changed 4 years ago by ramitbhalla

I meant to say none of the 3 files work on Windows Media Center (it doesn't play it at all).

comment:11 Changed 4 years ago by ramitbhalla

Run with the 9th Feb zeronae build, still not working with the Extender.

comment:12 Changed 4 years ago by cehoyos

So you get no audio on Windows Media Player on Windows 8?

comment:13 Changed 4 years ago by ramitbhalla

With the feb 9th build The ffmpeg WTV file plays on Win 8 WMP audio and video but it not play on Win 8 MCE at all.

comment:14 Changed 4 years ago by cehoyos

  • Component changed from undetermined to avformat
  • Status changed from new to open
  • Version changed from unspecified to git-master

comment:15 Changed 3 years ago by ramitbhalla

here's another interesting things. once I install ffdshow, wtv files created by ffmpeg crash windows media player (on windows 7) but WMP plays native WTV files properly.
There's something funny about the wtv files created by ffmpeg which is causing WMP to crash.

comment:16 follow-up: Changed 3 years ago by cehoyos

Could you test if this is still reproducible with current git head?

comment:17 in reply to: ↑ 16 Changed 3 years ago by cehoyos

Replying to cehoyos:

Could you test if this is still reproducible with current git head?

Ping.

comment:18 Changed 3 years ago by ramitbhalla

it's working fine on WMP in Win 7 and on win 8, I don't have access to Extender right now but will get it tested from one of the users.

comment:19 follow-up: Changed 3 years ago by ramitbhalla

It appears to be working with the extender in some cases, investigating it further.

comment:20 in reply to: ↑ 19 Changed 2 years ago by pross

  • Resolution set to fixed
  • Status changed from open to closed

comment:21 Changed 2 years ago by ramitbhalla

  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopening this ticket.

This ticket fixes the issue with mpeg2video in WTV not playing in the XBox extender.
However h.264 in WTV still does not play with the extender (it play on WMP and MCE).

comment:22 Changed 2 years ago by cncb

I am also having trouble with WTV files created with H.264 video. I get audio but no video when trying to play back on the XBOX 360. See this similar bug report for MCEBuddy where they claim that a custom build of ffmpeg was necessary since it wasn't writing headers properly for WTV: http://mcebuddy2x.codeplex.com/workitem/1786

comment:23 Changed 2 years ago by cncb

Is there any way you could incorporate the fixes from the custom ffmpeg build that MCEBuddy has?

comment:24 Changed 2 years ago by cehoyos

  • Cc cncb added

Could you point me to the patch fixing the problem?

comment:25 Changed 2 years ago by cncb

I wish I could but all I know is what is stated in the link above. I'm not even sure how to contact them.

comment:26 Changed 2 years ago by cehoyos

@Ramit: Could you explain?

comment:27 Changed 2 years ago by ramitbhalla

@cncb - do you have a working sample of H.264 that works on XBox 360 and one encoded using MCEBuddy that does not?

comment:28 Changed 2 years ago by cncb

@ramitbhalla: Unfortunately, no. You have to pay for the newest version of MCEBuddy and the free/trial version is an older version that does not have the fix in it. The bug report in the link sounds like the same problem I am having, but I can't verify that the fix works for me.

comment:29 Changed 2 years ago by cncb

Do either of you know someone at MCEBuddy that can share the fix in their custom ffmpeg build?

comment:30 Changed 2 years ago by cehoyos

Could somebody confirm that this is an issue with current FFmpeg git head but not with FFmpeg shipped with MCEBuddy?

comment:31 Changed 2 years ago by cncb

If there is a Windows build available for the current FFmpeg git head I can confirm if it still is an issue and can post links to a sample file. Hopefully someone else can try it with MCEBuddy.

comment:32 Changed 2 years ago by ramitbhalla

Use the static versions:

http://ffmpeg.zeranoe.com/builds/

comment:33 Changed 2 years ago by cncb

Unfortunately, still the same problem with the Aug 27 ffmpeg git build. I have posted sample files here: http://1drv.ms/1kCVSSW

The M2TS file is the original source file that plays both audio and video on the 360.
The MKV file is a direct stream copy/remux with mkvmerge that plays both audio and video on the 360.
The WTV file is a direct stream copy/remux with ffmpeg that just plays audio (blank screen) on the 360.

Note that WMC does not detect the length of the WTV file so this may be part of the problem? Hopefully someone can do a direct stream copy/remux with v 2.3.15 of MCEBuddy and share it to see if the problem is resolved there.

comment:34 Changed 2 years ago by ramitbhalla

  • Cc ramitbhalla@gmail.com added

comment:35 Changed 2 years ago by ramitbhalla

Confirmed this still the case with H.264 WTV in xbox 360 (works with MCE/WMP though)

comment:36 Changed 2 years ago by cncb

@ramitbhalla: Confirmed with ffmpeg or MCEBuddy?

comment:37 Changed 2 years ago by ramitbhalla

MCEBuddy

comment:38 Changed 2 years ago by cncb

So, I guess either they didn't fix it as they thought or it was a slightly different problem that they fixed (although it sounds exactly the same). Any hope now in getting this fixed in ffmpeg?

comment:39 Changed 2 years ago by cncb

I added another WTV sample file that does play properly on the 360. This was the same source file remuxed with VideoRedo? and other than having the correct duration, I can't determine what is different with this WTV that allows it to play properly (MediaInfo? confirms that a straight remux was performed with no re-encoding). Hopefully someone can figure out what the ffmpeg-created sample is missing.

comment:40 Changed 23 months ago by cncb

I see that in the VideoRedo? options it has a "Move MOOV atom to beginning of file" option so maybe this has something to do with it? I wish I did but does anyone have the expertise to figure out what it different/missing with the ffmpeg remux? Or should I give up on this?

comment:41 Changed 23 months ago by ramitbhalla

@Peter any thoughts?

comment:42 Changed 19 months ago by ramitbhalla

@cehoyos - question, not sure if this is the right place. Is there a way to put a bounty on requesting a fix for this bug?

comment:43 Changed 19 months ago by llogan

You can provide details in a comment, or use Bountysource if you prefer:

<https://www.bountysource.com/issues/1414468-wtv-files-created-by-ffmpeg-do-not-playback-on-xbox-360-extender>

If you do offer a bounty, please add the "bounty" keyword (under "Modify Ticket).

comment:44 Changed 19 months ago by ramitbhalla

thanks, so I would like to offer a bounty of $300 for a fix. this's one been around and I know it may be a hard one so here's my support for it.

comment:45 Changed 19 months ago by ramitbhalla

  • Keywords bounty added

comment:46 Changed 19 months ago by ramitbhalla

Can I raise the bounty to $500? Anyone else want to support this? Would love to see this work @Peter :)

comment:47 Changed 16 months ago by al3x

I have made a patch to fix some inconsistency I've seen, but have no ways to test it. Are you willing to test?

comment:48 Changed 16 months ago by ramitbhalla

Yes absolutely. And if fixes the issue and committed I am still good on the bounty.
Can you explain what inconsistency you've seen and the proposed fix?

comment:49 Changed 16 months ago by al3x

Stream IDs in the alternative headers weren't consistent. (I am not even sure those alternative stream definition headers are a necessity.) I've looked into it like a month ago and seems like I've lost the patch, but remember a few details so trying to rebuild it.

If I post patch against git here are you able to compile and test with that?

Last edited 16 months ago by al3x (previous) (diff)

comment:50 Changed 16 months ago by al3x

  • Cc alex@rtfs.hu added

comment:51 Changed 16 months ago by ramitbhalla

yes I can compile against the git head. I've never patched before so if you can guide on me how to integrate the patch into the build script or some way to patch it manually that would be great.

comment:52 Changed 16 months ago by al3x

You can patch it with the following command run in the ffmpeg directory:

patch -p0 < wtv.patch

Please run it first on files with single audio and video streams (one each).

comment:53 follow-ups: Changed 16 months ago by ramitbhalla

@al3x that didn't work, infact it broke it all, no converted file is playing back on WMP or MCE (single audio, multi audio none)

Changed 16 months ago by al3x

comment:54 in reply to: ↑ 53 Changed 16 months ago by al3x

Replying to ramitbhalla:

@al3x that didn't work, infact it broke it all, no converted file is playing back on WMP or MCE (single audio, multi audio none)

Sorry there was a mistake in the patch. Replaced it with the correct one.

comment:55 in reply to: ↑ 53 Changed 15 months ago by al3x

@ramitbhalla: did you had a chance to look into this? Still interested to fix it.

comment:56 Changed 15 months ago by ramitbhalla

Yes definitely interested in the fix, am still good for it.

Sorry been a little busy, am a little confused by the results so am still testing it.
This one seems to work fine on WMP and MCE, however with the 360 it works with mpeg2video (like the existing one) but with libx264 it doesn't work (like the existing one).
The confusion I have is I've been able to get the existing code work with 360 but can't seem to do it consistently, so am checking what settings I changed while testing it. Once I get that I'll put back here and maybe you can reconcile the difference to see why it works one way and not the other.

Great work, though could you explain what you did here?

comment:57 Changed 15 months ago by al3x

There are multiple (3 of them, call them A, B and C) stream descriptors written into each file. FFmpeg when reading the file only uses two (A, B); when writing it only writes (A, C).

One of them (C) seemed to have used wrong stream ids and I hoped that is what Xbox is trying to use. Apparently not. Next steps can be disabling those headers and leaving only A, B, or C on and seeing which player works with which version. From there on we can nail down the bug.

comment:58 Changed 15 months ago by ramitbhalla

Okay lets give it a shot, infact if you can give me the 'x' patches I can compile them together so we have a common code base to work off for all the test.

comment:59 Changed 15 months ago by al3x

Another thing is if you get it working with H264 please keep two samples, one working and one not so I can compare them and see what's the difference.

comment:60 Changed 14 months ago by pross

Have you found a solution yet?

comment:61 Changed 14 months ago by ramitbhalla

@al3x - sorry false alarm on the working sample, it was mpeg2 and not h.264.

Let me know if you have any other ideas here.

comment:62 Changed 14 months ago by ramitbhalla

Summarizing
While your patch in itself is working (like the existing code), I can't tell the difference (yet atleast) between the existing code and patch.

Note: See TracTickets for help on using tickets.