[FFmpeg-user] About hls option "hls_init_time" and "hls_time"

2018-03-09 Thread xyzero
Hi all:
I use the lastest ffmpeg 3.4.2 to transcode a HLS live streaming with the 
command :
"ffmpeg -i /2011/03/17/20110311090142995200.wmv -c:v h264 -flags +cgop -g 25 
-hls_init_time 1 -hls_time 10 -hls_list_size 0 -hls_flags temp_file -b:v 800K 
/hls_tmp/out.m3u8"
and the m3u8 file was written as
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:2
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:1.00,
out0.ts
#EXTINF:1.00,
out1.ts
#EXTINF:1.00,
out2.ts
#EXTINF:1.00,
out3.ts
#EXTINF:1.00,
out4.ts
#EXTINF:1.00,
out5.ts

It seems that "-hls_time 10" has no effect with the option "-hls_init_time" at 
the same time.
Does anyone meet the same problem before?

Thanks and best regards.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] A question about adding delay in a live streaming

2017-06-02 Thread xyzero
Hi all:
I want to add a 5s delay in a live streaming such as rtmp, and I use ffmpeg 
command as follows
"ffmpeg -re -i rtmp://live.hkstv.hk.lxdns.com/live/hks -muxdelay 5 -c copy 
-f flv rtmp://localhost/rtmp/test"
The result is the delay has no effect.
If I change the command param "-c copy" to "-c:v h264 -c:a aac", then it works 
correctly in 5s delay.
Delay in a live streaming must need transcoding?
If transcoding is unavoidable, how to use min CPU load to add the delay?
Thanks!
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] An error in decoding RTMP (h264&aac) live streaming

2017-04-30 Thread xyzero
Dear Sir / Madam:
I use ffplay to play a RTMP live streaming (url is 
"rtmp://live.hkstv.hk.lxdns.com/live/hks").
After 16819 seconds of receiving, the decoding function returns error, and 
the error info is as follows.
Or it can be easily happened when use "$ ffmpeg -ss 16750 -i 
rtmp://live.hkstv.hk.lxdns.com/live/hks -f null - "command.
I tried ffmpeg version 3.0, 3.1, 3.3, and it has the same problem. I hope 
you can tell me where is wrong or how to slove this problem.
    Best wishes,
xyzero

[h264 @ 094e5180] P sub_mb_type 13 out of range at 23 25  0B f=15/15
[h264 @ 094e5180] error while decoding MB 23 25
[h264 @ 094e5180] concealing 226 DC, 226 AC, 226 MV errors in P frame
HandleInvoke, Sanity failed. no string method in invoke packet=15/15
[flv @ 08772fe0] DTS 16808050 < 2353520185 out of order   0B f=15/15
[aac @ 09527a60] This decoder does not support parameter changes, but PARAM_CHAN
GE side data was sent to it.
[h264 @ 087c9880] [aac @ 09527a60] mb_type 34 in P slice too large at 33 24
Error applying parameter changes.
[h264 @ 087c9880] error while decoding MB 33 24
[h264 @ 087c9880] concealing 256 DC, 256 AC, 256 MV errors in P frame
[flv @ 08772fe0] Audio codec (e) is not implemented. Update your FFmpeg version
to the newest one from Git. If the problem still occurs, it means that your file
 has a feature which has not been implemented.
[flv @ 08772fe0] If you want to help, upload a sample of this file to ftp://uplo
ad.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel
@ffmpeg.org)
[aac @ 09527a60] This decoder does not support parameter changes, but PARAM_CHAN
GE side data was sent to it.
[aac @ 09527a60] Error applying parameter changes.
[aac @ 09527a60] This decoder does not support parameter changes, but PARAM_CHAN
GE side data was sent to it.
[aac @ 09527a60] 16819.03 A-V:-2336735.363 fd= 259 aq=1KB vq=0KB sq=
Error applying parameter changes.





 
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".