View difference between Paste ID: UpAh9TkV and Gw1RVSLd
SHOW: | | - or go back to the newest paste.
1-
ffmpeg -re -i ./transformers/trans3-720p.h264 -s 1280x720 -b:v 4M -bsf h264_mp4toannexb -f mpegts trans3-1280x720.ts
1+
ffmpeg -re -i ./transformers/trans3-720p.h264 -c:v copy -b:v 4M -bsf h264_mp4toannexb -f mpegts trans3-1280x720.ts
2
ffmpeg version N-43827-gc2271fa Copyright (c) 2000-2012 the FFmpeg developers
3
  built on Aug 23 2012 14:36:14 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
4
  configuration: --prefix=/opt/x86 --enable-gpl --enable-shared --enable-libx264 --enable-libxvid --extra-cflags=-I/opt/x86/include --extra-ldflags=-L/opt/x86/lib
5
  libavutil      51. 70.100 / 51. 70.100
6
  libavcodec     54. 54.100 / 54. 54.100
7
  libavformat    54. 25.104 / 54. 25.104
8
  libavdevice    54.  2.100 / 54.  2.100
9
  libavfilter     3. 13.100 /  3. 13.100
10
  libswscale      2.  1.101 /  2.  1.101
11
  libswresample   0. 15.100 /  0. 15.100
12
  libpostproc    52.  0.100 / 52.  0.100
13
[h264 @ 0x97e0500] max_analyze_duration 5000000 reached at 5005000
14
[h264 @ 0x97e0500] Estimating duration from bitrate, this may be inaccurate
15
Input #0, h264, from './transformers/trans3-720p.h264':
16
  Duration: N/A, bitrate: N/A
17
    Stream #0:0: Video: h264 (High), yuv420p, 1280x720, 23.98 fps, 23.98 tbr, 1200k tbn, 47.95 tbc
18
File 'trans3-1280x720.ts' already exists. Overwrite ? [y/N] y
19
muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
20
Output #0, mpegts, to 'trans3-1280x720.ts':
21
  Metadata:
22
    encoder         : Lavf54.25.104
23
    Stream #0:0: Video: h264, yuv420p, 1280x720, q=2-31, 23.98 fps, 90k tbn, 23.98 tbc
24
Stream mapping:
25
  Stream #0:0 -> #0:0 (copy)
26
Press [q] to stop, [?] for help
27
Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument
28
[mpegts @ 0x97e7a60] first pts value must set
29
av_interleaved_write_frame(): Invalid data found when processing input