Yadnesh <[email protected]> added the comment:
I have not yet tested to find the exact version where the functionality broke.
But I tested with -an and -vn. Error is seen only when using -an
Issues seems to be seen only when "copy" codec is used on H.264 encoded video.
If video codec libx264 is used no issue is seen
Issue is also seen when output is RTP format. Does not seem related to output
format.
======================================================================
yadn...@yadnesh-desktop:~/programs/ffmpeg$ ./ffmpeg -i ~/Media/fileSequence0.ts
-an -vcodec copy /tmp/1.mp4
FFmpeg version SVN-r24652, Copyright (c) 2000-2010 the FFmpeg developers
built on Aug 17 2010 22:33:48 with gcc 4.3.2
configuration: --enable-shared --enable-libfaac --enable-libx264 --enable-gpl
--enable-nonfree
libavutil 50.23. 0 / 50.23. 0
libavcore 0. 2. 0 / 0. 2. 0
libavcodec 52.84. 2 / 52.84. 2
libavformat 52.78. 0 / 52.78. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.27. 0 / 1.27. 0
libswscale 0.11. 0 / 0.11. 0
[mpegts @ 0x82b7470] max_analyze_duration reached
Seems stream 1 codec frame rate differs from container frame rate: 180000.00
(180000/1) -> 14.99 (15000/1001)
Input #0, mpegts, from '/home/yadnesh/Media/fileSequence0.ts':
Duration: 00:00:09.94, start: 10.000000, bitrate: 201 kb/s
Program 1
Stream #0.0[0x101]: Audio: aac, 22050 Hz, mono, s16, 25 kb/s
Stream #0.1[0x102]: Video: h264, yuv420p, 192x144, 14.99 tbr, 90k tbn, 180k
tbc
File '/tmp/1.mp4' already exists. Overwrite ? [y/N] y
Output #0, mp4, to '/tmp/1.mp4':
Metadata:
encoder : Lavf52.78.0
Stream #0.0: Video: libx264, yuv420p, 192x144, q=2-31, 90k tbn, 90k tbc
Stream mapping:
Stream #0.1 -> #0.0
Press [q] to stop encoding
[mp4 @ 0x82ba5f0] st:0 error, non monotone timestamps 50 >= 50
av_interleaved_write_frame(): Operation not permitted
======================================================================
======================================================================
yadn...@yadnesh-desktop:~/programs/ffmpeg$ ./ffmpeg -i ~/Media/fileSequence0.ts
-an -vcodec copy -f rtp rtp://127.0.0.1:5000
FFmpeg version SVN-r24652, Copyright (c) 2000-2010 the FFmpeg developers
built on Aug 17 2010 22:33:48 with gcc 4.3.2
configuration: --enable-shared --enable-libfaac --enable-libx264 --enable-gpl
--enable-nonfree
libavutil 50.23. 0 / 50.23. 0
libavcore 0. 2. 0 / 0. 2. 0
libavcodec 52.84. 2 / 52.84. 2
libavformat 52.78. 0 / 52.78. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.27. 0 / 1.27. 0
libswscale 0.11. 0 / 0.11. 0
[mpegts @ 0x9a2e470] max_analyze_duration reached
Seems stream 1 codec frame rate differs from container frame rate: 180000.00
(180000/1) -> 14.99 (15000/1001)
Input #0, mpegts, from '/home/yadnesh/Media/fileSequence0.ts':
Duration: 00:00:09.94, start: 10.000000, bitrate: 201 kb/s
Program 1
Stream #0.0[0x101]: Audio: aac, 22050 Hz, mono, s16, 25 kb/s
Stream #0.1[0x102]: Video: h264, yuv420p, 192x144, 14.99 tbr, 90k tbn, 180k
tbc
Output #0, rtp, to 'rtp://127.0.0.1:5000':
Metadata:
encoder : Lavf52.78.0
Stream #0.0: Video: libx264, yuv420p, 192x144, q=2-31, 90k tbn, 90k tbc
Stream mapping:
Stream #0.1 -> #0.0
SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 127.0.0.1
t=0 0
a=tool:libavformat 52.78.0
m=video 5000 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;
sprop-parameter-sets=J0LgC6kYYJ2ANQYBBrbCte98BA==,KN4JiA==
Press [q] to stop encoding
[rtp @ 0x9a315f0] st:0 error, non monotone timestamps 50 >= 50
av_interleaved_write_frame(): Operation not permitted
======================================================================
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2153>
________________________________________________