Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@test:/tmp# cat mylist.txt
- file '/tmp/1.mp4'
- file '/tmp/2.mp4'
- --------------------------------------------------------------------------------------------------------------
- root@test:/tmp# ffprobe 1.mp4
- ffprobe version 2.4.2 Copyright (c) 2007-2014 the FFmpeg developers
- built on Oct 27 2014 14:15:25 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
- configuration: --prefix=/root/target --extra-cflags='-I/root/target/include -static' --extra-ldflags='-L/root/target/lib -lm -static'--disable-debug --disable-shared --enable-static --extra-cflags=--static --disable-ffplay --disable-ffserver --disable-doc --enable-openssl --enable-gpl --enable-pthreads --enable-postproc --enable-libass --enable-gray --enable-runtime-cpudetect --enable-libfaac --enable-gnutls --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-bzlib --enable-zlib --enable-nonfree --enable-version3 --enable-libvpx --enable-libxavs --disable-devices --enable-librtmp --extra-libs='-lrtmp -lnettle -lhogweed -lgmp -lssl -lcrypto -lz -lc -ldl'
- libavutil 54. 7.100 / 54. 7.100
- libavcodec 56. 1.100 / 56. 1.100
- libavformat 56. 4.101 / 56. 4.101
- libavdevice 56. 0.100 / 56. 0.100
- libavfilter 5. 1.100 / 5. 1.100
- libswscale 3. 0.100 / 3. 0.100
- libswresample 1. 1.100 / 1. 1.100
- libpostproc 53. 0.100 / 53. 0.100
- Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':
- Metadata:
- major_brand : isom
- minor_version : 512
- compatible_brands: isomiso2avc1mp41
- title : MIH-LP-1W1.1_DES.Title6.DVDRip
- album : MIH-LP-1W1.1_DES
- encoder : Lavf56.4.101
- Duration: 00:23:03.57, start: 0.021333, bitrate: 591 kb/s
- Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x400 [SAR 1:1 DAR 9:5], 458 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
- Metadata:
- handler_name : VideoHandler
- Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
- Metadata:
- handler_name : SoundHandler
- --------------------------------------------------------------------------------------------------------------
- root@test:/tmp# ffprobe 2.mp4
- ffprobe version 2.4.2 Copyright (c) 2007-2014 the FFmpeg developers
- built on Oct 27 2014 14:15:25 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
- configuration: --prefix=/root/target --extra-cflags='-I/root/target/include -static' --extra-ldflags='-L/root/target/lib -lm -static' --disable-debug --disable-shared --enable-static --extra-cflags=--static --disable-ffplay --disable-ffserver --disable-doc --enable-openssl --enable-gpl --enable-pthreads --enable-postproc --enable-libass --enable-gray --enable-runtime-cpudetect --enable-libfaac --enable-gnutls --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-bzlib --enable-zlib --enable-nonfree --enable-version3 --enable-libvpx --enable-libxavs --disable-devices --enable-librtmp --extra-libs='-lrtmp -lnettle -lhogweed -lgmp -lssl -lcrypto -lz -lc -ldl'
- libavutil 54. 7.100 / 54. 7.100
- libavcodec 56. 1.100 / 56. 1.100
- libavformat 56. 4.101 / 56. 4.101
- libavdevice 56. 0.100 / 56. 0.100
- libavfilter 5. 1.100 / 5. 1.100
- libswscale 3. 0.100 / 3. 0.100
- libswresample 1. 1.100 / 1. 1.100
- libpostproc 53. 0.100 / 53. 0.100
- Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '2.mp4':
- Metadata:
- major_brand : isom
- minor_version : 512
- compatible_brands: isomiso2avc1mp41
- encoder : Lavf56.4.101
- Duration: 00:00:29.27, start: 0.021333, bitrate: 333 kb/s
- Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x400 [SAR 1:1 DAR 9:5], 137 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
- Metadata:
- handler_name : VideoHandler
- Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 192 kb/s (default)
- Metadata:
- handler_name : SoundHandler
- root@test:/tmp#
- ------------------------------------------------------------------------------------------------------------------------
- root@test:/tmp# ffmpeg -f concat -i mylist.txt -codec copy out.mp4
- ffmpeg version 2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
- built on Oct 18 2014 15:38:04 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
- configuration: --prefix=/root/ffmpeg/target --extra-cflags='-I/root/ffmpeg/target/include -static' --extra-ldflags='-L/root/ffmpeg/target/lib -lm -static' --disable-debug --disable-shared --enable-static --extra-cflags=--static --disable-ffplay --disable-ffserver --disable-doc --enable-openssl --enable-gpl --enable-pthreads --enable-postproc --enable-libass --enable-gray --enable-runtime-cpudetect --enable-libfaac --enable-gnutls --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-bzlib --enable-zlib --enable-nonfree --enable-version3 --enable-libvpx --enable-libxavs --disable-devices --enable-librtmp --extra-libs='-lrtmp -lnettle -lhogweed -lgmp -lssl -lcrypto -lz -lc -ldl'
- libavutil 54. 7.100 / 54. 7.100
- libavcodec 56. 1.100 / 56. 1.100
- libavformat 56. 4.101 / 56. 4.101
- libavdevice 56. 0.100 / 56. 0.100
- libavfilter 5. 1.100 / 5. 1.100
- libswscale 3. 0.100 / 3. 0.100
- libswresample 1. 1.100 / 1. 1.100
- libpostproc 53. 0.100 / 53. 0.100
- Input #0, concat, from 'mylist.txt':
- Duration: N/A, start: 0.000000, bitrate: 586 kb/s
- Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x400 [SAR 1:1 DAR 9:5], 458 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
- Stream #0:1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s
- Output #0, mp4, to 'out.mp4':
- Metadata:
- encoder : Lavf56.4.101
- Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 720x400 [SAR 1:1 DAR 9:5], q=2-31, 458 kb/s, 25 fps, 12800 tbn, 12800 tbc
- Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 127 kb/s
- Stream mapping:
- Stream #0:0 -> #0:0 (copy)
- Stream #0:1 -> #0:1 (copy)
- Press [q] to stop, [?] for help
- frame=35241 fps=0.0 q=-1.0 Lsize= 101063kB time=00:44:07.96 bitrate= 312.7kbits/s
- video:77784kB audio:22278kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.999979%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement