Re: [FFmpeg-user] repeat a frame

2021-03-04 Thread Mark Filipak (ffmpeg)
On 2021-03-04 09:26, Moritz Barsnick wrote: On Thu, Mar 04, 2021 at 03:57:38 -0500, Mark Filipak (ffmpeg) wrote: Well, per rational.h, 'num' & 'den' are both integers. Now, I don't know how '72' is stored. Is it stored as an int64? They are defined as "int", which can be platform

[FFmpeg-user] hstack with one video offset in time?

2021-03-04 Thread Steven Kan
I have captured some nice footage of 3 coyotes traipsing through my yard, from two IP cameras facing opposite directions. Recording was initiated by in-camera motion triggers, so the recordings start about 50 seconds apart, as you can tell from the burned-in timestamps at the start of each

Re: [FFmpeg-user] repeat a frame

2021-03-04 Thread Mark Filipak (ffmpeg)
On 2021-03-04 09:36, Michael Koch wrote: Am 03.03.2021 um 23:57 schrieb Mark Filipak (ffmpeg): I've tried transcoding a 2:21:19 movie via this script: SET prep23=settb=expr=1/72,setpts=N*30030 SET cfr23=setpts=N*1001/24000/TB,fps=24000/1001 SET codecs=-codec:v libx265 -x265-params

Re: [FFmpeg-user] hstack with one video offset in time?

2021-03-04 Thread Peter White
On 04.03.21 21:36, Steven Kan wrote: I have captured some nice footage of 3 coyotes traipsing through my yard, from two IP cameras facing opposite directions. Recording was initiated by in-camera motion triggers, so the recordings start about 50 seconds apart, as you can tell from the

Re: [FFmpeg-user] hstack with one video offset in time?

2021-03-04 Thread Peter White
On 04.03.21 22:56, Peter White wrote: Something like this: ffmpeg -f lavfi -i ffmpeg -f lavfi -i color=size=960x720:rate=60:color=black -c libvpx-vp9 -t 50 offset.ts Sorry, there is a mistake here. This is what I actually meant: ffmpeg -f lavfi -i color=size=960x720:rate=60:color=black -c

Re: [FFmpeg-user] hstack with one video offset in time?

2021-03-04 Thread Paul B Mahol
On Thu, Mar 4, 2021 at 9:36 PM Steven Kan wrote: > I have captured some nice footage of 3 coyotes traipsing through my yard, > from two IP cameras facing opposite directions. Recording was initiated by > in-camera motion triggers, so the recordings start about 50 seconds apart, > as you can tell

Re: [FFmpeg-user] repeat a frame

2021-03-04 Thread Mark Filipak (ffmpeg)
On 2021-03-04 11:02, Peter White wrote: On 03.03.21 23:57, Mark Filipak (ffmpeg) wrote: On 2021-03-03 11:30, Mark Filipak (ffmpeg) wrote: I've tried transcoding a 2:21:19 movie via this script: SET codecs=-codec:v libx265 -x265-params crf=16:qcomp=1.00 -codec:a copy -codec:s copy -dn FWIW

[FFmpeg-user] matroska.h

2021-03-04 Thread Mark Filipak (ffmpeg)
Please, enlighten this poor bastard. matroska.h is here: http://patches.ffmpeg.org/doxygen/0.5/matroska_8h-source.html So, what is this: http://patches.ffmpeg.org/doxygen/0.5/matroska_8h.html and why does it exist? -- In U.S. History: The House Un-American Activities Committee was a

[FFmpeg-user] Wanted: Fields-to-frames filter that does not add cosmetics

2021-03-04 Thread Mark Filipak (ffmpeg)
Hi All, 'yadif=mode=send_field' is one way to convert fields to frames at the same frame size and twice the FR. It does it by repeating fields, but it also adds cosmetics -- it is, after all, a motion interpolation filter. I seek a fields-to-frames filter that does not add cosmetics. In my

Re: [FFmpeg-user] hstack with one video offset in time?

2021-03-04 Thread Steven Kan
> On Mar 4, 2021, at 1:57 PM, Paul B Mahol wrote: > > On Thu, Mar 4, 2021 at 9:36 PM Steven Kan wrote: > >> I have captured some nice footage of 3 coyotes traipsing through my yard, >> from two IP cameras facing opposite directions. Recording was initiated by >> in-camera motion triggers, so

Re: [FFmpeg-user] repeat a frame

2021-03-04 Thread Mark Filipak (ffmpeg)
On 2021-03-04 01:05, Jim DeLaHunt wrote: On 2021-03-03 14:57, Mark Filipak (ffmpeg) wrote: With TB = 1/(72 ticks/s), for a 24.976fps output, deltaPTS = (1001/24000 frames/s)/(1/(72 ticks/s)) = 30030 ticks/frame If working time_base (from the AVRational) has an effective resolution of

Re: [FFmpeg-user] repeat a frame

2021-03-04 Thread Moritz Barsnick
On Thu, Mar 04, 2021 at 03:57:38 -0500, Mark Filipak (ffmpeg) wrote: > Well, per rational.h, 'num' & 'den' are both integers. > > Now, I don't know how '72' is stored. Is it stored as an int64? They are defined as "int", which can be platform dependant. ffmpeg assumes/guarantees ints to be at

Re: [FFmpeg-user] repeat a frame

2021-03-04 Thread Michael Koch
Am 03.03.2021 um 23:57 schrieb Mark Filipak (ffmpeg): I've tried transcoding a 2:21:19 movie via this script: SET prep23=settb=expr=1/72,setpts=N*30030 SET cfr23=setpts=N*1001/24000/TB,fps=24000/1001 SET codecs=-codec:v libx265 -x265-params crf=16:qcomp=1.00 -codec:a copy -codec:s copy

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Phil Rhodes via ffmpeg-user
Hi there Can I suggest you post for us the actual commandline that ends up getting executed, and the output from ffmpeg, at least until it gets down to the serious number crunching? The problem may be in the way the command is being assembled. P On Thursday, 4 March 2021, 16:18:15 GMT,

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Phil Rhodes via ffmpeg-user
Hi Laura OK. Ordinarily I'd say unless the filenames literally contain your home address and phone number, don't obfuscate them, because that's exactly the sort of place the wet can get in. Still, in this case it does look like it's seeing the input audio and then writing about 4.5MB of audio

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Laura Smith via ffmpeg-user
Hi, The bit I posted was from a shell script so it was posted verbatim. The variables are being correctly substituted because $SOURCE is found and the output is at the expected $OUTDIR + $OUTPFX location. As for the output, see below.  I have changed filenames to obfuscated values because I

Re: [FFmpeg-user] repeat a frame

2021-03-04 Thread Peter White
On 03.03.21 23:57, Mark Filipak (ffmpeg) wrote: On 2021-03-03 11:30, Mark Filipak (ffmpeg) wrote: I've tried transcoding a 2:21:19 movie via this script: SET codecs=-codec:v libx265 -x265-params crf=16:qcomp=1.00 -codec:a copy -codec:s copy -dn FWIW I could not help but notice that you

[FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Laura Smith via ffmpeg-user
Hi, Am I missing something simple here ? The command I am using is based on the example given at  https://google.github.io/shaka-packager/html/tutorials/encoding.html : ffmpeg -i "${SOURCE}" -c:a copy \ -vf "scale=-2:1080" \ -c:v libx264 -profile:v high -level:v 4.2 \ -x264-params

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Laura Smith via ffmpeg-user
Hi Phil Just standard Mac OS X preview (click on a mp4 and hit space, it pops up a preview window and starts playing). Doing so on the source file provides stereo audio output that is identical to what is seen in Adobe Premiere. Doing so on the ffmpeg output provides pure silence. Laura

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Peter White
On 04.03.21 17:38, Laura Smith via ffmpeg-user wrote:   Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)     Metadata:   creation_time   : 2021-03-04T10:22:01.00Z   handler_name    : #Mainconcept MP4 Sound Media Handler  

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Peter White
On 04.03.21 18:21, Laura Smith via ffmpeg-user wrote: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Transcodings/file.mp4': That looks like a different file, judging by your original post: > "${OUTDIR}/1080/${OUTPFX}_1080.mp4" There should be a file ending with _1080.mp4 in ${OUTDIR}/1080/,

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Phil Rhodes via ffmpeg-user
Hmm. Can you convert a small test file, verify it has the same issue, and upload it somewhere? Also, can you install a separate media player such as VLC, and try playing the output file in that? P On Thursday, 4 March 2021, 17:07:53 GMT, Laura Smith wrote: Hi Phil Just standard Mac

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Peter White
On 04.03.21 17:17, Laura Smith via ffmpeg-user wrote: -minrate 6000k -maxrate 6000k -bufsize 6000k -b:v 6000k I know this is off topic and you are free to ignore this but I cannot stand having to look at badly encoded videos on the interweb. Why do you force a constant bitrate? I see that

Re: [FFmpeg-user] No audio on ffmpeg output

2021-03-04 Thread Laura Smith via ffmpeg-user
Hi Peter Actually, I have inadvertently already tried it with "another program". The target for all this work is web playback on video.js. The lack of audio on video.js is what then drove me back to trying to listen to it on OS X. ;-) ffprobe: ffprobe version N-101386-g77ce903f7a Copyright

Re: [FFmpeg-user] repeat a frame

2021-03-04 Thread Mark Filipak (ffmpeg)
On 2021-03-02 13:31, Carl Eugen Hoyos wrote: Am Di., 2. März 2021 um 17:50 Uhr schrieb Mark Filipak (ffmpeg) : I've searched the docs one-by-one. I seek a simpler way to repeat a frame. Increase the frame rate, either with the fps filter or the ffmpeg option "-r". They differ in their