|
Size: 695
Comment: converted to 1.6 markup
|
← Revision 8 as of 2009-06-20 19:28:42 ⇥
Size: 733
Comment: fix decodebin to multifilesink pipeline
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 18: | Line 18: |
| gst-launch decodebin uri=file:///path/to/some/file ! \ | gst-launch uridecodebin uri=file:///path/to/some/file ! \ ffmpegcolorspace ! videoscale ! |
multifilesink
Multifilesink is an element that is designed to write individual buffers to sequentially named files. Unlike most other elements, multifilesink is meant to be most useful in scripts and gst-launch command lines.
Examples
Create 100 files (00000 to 00099) containing the raw video frames generated by videotestsrc:
gst-launch videotestsrc num-buffers=100 ! \ video/x-raw-yuv,format=\(I420\),width=320,height=240 ! \ multifilesink
Dump a video to a series of PNG files:
gst-launch uridecodebin uri=file:///path/to/some/file ! \ ffmpegcolorspace ! videoscale ! pngenc snapshot=false ! multifilesink location=output-%05d.png

