[FFmpeg-trac] #9102(undetermined:new): make HLS from multicast with ac3 audio track which have 0 channels
FFmpeg
trac at avcodec.org
Tue Feb 16 11:58:27 EET 2021
#9102: make HLS from multicast with ac3 audio track which have 0 channels
-------------------------------------+-------------------------------------
Reporter: krs_vital | Owner:
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: ac3 | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by stevenliu):
Replying to [comment:2 krs_vital]:
> i cant record with ffmpeg becouse it cut stream with 0 channels:
Can i think this is not hls problem, it should happen in mpegts or udp?
>
> ffmpeg -i udp://239.192.39.3:1234 -c copy /var/db/stream.ts
>
> [mpegts @ 0x3027e00] Could not find codec parameters for stream 3
(Audio: ac3 (AC-3 / 0x332D4341), 0 channels, fltp): unspecified sample
rate
> Consider increasing the value for the 'analyzeduration' (0) and
'probesize' (5000000) options
> Input #0, mpegts, from 'udp://239.192.39.3:1234':
> Duration: N/A, start: 75125.665644, bitrate: N/A
> Program 17104
> Metadata:
> service_name : VIP Premiere
> service_provider: HTB+
> Stream #0:1[0x130]: Video: h264 (High) ([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:2[0x194](rus): Audio: mp2 ([3][0][0][0] / 0x0003), 48000
Hz, stereo, fltp, 192 kb/s
> Stream #0:3[0x1a8](rus): Audio: ac3 (AC-3 / 0x332D4341), 0 channels,
fltp
> Stream #0:4[0x1f8](rus): Subtitle: dvb_subtitle ([6][0][0][0] /
0x0006)
> No Program
> Stream #0:0[0x12]: Data: epg
> Output #0, mpegts, to '/var/db/stream.ts':
> Metadata:
> encoder : Lavf58.65.101
> Stream #0:0: Video: h264 (High) ([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(rus): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, fltp, 192 kb/s
> Stream mapping:
> Stream #0:1 -> #0:0 (copy)
> Stream #0:2 -> #0:1 (copy)
> Press [q] to stop, [?] for help
>
> but i managed to do this with multicat from videolan:
>
> /usr/local/bin/multicat -Uuf -t 10 @239.192.39.3 /var/db/stream.ts
>
> https://mycloud.g-service.ru:4430/s/A0OG7IFql1Tc6Zz
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9102#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list