[FFmpeg-trac] #1839(FFmpeg:new): the pts can not copy from transcode orig video file
FFmpeg
trac at avcodec.org
Mon Nov 19 10:17:37 CET 2012
#1839: the pts can not copy from transcode orig video file
---------------------------------------+----------------------------------
Reporter: lingjiujianke | Owner:
Type: defect | Status: new
Priority: normal | Component: FFmpeg
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------------+----------------------------------
Comment (by lingjiujianke):
Replying to [comment:3 cehoyos]:
> To make this a valid ticket, please post the command line you used
together with complete, uncut console output (so far you have posted a
very small part of the console output).
Hi cehoyos,
command line is :
./ffmpeg -y -ss 00:00:10.00 -t 10 -i kaka.mkv -strict experimental
-acodec aac -vcodec libx264 -r 15 -s 1280x720 -b:v 2000k -b:a 88k -ar
44100 -preset ultrafast -vprofile baseline -vlevel 1.0 -map 0:0 -map 0:1
-copyts -bsf h264_mp4toannexb -vsync 1 -f mpegts test-12.ts
console output:
Input #0, matroska,webm, from 'kaka.mkv':
Metadata:
creation_time : 2009-10-07 15:23:35
Duration: 00:01:02.44, start: 0.000000, bitrate: 13589 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x796, SAR 1:1 DAR
480:199, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
title : Transformers.Revenge.of.the.Fallen.2009
Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536
kb/s (default)
Metadata:
title : DTS-HDMA core 1536k
Stream #0:2(chi): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
Metadata:
title : DD2.0 192K
Stream #0:3(eng): Audio: ac3, 48000 Hz, stereo, s16, 224 kb/s
Metadata:
title : DD2.0 224K
-t is not an input option, keeping it for the next output; consider fixing
your command line.
[libx264 @ 0x29bd0e0] using SAR=270/199
[libx264 @ 0x29bd0e0] frame MB size (80x45) > level limit (99)
[libx264 @ 0x29bd0e0] DPB size (1 frames, 1382400 bytes) > level limit (0
frames, 152064 bytes)
[libx264 @ 0x29bd0e0] MB rate (54000) > level limit (1485)
[libx264 @ 0x29bd0e0] using cpu capabilities: none!
[libx264 @ 0x29bd0e0] profile Constrained Baseline, level 1.0
Output #0, mpegts, to 'test-12.ts':
Metadata:
encoder : Lavf54.37.100
Stream #0:0(eng): Video: h264, yuv420p, 1280x720 [SAR 270:199 DAR
480:199], q=-1--1, 2000 kb/s, 90k tbn, 15 tbc (default)
Metadata:
title : Transformers.Revenge.of.the.Fallen.2009
Stream #0:1(eng): Audio: aac, 44100 Hz, 5.1(side), fltp, 88 kb/s
(default)
Metadata:
title : DTS-HDMA core 1536k
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (dca -> aac)
Press [q] to stop, [?] for help
[aac @ 0x29adfc0] Que input is backward in time
[mpegts @ 0x29bc7c0] st:0 PTS: -70486 DTS: -70486 < -69123 invalid,
clipping
Que input is backward in timee= 0kB time=00:00:00.00 bitrate=
0.0kbits/s dup=0 drop=19
[mpegts @ 0x29bc7c0] st:0 PTS: -19400 DTS: -19400 < -18938 invalid,
clipping
[adts @ 0x30ece20] Encoder did not produce proper pts, making some up.
Que input is backward in timeze= 515kB time=00:00:02.00
bitrate=2109.4kbits/s dup=0 drop=40
[mpegts @ 0x29bc7c0] st:0 PTS: 189594 DTS: 189594 < 190099 invalid,
clipping
Que input is backward in timeze= 977kB time=00:00:03.53
bitrate=2266.2kbits/s dup=0 drop=54
[mpegts @ 0x29bc7c0] st:0 PTS: 330694 DTS: 330694 < 332146 invalid,
clipping
Que input is backward in timeze= 1245kB time=00:00:04.46
bitrate=2283.9kbits/s dup=0 drop=61
[mpegts @ 0x29bc7c0] st:0 PTS: 407241 DTS: 407241 < 411617 invalid,
clipping
[mpegts @ 0x29bc7c0] st:0 PTS: 409255 DTS: 409255 < 411618 invalid,
clipping
[mpegts @ 0x29bc7c0] st:0 PTS: 411227 DTS: 411227 < 411619 invalid,
clipping
Que input is backward in timeze= 1573kB time=00:00:05.80
bitrate=2221.3kbits/s dup=0 drop=73
[mpegts @ 0x29bc7c0] st:0 PTS: 515800 DTS: 515800 < 518197 invalid,
clipping
[mpegts @ 0x29bc7c0] st:0 PTS: 517816 DTS: 517816 < 518198 invalid,
clipping
Que input is backward in timeze= 1883kB time=00:00:06.60
bitrate=2337.6kbits/s dup=0 drop=81
[mpegts @ 0x29bc7c0] st:0 PTS: 587939 DTS: 587939 < 591281 invalid,
clipping
[mpegts @ 0x29bc7c0] st:0 PTS: 589908 DTS: 589908 < 591282 invalid,
clipping
Que input is backward in timeze= 2546kB time=00:00:08.66
bitrate=2406.5kbits/s dup=0 drop=99
[mpegts @ 0x29bc7c0] st:0 PTS: 794739 DTS: 794739 < 798140 invalid,
clipping
[mpegts @ 0x29bc7c0] st:0 PTS: 796708 DTS: 796708 < 798141 invalid,
clipping
Que input is backward in timeze= 2766kB time=00:00:09.60
bitrate=2360.0kbits/s dup=0 drop=108
[mpegts @ 0x29bc7c0] st:0 PTS: 866751 DTS: 866751 < 869162 invalid,
clipping
[mpegts @ 0x29bc7c0] st:0 PTS: 868720 DTS: 868720 < 869163 invalid,
clipping
frame= 150 fps=7.9 q=30.0 Lsize= 2942kB time=00:00:10.00
bitrate=2407.9kbits/s dup=0 drop=111
video:2638kB audio:67kB subtitle:0 global headers:0kB muxing overhead
8.756399%
[libx264 @ 0x29bd0e0] frame I:1 Avg QP:23.00 size: 78607
[libx264 @ 0x29bd0e0] frame P:149 Avg QP:27.71 size: 17599
[libx264 @ 0x29bd0e0] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 0x29bd0e0] mb P I16..4: 14.4% 0.0% 0.0% P16..4: 39.9% 0.0%
0.0% 0.0% 0.0% skip:45.7%
[libx264 @ 0x29bd0e0] final ratefactor: 28.14
[libx264 @ 0x29bd0e0] coded y,uvDC,uvAC intra: 32.1% 33.9% 12.2% inter:
21.1% 12.3% 0.8%
[libx264 @ 0x29bd0e0] i16 v,h,dc,p: 37% 24% 24% 16%
[libx264 @ 0x29bd0e0] i8c dc,h,v,p: 53% 18% 21% 7%
[libx264 @ 0x29bd0e0] kb/s:2160.68
When i use command line:
ffmpeg -i test-12.ts
console output :
[mpegts @ 0x278f240] max_analyze_duration 5000000 reached at 5013600
Input #0, mpegts, from 'test-12.ts':
Duration: 00:00:10.97, start: 0.362811, bitrate: 2196 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (Constrained Baseline) ([27][0][0][0]
/ 0x001B), yuv420p, 1280x720 [SAR 270:199 DAR 480:199], 15 fps, 15 tbr,
90k tbn, 30 tbc
Stream #0:1[0x101](eng): Audio: aac ([15][0][0][0] / 0x000F), 44100
Hz, 5.1, s16, 45 kb/s
Thanks
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1839#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list