[FFmpeg-trac] #7510(undetermined:new): Streamcopy of private stream produces empty output
FFmpeg
trac at avcodec.org
Tue Nov 6 22:29:19 EET 2018
#7510: Streamcopy of private stream produces empty output
-------------------------------------+-------------------------------------
Reporter: msiders | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: git-master | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by msiders):
Hi,
I isolated the problem with the '''demuxer''' (mpegts). So the problem is
not the ''muxer''.
Here one command to reproduce the problem:
{{{
% ffmpeg \
-f mpegts -i file.ts \
-map i:109 \
-codec copy \
-f data file-out.raw
}}}
In this case the pid 109 is the one with the private data. And when
executing it the "file-out.raw" is '''empty'''. So the problem is that the
demuxer doesn't read "private data" streams.
The output is:
{{{
Input #0, mpegts, from 'file.ts':
Duration: 00:10:27.88, start: 8592.918144, bitrate: 20857 kb/s
Program 201
Metadata:
service_name : Program 1
service_provider: FFMPEG
Stream #0:0[0x064]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 2
5 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1[0x065](qaa): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, fltp, 192 kb/s
Stream #0:2[0x069](eng,eng): Subtitle: dvb_teletext ([6][0][0][0] /
0x0006)
Stream #0:3[0x06d]: Data: bin_data ([6][0][0][0] / 0x0006)
File 'file-out.raw' already exists. Overwrite ? [y/N] y
Output #0, data, to 'file-out.raw':
Metadata:
encoder : Lavf58.22.100
Stream #0:0: Data: bin_data ([6][0][0][0] / 0x0006)
Stream mapping:
Stream #0:3 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames
parameters if used)
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7510#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list