[FFmpeg-user] (no subject)

Ming Luo ming.luo10 at gmail.com
Sat Nov 21 20:57:42 CET 2015


Hi, guys,

I installed ffmpeg-2.8.2 on Mac and run in command line:

ffmpeg -i firstTake.mp4 -vcodec copy -acodec copy -vbsf h264_mp4toannexb
firstTake.ts

and get the following result with some errors. For each time running, the
error happens at different   time positions. And if I trim the original 18
min video to 15 minutes, it works. I'm new in this area. Can anyone shed
some light on my problem? Thanks!

OUTPUT:
==========================================================

ffmpeg version 2.8.2 Copyright (c) 2000-2015 the FFmpeg developers

  built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM
3.6.0svn)

  configuration: --enable-libmp3lame --enable-shared --disable-mmx
--arch=x86_64

  libavutil      54. 31.100 / 54. 31.100

  libavcodec     56. 60.100 / 56. 60.100

  libavformat    56. 40.101 / 56. 40.101

  libavdevice    56.  4.100 / 56.  4.100

  libavfilter     5. 40.101 /  5. 40.101

  libswscale      3.  1.101 /  3.  1.101

  libswresample   1.  2.101 /  1.  2.101

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'firstTake.mp4':

  Metadata:

    major_brand     : isom

    minor_version   : 512

    compatible_brands: isomiso2avc1mp41

    encoder         : Lavf56.26.101

  Duration: 00:18:31.61, start: 0.000000, bitrate: 15072 kb/s

    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
2048x1024, 15001 kb/s, 59.38 fps, 59.94 tbr, 60k tbn, 119.88 tbc (default)

    Metadata:

      handler_name    : VideoHandler

    Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo,
s16p, 64 kb/s (default)

    Metadata:

      handler_name    : SoundHandler

Output #0, mpegts, to 'firstTake.ts':

  Metadata:

    major_brand     : isom

    minor_version   : 512

    compatible_brands: isomiso2avc1mp41

    encoder         : Lavf56.40.101

    Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 2048x1024,
q=2-31, 15001 kb/s, 59.38 fps, 59.94 tbr, 90k tbn, 60k tbc (default)

    Metadata:

      handler_name    : VideoHandler

    Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, 64
kb/s (default)

    Metadata:

      handler_name    : SoundHandler

Stream mapping:

  Stream #0:0 -> #0:0 (copy)

  Stream #0:1 -> #0:1 (copy)

Press [q] to stop, [?] for help

frame=12103 fps=0.0 q=-1.0 size=  419134kB time=00:03:21.91
bitrate=17005.1kbitsframe=24662 fps=24658 q=-1.0 size=  830573kB
time=00:06:51.43 bitrate=16537.5kbiframe=36982 fps=24652 q=-1.0 size=
1243712kB time=00:10:16.99 bitrate=16513.2kbiframe=48449 fps=24223 q=-1.0
size= 1625058kB time=00:13:28.29 bitrate=16469.8kbiframe=60978 fps=24388
q=-1.0 size= 2042907kB time=00:16:57.31 bitrate=16450.7kbiFailed to open
bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid
argument

Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec
copy: Invalid argument

Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec
copy: Invalid argument

Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec
copy: Invalid argument

Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec
copy: Invalid argument

Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec
copy: Invalid argument

[mpegts @ 0x7f9034010000] H.264 bitstream error, startcode missing, size 0

[mpegts @ 0x7f9034010000] H.264 bitstream error, startcode missing, size 0

[mpegts @ 0x7f9034010000] H.264 bitstream error, startcode missing, size 0

[mpegts @ 0x7f9034010000] H.264 bitstream error, startcode missing, size 0

[mpegts @ 0x7f9034010000] H.264 bitstream error, startcode missing, size 0

[mpegts @ 0x7f9034010000] H.264 bitstream error, startcode missing, size 0

frame=66013 fps=24374 q=-1.0 Lsize= 2212026kB time=00:18:31.59
bitrate=16301.7kbits/s

video:2035677kB audio:8602kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead:



     Ming


More information about the ffmpeg-user mailing list