Re: [FFmpeg-user] Is a video generated with transitions different from a normal video?

2021-06-20 Thread iburman
Looks like I figured it out. Removing the -c copy seems to solve the problem. Thanks to all that replied. -Original Message- From: ffmpeg-user On Behalf Of ibur...@compuscience.com Sent: Sunday, June 20, 2021 8:19 PM To: 'FFmpeg user questions' Subject: Re: [FFmpeg-user] Is a video gen

[FFmpeg-user] Using local lensfun files in Ffmpeg

2021-06-20 Thread Jonathan Colledge
Hi all, I’m trying to correct some distortion with Ffmpeg and have made a lensfun profile for distortion only, but I can’t really submit it to the lensfun database as it is for an action camera (Insta360 One R One Inch Edition) that has stabilisation applied so it is really dependent on the par

Re: [FFmpeg-user] Is a video generated with transitions different from a normal video?

2021-06-20 Thread iburman
Hi Rob, I believe that your suspicion is correct, it has to do something with the seek and the frames available. I tried to do several cuts just changing the start and offset, and the results seem to confirm what you said: Start = 0, duration 12 - works as expected; final video duration is 12 and

Re: [FFmpeg-user] Is a video generated with transitions different from a normal video?

2021-06-20 Thread DEF
> > Ffmpeg -i v1.mp4 -i v2.mp4 -filter_complex > "xfade=transition=hlslice:duration=4:offset=7" -pix_fmt yuv420p output.mp4 > > > > So far so good. The transition happens between 7 and 11 of the new video. > > > > Now I want to create a new video by extracting the part that has the > transition, w

Re: [FFmpeg-user] Is a video generated with transitions different from a normal video?

2021-06-20 Thread Rob Hallam
On Sun, 20 Jun 2021, 15:51 , wrote: > Ffmpeg -ss 6 -i input.mp4 -to 6 -c copy output.mp4 > Did you try without doing a combined stream copy and seek apropos of my other reply? Rob > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.o

Re: [FFmpeg-user] Is a video generated with transitions different from a normal video?

2021-06-20 Thread iburman
Adding the console output files for the two "cut" commands. From: ibur...@compuscience.com Sent: Sunday, June 20, 2021 3:28 PM To: 'FFmpeg user questions' Subject: Is a video generated with transitions different from a normal video? Let's say that I concatenated two videos using transiti

Re: [FFmpeg-user] Is a video generated with transitions different from a normal video?

2021-06-20 Thread Rob Hallam
On Sun, 20 Jun 2021 at 13:28, wrote: > Now I want to create a new video by extracting the part that has the > transition, with an additional second on each side, so I want to cut from 6 > to 12 and I use the following: > > Ffmpeg -ss 6 -i input.mp4 -to 6 -c copy output.mp4 > > I expect a final vi

[FFmpeg-user] Is a video generated with transitions different from a normal video?

2021-06-20 Thread iburman
Let's say that I concatenated two videos using transitions (xfade). Does the final video "know/remember" that part of it was generated through transitions? Here is what is going on: I have two videos with 9 seconds each. I concatenate them using transition with duration 4 and offset 7. So t

[FFmpeg-user] Recording mjpg IP-Cam Stream via http

2021-06-20 Thread S. Helbig via ffmpeg-user
Hello, I've been trying to record an IP-cam stream (Foscam, mjpg) via http with ffmpeg. The stream URL looks like this: http://192.168.1.123:456/videostream.cgi?user=USERNAME&pwd=PWD So I created the string (w.o line wrap): ffmpeg -i -loglevel debug http://192.168.1.123:456/videostream.cgi?user=

Re: [FFmpeg-user] time between releasinf /dev/videoX and using it again

2021-06-20 Thread Ben Barker
Ah - it looks like this is the issue: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=197089 Though not entirely sure what is being done there! Looks like whatever it is is not an ffmpeg issue On Sun, Jun 20, 2021 at 11:13 AM Ben Barker wrote: > I am using ffmpeg to record from a UVC w

[FFmpeg-user] time between releasinf /dev/videoX and using it again

2021-06-20 Thread Ben Barker
I am using ffmpeg to record from a UVC webcam for X seconds that appears as /dev/videoX I have found that if a recording finishes, and I try to start another with the same command within ~0.5 seconds, I occasionally get an error that the device is not available. I assume this is down to some issu

Re: [FFmpeg-user] ffmpeg transitions not working

2021-06-20 Thread Paul B Mahol
On Sat, Jun 19, 2021 at 8:50 PM wrote: > Correction - adding the pix_fmt worked "Parcially"... > When I checked it further I noticed that in the final video, the first part > (before the transition) had the audio, but the second part had only video > without the audio. > I'm probably missing some

[FFmpeg-user] Extract Silence Data from Audio File

2021-06-20 Thread Robert Jeffares
using two features of ffmpeg I can get accurate cue points out of an audio file based on silences ffmpeg -hide_banner -i $AUDIO -af silencedetect=noise=-50dB:d=0.898 -f null - &> somewhatuseful.txt and employ them to edit the audio ffmpeg -y -hide_banner -loglevel error -i $AUDIO -ss $HEADNU