open source (and in MacPorts) video cut with Flash video support
Fyodor Vassiley
fyodor.vassiley at gmail.com
Wed Oct 19 12:00:38 PDT 2011
I tried with ffmpeg, but output is 0 MB
> ls -alh test.flv
-rw-r--r-- 1 fyodor staff 0B Oct 19 20:55 test.flv
I used howto here
http://superuser.com/questions/138331/using-ffmpeg-to-cut-up-video
> ffmpeg -ss 05:25:00 -t 00:35:00 -i input.flv -vcodec copy -acodec copy test.flv
ffmpeg version 0.7.6, Copyright (c) 2000-2011 the FFmpeg developers
built on Oct 5 2011 05:02:57 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
configuration: --prefix=/opt/local --enable-gpl --enable-postproc
--enable-swscale --enable-avfilter --enable-libmp3lame
--enable-libvorbis --enable-libtheora --enable-libdirac
--enable-libschroedinger --enable-libopenjpeg --enable-libxvid
--enable-libx264 --enable-libvpx --enable-libspeex
--mandir=/opt/local/share/man --enable-shared --enable-pthreads
--cc=/usr/bin/gcc-4.2 --arch=x86_64 --enable-yasm
libavutil 50. 43. 0 / 50. 43. 0
libavcodec 52.122. 0 / 52.122. 0
libavformat 52.110. 0 / 52.110. 0
libavdevice 52. 5. 0 / 52. 5. 0
libavfilter 1. 80. 0 / 1. 80. 0
libswscale 0. 14. 1 / 0. 14. 1
libpostproc 51. 2. 0 / 51. 2. 0
[flv @ 0x7faf2404ac00] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'input.flv':
Metadata:
duration : 656
starttime : 0
totalduration : 656
width : 640
height : 480
videodatarate : 1141
audiodatarate : 129
totaldatarate : 1279
framerate : 30
bytelength : 104890584
canseekontime : true
sourcedata : BC1F7C149MM1318603911906979
purl :
pmsg :
Duration: 00:10:56.13, start: 0.000000, bitrate: 1300 kb/s
Stream #0.0: Video: h264 (Main), yuv420p, 640x480, 1168 kb/s, 30
tbr, 1k tbn, 60 tbc
Stream #0.1: Audio: aac, 44100 Hz, stereo, s16, 131 kb/s
File 'test.flv' already exists. Overwrite ? [y/N] y
Output #0, flv, to 'test.flv':
Metadata:
duration : 656
starttime : 0
totalduration : 656
width : 640
height : 480
videodatarate : 1141
audiodatarate : 129
totaldatarate : 1279
framerate : 30
bytelength : 104890584
canseekontime : true
sourcedata : BC1F7C149MM1318603911906979
purl :
pmsg :
encoder : Lavf52.110.0
Stream #0.0: Video: libx264, yuv420p, 640x480, q=2-31, 1168 kb/s,
1k tbn, 30 tbc
Stream #0.1: Audio: aac, 44100 Hz, stereo, 131 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
frame= 0 fps= 0 q=-1.0 Lsize= 0kB time=00:00:00.00 bitrate=
0.0kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead nan%
More information about the macports-users
mailing list