Video file created by gst_parse_launch can't be read

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Video file created by gst_parse_launch can't be read

Akmal
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Video file created by gst_parse_launch can't be read

kiran
Hello Akmal,

I have faced issues with capabilities of x264enc and muxer.
I would suggest you to remove avimux and dump encoder output to a file.

gst_parse_launch("autovideosrc ! video/x-raw,width=640,height=480,framerate=30/1 ! 
tee name=tsplit ! x264enc qp-min=18 !filesink location=output.mp4 

and output.mp4 should be playable using ffmpeg / vlc player  

Worth a try or you can even change avimux with other options flvmux.

Cheers,
Kiran


On Mon, Jun 25, 2018 at 10:39 PM, Akmal Hisyam <[hidden email]> wrote:
Hello everyone,

I'm currently coding on Visual Studio 2017 on Windows 10 to create a program using gst_parse_launch to save a webcam video with filesink. The pipeline is as follow :

gst_parse_launch("autovideosrc ! video/x-raw,width=640,height=480,framerate=30/1 ! 
tee name=tsplit ! x264enc qp-min=18 ! h264parse ! avimux ! 
filesink location=output.mp4 tsplit. ! 
queue ! matroskamux ! queue leaky=2 ! 
tcpserversink host=192.168.1.203 port=7001", NULL);

I've encountered a problem where I couldn't read/play a video output file created by the program written on C++ and by lauching ffprobe.exe to this file, I have no information at all bout the file. However, if I launch the same pipeline on command prompt and on Windows PowerShell, the video output file could be read perfectly and by lauching ffprobe.exe to this file, I have all the informations about this file. 

I hope someone can help me with this. Thanks in advance !

Akmal

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel