[FFmpeg-user] can't set mpegts metadata

2021-09-03 Thread Alexander Machev
Hi, ffmpeg ignores my settings about these options - "service_name", "service_provider" and "service_type" and sets its default values instead. If I remove the -program option everything works fine, otherwise it won't. ffmpeg -y -i "L:\test.ts" -c copy -map 0 -map_metadata 0 -movflags use_metada

[FFmpeg-user] repair missing audio header

2021-04-18 Thread Alexander Machev
ffmpeg is reporting audio errors in some of my tv recordings. [mp2 @ 03956040] [error] Header missing [error] Error while decoding stream #0:1: Invalid data found when processing input Is it possible to fix them without reencoding the whole audio stream ? As far as I know an mpeg audio he

[FFmpeg-user] trim and pad audio without reencode

2020-04-08 Thread Alexander Machev
I want to align the audio stream in the input to has the exact same duration as the video stream. So, if audio length is lower than video, fill the gap with silence. If audio stream is over length than video, cut the audio to fit the video length. It seems apad and atrim filters can do the job, bu

Re: [FFmpeg-user] can't remove metadata

2020-03-12 Thread Alexander Machev
Hi, It's replaced by the ffmpeg's default values and that's what I'm trying to avoid. I want to completely get rid of these things: https://prnt.sc/rfhi5k On Thu, Mar 12, 2020 at 8:43 PM Ted Park wrote: > Hi, > > > According to the docs using -metadata with empty values should do the > > trick,

[FFmpeg-user] can't remove metadata

2020-03-12 Thread Alexander Machev
I'm trying to disable copying of the "service_provider", "service_name" and "service_type" metadata entries and prevent ffmpeg to set its default values for them (Service01, FFmpeg, digital television) while remuxing to a new MPEG-TS container. ts_sample_with_metadata.ts