Re: [FFmpeg-user] hw_decode.c on osx?

2020-04-17 Thread su.00048--- via ffmpeg-user
on 2020.04.17 09:02 -0400, ffmpeg-user@ffmpeg.org wrote: > Hi, > > > i have ffmpeg building successfully on osx (10.14.6; xcode 11.3.1), > > and am using the generated libraries in a personal video project i'm > > working on. now i'm ready to start thinking about implementing hardware > >

Re: [FFmpeg-user] Failure: No wav codec tag found

2020-04-17 Thread Mark Filipak
Never mind. MPV was able to tell me that the pcm_bluray is big endian. Cheers, Mark. On 04/17/2020 07:50 PM, Carl Eugen Hoyos wrote: Am Sa., 18. Apr. 2020 um 01:42 Uhr schrieb Mark Filipak : I know that PCM was never used for DVDs DVDs with PCM audio exist. Cool! I've never seen one but,

Re: [FFmpeg-user] Failure: No wav codec tag found

2020-04-17 Thread Mark Filipak
On 04/17/2020 07:50 PM, Carl Eugen Hoyos wrote: Am Sa., 18. Apr. 2020 um 01:42 Uhr schrieb Mark Filipak : I know that PCM was never used for DVDs DVDs with PCM audio exist. Cool! I've never seen one but, cool. What flavor of PCM? BE or LE? ___

Re: [FFmpeg-user] Failure: No wav codec tag found

2020-04-17 Thread Carl Eugen Hoyos
Am Sa., 18. Apr. 2020 um 01:42 Uhr schrieb Mark Filipak : > I know that PCM was never used for DVDs DVDs with PCM audio exist. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To

Re: [FFmpeg-user] Failure: No wav codec tag found

2020-04-17 Thread Mark Filipak
On 04/17/2020 06:51 PM, Moritz Barsnick wrote: On Fri, Apr 17, 2020 at 18:13:22 -0400, Mark Filipak wrote: [matroska @ 028fabd7b040] No wav codec tag found for codec pcm_bluray Does this means I did something wrong (would be the first time in ...about the last 2 minutes), or MKV doesn't

Re: [FFmpeg-user] ADD REAL TIME STAMP TO RTSP STREAM SEGMENT

2020-04-17 Thread Michael Glenn Williams
We have interest in being able to read timestamps in protocol headers also. Do we have a doc that specifies which protocols in the video stream ffmpeg supports with a timecode, and what format of the timecode is? Does anyone have experience which layer within the network stack has a timestamp

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread pdr0
Mark Filipak wrote > Gee, pdr0, I'm sorry you took the time to write about 'interleave' not > working because it is working > for me. Interleave works correctly in terms of timestamps Unless I'm misunderstanding the point of this thread, your "recursion issue" can be explained from how

Re: [FFmpeg-user] Failure: No wav codec tag found

2020-04-17 Thread Mark Filipak
On 04/17/2020 06:51 PM, Moritz Barsnick wrote: On Fri, Apr 17, 2020 at 18:13:22 -0400, Mark Filipak wrote: [matroska @ 028fabd7b040] No wav codec tag found for codec pcm_bluray Does this means I did something wrong (would be the first time in ...about the last 2 minutes), or MKV doesn't

Re: [FFmpeg-user] ADD REAL TIME STAMP TO RTSP STREAM SEGMENT

2020-04-17 Thread Roger Pack
On Tue, Sep 3, 2019 at 3:01 PM Alejandro Escudero wrote: > > Hi, > > I am trying to get a RTSP stream from an IP Camera and save that stream as > several MP4 segments, but i need that each file segment name gets the real > time stamp of the video stream. (If I use the -strftime 1, it gets the

Re: [FFmpeg-user] Requesting to add a new book to the "Books about FFmpeg" section?

2020-04-17 Thread Moritz Barsnick
On Fri, Apr 17, 2020 at 15:44:54 -0400, John Riselvato wrote: > It's a full-color book and I'm only getting 5 USD per sale because of the > number of pages. So even if I sold 100 books (which I've yet to sell a > single book since releasing it 2 days ago) I would barely cover a week of > the 2

Re: [FFmpeg-user] delay time in live ultrasound converter

2020-04-17 Thread Roger Pack
On Thu, Aug 22, 2019 at 3:16 PM Michael Koch wrote: > > Hello Paul, > > > ffplay and using pipe gives you huge delay. By using mpv and filtergraph > > directly you would get much lesser delay. > > Default delay introduced by this filter is the one set by win_size in > > number of samples, which

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Mark Filipak
On 04/17/2020 06:19 PM, pdr0 wrote: Paul B Mahol wrote Interleave filter use frame pts/timestamps for picking frames. I think Paul is correct. @Mark - Everything in filter chain works as expected, except interleave in this case The only problem I have with 'interleave' is that it doesn't

Re: [FFmpeg-user] Failure: No wav codec tag found

2020-04-17 Thread Moritz Barsnick
On Fri, Apr 17, 2020 at 18:13:22 -0400, Mark Filipak wrote: > [matroska @ 028fabd7b040] No wav codec tag found for codec pcm_bluray > > Does this means I did something wrong (would be the first time in ...about > the last 2 minutes), or > MKV doesn't support LPCM, or sumtinelse? Yes.

Re: [FFmpeg-user] Streaming to YouTube Live

2020-04-17 Thread Moritz Barsnick
On Fri, Apr 17, 2020 at 17:02:21 -0500, First Last wrote: > I am uncertain whether this question is outside the scope of this forum, so > please advise me if it is. It's a little bit off topic, but fine by me. This was handled here recently, and there's a lot of stuff on the web about it. Not

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread pdr0
Paul B Mahol wrote > Interleave filter use frame pts/timestamps for picking frames. I think Paul is correct. @Mark - Everything in filter chain works as expected, except interleave in this case You can test and verify the output of each node in a filter graph, individually, by splitting and

[FFmpeg-user] Failure: No wav codec tag found

2020-04-17 Thread Mark Filipak
[matroska @ 028fabd7b040] No wav codec tag found for codec pcm_bluray Does this means I did something wrong (would be the first time in ...about the last 2 minutes), or MKV doesn't support LPCM, or sumtinelse? D.A..S pcm_bluray PCM signed 16|20|24-bit big-endian for Blu-ray

[FFmpeg-user] Streaming to YouTube Live

2020-04-17 Thread First Last
I am uncertain whether this question is outside the scope of this forum, so please advise me if it is. I am attempting to stream a single static image to YouTube Live, using an Amazon Linux server running on Amazon Lightsail, and using, of course, ffmpeg. I am using the following command:

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Mark Filipak
On 04/17/2020 02:35 PM, Ted Park wrote: Hi, "split[A][B],[A]select='eq(mod((n+1)\,5)\,3)'[C],[B]datascope,null[D],interleave" Though the [B][D] branch passes every frame that is presented at [B], datascope does not appear for frames 2 7 12 17 etc. That reveals that traversal of ffmpeg

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Mark Filipak
On 04/17/2020 02:46 PM, Paul B Mahol wrote: On 4/17/20, Mark Filipak wrote: Another cogent point: Suppose I put 'datascope' before a filter that would pass the original frame (say, based on a color), but that the filter won't pass the 'scope' image (because it doesn't contain that color). I

Re: [FFmpeg-user] Requesting to add a new book to the "Books about FFmpeg" section?

2020-04-17 Thread John Riselvato
It's a full-color book and I'm only getting 5 USD per sale because of the number of pages. So even if I sold 100 books (which I've yet to sell a single book since releasing it 2 days ago) I would barely cover a week of the 2 months I spend writing it, plus editing and cover art. I'm never going to

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Paul B Mahol
On 4/17/20, Mark Filipak wrote: > Another cogent point: > > Suppose I put 'datascope' before a filter that would pass the original frame > (say, based on a > color), but that the filter won't pass the 'scope' image (because it doesn't > contain that color). I > haven't tried it, but I'll bet that

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Ted Park
Hi, > "split[A][B],[A]select='eq(mod((n+1)\,5)\,3)'[C],[B]datascope,null[D],interleave" > > Though the [B][D] branch passes every frame that is presented at [B], > datascope does not appear for frames 2 7 12 17 etc. > > That reveals that traversal of ffmpeg filter complexes is not recursive.

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Mark Filipak
Another cogent point: Suppose I put 'datascope' before a filter that would pass the original frame (say, based on a color), but that the filter won't pass the 'scope' image (because it doesn't contain that color). I haven't tried it, but I'll bet that the 'scope' image doesn't appear at all

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Mark Filipak
Another revealing example: "split[A][B],[A]select='eq(mod((n+1)\,5)\,3)'[C],[B]datascope,null[D],interleave" Though the [B][D] branch passes every frame that is presented at [B], datascope does not appear for frames 2 7 12 17 etc. That reveals that traversal of ffmpeg filter complexes is not

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Carl Zwanzig
Sigh. On 4/17/2020 5:39 AM, Mark Filipak wrote: On 04/17/2020 06:34 AM, Monex wrote: Please do not use complicated phrases or words like "germane" - many ffmpeg-users are not native English speakers and you are causing confusion; it is not necessary on a technical list. Actually, they

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Mark Filipak
For example, In the select branch that contains datascope=size=1920x1080:x=45:y=340:mode=color2,not(eq(mod((n+1)\,5)\,3)) datascope appears for frames 0 1 3 4 5 6 8 9 10 11 13 14 15 16 18 19 etc. whereas in the select branch that contains

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Mark Filipak
On 04/17/2020 11:23 AM, Paul B Mahol wrote: -snip- datascope appears if you switch order of interleave pads, or use hstack/vstack filter instead of interleave filter. Thank you, but I've had no difficulty using datascope. It does not appear in the output video if no frames flow through it.

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Paul B Mahol
On 4/17/20, Mark Filipak wrote: > I reran the tests with these command lines: > > SET FFREPORT=file=FOO-GH.LOG:level=32 > > ffmpeg -i %1 -filter_complex >

Re: [FFmpeg-user] Demuxing HLS stream of fmp4 segments

2020-04-17 Thread Pedro Pedrosa
On Fri, Apr 17, 2020 at 2:30 PM Dennis Mungai wrote: > That patch needs to be split into two, with commit messages explaining what > each change does, as Michael Niedermayer explained. > > Apply the recommendations mentioned therein and the ffmpeg-devel mailing > list will review the patch. >

[FFmpeg-user] Training or finding pretrained models for the sr video filter

2020-04-17 Thread Vítek Novotný
Dear everyone, I am finding myself increasingly using the DNN superscalers for textual and drawn images and videos. Thus far, I was content using the waifu2x image superscaler [1]. However, when processing videos, exploding them to frame images is space-consuming and superscaling them one by one

Re: [FFmpeg-user] Demuxing HLS stream of fmp4 segments

2020-04-17 Thread Dennis Mungai
On Fri, 17 Apr 2020, 16:11 vectronic, wrote: > > > > On 17 Apr 2020, at 13:26, Pedro Pedrosa > wrote: > > > > Hello all > > > > I'm trying to demux an HLS stream containing fmp4 segments. It works fine > > if I demux from the start of the input but as soon as I add the -ss flag > to > > skip to

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Mark Filipak
I reran the tests with these command lines: SET FFREPORT=file=FOO-GH.LOG:level=32 ffmpeg -i %1 -filter_complex

Re: [FFmpeg-user] Demuxing HLS stream of fmp4 segments

2020-04-17 Thread Pedro Pedrosa
Any reason this hasn't been merged to master? On Fri, Apr 17, 2020 at 2:11 PM vectronic wrote: > > > I’ve had success using the patch I submitted against this ticket: > > https://trac.ffmpeg.org/ticket/7359 > >

Re: [FFmpeg-user] Demuxing HLS stream of fmp4 segments

2020-04-17 Thread Dennis Mungai
On Fri, 17 Apr 2020, 15:26 Pedro Pedrosa, wrote: > Hello all > > I'm trying to demux an HLS stream containing fmp4 segments. It works fine > if I demux from the start of the input but as soon as I add the -ss flag to > skip to a timecode it no longer produces any output. > > I have tested on my

Re: [FFmpeg-user] Demuxing HLS stream of fmp4 segments

2020-04-17 Thread vectronic
> On 17 Apr 2020, at 13:26, Pedro Pedrosa wrote: > > Hello all > > I'm trying to demux an HLS stream containing fmp4 segments. It works fine > if I demux from the start of the input but as soon as I add the -ss flag to > skip to a timecode it no longer produces any output. > > I have tested

Re: [FFmpeg-user] hw_decode.c on osx?

2020-04-17 Thread Ted Park
Hi, > i have ffmpeg building successfully on osx (10.14.6; xcode 11.3.1), > and am using the generated libraries in a personal video project i'm > working on. now i'm ready to start thinking about implementing hardware > decoding ... i tried adapting some of the code from hw_decode.c, but >

Re: [FFmpeg-user] Requesting to add a new book to the "Books about FFmpeg" section?

2020-04-17 Thread Mark Filipak
On 04/17/2020 08:35 AM, Mick Finn wrote: They wouldn’t; but it seems appropriate to return sine of the profits for a how to book gleaned from this newsletter and free publications by ffmpeg developers to the people/organization who maintain ffmpeg - just a suggestion Everyone needs to make

Re: [FFmpeg-user] Requesting to add a new book to the "Books about FFmpeg" section?

2020-04-17 Thread Mick Finn
They wouldn’t; but it seems appropriate to return sine of the profits for a how to book gleaned from this newsletter and free publications by ffmpeg developers to the people/organization who maintain ffmpeg - just a suggestion Sent from my iPhone > On Apr 17, 2020, at 2:51 PM, Mark Filipak >

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Mark Filipak
On 04/17/2020 06:34 AM, Monex wrote: On 17/04/2020 11:52, Mark Filipak wrote: On 04/17/2020 05:48 AM, Paul B Mahol wrote: On 4/17/20, Mark Filipak wrote: On 04/17/2020 05:38 AM, Paul B Mahol wrote: On 4/17/20, Mark Filipak wrote: On 04/17/2020 05:03 AM, Paul B Mahol wrote: -snip- That is

[FFmpeg-user] hw_decode.c on osx?

2020-04-17 Thread su.00048--- via ffmpeg-user
i have ffmpeg building successfully on osx (10.14.6; xcode 11.3.1), and am using the generated libraries in a personal video project i'm working on. now i'm ready to start thinking about implementing hardware decoding ... i tried adapting some of the code from hw_decode.c, but ran into runtime

[FFmpeg-user] Demuxing HLS stream of fmp4 segments

2020-04-17 Thread Pedro Pedrosa
Hello all I'm trying to demux an HLS stream containing fmp4 segments. It works fine if I demux from the start of the input but as soon as I add the -ss flag to skip to a timecode it no longer produces any output. I have tested on my own ffmpeg-generated streams and also on a public file at

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Monex
On 17/04/2020 11:52, Mark Filipak wrote: > On 04/17/2020 05:48 AM, Paul B Mahol wrote: >> On 4/17/20, Mark Filipak wrote: >>> On 04/17/2020 05:38 AM, Paul B Mahol wrote: On 4/17/20, Mark Filipak wrote: > On 04/17/2020 05:03 AM, Paul B Mahol wrote: > -snip- >> That is not filter

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Mark Filipak
Argh! I keep making mistakes. I'm working too quickly. You see, I had 2 differing versions: one using 'telecine=pattern=5' and one using 'telecine=pattern=46'. They tried to do the same thing, but by differing methods (differing filter graphs). It's really easy to get them mixed up. Here is a

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Mark Filipak
On 04/17/2020 03:56 AM, Michael Koch wrote: Am 17.04.2020 um 09:44 schrieb Mark Filipak: On 04/17/2020 02:41 AM, Michael Koch wrote: Am 17.04.2020 um 08:02 schrieb Mark Filipak: Thanks to pdr0 -at- shaw.ca, My quest for the (nearly perfect) p24-to-p60 transcode has concluded. But remaining

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Mark Filipak
On 04/17/2020 03:56 AM, Michael Koch wrote: Am 17.04.2020 um 09:44 schrieb Mark Filipak: On 04/17/2020 02:41 AM, Michael Koch wrote: Am 17.04.2020 um 08:02 schrieb Mark Filipak: Thanks to pdr0 -at- shaw.ca, My quest for the (nearly perfect) p24-to-p60 transcode has concluded. But

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Mark Filipak
On 04/17/2020 05:48 AM, Paul B Mahol wrote: On 4/17/20, Mark Filipak wrote: On 04/17/2020 05:38 AM, Paul B Mahol wrote: On 4/17/20, Mark Filipak wrote: On 04/17/2020 05:03 AM, Paul B Mahol wrote: -snip- That is not filter graph. It is your wrong interpretation of it. I can not dechiper it

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Paul B Mahol
On 4/17/20, Mark Filipak wrote: > On 04/17/2020 05:38 AM, Paul B Mahol wrote: >> On 4/17/20, Mark Filipak wrote: >>> On 04/17/2020 05:03 AM, Paul B Mahol wrote: >>> -snip- That is not filter graph. It is your wrong interpretation of it. I can not dechiper it at all, because your

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Mark Filipak
On 04/17/2020 05:38 AM, Paul B Mahol wrote: On 4/17/20, Mark Filipak wrote: On 04/17/2020 05:03 AM, Paul B Mahol wrote: -snip- That is not filter graph. It is your wrong interpretation of it. I can not dechiper it at all, because your removed crucial info like ',' My filtergraph is slightly

Re: [FFmpeg-user] Flutter FFmpeg

2020-04-17 Thread Ted Park
Hi, >> Someone else recently uploaded an iPhone recording that qtfaststart >> completely fubar'ed > > Could you point me to that file, I must have missed it. Found it, but I didn't mean to say that, it's some part of iOS or some app that is messing it up, and qtfaststart doesn't recognize

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Paul B Mahol
On 4/17/20, Mark Filipak wrote: > On 04/17/2020 05:03 AM, Paul B Mahol wrote: > -snip- >> That is not filter graph. It is your wrong interpretation of it. >> I can not dechiper it at all, because your removed crucial info like ',' > > My filtergraph is slightly abbreviated to keep within a 70

Re: [FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread Mark Filipak
On 04/17/2020 05:33 AM, Moritz Barsnick wrote: On Fri, Apr 17, 2020 at 05:10:36 -0400, Mark Filipak wrote: I believe that ffmpeg doesn't have a DTS coder (output) -- only a DTS decoder (input). Please don't give advice based on beliefs, especially if they are wrong and easy to prove wrong.

Re: [FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread Moritz Barsnick
On Fri, Apr 17, 2020 at 05:10:36 -0400, Mark Filipak wrote: > I believe that ffmpeg doesn't have a DTS coder (output) -- only a DTS decoder > (input). Please don't give advice based on beliefs, especially if they are wrong and easy to prove wrong. This wasn't the original poster's intent

Re: [FFmpeg-user] propagation of frames in a filter complex

2020-04-17 Thread Ted Park
Hi, > A native 60Hz TV runs at 60Hz (or 60/1.001Hz). Yes, apparently some do. But most display controllers I've seen for LCD panels were capable of operating to timings that produce 50Hz, 48Hz, 25, and so on lower vertical refresh rates. I thought only a 60Hz interlaced CRT would only run at

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Mark Filipak
On 04/17/2020 05:03 AM, Paul B Mahol wrote: -snip- That is not filter graph. It is your wrong interpretation of it. I can not dechiper it at all, because your removed crucial info like ',' My filtergraph is slightly abbreviated to keep within a 70 character line limit. The important thing is

Re: [FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread kaled
Super, thanks. This works now. I've learnt so many of the rules required just from this one example, so thanks again. -- Sent from: http://www.ffmpeg-archive.org/ ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread Mark Filipak
On 04/17/2020 05:13 AM, Paul B Mahol wrote: On 4/17/20, Mark Filipak wrote: -snip- I believe that ffmpeg doesn't have a DTS coder (output) -- only a DTS decoder (input). You are wrong. Oh, sorry. I'm just repeating what others have written. If it is wrong, I regret it. Good thing you are

Re: [FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread Ted Park
Hi, > thank you again for taking the time to help me. Also thanks for the useful > tips. This is steep learning curve to code for FFMPEG, but starting to > understand the syntax now. So I tried your solution and unfortunately I get > the same error. As you suggest, here is the full console

Re: [FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread Paul B Mahol
On 4/17/20, Mark Filipak wrote: > On 04/17/2020 04:33 AM, kaled wrote: >> thank you both and thanks for the code Moritz >> I tried the following >> >> ffmpeg -i x.mkv -map 0:0 -map 0:2 -map 0:1 -map 0:3 -c:v copy -c:a:2 copy >> -bsf:a:2 dca_core -c:a:1 copy -c:s copy output.mkv >> >> and it

Re: [FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread Mark Filipak
On 04/17/2020 04:33 AM, kaled wrote: thank you both and thanks for the code Moritz I tried the following ffmpeg -i x.mkv -map 0:0 -map 0:2 -map 0:1 -map 0:3 -c:v copy -c:a:2 copy -bsf:a:2 dca_core -c:a:1 copy -c:s copy output.mkv and it converts the dts audio track to vorbis I also did this

Re: [FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread kaled
thank you again for taking the time to help me. Also thanks for the useful tips. This is steep learning curve to code for FFMPEG, but starting to understand the syntax now. So I tried your solution and unfortunately I get the same error. As you suggest, here is the full console output.

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Paul B Mahol
On 4/17/20, Mark Filipak wrote: > Thanks to pdr0 -at- shaw.ca, My quest for the (nearly perfect) p24-to-p60 > transcode has concluded. > > But remaining is an ffmpeg behavior that seems (to me) to be key to > understanding ffmpeg > architecture, to wit: The characteristics of frame traversal

Re: [FFmpeg-user] propagation of frames in a filter complex

2020-04-17 Thread Mark Filipak
On 04/17/2020 04:25 AM, Ted Park wrote: Hey, What do you mean? split[A]select='not(eq(mod(n+1\,5)\,3))' [C]interleave [B]split[D]select='eq(mod(n+1\,5)\,2)'[F]blend[D] [E]select='eq(mod(n+1\,5)\,3)'[G] I created the filtergraph by hand. I don't know what folks

Re: [FFmpeg-user] Testing transcode speeds on Raspberry Pi 4

2020-04-17 Thread Ted Park
Hi, >>ffmpeg -y -i SourcePath -b:v 9000k -c:v h264_omx DestPath >> >> The difference is the -s flag. Why would leaving that out result in an >> error? > > I guess your hardware does not support 4k encoding. > > Carl Eugen > Makes sense, though until seeing your and Ted's notes I

Re: [FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread Moritz Barsnick
On Fri, Apr 17, 2020 at 03:33:55 -0500, kaled wrote: > thank you both and thanks for the code Moritz > I tried the following > > ffmpeg -i x.mkv -map 0:0 -map 0:2 -map 0:1 -map 0:3 -c:v copy -c:a:2 copy > -bsf:a:2 dca_core -c:a:1 copy -c:s copy output.mkv > > and it converts the dts audio track

Re: [FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread kaled
thank you both and thanks for the code Moritz I tried the following ffmpeg -i x.mkv -map 0:0 -map 0:2 -map 0:1 -map 0:3 -c:v copy -c:a:2 copy -bsf:a:2 dca_core -c:a:1 copy -c:s copy output.mkv and it converts the dts audio track to vorbis I also did this ffmpeg -i x.mkv -map 0:0 -map 0:2 -map

Re: [FFmpeg-user] propagation of frames in a filter complex

2020-04-17 Thread Ted Park
Hey, >>> What do you mean? >>> >>> split[A]select='not(eq(mod(n+1\,5)\,3))' [C]interleave >>> [B]split[D]select='eq(mod(n+1\,5)\,2)'[F]blend[D] >>> [E]select='eq(mod(n+1\,5)\,3)'[G] >>> >>> I created the filtergraph by hand. I don't know what folks expect, but >>>

Re: [FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread Moritz Barsnick
On Fri, Apr 17, 2020 at 03:56:37 -0400, Ted Park wrote: > I meant try doing the same thing as the codec copy to the filter to > specify the stream. So here, it would be -bsf:a:0 dca_core. (and I > think when you specify stream type, the number that comes after is > the index only counting that

Re: [FFmpeg-user] propagation of frames in a filter complex

2020-04-17 Thread Mark Filipak
Hey, Ted, On 04/17/2020 03:52 AM, Ted Park wrote: Hi, What do you mean? split[A]select='not(eq(mod(n+1\,5)\,3))' [C]interleave [B]split[D]select='eq(mod(n+1\,5)\,2)'[F]blend[D] [E]select='eq(mod(n+1\,5)\,3)'[G] I created the filtergraph by hand. I don't know what

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Ted Park
Hi, > no, I meant replace [F][G]blend[D] by [G][F]blend[D] and leave everything > else as it is. I thought the latter was the intended order (or maybe it's just the order my brain read it in). The other one results in a ton of duplicate timestamp errors and the correction cancels something

Re: [FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread Ted Park
Hi, > thank you for your quick response. > I noticed a typo in my original script > I think I had previously tried your solution. > Note, here by mapping the DD stream (and swapping with the DTS) I still get > the error. If I map the DTS stream twice I get the core twice. So your > observation

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Michael Koch
Am 17.04.2020 um 09:44 schrieb Mark Filipak: On 04/17/2020 02:41 AM, Michael Koch wrote: Am 17.04.2020 um 08:02 schrieb Mark Filipak: Thanks to pdr0 -at- shaw.ca, My quest for the (nearly perfect) p24-to-p60 transcode has concluded. But remaining is an ffmpeg behavior that seems (to me) to

Re: [FFmpeg-user] propagation of frames in a filter complex

2020-04-17 Thread Ted Park
Hi, > What do you mean? > > split[A]select='not(eq(mod(n+1\,5)\,3))' [C]interleave > [B]split[D]select='eq(mod(n+1\,5)\,2)'[F]blend[D] > [E]select='eq(mod(n+1\,5)\,3)'[G] > > I created the filtergraph by hand. I don't know what folks expect, but since > duplicating

Re: [FFmpeg-user] Requesting to add a new book to the "Books about FFmpeg" section?

2020-04-17 Thread Mark Filipak
On 04/17/2020 02:39 AM, Mick Finn wrote: Does any of the $30 for ebook make it back to ffmpeg development community? Why would a member of the ffmpeg development community buy a book on ffmpeg? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread kaled
thank you for your quick response. I noticed a typo in my original script I think I had previously tried your solution. Note, here by mapping the DD stream (and swapping with the DTS) I still get the error. If I map the DTS stream twice I get the core twice. So your observation is correct, it

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Mark Filipak
On 04/17/2020 02:41 AM, Michael Koch wrote: Am 17.04.2020 um 08:02 schrieb Mark Filipak: Thanks to pdr0 -at- shaw.ca, My quest for the (nearly perfect) p24-to-p60 transcode has concluded. But remaining is an ffmpeg behavior that seems (to me) to be key to understanding ffmpeg architecture,

Re: [FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread Ted Park
Hi, > ffmpeg -i x.mkv -map 0:0 -map 0:2 -map 0:2 -map 0:3 -c:v copy -c:a copy > -bsf:a dca_core -c:a:1 copy -c:s copy output.mkv > > When ever I try and include the DD track, FFMPEG comes back to say that the > dca-core filter is not compatible with DD. > I'm sure it is a simple syntax error

[FFmpeg-user] Copy across core DTS audio

2020-04-17 Thread kaled
Hello, first post and new to using command line ffmpeg. I have a series of videos that contain multiple streams such as following in an MKV container Stream 0: video stream 1: Dolby digital audio stream 2: DTSHD audio stream 4: subtitle I'd like to like copy across all streams except for the

Re: [FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Michael Koch
Am 17.04.2020 um 08:02 schrieb Mark Filipak: Thanks to pdr0 -at- shaw.ca, My quest for the (nearly perfect) p24-to-p60 transcode has concluded. But remaining is an ffmpeg behavior that seems (to me) to be key to understanding ffmpeg architecture, to wit: The characteristics of frame

Re: [FFmpeg-user] Requesting to add a new book to the "Books about FFmpeg" section?

2020-04-17 Thread Mick Finn
Does any of the $30 for ebook make it back to ffmpeg development community? Sent from my iPhone > On Apr 16, 2020, at 7:59 PM, John Riselvato wrote: > > Hello everyone, > > Yesterday I released my first programming book: "The FFmpeg Bible - 112 > Questions Answered: Edit Audio & Video Like a

Re: [FFmpeg-user] Requesting to add a new book to the "Books about FFmpeg" section?

2020-04-17 Thread Michael Koch
Am 17.04.2020 um 02:18 schrieb John Riselvato: Oh interesting, I appreciate you explaining that to me. There is some documentation here: https://www.ffmpeg.org/git-howto.html If you figure out how git works, that would be a nice new chapter for your book. Michael

[FFmpeg-user] ffmpeg architecture question

2020-04-17 Thread Mark Filipak
Thanks to pdr0 -at- shaw.ca, My quest for the (nearly perfect) p24-to-p60 transcode has concluded. But remaining is an ffmpeg behavior that seems (to me) to be key to understanding ffmpeg architecture, to wit: The characteristics of frame traversal through a filter chain. From a prior topic: