[FFmpeg-user] DVCPro50 MXF

2023-02-23 Thread adam smith via ffmpeg-user
Hi people, hope you are all good. I am using ffmpeg 5.1.2 I am trying to make a DVCPro50 in a MXF wrapper but I am getting some odd results. If I start by trying to make it a DV wrapper it’s still giving me some problems. For example, I choose -target pal-dv50 and it looks like it’s encoding

Re: [FFmpeg-user] Error initializing filter 'channelsplit' with args 'channel_layout=stereo:channels=FL|FR'

2023-01-04 Thread adam smith via ffmpeg-user
> On 4 Jan 2023, at 17:23, Paul B Mahol wrote: > > If itt worked previously it was by pure luck. Lucky me. Thanks, I appreciate your help. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To

Re: [FFmpeg-user] Error initializing filter 'channelsplit' with args 'channel_layout=stereo:channels=FL|FR'

2023-01-04 Thread adam smith via ffmpeg-user
> On 4 Jan 2023, at 16:30, Paul B Mahol wrote: > > Correct syntax is FL+FR and not using '|’ Thanks very much Paul, I will give it a whirl. Do you know if I was just being lucky it worked at all previously or is this a change? ___

[FFmpeg-user] Error initializing filter 'channelsplit' with args 'channel_layout=stereo:channels=FL|FR'

2023-01-04 Thread adam smith via ffmpeg-user
Hi Everyone, I have been running this command no problem using FFmpeg 5.0; but after updating to 5.1.2 it is complaining about the arguments used in the channel split. Error initializing filter 'channelsplit' with args 'channel_layout=stereo:channels=FL|FR’ Command line ffmpeg -i

[FFmpeg-user] Unrecognized option -intra FFmpeg 5.0

2022-02-22 Thread adam smith via ffmpeg-user
Hi fellow FFmpeg enthusiasts. Hope everyone is doing well. I have updated to FFmpeg v5.0 and mostly I am having a great time. I am however having an issue with Unrecognised option -intra when trying to create IMX30 or IMX50. The command below was working in 4.4 /usr/src/app # ffmpeg -y -i

Re: [FFmpeg-user] Tokenised http subtitle source

2021-04-14 Thread adam smith via ffmpeg-user
> On 14 Apr 2021, at 16:14, adam smith via ffmpeg-user > wrote: > > I will test again with the quotes through the script so it will fit in one > command and get back to you. Double quotes has saved the day. That is a nice easy fix. Thank you Moritz

Re: [FFmpeg-user] Tokenised http subtitle source

2021-04-14 Thread adam smith via ffmpeg-user
> On 14 Apr 2021, at 16:12, adam smith via ffmpeg-user > wrote: > > I have included the quotes on the subtitle file path. > If I use the url in a browser the SRT file is downloaded so I know the > credentials are ok. > Thanks for your help. Looking at what I just did

Re: [FFmpeg-user] Tokenised http subtitle source

2021-04-14 Thread adam smith via ffmpeg-user
> >> You should show us the complete, uncut console output, without the >> access key of course. > I have included the quotes on the subtitle file path. If I use the url in a browser the SRT file is downloaded so I know the credentials are ok. Thanks for your help. > ffmpeg -y -ss 00:00.00 -to

Re: [FFmpeg-user] Tokenised http subtitle source

2021-04-14 Thread adam smith via ffmpeg-user
> You should show us the complete, uncut console output, without the > access key of course. I will try again splitting up the command line so it fits in the command line so I can get a proper output. > > It looks like you may be using Unix/Linux and your shell is > interpreting '&'. You may

[FFmpeg-user] Tokenised http subtitle source

2021-04-14 Thread adam smith via ffmpeg-user
Hi group, hope you are all good. I am trying to embed subtitles onto an mp4 and everything is working very nicely thank you; except that the source location for the subtitle file is going to change. It was previously an open http url and the command looked like this… ffmpeg -y -ss 00:00.00 -to

Re: [FFmpeg-user] Continuous live stream capture

2021-03-29 Thread adam smith via ffmpeg-user
> On 25 Mar 2021, at 14:40, Bo Berglund wrote: > > So this process starts at the time set for the at command and ends after 66 > minutes in this case. Thanks for the advice Bo. I think is pretty much what I am doing, so its nice to have some confirmation that I am not alone in using a timed

Re: [FFmpeg-user] ffmpeg srt to udp

2021-03-22 Thread adam smith via ffmpeg-user
> On 22 Mar 2021, at 18:27, Flumotion Support wrote: > > Thanks for the answer this is my pipe > srt-live-transmit -vvvs:500 -r:500 "srt:// > 195.10.10.222:9002??pkt_size=1316?latency=100=listener" udp:// > 195.10.10.225:9000?pkt_size=1316=100 > but still have problem Did you try

[FFmpeg-user] Continuous live stream capture

2021-03-22 Thread adam smith via ffmpeg-user
Hi group, hope everyone is good, I am trying to capture an srt stream using ffmpeg as a caller and everything is going well, just a couple of edge cases I would like to resolve that I think are related. I would like the capture to continue even if the source stream is unavailable for a time.

Re: [FFmpeg-user] ffmpeg srt to udp

2021-03-19 Thread adam smith via ffmpeg-user
> On 19 Mar 2021, at 16:45, Carl Zwanzig wrote: > > Please do not top-post on this mailing list (yes, it's in the list FAQ). Apologies. I did the whole cut out the relevant text only bit and then ruined it by writing above it. Hopefully the advice does the trick and helps to redeem my

Re: [FFmpeg-user] ffmpeg srt to udp

2021-03-19 Thread adam smith via ffmpeg-user
Have you tried increasing the latency of the incoming SRT stream? I am using caller option like pkt_size=1316=caller=200 this ensured my source did not contain artefacts, although obviously adds latency. Maybe it’s worth a try. Thanks Adam > > On 19 Mar 2021, at 13:33, Christian David

Re: [FFmpeg-user] HTML source

2021-02-25 Thread adam smith via ffmpeg-user
Thanks Michael. I promise to search better next time. I appreciate your help. > On 25 Feb 2021, at 10:37, Michael Koch wrote: > > yes, that's possible and it's described on this wiki page: > https://trac.ffmpeg.org/wiki/Capture/Desktop >

[FFmpeg-user] HTML source

2021-02-25 Thread adam smith via ffmpeg-user
hi gang hope you are all good today. I would like to record a single html page for a fixed duration as if it was a video source. I know I could use OBS to show the web page as an input on a scene and then record it, but I wondered if I could do it directly from FFmpeg? Does anybody know if

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

2021-02-13 Thread adam smith via ffmpeg-user
I have tested multiple source formats, I was totally wrong and Leo was bang on the money. This is working great. I am able to concat multiple trimmed files together and the subtitles remain timed to the output - all is good and I am super happy. Thanks Leo. Adam > On 13 Feb 2021, at 11:12,

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

2021-02-13 Thread adam smith via ffmpeg-user
> On 13 Feb 2021, at 10:46, adam smith via ffmpeg-user > wrote: > > Thanks Leo. > I gave it a try but the same thing happened regarding the subtitle position > and the in point of the media appeared less accurate and had black at the > start. > I believe t

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

2021-02-13 Thread adam smith via ffmpeg-user
> On 13 Feb 2021, at 02:10, Leo Butler via ffmpeg-user > wrote: > > I think you want to do > > ffmpeg -y -ss 10 -t 30 -i input.mp4 -ss 10 -t 30 -i input.srt ... > > See > > https://ffmpeg.org/ffmpeg-all.html#toc-Main-options > > > Leo

[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] Crop between 0:02 & 1:02 a MP4+AAC MKV with less processing

2020-12-20 Thread adam smith via ffmpeg-user
If you want it to start 62 seconds into the source, use -ss 62 Eg ffmpeg -i input.mkv -ss 62 -vcodec copy -acodec copy output.mkv Adam > On 19 Dec 2020, at 11:59, DynV Montrealer wrote: > > So the ideal beginning is 1:02 ___ ffmpeg-user mailing

Re: [FFmpeg-user] Pan and scan

2020-12-16 Thread adam smith via ffmpeg-user
Having tried it out, this was exactly what I was looking for and makes it simple to implement. Thanks for your help Michael, you should write a book ;) Adam > On 16 Dec 2020, at 17:39, adam smith via ffmpeg-user > wrote: > > I will giv

Re: [FFmpeg-user] Pan and scan

2020-12-16 Thread adam smith via ffmpeg-user
> On 16 Dec 2020, at 17:25, Michael Koch wrote: > > I think in this case it's better to use the crop filter, because it supports > commands. Thank you for your advice Michael; thanks even more for the examples to go with the advice, it is very much appreciated. I will give it a whirl.

[FFmpeg-user] Pan and scan

2020-12-16 Thread adam smith via ffmpeg-user
Hi guys, I am looking at turning 16x9 content into 1x1 I want to be able to specify the source area that should be used for the output in 1 second increments and move between them smoothly. It looks like I could perhaps use the crop filter or the zoompan filter to achieve this. Does anyone

Re: [FFmpeg-user] Output a sequence of images with known timings

2020-11-19 Thread adam smith via ffmpeg-user
> On 19 Nov 2020, at 10:42, Moritz Barsnick wrote: > > Do take a look at the documentation of the select filter. It even has > an example on how to extract certain frames, e.g. by number: > > https://ffmpeg.org/ffmpeg-filters.html#select_002c-aselect >

Re: [FFmpeg-user] Output a sequence of images with known timings

2020-11-19 Thread adam smith via ffmpeg-user
> On 19 Nov 2020, at 10:42, Moritz Barsnick wrote: > > Do take a look at the documentation of the select filter. It even has > an example on how to extract certain frames, e.g. by number: > > https://ffmpeg.org/ffmpeg-filters.html#select_002c-aselect >

Re: [FFmpeg-user] Channel manipulation and audio filter equivalencies

2020-11-18 Thread adam smith via ffmpeg-user
> On 18 Nov 2020, at 23:29, Chris Angelico wrote: > > Appreciate the help. Still not sure how all the different filters behave. No worries, I have not read any of the code so I do not really know what manipulations are occurring under the hood. As far as I can tell, the channel split is

Re: [FFmpeg-user] Channel manipulation and audio filter equivalencies

2020-11-18 Thread adam smith via ffmpeg-user
Apologies, I said LF|RF but it should be 'channelsplit' with args 'channel_layout=7.1:channels=FL|FR’ "7.1" =>["FL","FR","FC","LFE","BL","BR","SL","SR"], "7.1(wide)" =>["FL","FR","FC","LFE","BL","BR","FLC","FRC"],

Re: [FFmpeg-user] Channel manipulation and audio filter equivalencies

2020-11-18 Thread adam smith via ffmpeg-user
> On 18 Nov 2020, at 21:55, Chris Angelico wrote: > > But when I tried things along these lines, I got complaints that some > of the outputs weren't connected to anything. I didn’t add the input stream as I am not sure what stream it is on your source. If could be something like… ffmpeg

Re: [FFmpeg-user] Channel manipulation and audio filter equivalencies

2020-11-18 Thread adam smith via ffmpeg-user
> On 12 Nov 2020, at 06:10, Chris Angelico wrote: > > Anyone have recommendations on these options, or any other preferred > way to remap channels at maximum quality? You could try using the channelsplit and selecting the specific channels you want and then merging them into a single stream.

[FFmpeg-user] Output a sequence of images with known timings

2020-11-18 Thread adam smith via ffmpeg-user
Hi, I am trying to extract an image at set intervals from a video source. Later I will select one of images and will use the interval time and image number to determine the time in the video it came from. If anybody has a better idea how to do this, feel free to stop me and push me in the

[FFmpeg-user] aresample filter position

2020-11-17 Thread adam smith via ffmpeg-user
Hi you lovely people, I have an error caused when I use the aresample filter that I think has something to do with the position of the filter in the chain. Failed to inject frame into filter network: I/O error The system takes a variety of different source configurations so I have some code

Re: [FFmpeg-user] DV to bob deinterlaced HEVC

2020-11-15 Thread adam smith via ffmpeg-user
> yadif and bwdif were set to output one frame for each field. I found bwdif > somewhat better than yadif which leaves some minor "ripple" artifacts to the > movie. Thanks for the comparison advice, I will take a look at the bwdif filter. ___

Re: [FFmpeg-user] DV to bob deinterlaced HEVC

2020-11-15 Thread adam smith via ffmpeg-user
25fps vs 50fps difference is there but not so great as I expected. You might find that ffmpeg is duplicating each deinterlaced frame to output 50fps from the 25fps source. If you use yadif filter and configure to output a frame per field of interlaced source the resulting motion is dramatically

Re: [FFmpeg-user] Segment at Scene Change

2020-09-23 Thread adam smith via ffmpeg-user
> I would like to segment and create a sequence of ts files that are split > based on a scene change threshold, and have a separate ts file for each song. You could probably do this in two passes. The first using the select filter to find the timing of each new image. The second pass using

Re: [FFmpeg-user] Encoding Warnings

2020-06-29 Thread adam smith via ffmpeg-user
> On 29 Jun 2020, at 15:44, Jim wrote: > > (While this doesn't equalize the volume or eliminate all volume-related > inconsistencies, it does make the loudest part of each video the same and is > the best solution I've found; I think you would like the loudnorm filter that incorporates

Re: [FFmpeg-user] Error when reading file as stream

2020-05-05 Thread adam smith via ffmpeg-user
> On 5 May 2020, at 17:15, Carl Eugen Hoyos wrote: > > Am Di., 5. Mai 2020 um 14:19 Uhr schrieb adam smith via ffmpeg-user > : > >> That will not resolve 3rd party files > > What's wrong with using qtfaststart on them (or on all files)? > The problem is th

Re: [FFmpeg-user] Error when reading file as stream

2020-05-05 Thread adam smith via ffmpeg-user
> On 4 May 2020, at 16:23, Carl Eugen Hoyos wrote: > > The result is very similar, but qtfaststart takes an existing mov file and > only moves the index in front of the file, leaving everything else exactly > identical while ffmpeg -i input -movflags +faststart out.mov writes a > new file

Re: [FFmpeg-user] Error when reading file as stream

2020-05-04 Thread adam smith via ffmpeg-user
Thanks Carl, Thanks for stopping me going down a never ending rabbit hole. > On 4 May 2020, at 13:18, Carl Eugen Hoyos wrote: > > Many files, esp. some mov/mp4 files, require seeking. Seeking is impossible > if you provide the input through a pipe, this is not a limitation of FFmpeg. Good to

[FFmpeg-user] Error when reading file as stream

2020-05-04 Thread adam smith via ffmpeg-user
Hi you lovely people, I have another question that I cannot find a resolution for, so I am hoping somebody can shed a little light on the subject. When passing the source as a file into ffmpeg from regular storage, my ffmpeg commands are working correctly and I am happy with the output. When

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-21 Thread adam smith via ffmpeg-user
> On 21 Apr 2020, at 09:27, adam smith via ffmpeg-user > wrote: > > > Thanks for the information. I will give it a whirl using the fps filter and > see what happens. > Good news…for me anyway. Carls suggestion appears to be a solution. The new command is... ffmpeg -y

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-21 Thread adam smith via ffmpeg-user
> On 20 Apr 2020, at 23:10, Mark Filipak > wrote: > May I suggest the following workaround? > > Remove the 1st (duplicate) frame with a select filter: > > ffmpeg -y -i /data/vod-storage-dev/source/testfile.mxf -vf > select='not(eq(n\,0))' -r 20/60 -s 283x159 -frames:v 10 -pix_fmt yuvj420p

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-21 Thread adam smith via ffmpeg-user
> On 20 Apr 2020, at 22:51, Carl Eugen Hoyos wrote: > > Am Mo., 20. Apr. 2020 um 19:32 Uhr schrieb Edward Park > mailto:kumowoon1...@gmail.com>>: >> >>> Use the output option -r or the fps filter to control the frequency of the >>> image grabs. >>> They will show different behaviour wrt the

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-20 Thread adam smith via ffmpeg-user
> On 20 Apr 2020, at 15:38, Edward Park wrote: > > If this is accurate, it looks like you have asked it to produce 20 frames in > 60 seconds, or 1/3 fps, or 1 frame every 3 seconds regardless of input > framerate, whatever. It will drop frames, duplicate frames, do what is needed > to keep

Re: [FFmpeg-user] Output image sequence duplicate first image

2020-04-20 Thread adam smith via ffmpeg-user
> On 20 Apr 2020, at 16:03, Carl Eugen Hoyos wrote: > Use -vsync 0 and remove -r. Thanks for your help Carl. Adding the -vsync 0 and removing -r did resolve the issue duplicate image output but did not allow me to specify the frequency of the image grabs. I will search about for something to

[FFmpeg-user] Output image sequence duplicate first image

2020-04-20 Thread adam smith via ffmpeg-user
Hi you lovely people, I am trying to output a sequence of jpeg images from a video file. The command does indeed output a sequence of images, but the first and second are always duplicates, while the rest run in sequence until the maximum is reached or the file runs out. I am not sure what I

[FFmpeg-user] Using SEI timecode data as -timecode value

2019-04-17 Thread adam smith via ffmpeg-user
Hi you lovely people, I am trying to find a way of using the SEI timecode data in a TS file to add timecode to an XDCAM.MXF output file. I have done a fair amount of googling, but don’t seem to be getting very far. I did try this… ffmpeg -i /Users/adam.smith/Downloads/media-with-sei.ts -vcodec