Opened 11 years ago

Last modified 9 years ago

#2252 reopened defect

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

Reported by: ramitb 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 9 years ago.

Download all attachments as: .zip

Change History (63)

comment:1 by ramitb, 11 years ago

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

comment:2 by Carl Eugen Hoyos, 11 years ago

Keywords: wtv added

comment:3 by Carl Eugen Hoyos, 11 years ago

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 mpeg2video -qscale 10 out3.wtv", test out3.wtv and if it does not play, provide the complete, uncut console output.

Last edited 11 years ago by Carl Eugen Hoyos (previous) (diff)

comment:4 by ramitb, 11 years ago

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 by ramitb, 11 years ago

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 by Carl Eugen Hoyos, 11 years ago

Please test current git head.

in reply to:  5 comment:7 by Carl Eugen Hoyos, 11 years ago

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 by ramitb, 11 years ago

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

in reply to:  8 comment:9 by Carl Eugen Hoyos, 11 years ago

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 by ramitb, 11 years ago

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

comment:11 by ramitb, 11 years ago

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

comment:12 by Carl Eugen Hoyos, 11 years ago

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

comment:13 by ramitb, 11 years ago

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 by Carl Eugen Hoyos, 11 years ago

Component: undeterminedavformat
Status: newopen
Version: unspecifiedgit-master

comment:15 by ramitb, 11 years ago

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 by Carl Eugen Hoyos, 10 years ago

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

in reply to:  16 comment:17 by Carl Eugen Hoyos, 10 years ago

Replying to cehoyos:

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

Ping.

comment:18 by ramitb, 10 years ago

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 by ramitb, 10 years ago

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

in reply to:  19 comment:20 by pross, 10 years ago

Resolution: fixed
Status: openclosed

comment:21 by ramitb, 10 years ago

Resolution: fixed
Status: closedreopened

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 by cncb, 10 years ago

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 by cncb, 10 years ago

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

comment:24 by Carl Eugen Hoyos, 10 years ago

Cc: cncb added

Could you point me to the patch fixing the problem?

comment:25 by cncb, 10 years ago

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 by Carl Eugen Hoyos, 10 years ago

@Ramit: Could you explain?

comment:27 by ramitb, 10 years ago

@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 by cncb, 10 years ago

@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 by cncb, 10 years ago

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

comment:30 by Carl Eugen Hoyos, 10 years ago

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

comment:31 by cncb, 10 years ago

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 by ramitb, 10 years ago

Use the static versions:

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

comment:33 by cncb, 10 years ago

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 by ramitb, 10 years ago

Cc: ramitbhalla@gmail.com added

comment:35 by ramitb, 10 years ago

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

comment:36 by cncb, 9 years ago

@ramitbhalla: Confirmed with ffmpeg or MCEBuddy?

comment:37 by ramitb, 9 years ago

MCEBuddy

comment:38 by cncb, 9 years ago

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 by cncb, 9 years ago

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 by cncb, 9 years ago

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 by ramitb, 9 years ago

@Peter any thoughts?

comment:42 by ramitb, 9 years ago

@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 by llogan, 9 years ago

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 by ramitb, 9 years ago

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 by ramitb, 9 years ago

Keywords: bounty added

comment:46 by ramitb, 9 years ago

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

comment:47 by al3x, 9 years ago

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 by ramitb, 9 years ago

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 by al3x, 9 years ago

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 9 years ago by al3x (previous) (diff)

comment:50 by al3x, 9 years ago

Cc: alex@rtfs.hu added

comment:51 by ramitb, 9 years ago

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 by al3x, 9 years ago

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 by ramitb, 9 years ago

@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)

by al3x, 9 years ago

Attachment: wtv.patch added

in reply to:  53 comment:54 by al3x, 9 years ago

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.

in reply to:  53 comment:55 by al3x, 9 years ago

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

comment:56 by ramitb, 9 years ago

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 by al3x, 9 years ago

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 by ramitb, 9 years ago

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 by al3x, 9 years ago

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 by pross, 9 years ago

Have you found a solution yet?

comment:61 by ramitb, 9 years ago

@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 by ramitb, 9 years ago

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.