[FFmpeg-trac] #6139(avformat:new): stream_loop produces a "Error while filtering: Operation not permitted"
FFmpeg
trac at avcodec.org
Sat Feb 11 04:05:08 EET 2017
#6139: stream_loop produces a "Error while filtering: Operation not permitted"
----------------------------------+--------------------------------------
Reporter: naslight | Type: defect
Status: new | Priority: important
Component: avformat | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
I've tried to loop a short mp4 file with the {{{-stream_loop}}} parameter
and get a {{{ Error while filtering: Operation not permitted}}}
{{{
ffmpeg -report -hide_banner -y
-stream_loop -1 -i /home/nas/loop.mp4
-c:v libx264 -b:v 5M -s 1280x720 -r 50 -pix_fmt yuv420p -c:a libfdk_aac
-b:a 192k -ac 2 -ar 44100
-f flv -fflags +genpts+igndts rtmp://[host]/rtmp/monitor_loop
}}}
You can find the loop.mp4 and the report log in the attachments.
It plays once and fails, if it wants to loop.
And I get the error:
{{{
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
Error while filtering: Operation not permittede=00:00:04.66
bitrate=3724.6kbits/s speed=1.53x
[flv @ 0xa05be0] Failed to update header with correct duration.
[flv @ 0xa05be0] Failed to update header with correct filesize.}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6139>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list