0
我試圖讓在GStreamer視頻可搜索可搜索的視頻,多次研究後,我發現,matroskamux和文件接收插件會做到這一點,但它不工作。如何使在GStreamer
這是我的管道:
gst-launch-1.0 videotestsrc ! x264enc ! h264parse ! matroskamux ! filesink location=test.mkv
我創建一個5秒的視頻:
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:05.989791758
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
當我從GStreamer的運行發現應用:
[email protected]:~/Desktop$ gst-discoverer-1.0 test.mkv
Analyzing file:///home/user/Desktop/test.mkv
Done discovering file:///home/user/Desktop/test.mkv
Topology:
container: Matroska
video: H.264
Properties:
Duration: 0:00:00.566333333
Seekable: yes
Tags:
container format: Matroska
video codec: H264
minimum bitrate: 989280
bitrate: 1045608
maximum bitrate: 989280
持續時間爲0 :00:00.566333333,無論真實的視頻持續時間如何,這個值都是一樣的!視頻不可搜索。
我做錯了什麼?
謝謝!有效! – PierreOlivier