2017-01-27 3 views
1

Ich verwende einen anderen Befehl für die Konvertierung der. YUV zu h264 Bitte führen Sie mich diesbezüglich.Wie konvertiert man YUV-Dateiformat auf H.264 mit G Streamer?

gst-launch-1.0 filesrc location=test.yuv ! video/x-raw-yuv,format=\(fourcc\)YUY2, width=64, height=32, framerate=\(fraction\)30/1 ! xvimagesink 

auch, ich versuche,

gst-launch-1.0 filesrc location= no__.yuv ! legacyh264parse ! ffdec_h264 ! queue ! ffmpegcolorspace ! autovideosink 

Bitte helfen Sie mir in Bezug auf.

Antwort

0

Sie können diese beziehen sich auf http://wiki.oz9aec.net/index.php/Gstreamer_cheat_sheet

Für z.B.

gst-launch -e filesrc location=test.yuv ! video/x-raw-yuv,format=\(fourcc\)YUY2, width=64, height=32, framerate=\(fraction\)30/1 ! x264enc ! mpegtsmux ! filesink location=test.ts 

Installieren x264enc

sudo apt-get install libx264-dev 
mit
Verwandte Themen