Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # READ FROM PIPE: FAILS
- % ffmpeg -i - -an -r 25 -f rawvideo -vcodec rawvideo -pix_fmt yuv420p - < input.mp4 > output.mp4 ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
- built on Oct 22 2012 12:39:32 with Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
- configuration: --prefix=/usr/local/Cellar/ffmpeg/1.0 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
- libavutil 51. 73.101 / 51. 73.101
- libavcodec 54. 59.100 / 54. 59.100
- libavformat 54. 29.104 / 54. 29.104
- libavdevice 54. 2.101 / 54. 2.101
- libavfilter 3. 17.100 / 3. 17.100
- libswscale 2. 1.101 / 2. 1.101
- libswresample 0. 15.100 / 0. 15.100
- libpostproc 52. 0.100 / 52. 0.100
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fea2301ae00] stream 0, offset 0x2c: partial file
- [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fea2301ae00] Could not find codec parameters for stream 0 (Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 316 kb/s): unspecified size
- Consider increasing the value for the 'analyzeduration' and 'probesize' options
- pipe:: could not find codec parameters
- %
- # READ FROM FILE: WORKS
- % ffmpeg -i input.mp4 -an -r 25 -f rawvideo -vcodec rawvideo -pix_fmt yuv420p output.rawyuv
- ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
- built on Oct 22 2012 12:39:32 with Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
- configuration: --prefix=/usr/local/Cellar/ffmpeg/1.0 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
- libavutil 51. 73.101 / 51. 73.101
- libavcodec 54. 59.100 / 54. 59.100
- libavformat 54. 29.104 / 54. 29.104
- libavdevice 54. 2.101 / 54. 2.101
- libavfilter 3. 17.100 / 3. 17.100
- libswscale 2. 1.101 / 2. 1.101
- libswresample 0. 15.100 / 0. 15.100
- libpostproc 52. 0.100 / 52. 0.100
- Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
- Metadata:
- major_brand : isom
- minor_version : 512
- compatible_brands: isomiso2mp41
- creation_time : 1970-01-01 00:00:00
- encoder : Lavf53.4.0
- Duration: 00:00:10.00, start: 0.000000, bitrate: 318 kb/s
- Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 512x288 [SAR 1:1 DAR 16:9], 316 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
- Metadata:
- creation_time : 1970-01-01 00:00:00
- handler_name : VideoHandler
- Output #0, rawvideo, to 'output.rawyuv':
- Metadata:
- major_brand : isom
- minor_version : 512
- compatible_brands: isomiso2mp41
- encoder : Lavf54.29.104
- Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449), yuv420p, 512x288 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 25 tbc
- Metadata:
- creation_time : 1970-01-01 00:00:00
- handler_name : VideoHandler
- Stream mapping:
- Stream #0:0 -> #0:0 (mpeg4 -> rawvideo)
- Press [q] to stop, [?] for help
- frame= 250 fps=0.0 q=0.0 Lsize= 54000kB time=00:00:10.00 bitrate=44236.8kbits/s
- video:54000kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.000000
- %
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement