How open Gstreamer raw file?
up vote
0
down vote
favorite
I want to capture RAW picture from webcam, But I do not want to use JPG, Because it makes the picture bad and full of noise.
I can shoot a RAW video using this code, and also can open the file using VLC without any problems.
gst-launch-1.0 -q v4l2src ! video/x-raw,width=1280,height=720,framerate=10/1 ! avimux ! filesink location=test.avi
Also i can shoot a RAW picture using this code.
gst-launch-1.0 v4l2src num-buffers=1 ! video/x-raw,width=1280,height=720,framerate=10/1 ! filesink location=test.raw
But the problem is that the file does not open using a photo editor such as GIMP.
RAW YUV 4:2:2 file you can download
My OS is Ubuntu.
Is the problem in the Gstreamer? (Maybe need to convert picture, but without loss details, How?)
Is the problem in the GIMP? (Maybe does not support RAW, what alternative?)
gimp image-editing gstreamer camera-raw yuv
add a comment |
up vote
0
down vote
favorite
I want to capture RAW picture from webcam, But I do not want to use JPG, Because it makes the picture bad and full of noise.
I can shoot a RAW video using this code, and also can open the file using VLC without any problems.
gst-launch-1.0 -q v4l2src ! video/x-raw,width=1280,height=720,framerate=10/1 ! avimux ! filesink location=test.avi
Also i can shoot a RAW picture using this code.
gst-launch-1.0 v4l2src num-buffers=1 ! video/x-raw,width=1280,height=720,framerate=10/1 ! filesink location=test.raw
But the problem is that the file does not open using a photo editor such as GIMP.
RAW YUV 4:2:2 file you can download
My OS is Ubuntu.
Is the problem in the Gstreamer? (Maybe need to convert picture, but without loss details, How?)
Is the problem in the GIMP? (Maybe does not support RAW, what alternative?)
gimp image-editing gstreamer camera-raw yuv
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to capture RAW picture from webcam, But I do not want to use JPG, Because it makes the picture bad and full of noise.
I can shoot a RAW video using this code, and also can open the file using VLC without any problems.
gst-launch-1.0 -q v4l2src ! video/x-raw,width=1280,height=720,framerate=10/1 ! avimux ! filesink location=test.avi
Also i can shoot a RAW picture using this code.
gst-launch-1.0 v4l2src num-buffers=1 ! video/x-raw,width=1280,height=720,framerate=10/1 ! filesink location=test.raw
But the problem is that the file does not open using a photo editor such as GIMP.
RAW YUV 4:2:2 file you can download
My OS is Ubuntu.
Is the problem in the Gstreamer? (Maybe need to convert picture, but without loss details, How?)
Is the problem in the GIMP? (Maybe does not support RAW, what alternative?)
gimp image-editing gstreamer camera-raw yuv
I want to capture RAW picture from webcam, But I do not want to use JPG, Because it makes the picture bad and full of noise.
I can shoot a RAW video using this code, and also can open the file using VLC without any problems.
gst-launch-1.0 -q v4l2src ! video/x-raw,width=1280,height=720,framerate=10/1 ! avimux ! filesink location=test.avi
Also i can shoot a RAW picture using this code.
gst-launch-1.0 v4l2src num-buffers=1 ! video/x-raw,width=1280,height=720,framerate=10/1 ! filesink location=test.raw
But the problem is that the file does not open using a photo editor such as GIMP.
RAW YUV 4:2:2 file you can download
My OS is Ubuntu.
Is the problem in the Gstreamer? (Maybe need to convert picture, but without loss details, How?)
Is the problem in the GIMP? (Maybe does not support RAW, what alternative?)
gimp image-editing gstreamer camera-raw yuv
gimp image-editing gstreamer camera-raw yuv
asked Nov 20 at 5:41
Mah Abo
1
1
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
PNG is lossless formate, so maybe ther's no difference between RAW and PNG except PNG file size is smaller than RAW file size.
gst-launch-1.0 v4l2src num-buffers=1 ! video/x-raw,width=1280,height=720,framerate=10/1 ! videoconvert ! pngenc snapshot=false compression-level=1 ! filesink location=img-test.png
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
PNG is lossless formate, so maybe ther's no difference between RAW and PNG except PNG file size is smaller than RAW file size.
gst-launch-1.0 v4l2src num-buffers=1 ! video/x-raw,width=1280,height=720,framerate=10/1 ! videoconvert ! pngenc snapshot=false compression-level=1 ! filesink location=img-test.png
add a comment |
up vote
0
down vote
PNG is lossless formate, so maybe ther's no difference between RAW and PNG except PNG file size is smaller than RAW file size.
gst-launch-1.0 v4l2src num-buffers=1 ! video/x-raw,width=1280,height=720,framerate=10/1 ! videoconvert ! pngenc snapshot=false compression-level=1 ! filesink location=img-test.png
add a comment |
up vote
0
down vote
up vote
0
down vote
PNG is lossless formate, so maybe ther's no difference between RAW and PNG except PNG file size is smaller than RAW file size.
gst-launch-1.0 v4l2src num-buffers=1 ! video/x-raw,width=1280,height=720,framerate=10/1 ! videoconvert ! pngenc snapshot=false compression-level=1 ! filesink location=img-test.png
PNG is lossless formate, so maybe ther's no difference between RAW and PNG except PNG file size is smaller than RAW file size.
gst-launch-1.0 v4l2src num-buffers=1 ! video/x-raw,width=1280,height=720,framerate=10/1 ! videoconvert ! pngenc snapshot=false compression-level=1 ! filesink location=img-test.png
answered Nov 20 at 18:38
Mah Abo
1
1
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376854%2fhow-open-gstreamer-raw-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown