Thread: ffmpeg question
im trying remove black bars video , remove subtitles.
ffmpeg -i video.mkv -map 0:0 -map 0:1 -vcodec copy -croptop 92 -cropbottom 92 -acodec copy cropvideo.mkv
what im doing wrong? :icode:ffmpeg version svn-r19352-4:0.5+svn20090706-2ubuntu2, copyright (c) 2000-2009 fabrice bellard, et al. configuration: --extra-version=4:0.5+svn20090706-2ubuntu2 --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-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --extra-cflags=-i/build/buildd/ffmpeg-0.5+svn20090706/debian/include --enable-shared --disable-static libavutil 49.15. 0 / 49.15. 0 libavcodec 52.20. 0 / 52.20. 0 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 oct 13 2009 22:35:00, gcc: 4.4.1 seems stream 0 codec frame rate differs container frame rate: 47.95 (54042/1127) -> 23.98 (24000/1001) input #0, matroska, 'video.mkv': duration: 02:05:53.58, start: 0.000000, bitrate: n/a stream #0.0: video: h264, yuv420p, 1280x720, par 1:1 dar 16:9, 23.98 tbr, 1k tbn, 47.95 tbc stream #0.1: audio: ac3, 48000 hz, 5.1, s16 stream #0.2: subtitle: 0x0000 stream #0.3: subtitle: 0x0000 stream #0.4: subtitle: 0x0000 stream #0.5: subtitle: 0x0000 number of stream maps must match number of output streams
maybe add -sn command
never had reason crop, i'd think you'd need re-encode so, @ best i'd think affecting aspect ratio (depending on player
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [SOLVED] ffmpeg question
Ubuntu
Comments
Post a Comment