[FFmpeg-user] Issues splitting a 3gp file using -ss and -t options

Deepika deepika at cinemacraft.tv
Fri Oct 28 10:17:47 CEST 2011


Hi,
I am trying to split a 3gp file using the command below and I get the 
following errors. Any help in solving this issue is highly appreciated.


ffmpeg -i a.3gp -vcodec copy -acodec copy -ss 00:01:00 -t 00:01:00 
achunk.3gp
ffmpeg version git-2011-10-28-8d4e449, Copyright (c) 2000-2011 the 
FFmpeg developers
   built on Oct 28 2011 15:45:27 with gcc 4.6.1
   configuration: --enable-gpl --enable-libfaac --enable-libmp3lame 
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora 
--enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc 
--enable-version3 --enable-x11grab
   libavutil    51. 22. 0 / 51. 22. 0
   libavcodec   53. 23. 0 / 53. 23. 0
   libavformat  53. 17. 0 / 53. 17. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 45. 1 /  2. 45. 1
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0

Seems stream 1 codec frame rate differs from container frame rate: 
1073741824.00 (1073741824/1) -> 15.00 (15/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'transcoder_appln/a.3gp':
   Metadata:
     major_brand     : 3gp6
     minor_version   : 256
     compatible_brands: 3gp6isomiso2
     creation_time   : 2011-10-27 06:51:59
     copyright       :
     copyright-eng   :
   Duration: 00:02:21.80, start: 0.000000, bitrate: 477 kb/s
     Stream #0:0(eng): Audio: amr_nb (samr / 0x726D6173), 8000 Hz, 1 
channels, flt, 12 kb/s
     Metadata:
       creation_time   : 2011-10-27 06:51:59
       handler_name    :
                         SoundHandler
     Stream #0:1(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 
352x288 [SAR 128:117 DAR 1408:1053], 457 kb/s, SAR 35:32 DAR 385:288, 15 
fps, 15 tbr, 1500 tbn, 1073741824 tbc
     Metadata:
       creation_time   : 2011-10-27 06:51:59
       handler_name    :
                         VideoHandler
*[3gp @ 0x2fc67e0] track 1: codec frame size is not set*
Output #0, 3gp, to 'achunk.3gp':
   Metadata:
     major_brand     : 3gp6
     minor_version   : 256
     compatible_brands: 3gp6isomiso2
     creation_time   : 2011-10-27 06:51:59
     copyright       :
     copyright-eng   :
     encoder         : Lavf53.17.0
     Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 352x288 
[SAR 35:32 DAR 385:288], q=2-31, 457 kb/s, 1500 tbn, 1500 tbc
     Metadata:
       creation_time   : 2011-10-27 06:51:59
       handler_name    :
                         VideoHandler
     Stream #0:1(eng): Audio: amr_nb (samr / 0x726D6173), 8000 Hz, 1 
channels, 12 kb/s
     Metadata:
       creation_time   : 2011-10-27 06:51:59
       handler_name    :
                         SoundHandler
Stream mapping:
   Stream #0.1 -> #0.0 (copy)
   Stream #0.0 -> #0.1 (copy)
*Could not write header for output file #0 (incorrect codec parameters ?)*



More information about the ffmpeg-user mailing list