I've got following pipeline. During the execution of the pipeline g streamer correctly reports the duration of the video, but when i try to open test.mp3
with VLC the duration just jumps around.
Elisa just show wrong duration about 5x the original, the same with dolphin file explorer under properties -> Details.
gst-launch-1.0 -e souphttpsrc location="$(yt-dlp --format "worst[ext=mp4]" --get-url some_url)" ! decodebin ! audioconvert ! lamemp3enc ! filesink location=./test.mp3
How can i fix it?
I've seen this issue. I've added -e
flag but it didn't help
Iirc that is an issue with the MP3 file format when using VBR. Try using cbr=true target=bitrate
as options for lamemp3enc
.