Is there anything I am doing wrong here? It’s giving an error message.
D:\downloads\ffmpeg-r26041-swscale-r32676-mingw32-static\bin>ffmpeg -y -i sample
.mp4 -acodec copy -vcodec copy -ss 00:00:00 -t 01:00:30 sample_fixed_1.mp4
FFmpeg version SVN-r26041, Copyright © 2000-2010 the FFmpeg developers
built on Dec 17 2010 04:07:17 with gcc 4.4.2
configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-libvorb
is --enable-libtheora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg
–enable-libschroedinger --enable-libopencore_amrwb --enable-libopencore_amrnb
–enable-libvpx --disable-decoder=libvpx --arch=x86 --enable-runtime-cpudetect -
-enable-libxvid --enable-libx264 --enable-librtmp --extra-libs=’-lrtmp -lpolarss
l -lws2_32 -lwinmm’ --target-os=mingw32 --enable-avisynth --enable-w32threads –
cross-prefix=i686-mingw32- --cc=‘ccache i686-mingw32-gcc’ --enable-memalign-hack
libavutil 50.34. 0 / 50.34. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.99. 1 / 52.99. 1
libavformat 52.88. 0 / 52.88. 0
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.69. 0 / 1.69. 0
libswscale 0.12. 0 / 0.12. 0
Seems stream 1 codec frame rate differs from container frame rate: 59.94 (60000/
- -> 1000.00 (1000/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘sample.mp4’:
Metadata:
major_brand : f4v
minor_version : 0
compatible_brands: isommp42m4v
creation_time : 2010-12-17 21:06:29
Duration: 01:27:18.75, start: 0.000000, bitrate: 146 kb/s
Stream #0.0(eng): Audio: mp3, 22050 Hz, 2 channels, s16, 39 kb/s
Metadata:
creation_time : 2010-12-17 21:06:29
Stream #0.1(eng): Video: h264, yuv420p, 428x240 [PAR 1:1 DAR 107:60], 100 kb
/s, 29.96 fps, 1k tbr, 90k tbn, 59.94 tbc
Metadata:
creation_time : 2010-12-17 21:06:29
Output #0, mp4, to ‘sample_fixed_1.mp4’:
Metadata:
major_brand : f4v
minor_version : 0
compatible_brands: isommp42m4v
creation_time : 2010-12-17 21:06:29
encoder : Lavf52.88.0
Stream #0.0(eng): Video: libx264, yuv420p, 428x240 [PAR 1:1 DAR 107:60], q=2
-31, 100 kb/s, 30k tbn, 29.97 tbc
Metadata:
creation_time : 2010-12-17 21:06:29
Stream #0.1(eng): Audio: libmp3lame, 22050 Hz, 2 channels, 39 kb/s
Metadata:
creation_time : 2010-12-17 21:06:29
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Press [q] to stop encoding
[mp4 @ 02df0080] st:0 error, non monotone timestamps 592950 >= 592950
av_interleaved_write_frame(): Operation not permitted
D:\downloads\ffmpeg-r26041-swscale-r32676-mingw32-static\bin>pause
Press any key to continue . . .