[FFmpeg-trac] #6382(undetermined:new): sample rate not set for mp3 audio track when using hls
FFmpeg
trac at avcodec.org
Wed May 10 09:47:20 EEST 2017
#6382: sample rate not set for mp3 audio track when using hls
-------------------------------------+-------------------------------------
Reporter: krs_vital | 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 krs_vital):
Replying to [comment:1 stevenliu]:
> Can you output to mpegts with this stream?
No, i can't, i get the same problem
Link to file
[https://mycloud.g-service.ru/owncloud/index.php/s/64pR2iAGS8MNDo1]
/usr/local/bin/ffmpeg -copytb 1 -fflags nobuffer -overrun_nonfatal 1 -i
udp://239.192.7.59:1234 -sn -dn -c copy -map 0 -ignore_unknown -g 1 -r 50
-strict -2 -avoid_negative_ts 0 -f mpegts /var/tmp/test.ts
ffmpeg version N-84010-ge2adbcb Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 5.4.0 (GCC)
configuration: --libdir=/usr/lib64
libavutil 55. 48.100 / 55. 48.100
libavcodec 57. 83.100 / 57. 83.100
libavformat 57. 66.104 / 57. 66.104
libavdevice 57. 3.100 / 57. 3.100
libavfilter 6. 76.100 / 6. 76.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
[mpegts @ 0x22f4740] Could not find codec parameters for stream 1 (Audio:
mp3 ([3][0][0][0] / 0x0003), 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, mpegts, from 'udp://239.192.7.59:1234':
Duration: N/A, start: 59572.163978, bitrate: 3150 kb/s
Program 5
Stream #0:0[0xcd]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p(tv, top first), 720x576 [SAR 16:15 DAR 4:3], 3150 kb/s, 25 fps, 25
tbr, 90k tbn, 50 tbc
Stream #0:1[0x131](rus): Audio: mp3 ([3][0][0][0] / 0x0003), 0
channels, s16p
[mpegts @ 0x2323100] sample rate not set
Could not write header for output file #0 (incorrect codec parameters ?):
Invalid argument
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Last message repeated 1 times
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6382#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list