Re: [FFmpeg-user] Add subtitles to trimmed mp4

2021-02-12 Thread Leo Butler via ffmpeg-user
adam smith via ffmpeg-user writes: > Hi people, I have a subtitle question; yay. > > I have a 2 minute mp4 that I am going to trim using -ss and -to . > > I have a SRT subtitle file with timings that will line up with the trimmed > mp4. > > If I try and trim the mp4 and add the subtitles at

[FFmpeg-user] Trying to stream to rtmp from my rsp4 and a GoPro

2021-02-12 Thread Mike Soultanian
Hey Everyone, I'm trying to stream from my GoPro into a USB capture device through my Raspberry Pi 4 and send the feed up to Twitch or my rtmp server.  After a lot of head banging I realized that there were two things that were messing me up: 1) specifying an audio input seems to break things

[FFmpeg-user] Add subtitles to trimmed mp4

2021-02-12 Thread adam smith via ffmpeg-user
Hi people, I have a subtitle question; yay. I have a 2 minute mp4 that I am going to trim using -ss and -to . I have a SRT subtitle file with timings that will line up with the trimmed mp4. If I try and trim the mp4 and add the subtitles at the same time, the trim is ignored and the whole

Re: [FFmpeg-user] Is there something about inputting raw frames

2021-02-12 Thread pdr0
Mark Filipak (ffmpeg) wrote > On 02/12/2021 10:34 AM, pdr0 wrote: >> Mark Filipak (ffmpeg) wrote > > -snip- > >> "72fps" or "144fps" equivalent in a cinema is not the same thing - the >> analogy would be the cinema is repeating frames, vs interpolating new >> in-between frames on a motion flow

Re: [FFmpeg-user] Is there something about inputting raw frames

2021-02-12 Thread Mark Filipak (ffmpeg)
On 02/12/2021 10:34 AM, pdr0 wrote: Mark Filipak (ffmpeg) wrote -snip- "72fps" or "144fps" equivalent in a cinema is not the same thing - the analogy would be the cinema is repeating frames, vs interpolating new in-between frames on a motion flow TV. ... To some transcodes, repeating

Re: [FFmpeg-user] Re-writing hot .ts file that rotates every 24 hours in realtime

2021-02-12 Thread Michael Glenn Williams
Hi Korn, We need additional info to help you. What O/S are you working with? This is relevant to the buffered input and output when reading from stdin and writing to stdout. What language are you writing your script/program in? This is relevant to what capabilities your tool will have access to.

Re: [FFmpeg-user] Same output bit depth and sampling frequency as input?

2021-02-12 Thread Paul B Mahol
On Fri, Feb 12, 2021 at 7:17 PM Marco Mircoli wrote: > Il giorno ven 12 feb 2021 alle ore 10:53 Paul B Mahol > ha > scritto: > > > On Fri, Feb 12, 2021 at 12:48 AM Marco Mircoli > > wrote: > > > > > Hello everybody, > > > wondering how to set the same output audio specs (sample rate anche >

Re: [FFmpeg-user] Same output bit depth and sampling frequency as input?

2021-02-12 Thread Marco Mircoli
Il giorno ven 12 feb 2021 alle ore 10:53 Paul B Mahol ha scritto: > On Fri, Feb 12, 2021 at 12:48 AM Marco Mircoli > wrote: > > > Hello everybody, > > wondering how to set the same output audio specs (sample rate anche bit > > depth) as input. > > > > I tried like that > > > > ffmpeg -i

Re: [FFmpeg-user] Is there something about inputting raw frames

2021-02-12 Thread pdr0
Mark Filipak (ffmpeg) wrote >> Either way, cadence wise that's going to be worse in terms of smoothness >> then an optical flow retimed 6/1001 . (Some people would argue it's >> worse period, you're retiming it and making it look like a soap opera...) > > You know, I think that "soap opera"

Re: [FFmpeg-user] Is there something about inputting raw frames

2021-02-12 Thread Mark Filipak (ffmpeg)
On 02/12/2021 04:49 AM, Paul B Mahol wrote: On Fri, Feb 12, 2021 at 9:36 AM Mark Filipak (ffmpeg) wrote: On 02/12/2021 02:48 AM, pdr0 wrote: Mark Filipak (ffmpeg) wrote On 02/12/2021 02:28 AM, pdr0 wrote: Mark Filipak (ffmpeg) wrote On 02/12/2021 01:27 AM, pdr0 wrote: Mark Filipak

Re: [FFmpeg-user] Same output bit depth and sampling frequency as input?

2021-02-12 Thread Paul B Mahol
On Fri, Feb 12, 2021 at 12:48 AM Marco Mircoli wrote: > Hello everybody, > wondering how to set the same output audio specs (sample rate anche bit > depth) as input. > > I tried like that > > ffmpeg -i FILE_FROM -af dynaudnorm,loudnorm=I=-16. > 5:TP=-1.5:LRA=7 -sample_fmt s16 -ar 44100 FILE_TO

Re: [FFmpeg-user] Is there something about inputting raw frames

2021-02-12 Thread Paul B Mahol
On Fri, Feb 12, 2021 at 9:36 AM Mark Filipak (ffmpeg) wrote: > On 02/12/2021 02:48 AM, pdr0 wrote: > > Mark Filipak (ffmpeg) wrote > >> On 02/12/2021 02:28 AM, pdr0 wrote: > >>> Mark Filipak (ffmpeg) wrote > On 02/12/2021 01:27 AM, pdr0 wrote: > > Mark Filipak (ffmpeg) wrote > >> Is

Re: [FFmpeg-user] Is there something about inputting raw frames

2021-02-12 Thread Mark Filipak (ffmpeg)
On 02/12/2021 02:48 AM, pdr0 wrote: Mark Filipak (ffmpeg) wrote On 02/12/2021 02:28 AM, pdr0 wrote: Mark Filipak (ffmpeg) wrote On 02/12/2021 01:27 AM, pdr0 wrote: Mark Filipak (ffmpeg) wrote Is there something about inputting raw frames that I don't know? I'm using 'vspipe' to pipe raw

[FFmpeg-user] Re-writing hot .ts file that rotates every 24 hours in realtime

2021-02-12 Thread Korn Moffle
Hello, we have a file that is written in realtime into .ts (MPEG-2). The file is written for 24 hours and then a new file starts. Can we use ffmpeg to: a. copy the file in realtime ? So, ffmpeg would be rewriting file1.ts into file2.ts as file1.ts is constantly being written into. b. tell