You are not logged in.
Hello,
I am trying to encode a video cut with Pitivi, the goal is to be able to view it on TV via a Synology NAS. Target format is MP4-container with H.264 and AAC. Rendering with Shotcut and UBUNTU worked, but I'd like to use Pitivi for editing under Arch Linux. Pitivi produces a file with a codec shown in Nautilus as H.264 (High 4:4:4 Profile), while Shutcut produces a H.264 (Main Profile), and I don't know how to change this (not documented?)
I found on Planet Pitivi a command line that kind of gives the desired result, except that the sound codec is mp3:
ges-launch-1.0 -l pitivi-project.xges -o out.mp4 -f "video/quicktime,variant=iso:video/x-h264:audio/mpeg,mpegversion=1,layer=3"I just need to replace the last part of the command (the audio) to get the AAC. codec. Very difficult for me to find documentation
, as I don't want to stream live.
Thx for helping,
Olivier
Last edited by idoki05 (2018-05-29 11:14:10)
Offline
You want to remove the layer and instead use mpegversion=4
gst-launch-1.0 -l pitivi-project.xges -o out.mp4 -f "video/quicktime,variant=iso:video/x-h264:audio/mpeg,mpegversion=4"Ref: https://gstreamer.freedesktop.org/data/ … -faac.html -- look at the src definitions. You will need to have gst-plugins-bad installed.
Offline
Hi,
Thank you very much, this works perfectly for the audio part ![]()
(I just have to use ges-launch-1.0, because gst-launch-1.0 does not accept the -l (timeline) parameter)
Offline