[FFmpeg-trac] #1839(FFmpeg:new): the pts can not copy from transcode orig video file

FFmpeg trac at avcodec.org
Mon Nov 19 03:27:17 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:1 cehoyos]:
 > Could you test curent git head? This may be fixed.
 >
 > If it is still reproducible, please post your command line together with
 complete, uncut console output.

 Hi cehoyos,
 The problem is always there.
 The command line input is :
 ./ffmpeg -y -ss 00:00:10.00 -t 20 -copyts -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
 -bsf h264_mp4toannexb -async 1 -f mpegts test-12.ts
 complete output:
 frame=  300 fps= 12 q=30.0 Lsize=    6469kB time=00:00:20.01
 bitrate=2647.5kbits/s dup=135 drop=96
 video:5880kB audio:75kB subtitle:0 global headers:0kB muxing overhead
 8.624364%
 [libx264 @ 0x1ba80e0] frame I:2     Avg QP:24.50  size:113392
 [libx264 @ 0x1ba80e0] frame P:298   Avg QP:18.73  size: 19443
 [libx264 @ 0x1ba80e0] mb I  I16..4: 100.0%  0.0%  0.0%
 [libx264 @ 0x1ba80e0] mb P  I16..4:  8.1%  0.0%  0.0%  P16..4: 40.5%  0.0%
 0.0%  0.0%  0.0%    skip:51.4%
 [libx264 @ 0x1ba80e0] final ratefactor: 25.67
 [libx264 @ 0x1ba80e0] coded y,uvDC,uvAC intra: 36.2% 37.3% 15.9% inter:
 20.4% 12.1% 3.9%
 [libx264 @ 0x1ba80e0] i16 v,h,dc,p: 34% 24% 26% 16%
 [libx264 @ 0x1ba80e0] i8c dc,h,v,p: 52% 19% 22%  8%
 [libx264 @ 0x1ba80e0] kb/s:2408.32


 But when i use codec copy, the problem have fixed, perhaps i have use
 error parameters?

 Use command follow is no problem:
 ffmpeg -y -ss 00:00:10.00 -t 20 -copyts -i kaka.mkv -scodec copy -vcodec
 copy -acodec copy  -bsf h264_mp4toannexb -f mpegts test-12.ts
 complete output :
 frame=  266 fps=0.0 q=-1.0 Lsize=   23300kB time=00:00:20.01
 bitrate=9534.2kbits/s
 video:19368kB audio:2018kB subtitle:0 global headers:0kB muxing overhead
 8.948324%


 I want to transcode change the video codec from other to H264/AVC, not
 just only copyts.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1839#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list