Video file created by gst_parse_launch can't be read
Kiran ND
kiran at algorythma.com
Tue Jun 26 05:12:55 UTC 2018
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 <akmalhisyam36 at gmail.com>
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
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180626/05147511/attachment-0001.html>
More information about the gstreamer-devel
mailing list