[FFmpeg-trac] #728(FFmpeg:new): Getting error message when attempting to copy streams

FFmpeg trac at avcodec.org
Sat Dec 10 03:55:31 CET 2011


#728: Getting error message when attempting to copy streams
--------------------------------+---------------------------------------
             Reporter:  bf4648  |                     Type:  defect
               Status:  new     |                 Priority:  normal
            Component:  FFmpeg  |                  Version:  unspecified
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+---------------------------------------
 I'm using a much bigger file with the file name of
 2011-03-31-23-00-00~23-15-00-channel1.mp4 but I can't upload it because it
 is 95.4 MB so I have therefore attached a sample of the video called
 "sample".  I'm trying to load the .mp4 file into ffmpeg at the -ss of 1.16
 and -t 6.74 and copy the streams using -acodec copy -vcodec copy but I'm
 getting an error message of "Seems stream 0 codec frame rate differs from
 container frame rate: 60.00 (60/1) -> 30.00 (30/1)" and the video is all
 fuzzy (although I can make out some things in the video).

 Here's my command line in Ubuntu 10.04:

 {{{
 ~/Desktop$ /usr/bin/ffmpeg -ss 1.16 -t 6.74 -i
 2011-03-31-23-00-00~23-15-00-channel1.mp4 -acodec copy -vcodec copy
 /tmp/clip_id_fcbf7154-22d2-11e1-bb69-000c290d9e26_offset_1.16_length_6.74_2011-03-31-23-00-00~23-15-00-channel1.mp4
 FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.2, Copyright (c) 2000-2009
 Fabrice Bellard, et al.
   configuration: --extra-version=4:0.5.1-1ubuntu1.2 --prefix=/usr
 --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib
 --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-
 libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-
 stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl
 --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394
 --enable-shared --disable-static
   libavutil     49.15. 0 / 49.15. 0
   libavcodec    52.20. 1 / 52.20. 1
   libavformat   52.31. 0 / 52.31. 0
   libavdevice   52. 1. 0 / 52. 1. 0
   libavfilter    0. 4. 0 /  0. 4. 0
   libswscale     0. 7. 1 /  0. 7. 1
   libpostproc   51. 2. 0 / 51. 2. 0
   built on Sep 16 2011 17:08:44, gcc: 4.4.3

 Seems stream 0 codec frame rate differs from container frame rate: 60.00
 (60/1) -> 30.00 (30/1)
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
 '2011-03-31-23-00-00~23-15-00-channel1.mp4':
   Duration: 00:15:00.00, start: 0.000000, bitrate: 889 kb/s
     Stream #0.0(und): Video: h264, yuv420p, 1280x960, 30 tbr, 30 tbn, 60
 tbc
     Stream #0.1(und): Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
 Output #0, mp4, to
 '/tmp/clip_id_fcbf7154-22d2-11e1-bb69-000c290d9e26_offset_1.16_length_6.74_2011-03-31-23-00-00~23-15-00-channel1.mp4':
     Stream #0.0(und): Video: 0x0000, yuv420p, 1280x960, q=2-31, 90k tbn,
 30 tbc
     Stream #0.1(und): Audio: 0x0000, 44100 Hz, stereo, s16, 128 kb/s
 Stream mapping:
   Stream #0.0 -> #0.0
   Stream #0.1 -> #0.1
 Press [q] to stop encoding
 frame=  238 fps=  0 q=-1.0 Lsize=     809kB time=6.73 bitrate=
 984.6kbits/s
 video:690kB audio:113kB global headers:0kB muxing overhead 0.725353%

 }}}

 I'd just like to copy the audio and video streams so I won't have to re-
 encode and therefore take time to do that.  Is that possible or is this a
 bug?  Attached is my sample...

-- 
Ticket URL: <http://ffmpeg.org/trac/ffmpeg/ticket/728>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list