[FFmpeg-trac] #1798(avformat:open): ffplay won't play audio from mpeg-ts file/stream
FFmpeg
trac at avcodec.org
Wed Oct 10 16:12:11 CEST 2012
#1798: ffplay won't play audio from mpeg-ts file/stream
------------------------------------+------------------------------------
Reporter: skrull | Owner:
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: mpegts | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Changes (by cehoyos):
* status: new => open
* reproduced: 0 => 1
Comment:
Work-around is to use -acodec mp2:
{{{
$ ffmpeg -acodec mp2 -i multishow-hd.ts
ffmpeg version N-45217-gb6f435f Copyright (c) 2000-2012 the FFmpeg
developers
built on Oct 9 2012 21:23:23 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 51. 74.100 / 51. 74.100
libavcodec 54. 65.100 / 54. 65.100
libavformat 54. 31.100 / 54. 31.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 19.102 / 3. 19.102
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
[h264 @ 0x1765220] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1765220] non-existing PPS referenced
[h264 @ 0x1765220] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1765220] non-existing PPS 0 referenced
[h264 @ 0x1765220] decode_slice_header error
[h264 @ 0x1765220] no frame!
[mpegts @ 0x1761360] PES packet size mismatch
Input #0, mpegts, from 'multishow-hd.ts':
Duration: 00:00:18.20, start: 16706.124278, bitrate: 9070 kb/s
Program 1
Stream #0:0[0x1043]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tbn,
59.94 tbc
Stream #0:1[0x1041](por): Audio: mp2 ([129][0][0][0] / 0x0081), 48000
Hz, stereo, s16, 384 kb/s
At least one output file must be specified
}}}
tvheadend has a transport stream muxer, so it is theoretically possible
that the software is writing the broken stream (and not the television
provider). Do you have another possibility to record a few seconds
directly from dvb?
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1798#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list