Moin,
beschäftige mich jetzt eine ganze Weile mit ffmpeg um Werbung aus ein Film zu bekommen, der erste Teil klappt so weit, nur im zweiten Teil haperts...
Habe jetzt verschiedene Optionen und unzählige Artikel durch ohne Erfolg, hier meine Ausgabe in Kurzform:
[daniel@daniel-64bit lxfreetv]$
[daniel@daniel-64bit lxfreetv]$ ffmpeg -y -ss 00:01:39.00 -t 00:29:50.00 -i 2014-02-20_201446.mkv -vcodec copy -acodec copy -map 0:0 -map 0:1 out.mkv
ffmpeg version 2.1.3 Copyright (c) 2000-2013 the FFmpeg developers
built on Jan 31 2014 19:09:42 with gcc 4.7.2 (GCC)
configuration: --prefix=/usr --enable-shared --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include --disable-stripping --enable-postproc --enable-gpl --enable-pthreads --enable-libtheora --enable-libvorbis --disable-encoder=vorbis --enable-libvpx --enable-x11grab --enable-runtime-cpudetect --enable-libdc1394 --enable-libschroedinger --enable-librtmp --enable-libspeex --enable-libfreetype --enable-libnut --enable-libgsm --enable-libcelt --enable-libopus --disable-libopencv --enable-libopenjpeg --enable-libtwolame --enable-libxavs --enable-frei0r --enable-libmodplug --enable-libass --enable-gnutls --enable-libcdio --enable-libpulse --enable-libv4l2 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libx264 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libxvid --enable-nonfree --enable-libfaac
libavutil 52. 48.101 / 52. 48.101
libavcodec 55. 39.101 / 55. 39.101
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Input #0, matroska,webm, from '2014-02-20_201446.mkv':
Metadata:
ENCODER : Lavf55.19.104
Duration: 02:15:02.44, start: 0.000000, bitrate: 1006 kb/s
Stream #0:0: Video: h264 (High), yuv420p, 800x450 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp (default)
Output #0, matroska, to 'out.mkv':
Metadata:
encoder : Lavf55.19.104
Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 800x450 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 1k tbn, 1k tbc (default)
Stream #0:1: Audio: vorbis (oV[0][0] / 0x566F), 44100 Hz, stereo (default)
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=47224 fps=19169 q=-1.0 Lsize= 241146kB time=00:31:28.98 bitrate=1045.8kbits/s
video:218999kB audio:21107kB subtitle:0 global headers:0kB muxing overhead 0.432726%
[daniel@daniel-64bit lxfreetv]$ ffmpeg -y -ss 00:41:04.00 -t 00:29:50.00 -i 2014-02-20_201446.mkv -vcodec copy -acodec copy -map 0:0 -map 0:1 out1.mkv
<snip>
frame=106321 fps=17755 q=-1.0 Lsize= 518953kB time=01:10:53.99 bitrate= 999.4kbits/s
video:467987kB audio:48615kB subtitle:0 global headers:0kB muxing overhead 0.455104%
[daniel@daniel-64bit lxfreetv]$ ffmpeg -y -ss 00:41:04.00 -t 00:16:17.00 -i 2014-02-20_201446.mkv -vcodec copy -acodec copy -map 0:0 -map 0:1 out1.mkv
<snip>
frame=85998 fps=15717 q=-1.0 Lsize= 403053kB time=00:57:20.97 bitrate= 959.6kbits/s
video:362276kB audio:38872kB subtitle:0 global headers:0kB muxing overhead 0.474909%
[daniel@daniel-64bit lxfreetv]$ ffmpeg -y -ss 00:41:04.00 -t 00:00:17.00 -i 2014-02-20_201446.mkv -vcodec copy -acodec copy -map 0:0 -map 0:1 out1.mkv
<snip>
frame=62015 fps=16147 q=-1.0 Lsize= 293428kB time=00:41:20.98 bitrate= 968.9kbits/s
video:264200kB audio:27849kB subtitle:0 global headers:0kB muxing overhead 0.472601%
[daniel@daniel-64bit lxfreetv]$ ffmpeg -y -ss 00:41:04 -t 00:00:17 -i 2014-02-20_201446.mkv -vcodec copy -acodec copy -map 0:0 -map 0:1 out1.mkv
<snip>
frame=62015 fps=18338 q=-1.0 Lsize= 293428kB time=00:41:20.98 bitrate= 968.9kbits/s
video:264200kB audio:27849kB subtitle:0 global headers:0kB muxing overhead 0.472601%
[daniel@daniel-64bit lxfreetv]$ ffmpeg -y -ss 00:41:04 -t 00:00: -i 2014-02-20_201446.mkv -vcodec copy -acodec copy -map 0:0 -map 0:1 out1.mkv
<snip>
Invalid duration specification for t: 00:00:
[daniel@daniel-64bit lxfreetv]$ ffmpeg -y -ss 00:41:04 -t 00:00 -i 2014-02-20_201446.mkv -vcodec copy -acodec copy -map 0:0 -map 0:1 out1.mkv
<snip>
frame=61590 fps=19036 q=-1.0 Lsize= 291373kB time=00:41:03.98 bitrate= 968.7kbits/s
video:262361kB audio:27643kB subtitle:0 global headers:0kB muxing overhead 0.472321%
[daniel@daniel-64bit lxfreetv]$ ffmpeg -y -ss 00:41:04 -endpos 00:00 -i 2014-02-20_201446.mkv -vcodec copy -acodec copy -map 0:0 -map 0:1 out1.mkv
<snip>
Unrecognized option 'endpos'.
Error splitting the argument list: Option not found
[daniel@daniel-64bit lxfreetv]$ ffmpeg -y -ss 00:41:04 -t 00:01 -i 2014-02-20_201446.mkv -vcodec copy -acodec copy -map 0:0 -map 0:1 out1.mkv
<snip>
frame=61615 fps=15576 q=-1.0 Lsize= 291418kB time=00:41:04.98 bitrate= 968.5kbits/s
video:262394kB audio:27653kB subtitle:0 global headers:0kB muxing overhead 0.472453%
[daniel@daniel-64bit lxfreetv]$ ffmpeg -y -ss 00:41:04 -t 00:00:01 -i 2014-02-20_201446.mkv -vcodec copy -acodec copy -map 0:0 -map 0:1 out1.mkv
<snip>
frame=61615 fps=28567 q=-1.0 Lsize= 291418kB time=00:41:04.98 bitrate= 968.5kbits/s
video:262394kB audio:27653kB subtitle:0 global headers:0kB muxing overhead 0.472453%
[daniel@daniel-64bit lxfreetv]$ ffmpeg -y -ss 00:41:04 -t 00:57:15 -i 2014-02-20_201446.mkv -vcodec copy -acodec copy -map 0:0 -map 0:1 out1.mkv
<snip>
frame=140911 fps=13541 q=-1.0 Lsize= 682911kB time=01:33:58.32 bitrate= 992.2kbits/s
video:615236kB audio:64512kB subtitle:0 global headers:0kB muxing overhead 0.465320%
[daniel@daniel-64bit lxfreetv]$ ffmpeg -y -t 971 -ss 00:41:04 -i 2014-02-20_201446.mkv -vcodec copy -acodec copy -map 0:0 -map 0:1 out1.mkv
<snip>
frame=85848 fps=29183 q=-1.0 Lsize= 402690kB time=00:57:14.99 bitrate= 960.4kbits/s
video:361981kB audio:38807kB subtitle:0 global headers:0kB muxing overhead 0.474593%
[daniel@daniel-64bit lxfreetv]$ ffmpeg -y -t 97 -ss 00:41:04 -i 2014-02-20_201446.mkv -vcodec copy -acodec copy -map 0:0 -map 0:1 out1.mkv
<snip>
frame=64015 fps=19999 q=-1.0 Lsize= 302054kB time=00:42:40.98 bitrate= 966.2kbits/s
video:271848kB audio:28778kB subtitle:0 global headers:0kB muxing overhead 0.474909%
[daniel@daniel-64bit lxfreetv]$ ffmpeg -y -t 7 -ss 00:41:04 -i 2014-02-20_201446.mkv -vcodec copy -acodec copy -map 0:0 -map 0:1 out1.mkv
<snip>
frame=61765 fps=19615 q=-1.0 Lsize= 291842kB time=00:41:10.99 bitrate= 967.5kbits/s
video:262742kB audio:27725kB subtitle:0 global headers:0kB muxing overhead 0.473108%
[daniel@daniel-64bit lxfreetv]$ ffmpeg -y -ss 00:41:04 -t 7 -i 2014-02-20_201446.mkv -vcodec copy -acodec copy -map 0:0 -map 0:1 out1.mkv
<snip>
frame=61765 fps=12506 q=-1.0 Lsize= 291842kB time=00:41:10.99 bitrate= 967.5kbits/s
video:262742kB audio:27725kB subtitle:0 global headers:0kB muxing overhead 0.473108%
[daniel@daniel-64bit lxfreetv]$
Display More
und nun bin ich mit mein Latein am Ende, wo liegt der Fehler?
Danke für jeden Hinweis
Daniel