[FFmpeg-trac] #6238(avformat:new): Wrong first TS segment length in HLS output
FFmpeg
trac at avcodec.org
Wed Mar 15 09:41:18 EET 2017
#6238: Wrong first TS segment length in HLS output
------------------------------------+------------------------------------
Reporter: pero | 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 pero):
Thank you!
Yes it is working without audio.
I'm a bit stucked here, because i need the audio. The original sources are
two IP cams:
{{{
ffmpeg
-rtsp_transport tcp -thread_queue_size 512 -i rtsp://X.X.X.X:555
-rtsp_transport tcp -thread_queue_size 512 -i rtsp://X.X.X.X:556
-filter_complex
"[0:v]scale=736:552,crop=w=222:h=552:x=288:y=0[outside];[1:v][outside]overlay=shortest=1:x=5:y=5[pip]"
-map [pip] -map 1:a -c:a aac -ab 64k -c:v h264_nvenc -cbr 1 -b:v 1800k
-maxrate 2000k -r 25 -g 100 -bf 2 -refs 4 -no-scenecut 1 -strict_gop 1
-profile:v high -pixel_format yuv420p -preset default
-f hls -hls_time 4 -hls_list_size 5400 -hls_flags
+delete_segments+append_list+omit_endlist test.m3u8
}}}
I tried to play with setpts, without success
The weird thing is that one of the cams returns this:
{{{Duration: N/A, start: 0.000000, bitrate: N/A}}}
but the other:
{{{Duration: N/A, start: 0.241000, bitrate: N/A}}}
Is it normal?
Can you please suggest something, what I should try to make this work with
audio?
THX!
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6238#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list