Ticket #1952 (new defect)
FFMPEG not able to copy empty audio stream in wtv
| Reported by: | ramitbhalla | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | undetermined |
| Version: | git-master | Keywords: | wtv ac3 |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Summary of the bug: When trying to copy audio streams it reports the audio stream as 0 channels and then fails to copy the stream.
How to reproduce:
ffmpeg.x86.exe -i broken_remux.wtv -codec copy -map 0:a out.ts
ffmpeg version N-46726-g2f74f8d Copyright (c) 2000-2012 the FFmpeg developers
built on Nov 13 2012 19:29:51 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runtime-cpudetect --enable-avisynth --enable
-bzlib --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enab
le-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroed
inger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-li
bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 6.100 / 52. 6.100
libavcodec 54. 71.100 / 54. 71.100
libavformat 54. 36.100 / 54. 36.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 23.100 / 3. 23.100
libswscale 2. 1.102 / 2. 1.102
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
[wtv @ 01f7af20] reported file length (0x4fd7094c) exceeds number of available sectors (0x40000000)
[mpeg2video @ 03cd5cc0] mpeg_decode_postinit() failure
Last message repeated 18 times
[wtv @ 01f7af20] Could not find codec parameters for stream 2 (Audio: ac3, 0 channels, s16): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, wtv, from 'broken_remux.wtv':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
Title : Covert Affairs
WM/SubTitle : Scary Monsters (and Super Creeps)
genre : Drama;General;Series
WM/OriginalReleaseTime: 0
WM/MediaCredits : Piper Perabo/Christopher Gorham/Peter Gallagher/Anne Dudek/Kari Matchett;;;
service_provider: USA
service_name : USA Network
WM/MediaNetworkAffiliation: Satellite
WM/MediaOriginalChannel: 35
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 2012-11-06T06:00:00Z
WM/MediaOriginalRunTime: 36583578040
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 : false
WM/ParentalRating: TV-PG
WM/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: true
WM/WMRVEncodeTime: 2012-11-07 03:00:01
WM/WMRVSeriesUID: !MCSeries!236524124
WM/WMRVServiceID: !MCService!28459373
WM/WMRVProgramID: !MCProgram!281435509
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 1
WM/WMRVOriginalSoftPrePadding: 300
WM/WMRVOriginalSoftPostPadding: 0
WM/WMRVHardPrePadding: -300
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: true
WM/WMRVDTVContent: true
WM/WMRVHDContent: false
Duration : 36586250864
WM/WMRVEndTime : 2012-11-07 04:01:00
WM/WMRVBitrate : 2.930237
WM/WMRVKeepUntil: -1
WM/WMRVActualSoftPrePadding: 298
WM/WMRVActualSoftPostPadding: 0
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: 310
WM/MediaThumbStride: 1056
WM/MediaThumbRet: 0
WM/MediaThumbRatingSystem: 9
WM/MediaThumbRatingLevel: 10
WM/MediaThumbRatingAttributes: 0
WM/MediaThumbAspectRatioX: 4
WM/MediaThumbAspectRatioY: 3
WM/MediaThumbTimeStamp: 4644421659667696459
Duration: 00:40:32.01, start: 12135.221998, bitrate: 6 kb/s
Stream #0:0[0x30]: Subtitle: eia_608
Stream #0:1[0x31]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Stream #0:2[0x32]: Audio: ac3, 0 channels, s16
Stream #0:3[0x33]: Video: mpeg2video (Main), yuv420p, 544x480 [SAR 20:17 DAR 4:3], 29.97 fps, 29.97 tbr, 10000k tbn,
59.94 tbc
Stream #0:4[0x0]: Attachment: mjpeg
Metadata:
title : TV Thumbnail
[mpegts @ 03f08520] sample rate not set
Output #0, mpegts, to 'out.ts':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
Title : Covert Affairs
WM/SubTitle : Scary Monsters (and Super Creeps)
genre : Drama;General;Series
WM/OriginalReleaseTime: 0
WM/MediaCredits : Piper Perabo/Christopher Gorham/Peter Gallagher/Anne Dudek/Kari Matchett;;;
service_provider: USA
service_name : USA Network
WM/MediaNetworkAffiliation: Satellite
WM/MediaOriginalChannel: 35
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 2012-11-06T06:00:00Z
WM/MediaOriginalRunTime: 36583578040
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 : false
WM/ParentalRating: TV-PG
WM/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: true
WM/WMRVEncodeTime: 2012-11-07 03:00:01
WM/WMRVSeriesUID: !MCSeries!236524124
WM/WMRVServiceID: !MCService!28459373
WM/WMRVProgramID: !MCProgram!281435509
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 1
WM/WMRVOriginalSoftPrePadding: 300
WM/WMRVOriginalSoftPostPadding: 0
WM/WMRVHardPrePadding: -300
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: true
WM/WMRVDTVContent: true
WM/WMRVHDContent: false
Duration : 36586250864
WM/WMRVEndTime : 2012-11-07 04:01:00
WM/WMRVBitrate : 2.930237
WM/WMRVKeepUntil: -1
WM/WMRVActualSoftPrePadding: 298
WM/WMRVActualSoftPostPadding: 0
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: 310
WM/MediaThumbStride: 1056
WM/MediaThumbRet: 0
WM/MediaThumbRatingSystem: 9
WM/MediaThumbRatingLevel: 10
WM/MediaThumbRatingAttributes: 0
WM/MediaThumbAspectRatioX: 4
WM/MediaThumbAspectRatioY: 3
WM/MediaThumbTimeStamp: 4644421659667696459
Stream #0:0: Audio: ac3, 48000 Hz, stereo, 192 kb/s
Stream #0:1: Audio: ac3, 0 channels
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Stream #0:2 -> #0:1 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Ideally it should copy the stream, and if there is an issue then anyways it should not fail, maybe skip the stream
Attachments
Change History
Changed 7 months ago by ramitbhalla
-
attachment
broken_remux.wtv
added
comment:1 Changed 7 months ago by cehoyos
- Keywords wtv ac3 added
- Version changed from unspecified to git-master
- Summary changed from FFMPEG not able to copy audio streams from WTV to TS to FFMPEG not able to copy empty audio stream in wtv
This is not necessarily a bug:
FFmpeg cannot copy streams that are detected but not correctly identified (like stream 0:1 in this case). The question is therefore: Is it a bug that the stream is detected (is there actually no stream)? Or is there any software that correctly identifies (plays) the second audio stream?
If there is a bug (in the wtv demuxer or the ac3 decoder) it is certainly not mpeg-ts related: You can reproduce the problem with the following command line:
$ ffmpeg -i broken_remux.wtv -map 0:2 -acodec copy out.ac3
comment:2 Changed 7 months ago by ramitbhalla
Same issue
ffmpeg.x86.exe -i broken_remux.wtv -map 0:2 -acodec copy out.ac3
ffmpeg version N-46726-g2f74f8d Copyright (c) 2000-2012 the FFmpeg developers
built on Nov 13 2012 19:29:51 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runtime-cpudetect --enable-avisynth --enable
-bzlib --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enab
le-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroed
inger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-li
bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 6.100 / 52. 6.100
libavcodec 54. 71.100 / 54. 71.100
libavformat 54. 36.100 / 54. 36.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 23.100 / 3. 23.100
libswscale 2. 1.102 / 2. 1.102
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
[wtv @ 01edaf20] reported file length (0x4fd7094c) exceeds number of available sectors (0x40000000)
[mpeg2video @ 02cc5cc0] mpeg_decode_postinit() failure
Last message repeated 18 times
[wtv @ 01edaf20] Could not find codec parameters for stream 2 (Audio: ac3, 0 channels, s16): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, wtv, from 'broken_remux.wtv':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
Title : Covert Affairs
WM/SubTitle : Scary Monsters (and Super Creeps)
genre : Drama;General;Series
WM/OriginalReleaseTime: 0
WM/MediaCredits : Piper Perabo/Christopher Gorham/Peter Gallagher/Anne Dudek/Kari Matchett;;;
service_provider: USA
service_name : USA Network
WM/MediaNetworkAffiliation: Satellite
WM/MediaOriginalChannel: 35
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 2012-11-06T06:00:00Z
WM/MediaOriginalRunTime: 36583578040
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 : false
WM/ParentalRating: TV-PG
WM/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: true
WM/WMRVEncodeTime: 2012-11-07 03:00:01
WM/WMRVSeriesUID: !MCSeries!236524124
WM/WMRVServiceID: !MCService!28459373
WM/WMRVProgramID: !MCProgram!281435509
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 1
WM/WMRVOriginalSoftPrePadding: 300
WM/WMRVOriginalSoftPostPadding: 0
WM/WMRVHardPrePadding: -300
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: true
WM/WMRVDTVContent: true
WM/WMRVHDContent: false
Duration : 36586250864
WM/WMRVEndTime : 2012-11-07 04:01:00
WM/WMRVBitrate : 2.930237
WM/WMRVKeepUntil: -1
WM/WMRVActualSoftPrePadding: 298
WM/WMRVActualSoftPostPadding: 0
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: 310
WM/MediaThumbStride: 1056
WM/MediaThumbRet: 0
WM/MediaThumbRatingSystem: 9
WM/MediaThumbRatingLevel: 10
WM/MediaThumbRatingAttributes: 0
WM/MediaThumbAspectRatioX: 4
WM/MediaThumbAspectRatioY: 3
WM/MediaThumbTimeStamp: 4644421659667696459
Duration: 00:40:32.01, start: 12135.221998, bitrate: 6 kb/s
Stream #0:0[0x30]: Subtitle: eia_608
Stream #0:1[0x31]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Stream #0:2[0x32]: Audio: ac3, 0 channels, s16
Stream #0:3[0x33]: Video: mpeg2video (Main), yuv420p, 544x480 [SAR 20:17 DAR 4:3], 29.97 fps, 29.97 tbr, 10000k tbn,
59.94 tbc
Stream #0:4[0x0]: Attachment: mjpeg
Metadata:
title : TV Thumbnail
[ac3 @ 03f98520] sample rate not set
Output #0, ac3, to 'out.ac3':
Metadata:
WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
Title : Covert Affairs
WM/SubTitle : Scary Monsters (and Super Creeps)
genre : Drama;General;Series
WM/OriginalReleaseTime: 0
WM/MediaCredits : Piper Perabo/Christopher Gorham/Peter Gallagher/Anne Dudek/Kari Matchett;;;
service_provider: USA
service_name : USA Network
WM/MediaNetworkAffiliation: Satellite
WM/MediaOriginalChannel: 35
WM/MediaOriginalChannelSubNumber: 0
WM/MediaOriginalBroadcastDateTime: 2012-11-06T06:00:00Z
WM/MediaOriginalRunTime: 36583578040
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 : false
WM/ParentalRating: TV-PG
WM/Provider : MediaCenterDefault
WM/VideoClosedCaptioning: true
WM/WMRVEncodeTime: 2012-11-07 03:00:01
WM/WMRVSeriesUID: !MCSeries!236524124
WM/WMRVServiceID: !MCService!28459373
WM/WMRVProgramID: !MCProgram!281435509
WM/WMRVRequestID: 0
WM/WMRVScheduleItemID: 0
WM/WMRVQuality : 1
WM/WMRVOriginalSoftPrePadding: 300
WM/WMRVOriginalSoftPostPadding: 0
WM/WMRVHardPrePadding: -300
WM/WMRVHardPostPadding: 0
WM/WMRVATSCContent: true
WM/WMRVDTVContent: true
WM/WMRVHDContent: false
Duration : 36586250864
WM/WMRVEndTime : 2012-11-07 04:01:00
WM/WMRVBitrate : 2.930237
WM/WMRVKeepUntil: -1
WM/WMRVActualSoftPrePadding: 298
WM/WMRVActualSoftPostPadding: 0
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: 310
WM/MediaThumbStride: 1056
WM/MediaThumbRet: 0
WM/MediaThumbRatingSystem: 9
WM/MediaThumbRatingLevel: 10
WM/MediaThumbRatingAttributes: 0
WM/MediaThumbAspectRatioX: 4
WM/MediaThumbAspectRatioY: 3
WM/MediaThumbTimeStamp: 4644421659667696459
Stream #0:0: Audio: ac3, 0 channels
Stream mapping:
Stream #0:2 -> #0:0 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
comment:3 Changed 7 months ago by pross
Just to extend what cehoyos said. The second audio stream contains no data. There are no reliable flags in the WTV file format that indicate when a stream contains no data.
Stream #0:2[0x32]: Audio: ac3, 0 channels, s16
This ticket should be recast as an suggested feature, i.e. give the user a warning when he/she attempts to manipulate a stream that is potentially empty.
comment:4 Changed 7 months ago by ramitbhalla
Ideally it should not copy it, skip it - whether it chooses to show it or not is debatable, I would suggest since it doesn't exist it should not show it at all. Afterall if it doesn't exist it should just show an warning and move on as though it never existed and continue, but it shouldn't fail.
We can't control what *Microsoft* does but we can ensure that we don't fail where possible.
comment:5 Changed 6 months ago by ramitbhalla
Folks - any thoughts on this? It's driving me crazy, I'm not able to convert files because ffmpeg keeps bugging out on Audio Tracks with zero channels.
I'm facing the same issue with TS files also - attaching a sample.
Very frustrating issue, I'm trying to cut a section of the video and it just bugs out because of this zero channel audio track.
There should be some way to continue the stream copy and not FAIL because of a invalid track. This isn't just a microsoft issue, it looks like other media recorders also also creating this zero track audio channel fro some reason.
Can FFMPEG throw a warning or put a flag like -ignoreInvalidTracks to skip over these channels?
Here's the output
ffmpeg -i zeroAudioChannel.ts -map 0:a -map 0:v -vcodec copy -acodec copy test-out.ts
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
[mpegts @ 01e1c920] PES packet size mismatch
Last message repeated 1 times
[mpeg2video @ 01e1d0e0] mpeg_decode_postinit() failure
Last message repeated 2 times
[mp1 @ 02ccace0] Header missing
[mpeg2video @ 01e1d0e0] mpeg_decode_postinit() failure
Last message repeated 3 times
[mp1 @ 02ccace0] Header missing
[mpeg2video @ 01e1d0e0] mpeg_decode_postinit() failure
Last message repeated 3 times
[mp1 @ 02ccace0] Header missing
[mpeg2video @ 01e1d0e0] mpeg_decode_postinit() failure
Last message repeated 2 times
[mp1 @ 02ccace0] Header missing
Last message repeated 3 times
[mpegts @ 01e1c920] Could not find codec parameters for stream 3 (Unknown: none (TVG1 / 0x31475654)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 01e1c920] decoding for stream 4 failed
[mpegts @ 01e1c920] Could not find codec parameters for stream 4 (Audio: mp1 ([6][0][0][0] / 0x0006), 0 channels, s16p):
unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 02cca4e0] start time is not set in estimate_timings_from_pts
[NULL @ 02ccace0] start time is not set in estimate_timings_from_pts
[mpegts @ 01e1c920] PES packet size mismatch
Input #0, mpegts, from 'zeroAudioChannel.ts':
Duration: 00:00:01.26, start: 93213.317522, bitrate: 13338 kb/s
Program 1
Stream #0:0[0x31]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fp
s, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x33](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream #0:2[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:3[0x111]: Unknown: none (TVG1 / 0x31475654)
Stream #0:4[0x110]: Audio: mp1 ([6][0][0][0] / 0x0006), 0 channels, s16p
[mpegts @ 0398e020] sample rate not set
Output #0, mpegts, to 'test-out.ts':
Stream #0:0(eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), 384 kb/s
Stream #0:1(eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, 192 kb/s
Stream #0:2: Audio: mp1 ([6][0][0][0] / 0x0006), 0 channels
Stream #0:3: Video: mpeg2video ([2][0][0][0] / 0x0002), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 90
k tbn, 29.97 tbc
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Stream #0:2 -> #0:1 (copy)
Stream #0:4 -> #0:2 (copy)
Stream #0:0 -> #0:3 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument



WTV to TS copy Audio streams broken