Trying to TAG an MP4 encoded file - Not working

Andy Robinson andy at seventhstring.com
Sun Dec 24 12:07:05 UTC 2023


On 24/12/2023 10:12, rvsw dev via gstreamer-devel wrote:
> Can someone add an example of working tagging to an encoded video file 
> in MP$ container?

Here is a script I used to construct an mp4 with multiple soundtracks, 
injecting language tags:

export GSTELS='! decodebin ! audioconvert ! audioresample ! voaacenc ! 
queue ! taginject'

gst-launch-1.0 filesrc location="07 Samba Pa Ti.mp3" ${GSTELS} 
tags="language-code=\"es\"" ! mux. \
	filesrc location="11 Manoir de Mes Reves.wav" ${GSTELS} 
tags="language-code=\"ms\"" ! mux. \
	filesrc location="14 That's A-Plenty.mp3" ${GSTELS} 
tags="language-code=\"tr\"" ! mux. \
	filesrc location="/home/andy/Videos/JAttendrai.flv" ${GSTELS} 
tags="language-code=\"ja\"" ! mux. \
	mp4mux name=mux  ! filesink location=4track.mp4

Regards,
Andy Robinson, Seventh String Software, www.seventhstring.com



More information about the gstreamer-devel mailing list