#6573: lost sound when timestamp discontinuity appears with HLC encoder ------------------------------------+------------------------------------ Reporter: krs_vital | Owner: Type: defect | Status: new Priority: normal | Component: avformat Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------
Comment (by cehoyos): I tested the following: {{{ $ ffmpeg -i udp://@239.192.100.100:1234 -c copy -t 90 out.ts }}} and in another console {{{ $ multicat -t 10 ./Shant_Premium.ts 239.192.100.100 }}} The output file out.ts plays as good as Shant_Premium.ts with FFplay, I can hear audio for approximately 90 seconds. Console output: {{{ $ ffmpeg -i udp://@239.192.100.100:1234 -c copy -t 90 out.ts ffmpeg version N-87001-gf454416 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 6.3.0 (GCC) configuration: --enable-gpl libavutil 55. 74.100 / 55. 74.100 libavcodec 57.102.100 / 57.102.100 libavformat 57. 76.100 / 57. 76.100 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 99.100 / 6. 99.100 libswscale 4. 7.102 / 4. 7.102 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 [h264 @ 0x37db540] non-existing SPS 0 referenced in buffering period [h264 @ 0x37db540] SPS unavailable in decode_picture_timing [h264 @ 0x37db540] non-existing PPS 0 referenced [h264 @ 0x37db540] non-existing SPS 0 referenced in buffering period [h264 @ 0x37db540] SPS unavailable in decode_picture_timing [h264 @ 0x37db540] non-existing PPS 0 referenced [h264 @ 0x37db540] decode_slice_header error [h264 @ 0x37db540] no frame! ... [h264 @ 0x37db540] non-existing SPS 0 referenced in buffering period [h264 @ 0x37db540] SPS unavailable in decode_picture_timing [h264 @ 0x37db540] non-existing PPS 0 referenced [h264 @ 0x37db540] non-existing SPS 0 referenced in buffering period [h264 @ 0x37db540] SPS unavailable in decode_picture_timing [h264 @ 0x37db540] non-existing PPS 0 referenced [h264 @ 0x37db540] decode_slice_header error [h264 @ 0x37db540] no frame! Input #0, mpegts, from 'udp://@239.192.100.100:1234': Duration: N/A, start: 39165.377300, bitrate: N/A Program 50 Metadata: service_name : Shant Premium HD service_provider: Shant TV Stream #0:0[0x1f5]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x1f6](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s Output #0, mpegts, to 'out.ts': Metadata: encoder : Lavf57.76.100 Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 50 tbr, 90k tbn, 90k tbc Stream #0:1(eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help [mpegts @ 0x37b63e0] PES packet size mismatchme=00:00:37.46 bitrate=3750.7kbits/s speed=0.914x frame= 3909 fps= 41 q=-1.0 Lsize= 39481kB time=00:01:29.98 bitrate=3594.4kbits/s speed=0.947x video:34744kB audio:1406kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 9.214217% }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/6573#comment:10> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://ffmpeg.org/mailman/listinfo/ffmpeg-trac