Re: [FFmpeg-user] sntsc

2023-12-27 Thread Kieran O Leary
Hi Mark

On Wed 27 Dec 2023 at 08:53, Mark Filipak 
wrote:

> On 12/27/23 01:58, Kieran O Leary wrote:
> > On Tue 26 Dec 2023 at 22:53, Mark Filipak 
> >> Oh, no! Mister Billipedia!  Hahahaha... (where people who are as ill
> >> informed as you are, get to
> >> pontificate)
> >
> >
> > I think you must have misread the tone of Devin’s email, and I would
> hardly
> > call him ill informed. His post was constructive and your language will
> > only derail threads like this.
>
> Oh, I did not mean it like that. I meant the general 'you' as in 'you, the
> reader', as in 'people
> who are as ill informed as _they_ are'. I sincerely didn't mean Devon.


I re-read your post and I did indeed misread it. I understand what you mean
now!
Thanks for clarifying,

Kieran.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] sntsc

2023-12-26 Thread Kieran O Leary
On Tue 26 Dec 2023 at 22:53, Mark Filipak 
wrote:

> On 12/26/23 15:30, Devin Heitmueller wrote:
> > Hi Mark,
> >
> > On Tue, Dec 26, 2023 at 2:58 PM Mark Filipak 
> wrote:
> >> Oops. Sorry. SAR for 16:9 DVD is 32/27. PAR is 3/2.
> >>
> >> You brought up 40/33. That's a PAR? A PAR for what?
> >
> > In this context SAR (Sample Aspect Ratio) and PAR (Pixel Aspect Ratio)
> > are equivalent.
>
> On what planet are SAR & PAR equivalent?
>
> > Unfortunately the use of the term "SAR" is ambiguous
> > as people sometimes mean "Storage Aspect Ratio" or "Screen Aspect
> > Ratio".  Using PAR avoids that ambiguity.
>
> Yes, people misuse terms, mainly because the terms are not defined. The
> H.262 definitions have no
> relevance in the real world.
>
> "3.114 sample aspect ratio (SAR): This specifies the relative distance
> between samples. It is
> defined (for the purposes of ITU-T Rec. H.262 | ISO/IEC 13818-2), as the
> vertical displacement of
> the lines of luminance samples in a frame divided by the horizontal
> displacement of the luminance
> samples. Thus, its units are (metres per line) ÷ (metres per sample)."
>
> That definition applies solely to flying-spot scanners -- note that it is
> vertical (line-to-line)
> spacing divided by horizontal (pixel-to-pixel) spacing. To everyone else,
> H/W is upside down.
> H.262 then goes on to define a DAR that's upside down:
>
> "3.44 display aspect ratio: The ratio height/width (in spatial measurement
> units such as
> centimeters) of the intended display."
>
> H.262 avoids "PAR" and "pixel aspect" altogether. There's not a mention.
> That was intentional. So,
> to the ITU (and presumably to MPEG), PAR doesn't exist. Some call it
> 'pixel aspect' and some call it
> 'picture aspect'. Curiously, the ITU (and presumably to MPEG) define a
> 'picture', thusly:
>
> "3.97 picture: Source, coded or reconstructed image data. A source or
> reconstructed picture consists
> of three rectangular matrices of 8-bit numbers representing the luminance
> and two chrominance
> signals. A 'coded picture' is defined in 3.21 of ITU-T Rec. H.262 |
> ISO/IEC 13818-2. For progressive
> video, a picture is identical to a frame, while for interlaced video, a
> picture can refer to a
> frame, or the top field or the bottom field of the frame depending on the
> context."
>
> So, to the ITU (and presumably to MPEG) data is a picture. Good grief...
>
> > I would encourage you to review the following page, which has an
> > entire section on non-square pixels, as well as common values for NTSC
> > (which talks about the 10:11 and 40:33 commonly found with encoded
> > NTSC video):
>
> 704x480 is illegal for DVD. It either gets padded out to 720x480, or
> cropped to 704x469, then scaled
> to 720x480, or some combination of the two methods. But 704x420 is not
> legal for DVDs -- there's no
> such aspect choice in PES headers.
>
> >
> https://en.wikipedia.org/wiki/Pixel_aspect_ratio#Pixel_aspect_ratios_of_common_video_formats
>
> Oh, no! Mister Billipedia!  Hahahaha... (where people who are as ill
> informed as you are, get to
> pontificate)


I think you must have misread the tone of Devin’s email, and I would hardly
call him ill informed. His post was constructive and your language will
only derail threads like this.

Please read the code of conduct
https://ffmpeg.org/community.html#Code-of-Conduct-1

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] sntsc

2023-12-26 Thread Kieran O Leary
Hi

On Tue 26 Dec 2023 at 17:25, Carl Zwanzig  wrote:

> On 12/25/2023 1:04 AM, Mark Filipak wrote:
> >
> > Huh? "720x480 video with a display aspect ratio of 16:9" is what's on
> most
> > 'NTSC' DVDs.
>
> Huh? The vast majority of DVDs I've handled were 4:3 then maybe
> letterboxed
> to only show some wide-screen size (like 2.33:1).


This is the opposite of my experience where widescreen DVDs were encoded
anamorphically and were de-squeezed to the correct DAR. Very few were 4:3
with burnt in letterboxes.

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Newbie with Anosognosic's Dilemma

2023-11-14 Thread Kieran O Leary
Hi

On Wed 15 Nov 2023 at 06:00, Peter Keschner 
wrote:

> Hello,
>
> I  came to know ffmpeg just a few hours ago
> and am trying to work with it,
> but something is wrong with my syntax.
>
> Formerly I've worked in Unix (3D-Artist)
> and wrote some C-shell-scripts then also.
> Means: writing command-lines is not completely unfamiliar to me.
> But:
> I do something wrong.
> I am working (Windows 10) in the right directory
> and the files I'm trying to work on are there as well,
> e.g.  "Tintgeburt.1081..jpg"
>
> So what I#ve been typing is:
> ffmpeg -i TintGeburt.-%03d..jpg TintGeburt.mpeg4

No need for the minus sign before the percent sign. Also there are four
digits in your example so say %04d instead.
You will also have to declare -start_number between Ffmpeg and -i if the
sequence doesn’t start with .

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Code of Conduct & Mailing list rules & Community Committee

2023-02-05 Thread Kieran O Leary
Hi Thilo,

I'm really glad that some action has been taken. I lurked on ffmpeg-devel
for years in order to keep up with certain aspects of FFmpeg for work
reasons, but eventually unsubscribed as there was quite a bit of toxicity.
I remained on ffmpeg-user but the flamewars recently made me want to
unsubscribe, and I'm sure a lot of others feel that way as well. I think
it's important for the CC to be  active in cases like this, and your email
restored some confidence in the community for me.

Onwards and upwards,

Kieran.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] raw file to video

2022-10-15 Thread Kieran O Leary
Apologies - typo:
ffmpeg -pixel_format
gray10be -s 1600x1300 -r 30 -i CapturedImage-%03d.raw -c:v libx264 -pix_fmt
yuv420p -crf 18
raw_video.mp4
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] raw file to video

2022-10-15 Thread Kieran O Leary
Hi,


On Sat, Oct 15, 2022 at 9:06 AM Naveen.B  wrote:

>
> Which video player have you used to play it back, have you tried another
> like mpv?
> .mp4 and .avi, -mpv I tried but I got an error message.
>

I meant which video player, like VLC etc. MPV is another player, not a
command line flag.
Anyhow  I didn't even know that x264 supported gray, but looks like vlc
supports it. Can you try this:
ffmpeg -pixel_format
gray10be -s 1600x1300 -r 30 -i CapturedImage-%03d.raw -c:v libx264 -pic_fmt
yuv420p -crf 18
raw_video.mp4

Perhaps switching to yuv420p will help with h264 playback compatibility?

Best,

K
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] raw file to video

2022-10-15 Thread Kieran O Leary
On Fri 14 Oct 2022 at 14:39, Naveen.B  wrote:

> Hello,
>
> I am trying to convert a set of raw files in directory to the .mp4 video
> using the ffmpeg command, the converted .mp4 video looks completely blank
> and I don't see any pictures in it.
>
> ffmpeg -pixel_format gray10le -video_size 1600x1300 -framerate 30 -i
> CapturedImage-%03d.raw -c:v libx264 raw_video.mp4
>
> Is something wrong in the command?


A good start would be the complete uncut command line output which might
have some extra info, a sample could be useful, and perhaps info about the
raw file. Is it definitely 10bit gray? Which video player have you used to
play it back, have you tried another like mpv?

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Question: how i can overlay an input with current date and time?

2022-10-09 Thread Kieran O Leary
On Sun 9 Oct 2022 at 20:59,  wrote:

> how i can overlay an input with current date and time?


Hi,

The drawtext filter should do what you want. I’ve mostly used it for
timecode and text but it has features for datetime as well.
https://ffmpeg.org/ffmpeg-filters.html#toc-drawtext-1
-Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Difference between FFmpeg Formats/Containers MP4 and H264

2022-05-15 Thread Kieran O Leary
Hi

On Sun 15 May 2022 at 16:59, Roger  wrote:

>
> >> So when specifying, "-f h264", format is assuming a video only
> container?
> >>
> >
> >I'm not sure if container is the correct term here. It's just the video
> >stream itself, which is capable of existing on its own outside of a
> >container. Not many streams allow that. DV is one that comes to mind,
> where
> >you can get raw DV streams which can even contain audio streams and other
> >data streams interleaved. I've ran some tests and have not found a way to
> >retain audio while using -f h264, it just retains a video stream. Maybe
> I'm
> >doing something wrong?
> >
> >I can't think of many reasons why you would want standalone video streams
> >outside of a container, so why not just use the mp4 or mkv format as it
> >should have greater compatibility with playback tools?
>
> Ah! I figured-out why "-f h264" worked for my past scenarios without
> apparent
> problems, the project contained only video, no audio!
>
> And, likely omitting "-f h264" and only specifying the video/audio codecs
> for
> other video with audio projects.
>
> Kind of a fluke my incanatation worked without apparent problems!
>
> Glad I now have this ironed-out and am now correctly using ffmpeg for
> h264/mp4
> videos!
>
> Always knew h264 was a codec, until seeing the "-f h264" option within
> ffmpeg
> manual.  Now I know "-f h264" for video only streams, likely security
> video
> without audio?


I think so, or perhaps webcams?

Best,

Kieran

>
>
> Roger
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Difference between FFmpeg Formats/Containers MP4 and H264

2022-05-15 Thread Kieran O Leary
Hi,


On Sun, May 15, 2022 at 3:58 AM Roger  wrote:

> >MP4 can contain a variety of streams, including h264. If you specify h264,
> >you just have a raw h264 video stream, that's it.
>
> I've always used -f h264 until I ran into Hauppauge WinTV Version 10 using:
>
> ffmpeg -i "[SOURCE_FILE]" -f mp4 -vcodec libx264 -preset ultrafast
> -profile:v main -acodec aac "[DEST_FILE].mp4
>
> On the flip, I've never seen a *.h264 file name.
>

I've seen it pop up a few times but I haven't seen a lot of raw h264
streams in general.


>
> If I'm not mistaken, the "-f" specifies the format or the container of the
> video/audio stream.
>

>From the ffmpeg documentation:
-f fmt (*input/output*)

Force input or output file format. The format is normally auto detected for
input files and guessed from the file extension for output files, so this
option is not needed in most cases.




>
> So when specifying, "-f h264", format is assuming a video only container?
>

I'm not sure if container is the correct term here. It's just the video
stream itself, which is capable of existing on its own outside of a
container. Not many streams allow that. DV is one that comes to mind, where
you can get raw DV streams which can even contain audio streams and other
data streams interleaved. I've ran some tests and have not found a way to
retain audio while using -f h264, it just retains a video stream. Maybe I'm
doing something wrong?

I can't think of many reasons why you would want standalone video streams
outside of a container, so why not just use the mp4 or mkv format as it
should have greater compatibility with playback tools?

Best,

Kieran

>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Difference between FFmpeg Formats/Containers MP4 and H264

2022-05-14 Thread Kieran O Leary
Hi

On Sat, May 14, 2022 at 7:02 PM Roger  wrote:

>
> What are the differences when specifying the format/contain as MP4 or
> H264?


MP4 can contain a variety of streams, including h264. If you specify h264,
you just have a raw h264 video stream, that's it.

>
> Are there any differences, when additionally specifying the video and
> audio
> codecs?
>
> $ ffmpeg-formats |grep mp4
>  D  mov,mp4,m4a,3gp,3g2,mj2 QuickTime / MOV
>   E mp4 MP4 (MPEG-4 Part 14)
>
> MPEG-4 Part 14
> https://en.wikipedia.org/wiki/MPEG-4_Part_14
> Laste published release: January 2020; 2 years ago
>
> $ ffmpeg-formats |grep h264
>  DE h264raw H.264 video
>
> Advanced Video Coding
> https://en.wikipedia.org/wiki/Advanced_Video_Coding
> Last published version: 22 August 2021
>
>
> So what are the differences between the following?
>

Have you actually tested these out?


>
> $ ffmpeg -i video-in.ts -f mp4 -vcodec libx264 -preset ultrafast
> -profile:v main -acodec aac video-out.mp4
>

 Assuming your input has audio streams, this will just encode your input to
h264 video with aac audio in an mp4 container.

>
> $ ffmpeg -i video-in.ts -f h264 -vcodec libx264 -preset ultrafast
> -profile:v main -acodec aac video-out.mp4
>

This will take your input which may or may not have audio, and turn it into
a raw h264 stream, which you have then confusingly named the output with a
.mp4 extension, but something like .h264 might make a bit more sense, as
I've seen raw h264 streams appear like this.

I am not an expert on raw h264 streams, so I might be very wrong about all
this, but I tested with the following:

ffmpeg -f lavfi -i sine -f lavfi -i testsrc -f mp4 -vcodec libx264 -pix_fmt
yuv420p -preset ultrafast -profile:v main  -acodec aac -t 4 mp4.mp4

and

 ffmpeg -f lavfi -i sine -f lavfi -i testsrc -f h264 -vcodec libx264
-pix_fmt yuv420p -preset ultrafast -profile:v main  -acodec aac -t 4
h264.mp4


The former had the audio stream, the latter did not.


Best,


Kieran O'Leary

National Library of Ireland


>
>
> Roger
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Can ffmpeg calculate the min and max bitrate of a video?

2022-05-04 Thread Kieran O Leary
Hi,

On Wed 4 May 2022 at 09:31, Peter van den Houten  wrote:

>
> FFmpeg will not always report bitrate, depending on the container format.
> Mediainfo is available for Windows and will scan an entire file and you
> might be able to change the switches for min & max bitrate.
>
> mediainfo --Parsespeed=1 filename


Wow, I’d no idea that this feature existed in mediainfo, that’s super
helpful!

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Unable to understand error

2022-03-05 Thread Kieran O Leary
On Sat 5 Mar 2022 at 14:04, Rukmangadh Sai Myana 
wrote:

> > In general, I mistrust wrapper libraries for things like this- I'd rather
> > create the full command string myself and execute that; it gives much
> better
> > control over the process.
>
> Thank you for this suggestion. The issue was that ffmpeg was sending the
> above logs, which don't correspond to any error to STDERR. The python
> wrapper was interpreting this as an error. I changed the python wrapper
> based code to one where I invoke ffmpeg directly as a command. This removed
> the error :D


Yup, doing a subprocess call rather than a wrapper has always worked better
for me.

Best,

Kieran

>
>
> Rukmangadh Sai Myana
> +91 8106275207
> Associate Data Scientist | NoBroker.com
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Conversion from mjpeg to H.264 with 2 overlays failed, trace gives me no idea why ...

2022-02-11 Thread Kieran O Leary
On Fri 11 Feb 2022 at 16:25, Carl Zwanzig  wrote:

> On 2/11/2022 6:39 AM, Jens Berger wrote:
> > This line seems to be weird to me, but I cannot find more about this
> > problem:
> >
> >  ����sof0: picture: 258x28928
>
> If that is trying to report the size of the picture, 28k is
> unrealistically
> large. Might be correct but...
>
>
> > Please - can somebody have a look on this problem?
>
> Two of the first rules of this list are to post the complete and unedited
> output of ffmpeg and to use the most current ffmpeg available,


Would I be correct in thinking that even though a verbose Ffmpeg log was
posted, the use of -hide_banner removed ffmpeg version info, so the OP
should remove this value?

Best,

Kieran O’Leary
National Library of Ireland

which may
> require downloading from from the ffmpeg.org site (for instance, the
> packages of some linux distributions lag months or years behind current).
> The latter probably has no effect here, but it's still a good idea.
>
> See https://ffmpeg.org/mailing-list-faq.html
>
> Late,r
>
> z!
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Get sample rate in mp3 files

2022-02-07 Thread Kieran O Leary
On Mon, Feb 7, 2022 at 9:47 PM CMG DiGiTaL  wrote:

> hi,
>  So,
>
> I have a folder "General Audios" and I created another one called "Audios
> 48000 sample rate"
>
> I'm running the ffprobe command that returns the sample rate value of each
> song.. but when I try to save the value in a string to be able to use the
> IF and copy only the ones with 48000 hz, I get a message that the command
> is a command input? what is wrong?... I just want to be able to take
> advantage of the if sulted the ffprobe command and you can do the if!...
> that's all!
>

Again, this is a batch/cmd issue and you might find more success in
resolving your issue by asking on stackoverflow or somewhere that can
provide better .bat help. I know how to solve your issue with bash and
python, but I don't know enough about Windows batch scripts. It sounds like
you need to store the output of ffprobe as a variable in your batch
scripts, but it looks like that's not the easiest thing to do in windows
batch scripts, though it's a very simple process in other scripting
languages.

-Kieran


>
> md "C:\Users\%username%\Desktop\48000 sample rates Audio"---> created
> folder
>
> cd\Users\%username%\Desktop\General Audios
>  ---> original folder
>
> ffprobe command that separates only the
> sample rate of the songs in the folder:
> set varif var
>  Generate files in folder
> for %%F IN (*) do (ffprobe -i "%%F" -v error -show_entries
> stream=sample_rate -of default=noprint_wrappers=1:nokey=1 *set* *%%S
> if %%S*==48000
> ("C:\Users\%username%\Desktop\48000 sample rates Audio\%%F")
>   )
> pause
>
> thanks
> Clamarc
>
> Em seg., 7 de fev. de 2022 às 16:20, Mark Filipak <
> markfilipak.nore...@gmail.com> escreveu:
>
> > On 2022-02-07 13:05, CMG DiGiTaL wrote:
> > > Hi
> > > I made the changes to my .bat file, and the files are not being written
> > for
> > > a detail that I also have doubts about
> >
> > I wrote and use the following batch program, FFPROBE_SHOW_FRAMES.CMD, to
> > list a select subset of
> > FF-style video metadata. Note the FFprobe commands and the Windows
> FINDSTR
> > command. Perhaps it will
> > help you in your task.
> >
> >
> > @ECHO OFF
> >
> > ECHO Tip: Use "Save As" to save this list.>"%TEMP%\%~nx1 frames.txt"
> >
> > ECHO.>>"%TEMP%\%~nx1 frames.txt"
> >
> > ffprobe -sexagesimal -select_streams v -i %1 2>>"%TEMP%\%~nx1 frames.txt"
> >
> > ffprobe -hide_banner -sexagesimal -select_streams v -show_frames -of flat
> > -i %1 | FINDSTR /L
> > "key_frame=1 pts dts effort pict_ interlaced top repeat">>"%TEMP%\%~nx1
> > frames.txt"
> >
> > "%TEMP%\%~nx1 frames.txt"
> >
> > DEL /Q "%TEMP%\%~nx1 frames.txt"
> >
> >
> > Just run
> > FFPROBE_SHOW_FRAMES 
> >
> > I put FFPROBE_SHOW_FRAMES.CMD into the Window context menu so I can
> > highlight a video file (for
> > example, a VOB) and simple right-click and select "FFPROBE_SHOW_FRAMES".
> >
> > Good luck.
> >
> > Regards,
> > Mark Filipak.
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> >
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Get sample rate in mp3 files

2022-02-07 Thread Kieran O Leary
Hi

On Mon, Feb 7, 2022 at 6:14 PM CMG DiGiTaL  wrote:

> hi Reindl Harald
>
> forgot to send my changed code, follow now, so:
>
> cd\Users\%username%\Desktop\%pasta%
> for %%F IN (*) do (ffprobe -i "%%F" -v error -show_entries
> stream=sample_rate -of default=noprint_wrappers=1:nokey=1
> if %%F==48000 (ffmpeg -i "%%F" -map 0:0 -acodec mp3
> -b:a 320k -ar:a 44100 "C:\Users\%username%\Desktop\Converted\%%F"
>   )
>   )
>

I'm not hugely familiar with bat, but it looks like %%F is still just going
to be the mp3 filename, and it looks like you're not assigning that
variable to be the output of ffprobe, which is why your command is failing?


> Note: I'm using the for command to execute two commands
>   ffmpeg, okay?
>   I need one more help from you regarding the If command in
>   variable %%F... I don't know how to get only a part of the value
>   of the variable to make the if work!
>

This is more of a windows BAT issue than an ffmpeg issue unfortunately.

Best,

Kieran


>
>  I send an attachment so I can see the contents of the %%F
> variable.
>
> Em seg., 7 de fev. de 2022 às 15:08, Reindl Harald  >
> escreveu:
>
> >
> >
> > Am 07.02.22 um 18:55 schrieb Kieran O Leary:
> > > I was surprised to see that the code of conduct has no process or
> contact
> > > email for reporting a violation. I’m really reluctant to reply to this
> > > thread further as I’ve been called several nasty names already
> >
> > you should have been reluctant before your first response and nothing
> > would have happened at all
> >
> > learn the difference between "stupid idea" and "you are stupid" given
> > that "stupid idea" don't contain any pun even face-to-face as well as
> > "this was a stupid idea of me" is a normal conversation outside the
> > snowflake world
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> >
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Get sample rate in mp3 files

2022-02-07 Thread Kieran O Leary
Hi

On Mon 7 Feb 2022 at 18:06, CMG DiGiTaL  wrote:

> Hi
> I made the changes to my .bat file, and the files are not being written for
> a detail that I also have doubts about
>
> see how the .bat file was:
>
>
>
>
> Note: I'm using the for command to execute two commands
>   ffmpeg, okay?
>   I need one more help from you regarding the If command in
>   variable %%F... I don't know how to get only a part of the value
>   of the variable to make the if work!
>
>  I send an attachment so I can see the contents of the %%F
> variable.


Scripts and batch file support are generally not supported here, but it
would help to post your actual bat file contents as your attached pic isn’t
very helpful. You will need to post the complete, uncut Ffmpeg command and
output in order to get help here.

Best,

Kieran


>
> Em seg., 7 de fev. de 2022 às 14:55, Kieran O Leary <
> kieran.o.le...@gmail.com> escreveu:
>
> > On Mon 7 Feb 2022 at 17:47, Phil Rhodes via ffmpeg-user <
> > ffmpeg-user@ffmpeg.org> wrote:
> >
> > >  I'll confirm what other people have said - this is basically a
> > > conversation which has been continuing on this mailing list for years,
> > even
> > > decades.
> > > I don't know what's really behind it - I've often wondered whether
> > there's
> > > neurodevelopmental disorders at play, whether it's a language problem,
> > > whether there's some strange in-out group dynamic going on, or some
> > > combination of the three. Absolutely no basic politeness, much less
> > > professional courtesy, is shown to anyone of any level of expertise in
> > any
> > > field except for a very narrowly-defined in-group.
> > > That holds back projects exactly like ffmpeg because reasonable people
> > who
> > > might have felt the need to be helpful are so quickly alienated. The
> fact
> > > that nothing is ever done about it is horrible, but it is what it is;
> > this
> > > sort of thing is why the open source software world has such an
> appalling
> > > reputation for being so brutally hostile.
> > > - Phil
> >
> >
> > I was surprised to see that the code of conduct has no process or contact
> > email for reporting a violation. I’m really reluctant to reply to this
> > thread further as I’ve been called several nasty names already.
> >
> > Best,
> >
> > Kieran
> >
> >
> > > On Monday, 7 February 2022, 17:25:51 GMT, Carl Zwanzig <
> > c...@tuunq.com>
> > > wrote:
> > >
> > >  On 2/7/2022 9:04 AM, Reindl Harald wrote:
> > > > with the snowflakes of your generation we would still live on trees
> as
> > > human
> > > > race
> > >
> > > I will quote from just about a year ago-
> > > > On 2/2/2021 2:59 AM, Reindl Harald wrote:
> > > >> the difference between both of you is "only" that i am 43 years old
> > and
> > > >> started programming computers with the age of 9
> > > > OK, mine's bigger. I've been programming professionally for longer
> than
> > > > you've been alive. (Added- I also remember the introduction of the
> > Intel
> > > 4040 microprocessor.)
> > >
> > > Lose the insulting rhetoric and you'll get more respect.
> > >
> > > Later,
> > >
> > > z!
> > > ___
> > > ffmpeg-user mailing list
> > > ffmpeg-user@ffmpeg.org
> > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > >
> > > To unsubscribe, visit link above, or email
> > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> > >
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> >
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Get sample rate in mp3 files

2022-02-07 Thread Kieran O Leary
On Mon 7 Feb 2022 at 17:47, Phil Rhodes via ffmpeg-user <
ffmpeg-user@ffmpeg.org> wrote:

>  I'll confirm what other people have said - this is basically a
> conversation which has been continuing on this mailing list for years, even
> decades.
> I don't know what's really behind it - I've often wondered whether there's
> neurodevelopmental disorders at play, whether it's a language problem,
> whether there's some strange in-out group dynamic going on, or some
> combination of the three. Absolutely no basic politeness, much less
> professional courtesy, is shown to anyone of any level of expertise in any
> field except for a very narrowly-defined in-group.
> That holds back projects exactly like ffmpeg because reasonable people who
> might have felt the need to be helpful are so quickly alienated. The fact
> that nothing is ever done about it is horrible, but it is what it is; this
> sort of thing is why the open source software world has such an appalling
> reputation for being so brutally hostile.
> - Phil


I was surprised to see that the code of conduct has no process or contact
email for reporting a violation. I’m really reluctant to reply to this
thread further as I’ve been called several nasty names already.

Best,

Kieran


> On Monday, 7 February 2022, 17:25:51 GMT, Carl Zwanzig 
> wrote:
>
>  On 2/7/2022 9:04 AM, Reindl Harald wrote:
> > with the snowflakes of your generation we would still live on trees as
> human
> > race
>
> I will quote from just about a year ago-
> > On 2/2/2021 2:59 AM, Reindl Harald wrote:
> >> the difference between both of you is "only" that i am 43 years old and
> >> started programming computers with the age of 9
> > OK, mine's bigger. I've been programming professionally for longer than
> > you've been alive. (Added- I also remember the introduction of the Intel
> 4040 microprocessor.)
>
> Lose the insulting rhetoric and you'll get more respect.
>
> Later,
>
> z!
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Get sample rate in mp3 files

2022-02-07 Thread Kieran O Leary
hi

On Mon, Feb 7, 2022 at 3:22 PM Reindl Harald  wrote:

>
>
> Am 07.02.22 um 14:55 schrieb CMG DiGiTaL:
> > ok, but the sample rate information is in :
> > Stream #0:0: Audio: mp3, 48000 Hz, stereo, fltp, 320 kb/s
> >
> > What happens is that I don't know which command I use to compare only the
> > sample rate that is in the audio stream and manage to filter
> > the audio with only 48000 khz to another folder. That is, what command
> do I
> > use to read only the sample rate 48000 khz and be able to select it??
>
> well, use some scripting labuage like PHP, call ffmpeg and decide by
> if(strpos($ffmpeg_output, ', 48000 Hz,') !== FALSE)
>
He is using windows BAT, which isn't super advanced but it looks like the
IF statements there will do the trick?


>
> and do yourself a favor and forget the stupid idea "copy them to another
> folder where I will change from
> 48000 khz to 44100 khz"
>
Is this kind of talk against the code of conduct? I don't think you need to
blast somebody's needs as 'stupid', we don't know the use case here. (Sorry
if cc'ing you JB is against etiquette, I just wanted to flag this message)


>
> one simply don't encode a lossy codec again
>

I don't think that this is helpful either. FFmpeg allows this to be done,
and sometimes people do this for a variety of reasons. We don't know the
use case here.

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Get sample rate in mp3 files

2022-02-07 Thread Kieran O Leary
Hi,

I think you just want the sample rate value and nothing else? I used
ffprobe here to do it for a file called out.mp3, and it produced a value of
just '48000'

ffprobe -i out.mp3 -v error -show_entries stream=sample_rate -of
default=noprint_wrappers=1:nokey=1

48000


So perhaps you can work this into an IF statement in your bat scripts - if
value ==48000, move to folder and perform conversion, if else, do something
else.


Best,


Kieran O'Leary

Digital Preservation Manager

National Library of Ireland
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-user] Preserving PAL 720x576 resolution

2021-04-13 Thread Kieran O Leary
On Mon 12 Apr 2021 at 23:39, Mark Filipak (ffmpeg) 
wrote:

> On 2021-04-12 18:02, Carl Eugen Hoyos wrote:
> > Am Mo., 12. Apr. 2021 um 23:52 Uhr schrieb Carl Zwanzig :
> >>
> >> On 4/12/2021 2:42 PM, Carl Eugen Hoyos wrote:
> >>> and since Matthew didn't mention "interlaced"
> >>
> >> Video (ORIGINAL)
> >> Scan type: Interlaced
> >> Scan order   : Top Field First
> >>
> >> Yes, he did.
> >
> > I consider Jérôme and Matthew two different persons;-)
>
> Jerome? Who is Jerome?


The developer of mediainfo, as mediainfo output was included.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] converting raw stills to "raw" video

2021-02-16 Thread Kieran O Leary
On Tue 16 Feb 2021 at 10:52, shawny  wrote:

> I am trying to find out if it is possible using ffmpeg to convert raw
> stills
> into "raw" or log video in order to be gradable as video.  This is to
> incorporate timelapse photography into my video projects.  I know this can
> be done using Adobe After Effects but I am trying to find a post path that
> uses Linux and open source software.


What format are your raw stills? They may have to be converted via
something like graphicsmagick/dcraw. Also what output format are you
looking for? Raw and log is a bit vague in terms of ffmpeg encoding options.

Generally, ffmpeg is really good at turning image sequences that it can
decode into video files of many formats.

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] minterpolate ...for Paul

2021-02-01 Thread Kieran O Leary
On Sat, Jan 30, 2021 at 1:02 AM Mark Filipak (ffmpeg) 
wrote:

> On 01/29/2021 07:10 PM, Carl Eugen Hoyos wrote:
> > Am Sa., 30. Jan. 2021 um 01:00 Uhr schrieb Mark Filipak (ffmpeg)
> > :
> >
> >> I don't know what you mean by "This does not look like the input file
> from your command line"
> >
> > I meant that you provided the output file but you should (always) provide
> > the input file. The output file is very, very rarely useful.
> >
> > Carl Eugen
>
> Wait, let me get this right...
>
> "This does not look like the input file from your command line" is your
> way of saying "you should
> (always) provide the input file"?
>
> Can you see that providing such ...oblique? ...misleading? ...cryptic?
> clues to what you actually
> mean instead of providing straightforward statements ...Can you see that
> that's going to confuse
> people? ...Can you see that, when it becomes clear what you really mean,
> it can cause people to
> resent you? ...Can you see those things?
>
> No, he's trying to help and it's best to just post the input file. Your
response here isn't helpful at all and it's kinda nasty.

K
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] META: Courtesy and code of conduct

2020-12-01 Thread Kieran O Leary
On Tue 1 Dec 2020 at 20:42, Phil Rhodes via ffmpeg-user <
ffmpeg-user@ffmpeg.org> wrote:

>
> On Tuesday, 1 December 2020, 20:05:29 GMT, Dave Stevens <
> g...@uniserve.com> wrote:
> > can this be taken off-list? nobody needs to hear this
> Actually I think exactly the opposite; it's long past due that the
> terrible conduct of a few list members here was given a public airing, for
> the benefit of everyone, including them.


Agreed. Reindl is so insulting to most posters to the list. I think he
makes it a very unwelcome place and I can almost always predict what his
emails will say. It would be great if the code of conduct could be enforced
in his case.

Best,

Kieran.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] dpx 16bit files to ffv1 problem with the frammd5 sum

2020-10-20 Thread Kieran O Leary
I agree with Jerome, I’ve also found this and it’s a pix_fmt issue. This is
a good example of why you should post the complete uncut terminal output as
that would have told us the pix_fmt when you run both jobs.

Best,

Kieran O’Leary
National Library of Ireland
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Catching all error warnings via ffprobe

2020-07-06 Thread Kieran O Leary
On Mon, Jun 29, 2020 at 11:12 AM Kieran O Leary 
wrote:

> Hi - I've done some more tests and either I'm missing something here or
> perhaps this is a bug? It seems like only video errors appear in the JSON,
> not audio.
> I bumped up the loglevel, added and -show_error and I'm still not seeing
> the mp2 header issues appear in the json.
> For example this appears in the terminal:
>
> [mpegts @ 023d706538c0] Continuity check failed for pid 2069 expected
> 7 got 0
> [mpegts @ 023d706538c0] Continuity check failed for pid 2068 expected
> 10 got 9
> [mpegts @ 023d706538c0] PES packet size mismatch
> [mpegts @ 023d706538c0] Packet corrupt (stream = 1, dts = 203200560).
> [mp2 @ 023d70767e40] Header missing
>
> but I see no errors in the audio frames section of the JSON output:
> {
> "media_type": "audio",
> "stream_index": 1,
> "key_frame": 1,
> "pkt_pts": 203200560,
> "pkt_pts_time": "0:37:37.784000",
> "pkt_dts": 203200560,
> "pkt_dts_time": "0:37:37.784000",
> "best_effort_timestamp": 203200560,
> "best_effort_timestamp_time": "0:37:37.784000",
> "pkt_duration": 2160,
> "pkt_duration_time": "0:00:00.024000",
> "pkt_pos": "7371266244",
> "pkt_size": "1152",
> "sample_fmt": "s16p",
> "nb_samples": 1152,
> "channels": 2,
> "channel_layout": "stereo"
> },
>
> It seems that any errors for the audio streams are not making their way
> into the JSON, but the video errors are, as per my last email.
> Any guidance on how I can get these audio errors into the JSON  - am I
> missing a command or is this a bug?
>

Just checking in again to see if anyone has any guidance here.

Best,

Kieran

>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] libaom - first frame not lossless when > 7 frames in source

2020-06-29 Thread Kieran O Leary
On Sun, Jun 7, 2020 at 10:08 PM Kieran O Leary 
wrote:

>
>
> On Sun, Jun 7, 2020 at 10:06 PM pdr0  wrote:
>
>> Intra only compression , using -g 1 makes it lossless . Maybe a clue there
>>
>
> Aye - I can confirm that -g 1 produces matching framemd5s.
>

Just checking in on this issue - any ideas? Should I raise a bug ticket as
the next step or is this thread enough?

K

>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Catching all error warnings via ffprobe

2020-06-29 Thread Kieran O Leary
Hi - I've done some more tests and either I'm missing something here or
perhaps this is a bug? It seems like only video errors appear in the JSON,
not audio.
I bumped up the loglevel, added and -show_error and I'm still not seeing
the mp2 header issues appear in the json.
For example this appears in the terminal:

[mpegts @ 023d706538c0] Continuity check failed for pid 2069 expected 7
got 0
[mpegts @ 023d706538c0] Continuity check failed for pid 2068 expected
10 got 9
[mpegts @ 023d706538c0] PES packet size mismatch
[mpegts @ 023d706538c0] Packet corrupt (stream = 1, dts = 203200560).
[mp2 @ 023d70767e40] Header missing

but I see no errors in the audio frames section of the JSON output:
{
"media_type": "audio",
"stream_index": 1,
"key_frame": 1,
"pkt_pts": 203200560,
"pkt_pts_time": "0:37:37.784000",
"pkt_dts": 203200560,
"pkt_dts_time": "0:37:37.784000",
"best_effort_timestamp": 203200560,
"best_effort_timestamp_time": "0:37:37.784000",
"pkt_duration": 2160,
"pkt_duration_time": "0:00:00.024000",
"pkt_pos": "7371266244",
"pkt_size": "1152",
"sample_fmt": "s16p",
"nb_samples": 1152,
"channels": 2,
"channel_layout": "stereo"
},

It seems that any errors for the audio streams are not making their way
into the JSON, but the video errors are, as per my last email.
Any guidance on how I can get these audio errors into the JSON  - am I
missing a command or is this a bug?

ffprobe -loglevel 48 -sexagesimal D:\IFI_Batch_10\MV8805\MV8805.m2t
-show_error -show_log 48 -show_frames -of json > error.json
ffprobe version N-96643-g2942b00285-g2383021a7a+1 Copyright (c) 2007-2020
the FFmpeg developers
  built with gcc 9.2.0 (Rev2, Built by MSYS2 project)
  configuration:  --disable-autodetect --enable-amf --enable-bzlib
--enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv
--enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec
--enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus
--enable-libvorbis --enable-libx264 --enable-libdav1d --disable-debug
--enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype
--enable-libmfx --enable-libmysofa --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-amrwbenc --enable-libwavpack
--enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine
--enable-gpl --enable-avisynth --enable-libxvid --enable-libaom
--enable-libopenmpt --enable-version3 --enable-openssl
--extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++
--extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --enable-nonfree
  libavutil  56. 39.100 / 56. 39.100
  libavcodec 58. 67.101 / 58. 67.101
  libavformat58. 37.100 / 58. 37.100
  libavdevice58.  9.103 / 58.  9.103
  libavfilter 7. 74.100 /  7. 74.100
  libswscale  5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc55.  6.100 / 55.  6.100
[NULL @ 025ad4843580] Opening 'D:\IFI_Batch_10\MV8805\MV8805.m2t' for
reading
[file @ 025ad308b000] Setting default whitelist 'file,crypto,data'
[mpegts @ 025ad4843580] Format mpegts probed with size=2048 and score=50
[mpegts @ 025ad4843580] stream=0 stream_type=2 pid=810
prog_reg_desc=TSHV
[mpegts @ 025ad4843580] stream=1 stream_type=3 pid=814
prog_reg_desc=TSHV
[mpegts @ 025ad4843580] stream=2 stream_type=a0 pid=815
prog_reg_desc=TSHV
[mpegts @ 025ad4843580] stream=3 stream_type=a1 pid=811
prog_reg_desc=TSHV
[mpegts @ 025ad4843580] Before avformat_find_stream_info() pos: 0 bytes
read:32768 seeks:0 nb_streams:4
[mpegts @ 025ad4843580] parser not found for codec none, packets or
times may be invalid.
Last message repeated 1 times
[mpeg2video @ 025ad4844480] Invalid frame dimensions 0x0.
Last message repeated 1 times
[mpeg2video @ 025ad4844480] Format yuv420p chosen by get_format().
[mpegts @ 025ad4843580] parser not found for codec none, packets or
times may be invalid.
Last message repeated 1 times
[mpegts @ 025ad4843580] Probe buffer size limit of 500 bytes reached
[mpegts @ 025ad4843580] PES packet size mismatch
[mpegts @ 025ad4843580] Packet corrupt (stream = 1, dts = 314015040).
[mpegts @ 025ad4843580] Could not find codec parameters for stream 2
(Unknown: none ([160][0][0][0] / 0x00A0)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 025ad4843580] Could not find codec parameters for stream 3
(Unknown: none ([161][0][0][0] / 0x00A1)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 025ad4843580] After avformat_find_stream_

[FFmpeg-user] Catching all error warnings via ffprobe

2020-06-24 Thread Kieran O Leary
Hi,

I'm trying to catch all error warnings via JSON ffprobe output, but only
some of the errors are making their way through. The errors about ac-tex
damage and MVs not available end up in the JSON, but I also want to get
what I assume is an mp2 header missing error that you can see further down
- [mp2 @ 025cadd44fc0] Header missing .
What can I add to my command to get these other errors?

Here's a snippet of the JSON output showing the error:
"logs": [
{
"context": "mpeg2video",
"level": 16,
"category": 6,
"message": "[mpeg2video @ 025cadd438c0] ac-tex
damaged at 34 30"
},
{
"context": "mpeg2video",
"level": 16,
"category": 6,
"message": "[mpeg2video @ 025cadd438c0] Warning MVs
not available"

ANd here's my command - normally I just use -show_frames but I also added
format and streams just to see if the info might show up there.

ffprobe -sexagesimal E:\DV_batches\IFI_Batch_10\MV8805\MV8805.m2t -show_log
16 -show_frames -show_format -show_streams -of json  > outout.json
ffprobe version N-96643-g2942b00285-g2383021a7a+1 Copyright (c) 2007-2020
the FFmpeg developers
  built with gcc 9.2.0 (Rev2, Built by MSYS2 project)
  configuration:  --disable-autodetect --enable-amf --enable-bzlib
--enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv
--enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec
--enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus
--enable-libvorbis --enable-libx264 --enable-libdav1d --disable-debug
--enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype
--enable-libmfx --enable-libmysofa --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-amrwbenc --enable-libwavpack
--enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine
--enable-gpl --enable-avisynth --enable-libxvid --enable-libaom
--enable-libopenmpt --enable-version3 --enable-openssl
--extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++
--extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --enable-nonfree
  libavutil  56. 39.100 / 56. 39.100
  libavcodec 58. 67.101 / 58. 67.101
  libavformat58. 37.100 / 58. 37.100
  libavdevice58.  9.103 / 58.  9.103
  libavfilter 7. 74.100 /  7. 74.100
  libswscale  5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc55.  6.100 / 55.  6.100
[mpeg2video @ 025cadd14480] Invalid frame dimensions 0x0.
Last message repeated 1 times
[mpegts @ 025cadd13580] PES packet size mismatch
[mpegts @ 025cadd13580] Packet corrupt (stream = 1, dts = 314015040).
[mpegts @ 025cadd13580] Could not find codec parameters for stream 2
(Unknown: none ([160][0][0][0] / 0x00A0)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 025cadd13580] Could not find codec parameters for stream 3
(Unknown: none ([161][0][0][0] / 0x00A1)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, mpegts, from 'E:\DV_batches\IFI_Batch_10\MV8805\MV8805.m2t':
  Duration: 00:58:08.00, start: 1.28, bitrate: 26120 kb/s
  Program 100
Stream #0:0[0x810]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p(tv, bt709, top first), 1440x1080 [SAR 4:3 DAR 16:9], 25000 kb/s, 25
fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x814]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, fltp, 384 kb/s
Stream #0:2[0x815]: Unknown: none ([160][0][0][0] / 0x00A0)
Stream #0:3[0x811]: Unknown: none ([161][0][0][0] / 0x00A1)
Unsupported codec with id 0 for input stream 2
Unsupported codec with id 0 for input stream 3
[mpegts @ 025cadd13580] Packet corrupt (stream = 0, dts = 166788000).
[mpeg2video @ 025cadd438c0] ac-tex damaged at 8 3
[mpeg2video @ 025cadd438c0] Warning MVs not available
[mpeg2video @ 025cadd438c0] concealing 5850 DC, 5850 AC, 5850 MV errors
in I frame
[mpegts @ 025cadd13580] Packet corrupt (stream = 0, dts = 203216400).
[mpeg2video @ 025cadd438c0] ac-tex damaged at 41 57
[mpeg2video @ 025cadd438c0] Warning MVs not available
[mpeg2video @ 025cadd438c0] concealing 990 DC, 990 AC, 990 MV errors in
P frame
[mpegts @ 025cadd13580] PES packet size mismatch
[mpegts @ 025cadd13580] Packet corrupt (stream = 1, dts = 203200560).
[mp2 @ 025cadd44fc0] Header missing
[mpeg2video @ 025cadd438c0] ac-tex damaged at 7 55
[mpeg2video @ 025cadd438c0] Warning MVs not available
[mpeg2video @ 025cadd438c0] concealing 1170 DC, 1170 AC, 1170 MV errors
in B frame
[mpegts @ 025cadd13580] PES packet size mismatch
[mpegts @ 025cadd13580] Packet corrupt (str

[FFmpeg-user] Website updates for 4:3 version of FFmpeg

2020-06-17 Thread Kieran O Leary
Hi,

I noticed that there was no news report for 4:3, and also the link to the
latest source is still 4.2.3: https://ffmpeg.org/download.html

Just thought I'd flag..

K
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] AAC wiki out of date?

2020-06-17 Thread Kieran O Leary
Hi,

I was looking to find out some info about AAC encoding in FFmpeg and I went
to the wiki https://trac.ffmpeg.org/wiki/Encode/AAC
Would I be correct in saying that it's out of date, as the native encoder
is now the best quality since 3.0? There's an emphasis on the Fraunhofer
encoder in the wiki and how it is the highest quality.

Best,

Kieran.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] a q about units

2020-06-16 Thread Kieran O Leary
Hi,

On Thu, Jun 11, 2020 at 6:38 PM Jim Shupert 
wrote:

> Friends
> This is a rather general Q
>
> when I see dialogue such as
> [matroska,webm @ 0x7f362c000b80] Read error at pos. 59270674468
> (0xdccceb824)
>
> as in
>
> Input #0, matroska,webm, from 'pipe:':
> Metadata:
> ENCODER : Lavf58.29.100
> Duration: N/A, start: 0.00, bitrate: 12288 kb/s
> Stream #0:0: Audio: pcm_s32le, 48000 Hz, 8 channels, s32, 12288 kb/s
> (default)
> Stream #0:1: Video: v210 (V210 / 0x30313256), yuv422p10le(bottom first),
> 720x486, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc (default)
> [matroska,webm @ 0x7f362c000b80] Read error at pos. 59270674468
> (0xdccceb824)
> [matroska,webm @ 0x7f362c000b80] Seek to desired resync point failed.
> Seeking to earliest point available instead.
> [matroska,webm @ 0x7f362c000b80] Read error at pos. 59270674468
> (0xdccceb824)
>
> av_interleaved_write_frame(): Broken pipe
> Error writing trailer of pipe:: Broken pipe
> frame=60212 fps= 30 q=-0.0 Lq=-1.0 size=25924529kB time=00:33:29.04
> bitrate=105709.0kbits/s speed= 1x
> video:80224393kB audio:3578653kB subtitle:0kB other streams:0kB global
> headers:0kB muxing
>
> MY Q
> what is position 59270674468 (0xdccceb824)  ?
> what are the units of 59270674468?
>

No idea, I'd like to know as well though. Here's the code that generates
these messages:
https://github.com/FFmpeg/FFmpeg/blob/ff3fad6b0edb13dd664403b01bc00309f035b110/libavformat/matroskadec.c#L890


Best,

Kieran O'Leary
Irish Film Institute
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Converting DTS (timestamps) in mpegts to HH:MM:SS:FF

2020-06-16 Thread Kieran O Leary
Hi

On Tue, Jun 16, 2020 at 9:51 AM Gyan Doshi  wrote:

>
>
> On 16-06-2020 02:15 pm, Kieran O Leary wrote:
> > On Tue, Jun 16, 2020 at 9:40 AM Kieran O Leary  >
> > wrote:
> >
> >> OK, so I figured out that the dts needs to be divided by
> >> pkt_duration_time, which in this instance was 3600. Not sure how to get
> >> that aside from using ffprobe as I don't see it listed in the ffmpeg
> output.
> >>
> > Sorry, the dts value needs to be divided by pkt_duration, which gives the
> > frame number. Also ffmpeg is amazing.
>
> Actually, the dts is denominated in terms of the stream time_base. For
> MPEG-TS, that's 9 for all streams.
> This applies to the dts shown in the corrupt packet msg. After decoding,
> lavc will change audio stream time base to stream sampling rate.
>

Argh, you're absolutely right,that produces the seconds value. Thanks Gyan!

K
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Converting DTS (timestamps) in mpegts to HH:MM:SS:FF

2020-06-16 Thread Kieran O Leary
Hi Moritz,

On Tue, Jun 16, 2020 at 9:55 AM Moritz Barsnick  wrote:

> On Tue, Jun 16, 2020 at 09:45:02 +0100, Kieran O Leary wrote:
> > On Tue, Jun 16, 2020 at 9:40 AM Kieran O Leary  >
> > > OK, so I figured out that the dts needs to be divided by
> > > pkt_duration_time, which in this instance was 3600. Not sure how to get
> > > that aside from using ffprobe as I don't see it listed in the ffmpeg
> output.
> >
> > Sorry, the dts value needs to be divided by pkt_duration, which gives the
> > frame number. Also ffmpeg is amazing.
>
> Note that ffprobe also has those *_time fields, where the calculation
> is already done for you. E.g. best_effort_timestamp_time, pkt_pts_time,
> pkt_dts_time, pkt_duration_time.
>
> (Does ffprobe report which frames are corrupt? I didn't check.)
>

it does indeed - not the exact same message I received earlier, but it's
enough for me to write a script to catch these:
Here's a snip from the ffprobe output I posted that shows the corruption

 





Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Converting DTS (timestamps) in mpegts to HH:MM:SS:FF

2020-06-16 Thread Kieran O Leary
On Tue, Jun 16, 2020 at 9:40 AM Kieran O Leary 
wrote:

> OK, so I figured out that the dts needs to be divided by
> pkt_duration_time, which in this instance was 3600. Not sure how to get
> that aside from using ffprobe as I don't see it listed in the ffmpeg output.
>

Sorry, the dts value needs to be divided by pkt_duration, which gives the
frame number. Also ffmpeg is amazing.

Best,

Kieran.

>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Converting DTS (timestamps) in mpegts to HH:MM:SS:FF

2020-06-16 Thread Kieran O Leary
OK, so I figured out that the dts needs to be divided by pkt_duration_time,
which in this instance was 3600. Not sure how to get that aside from using
ffprobe as I don't see it listed in the ffmpeg output.
And I also realised via this  https://github.com/bavc/qctools/issues/291
that just pulling frame level data via ffprobe is a better way to get this
data:
ffprobe  2.m2t -show_log 16 -show_frames -of xml  > bla.xml

gives me lovely stuff like this:
 











Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Converting DTS (timestamps) in mpegts to HH:MM:SS:FF

2020-06-16 Thread Kieran O Leary
Hi,

I'm working with HDV tape transfers in the moment and dealing with m2t
transport streams. I've found that using ffmpeg -report -loglevel debug -i
input -f null - has been great at catching corrupt frames that I can
investigate in playback software.
I just realised that this can be done even quicker and it looks like the
same corruption is detected when using -c copy. However, the report I get
in the terminal just uses dts values - is there a way to convert these dts
values to a frame number or preferably a HH:MM:SS:FF value? is it related
to the tbn/tbc value? Either in ffmpeg or even some scriptable way.

For example, one of the errors displays like this:
[mpegts @ 0165bdcd34c0] Packet corrupt (stream = 1, dts = 332636400)
and I can tell from using -f null - that this corresponds to
approx 01:01:33.55 , but I can't find a way to get the dts value to relate
to that timestamp.


ffmpeg -i 2.m2t -c copy -f null -
ffmpeg version N-96643-g2942b00285-g2383021a7a+1 Copyright (c) 2000-2020
the FFmpeg developers
  built with gcc 9.2.0 (Rev2, Built by MSYS2 project)
  configuration:  --disable-autodetect --enable-amf --enable-bzlib
--enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv
--enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec
--enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus
--enable-libvorbis --enable-libx264 --enable-libdav1d --disable-debug
--enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype
--enable-libmfx --enable-libmysofa --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvidstab --enable-libvo-amrwbenc --enable-libwavpack
--enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine
--enable-gpl --enable-avisynth --enable-libxvid --enable-libaom
--enable-libopenmpt --enable-version3 --enable-openssl
--extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++
--extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --enable-nonfree
  libavutil  56. 39.100 / 56. 39.100
  libavcodec 58. 67.101 / 58. 67.101
  libavformat58. 37.100 / 58. 37.100
  libavdevice58.  9.103 / 58.  9.103
  libavfilter 7. 74.100 /  7. 74.100
  libswscale  5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc55.  6.100 / 55.  6.100
[mpegts @ 0180e65c24c0] PES packet size mismatch
[mpegts @ 0180e65c24c0] Packet corrupt (stream = 1, dts = 437428800).
[mpegts @ 0180e65c24c0] Could not find codec parameters for stream 2
(Unknown: none ([160][0][0][0] / 0x00A0)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 0180e65c24c0] Could not find codec parameters for stream 3
(Unknown: none ([161][0][0][0] / 0x00A1)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, mpegts, from '82.m2t':
  Duration: 01:20:57.08, start: 3.44, bitrate: 26122 kb/s
  Program 100
Stream #0:0[0x810]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p(tv, bt709, top first), 1440x1080 [SAR 4:3 DAR 16:9], 25000 kb/s, 25
fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x814]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, fltp, 384 kb/s
Stream #0:2[0x815]: Unknown: none ([160][0][0][0] / 0x00A0)
Stream #0:3[0x811]: Unknown: none ([161][0][0][0] / 0x00A1)
Output #0, null, to 'pipe:':
  Metadata:
encoder : Lavf58.37.100
Stream #0:0: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p(tv, bt709, top first), 1440x1080 [SAR 4:3 DAR 16:9], q=2-31, 25000
kb/s, 25 fps, 25 tbr, 90k tbn, 90k tbc
Stream #0:1: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo,
fltp, 384 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0180e65c24c0] Packet corrupt (stream = 0, dts = 5317200).
[mpegts @ 0180e65c24c0] Packet corrupt (stream = 0, dts = 10821600).
[mpegts @ 0180e65c24c0] Packet corrupt (stream = 0, dts =
116416800).322x
[mpegts @ 0180e65c24c0] PES packet size mismatch
[mpegts @ 0180e65c24c0] Packet corrupt (stream = 1, dts = 116398800).
[mpegts @ 0180e65c24c0] Packet corrupt (stream = 0, dts =
332654400).341x
[mpegts @ 0180e65c24c0] PES packet size mismatch
[mpegts @ 0180e65c24c0] Packet corrupt (stream = 1, dts = 332636400).
[mpegts @ 0180e65c24c0] PES packet size mismatch04 bitrate=N/A speed=
345x
[mpegts @ 0180e65c24c0] Packet corrupt (stream = 1, dts = 437428800).
frame=121338 fps=8612 q=-1.0 Lsize=N/A time=01:20:57.04 bitrate=N/A speed=
345x
video:14811578kB audio:227500kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: unknown

Best,

Kieran O'Leary
Irish Film Institute
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/lis

Re: [FFmpeg-user] newbie in trouble

2020-06-08 Thread Kieran O Leary
Hi,

How about:
ffmpeg -framerate 30 -start_number 2 -i
/home/dave/Documents/Smokecam/2days\
ofoutdoorcapturesDecember112016/smokey%04d.jpg -c:v libx264  -pix_fmt
yuv420p out.mp4

I don't think you need to use -r or John's suggestion of video filters to
set framerates.
Also your ffmpeg version is super old - we are now up to 4:2:2, with 4:3
about to be released.

K
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] libaom - first frame not lossless when > 7 frames in source

2020-06-07 Thread Kieran O Leary
On Sun, Jun 7, 2020 at 10:06 PM pdr0  wrote:

> Intra only compression , using -g 1 makes it lossless . Maybe a clue there
>

Aye - I can confirm that -g 1 produces matching framemd5s.

K
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] libaom - first frame not lossless when > 7 frames in source

2020-06-07 Thread Kieran O Leary
Hi Carl,


On Sun, Jun 7, 2020 at 9:18 PM Carl Eugen Hoyos  wrote:

> Am So., 7. Juni 2020 um 19:16 Uhr schrieb Kieran O Leary
> :
>
> > On Sun 7 Jun 2020, 17:56 pdr0,  wrote:
> >
> > > Kieran O Leary wrote
> > > > Any idea what's happening? Will I get the libx264-style answer:
> 'this is
> > > > googles issue,
> > >
> > > I can replicate the ffmpeg issue (and with other sources), but I don't
> know
> > > what the problem is
> > >
> > > It's not a "google"  issue, because AOM aomenc.exe works, and produces
> > > lossless output correctly
> > >
> >
> > This is great to know! I wonder if the number 8 is significant here?
>
> Could it be the number of cores in your system / is the issue reproducible
> with -threads 1 ?
>

I'm on a 4 core i5, and -threads 1 didn't have any difference - first frame
has different framemd5s to the source:
$ ./ffmpeg -threads 1 -i ~/source.mkv -c:v av1 -crf 0   av1.mkv
ffmpeg version N-98060-g1c32d7d Copyright (c) 2000-2020 the FFmpeg
developers
  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
  configuration: --prefix=/home/kieranjol/ffmpeg_build
--pkg-config-flags=--static
--extra-cflags=-I/home/kieranjol/ffmpeg_build/include
--extra-ldflags=-L/home/kieranjol/ffmpeg_build/lib --extra-libs='-lpthread
-lm' --bindir=/home/kieranjol/bin --enable-libaom
  libavutil  56. 50.100 / 56. 50.100
  libavcodec 58. 90.100 / 58. 90.100
  libavformat58. 44.100 / 58. 44.100
  libavdevice58.  9.103 / 58.  9.103
  libavfilter 7. 84.100 /  7. 84.100
  libswscale  5.  6.101 /  5.  6.101
  libswresample   3.  6.100 /  3.  6.100
Input #0, matroska,webm, from '/home/kieranjol/source.mkv':
  Metadata:
ENCODER : Lavf58.29.100
  Duration: 00:00:01.00, start: 0.00, bitrate: 43022 kb/s
Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p10le, 320x240, SAR
1:1 DAR 4:3, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
Metadata:
  ENCODER : Lavc58.54.100 v210
  DURATION: 00:00:01.0
File 'av1.mkv' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (v210 (native) -> av1 (libaom-av1))
Press [q] to stop, [?] for help
[libaom-av1 @ 0x563f62937900] v2.0.0
Output #0, matroska, to 'av1.mkv':
  Metadata:
encoder : Lavf58.44.100
Stream #0:0: Video: av1 (libaom-av1) (AV01 / 0x31305641), yuv422p10le,
320x240 [SAR 1:1 DAR 4:3], q=-1--1, 25 fps, 1k tbn, 25 tbc (default)
Metadata:
  DURATION: 00:00:01.0
  encoder : Lavc58.90.100 libaom-av1
Side data:
  cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
frame=   20 fps= 11 q=0.0 size=   1kB time=00:00:00.04 bitrate=
106.7kbits/sframe=   21 fps=6.9 q=0.0 size=   1kB time=00:00:00.08
bitrate=  54.0kbits/sframe=   25 fps=4.8 q=0.0 Lsize=  68kB
time=00:00:00.96 bitrate= 579.1kbits/s speed=0.185x
video:67kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 1.026751%

kieranjol@POWERVIRUS:~/ffmpeg_sources/ffmpeg$ ./ffmpeg -threads 1 -i
av1.mkv -f framemd5 -
ffmpeg version N-98060-g1c32d7d Copyright (c) 2000-2020 the FFmpeg
developers
  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
  configuration: --prefix=/home/kieranjol/ffmpeg_build
--pkg-config-flags=--static
--extra-cflags=-I/home/kieranjol/ffmpeg_build/include
--extra-ldflags=-L/home/kieranjol/ffmpeg_build/lib --extra-libs='-lpthread
-lm' --bindir=/home/kieranjol/bin --enable-libaom
  libavutil  56. 50.100 / 56. 50.100
  libavcodec 58. 90.100 / 58. 90.100
  libavformat58. 44.100 / 58. 44.100
  libavdevice58.  9.103 / 58.  9.103
  libavfilter 7. 84.100 /  7. 84.100
  libswscale  5.  6.101 /  5.  6.101
  libswresample   3.  6.100 /  3.  6.100
[libaom-av1 @ 0x55f041f33880] v2.0.0
Input #0, matroska,webm, from 'av1.mkv':
  Metadata:
ENCODER : Lavf58.44.100
  Duration: 00:00:01.00, start: 0.00, bitrate: 556 kb/s
Stream #0:0: Video: av1 (Professional), yuv422p10le(tv), 320x240, SAR
1:1 DAR 4:3, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
Metadata:
  ENCODER : Lavc58.90.100 libaom-av1
  DURATION: 00:00:01.0
[libaom-av1 @ 0x55f041f41800] v2.0.0
Stream mapping:
  Stream #0:0 -> #0:0 (av1 (libaom-av1) -> rawvideo (native))
Press [q] to stop, [?] for help
#format: frame checksums
#version: 2
#hash: MD5
#software: Lavf58.44.100
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 320x240
#sar 0: 1/1
#stream#, dts,pts, duration, size, hash
Output #0, framemd5, to 'pipe:':
  Metadata:
encoder : Lavf58.44.100
Stream #0:0: Video: rawvideo (Y3[10][10] / 0xA0A3359), yuv422p10le,
320x240 [SAR 1:1 DAR 4:3], q=2-31, 38400 kb/s, 25 fps, 25 tbn, 25 tbc
(default)
Meta

Re: [FFmpeg-user] libaom - first frame not lossless when > 7 frames in source

2020-06-07 Thread Kieran O Leary
Hi

On Sun 7 Jun 2020, 17:56 pdr0,  wrote:

> Kieran O Leary wrote
> > Any idea what's happening? Will I get the libx264-style answer: 'this is
> > googles issue,
>
> I can replicate the ffmpeg issue (and with other sources), but I don't know
> what the problem is
>
> It's not a "google"  issue, because AOM aomenc.exe works, and produces
> lossless output correctly
>

This is great to know! I wonder if the number 8 is significant here?

K
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] libaom - first frame not lossless when > 7 frames in source

2020-06-06 Thread Kieran O Leary
Hi,

I was doing some tests with libaom and lossness encoding and with synthetic
files and some real world files, I kept finding that the framemd5s for the
first frame was different than the source, but every other libaom encoded
frame produced matching framemd5s for source and output.
I then tried with smaller frame counts, and with synthetic files, I found
that all frames would produce matching framemd5s when there was between 1
and 7 frames in the input. Once you went to 8 frames and above, the first
frame would produce a framemd5 mismatch.

here's a bunch of commands using ffmpeg git-master and what I assume to be
libaom git master, or whatever the Ubuntu ffmpeg compilation wiki is using:
0) framemd5 output of the 8fr source - note the first frame value
1) Make a 8frame v210 via testsrc
2) Turn into av1 with -crf 0
3) get framemd5 of av1 output - note that first framemd5 value is different
4-6 - same as 1 to 3 but with a 7 frame testsrc file

Any idea what's happening? Will I get the libx264-style answer: 'this is
googles issue, not
ffmpeg'0b1ae3e77528dcdacfab21761076d2b0b1ae3e77528dcdacfab21761076d2b

/ffmpeg -i 8fr.mkv -f framemd5 -
ffmpeg version N-98060-g1c32d7d Copyright (c) 2000-2020 the FFmpeg
developers
  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
  configuration: --prefix=/home/kieranjol/ffmpeg_build
--pkg-config-flags=--static
--extra-cflags=-I/home/kieranjol/ffmpeg_build/include
--extra-ldflags=-L/home/kieranjol/ffmpeg_build/lib --extra-libs='-lpthread
-lm' --bindir=/home/kieranjol/bin --enable-libaom
  libavutil  56. 50.100 / 56. 50.100
  libavcodec 58. 90.100 / 58. 90.100
  libavformat58. 44.100 / 58. 44.100
  libavdevice58.  9.103 / 58.  9.103
  libavfilter 7. 84.100 /  7. 84.100
  libswscale  5.  6.101 /  5.  6.101
  libswresample   3.  6.100 /  3.  6.100
Input #0, matroska,webm, from '8fr.mkv':
  Metadata:
ENCODER : Lavf58.44.100
  Duration: 00:00:00.32, start: 0.00, bitrate: 43031 kb/s
Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p10le, 320x240, SAR
1:1 DAR 4:3, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
Metadata:
  ENCODER : Lavc58.90.100 v210
  DURATION: 00:00:00.32000
Stream mapping:
  Stream #0:0 -> #0:0 (v210 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
#format: frame checksums
#version: 2
#hash: MD5
#software: Lavf58.44.100
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 320x240
#sar 0: 1/1
#stream#, dts,pts, duration, size, hash
Output #0, framemd5, to 'pipe:':
  Metadata:
encoder : Lavf58.44.100
Stream #0:0: Video: rawvideo (Y3[10][10] / 0xA0A3359), yuv422p10le,
320x240 [SAR 1:1 DAR 4:3], q=2-31, 38400 kb/s, 25 fps, 25 tbn, 25 tbc
(default)
Metadata:
  DURATION: 00:00:00.32000
  encoder : Lavc58.90.100 rawvideo
0,  0,  0,1,   307200,
50b1ae3e77528dcdacfab21761076d2b
0,  1,  1,1,   307200,
8213a857506c099160fffb2f606f3590
0,  2,  2,1,   307200,
a5e0786c6d9d152c45e2d3a0122c8987
0,  3,  3,1,   307200,
fd93af578482e418d1378f6d9cd94f14
0,  4,  4,1,   307200,
abfca35c7aae65d1dcddee1ce370479f
0,  5,  5,1,   307200,
da151dbf22f7e818344d5efd0cbb6f09
0,  6,  6,1,   307200,
b87bdb747fbd80060f71585e7d2c6ac9
0,  7,  7,1,   307200,
af69163b6455654da3a37cf52cfc4525
frame=8 fps=0.0 q=-0.0 Lsize=   1kB time=00:00:00.32 bitrate=
 21.4kbits/s speed=33.1x
video:2400kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
 ./ffmpeg -f lavfi -i testsrc -c:v v210 -vframes 8  8fr.mkv
ffmpeg version N-98060-g1c32d7d Copyright (c) 2000-2020 the FFmpeg
developers
  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
  configuration: --prefix=/home/kieranjol/ffmpeg_build
--pkg-config-flags=--static
--extra-cflags=-I/home/kieranjol/ffmpeg_build/include
--extra-ldflags=-L/home/kieranjol/ffmpeg_build/lib --extra-libs='-lpthread
-lm' --bindir=/home/kieranjol/bin --enable-libaom
  libavutil  56. 50.100 / 56. 50.100
  libavcodec 58. 90.100 / 58. 90.100
  libavformat58. 44.100 / 58. 44.100
  libavdevice58.  9.103 / 58.  9.103
  libavfilter 7. 84.100 /  7. 84.100
  libswscale  5.  6.101 /  5.  6.101
  libswresample   3.  6.100 /  3.  6.100
Input #0, lavfi, from 'testsrc':
  Duration: N/A, start: 0.00, bitrate: N/A
Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240
[SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> v210 (native))
Press [q] to stop, [?] for help
Output #0, matroska, to '8fr.mkv':
  Metadata:
encoder : Lavf58.44.100
Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p, 320x240 [SAR 1:1
DAR 4:3], q=2-31, 40960 kb/s, 25 fps, 1k tbn, 25 tbc
Metadata:
  encoder : Lavc58.90.100 v2

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-21 Thread Kieran O Leary
On Thu, May 21, 2020 at 9:31 PM Nicolas George  wrote:

> Kieran O Leary (12020-05-21):
> > > I have a JPG image for which exiftool reports six times:
> > > -- File Modification Date/Time
> > > -- File Access Date/Time
> > > -- File Creation Date/Time
> > > -- Modify Date
> > > -- Date/Time Original
> > > -- Create Date
>
> > Aren't some of those just file system metadata, not in the actual JPG
> > itself?
>
> The "File" fields, obviously. But I very much doubt that a file system
> would store both a "File Modification Date/Time" and a "Modify Date",
> don't you?
>

I agree with you.

K
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] [ffmpeg] preserving metadata from .mp4 to .jpg/.png frames

2020-05-21 Thread Kieran O Leary
On Thu, May 21, 2020 at 6:05 PM Michael Koch 
wrote:

> Am 21.05.2020 um 17:07 schrieb Carl Eugen Hoyos:
> > Am Do., 21. Mai 2020 um 16:46 Uhr schrieb David Greenwood
> > :
> >> Nope.
> > If such files do not exist, it seems unlikely that ffmpeg
> > can produce them.
>
> I have a JPG image for which exiftool reports six times:
> -- File Modification Date/Time
> -- File Access Date/Time
> -- File Creation Date/Time
> -- Modify Date
> -- Date/Time Original
> -- Create Date
>

Aren't some of those just file system metadata, not in the actual JPG
itself?

-K
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Deinterlacing VHS

2020-05-12 Thread Kieran O Leary
Hi

On Tue 12 May 2020, 18:01 Noeck,  wrote:

> Hi,
>
> I have digitized VHS video recordings on my computer. The Video is
> originally recorded in a PAL system (interlaced). I would like to
> improve the video quality with some filters. Cropping and color
> correction is clear.
>
> But deinterlacing is hard, as the lines of the half-images are not
> exactly one pixel apart because the resolution is not identical with the
> analogue resolution on tape. The framerate should be like on tape. yadif
> does improve things a bit.
>

I'd love to see a pic or video of what you describe. As Marton said, sounds
like a digitisation issue that you've introduced.

Best,

Kieran O'Leary
Irish Film Institute
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

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

2020-04-18 Thread Kieran O Leary
On Sat, Apr 18, 2020 at 12:53 AM Mark Filipak <
markfilipak.windows+ffm...@gmail.com> wrote:

> 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?
>
As Carl said, endianness doesn't really matter here. Why were you curious?
But as an aside, PCM on DVDs was somewhat common for music. I remember Pink
Floyd's The Wall and This is Spinal Tap having PCM options. PowerDVD was
pretty good at giving stream info back in the day.

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Stuck preparing to compile ffmpeg from git source

2020-04-13 Thread Kieran O Leary
Hi Mark,

I usually just grab the latest build from Zeranoe, it's usually just a few
days old.
When I have to compile on windows, I use this for windows computers at work
because the update script is very handy when I want to upgrade a bunch of
computers easily: https://github.com/m-ab-s/media-autobuild_suite

-K
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Copy all metadata fields?

2020-03-18 Thread Kieran O Leary
Hi,

On Wed 18 Mar 2020, 12:54 Peter B.,  wrote:

>
> Oh, and yes: absolutely correct! Color information is gone.
> Is there any way that this kind of metadata can also be transferred -
> even if I don't explicitely know it's there?
>

I raised this before and I think you have to set the output values
manually. I found this when Transcoding from mov to mkv, colour values were
lost.
Tobias's advice here still stands I think
https://ffmpeg.org/pipermail/ffmpeg-user/2018-July/040717.html

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Reading LTC from an audio track?

2019-11-19 Thread Kieran O Leary
On Tue, 19 Nov 2019, 22:21 Harvey Pikelberger,  wrote:

> I was just looking at it before you wrote.  And, all the better, we have
> some related arduino projects, so it may be just the thing.
> But I haven't yet taken enough time to work out what language it is / how
> to implement.

It appears to be written in C.


  What's x42?
>

The username of the developer, Robin Gareus.

Best, Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Converting DVCPRO in AVI wrapper to .dv, missing audio stream

2019-11-13 Thread Kieran O Leary
Hi,



On Wed, 13 Nov 2019, 15:23 Joanna White via ffmpeg-user, <
ffmpeg-user@ffmpeg.org> wrote:

>
> >> On 13 Nov 2019, at 13:55, Kieran O Leary 
> wrote:
> >>
> >> Hi
> >>
> >> codec to the .dv wrapper so
> >> that it's explicit when committed to long-term LTO storage that it's a
> DV
> >> file.
> >
> >
> > Why is the benefit to removing the container here?
>
> Removal of AVI across all assets for normalisation, also the mediainfo
> FileExtension_Invalid I’m reading as a pointer that it needs to be
> alternative to AVI?
>

No, mediainfo is saying that your files is actually an Apple QuickTime MOV
that someone (or an app) renamed to AVI. It's not AVI at all.



> > The extra audio stream in your source is probably just a duplicate of the
> > pcm stream that is interleaved in your DV stream. You might have to
> double
> > check that.
> > Anyhow DV most likely can't store an extra audio channel as you're just
> > demuxing the DV stream itself. You'll need to use a container or just
> leave
> > the Avi file as Kato retain that I'd imagine.
> >
>
> I’ve been made aware that the .dv choice only supports a stereo pair and
> that this might be the problem.  It’s passing one channel but it’s wrong
> and the audio is mute on playback.
>

Your ffmpeg command is just remuxing the DV stream as is. Some capture
tools tend to copy the audio stream in the DV stream as a seperate track,
but the seperate audio track is really just identical to what's in the DV
stream.


> Might move to an MKV option to normalise assets as I see that dv was a bad
> choice. Will MKV work for dvcam?
>


MKV will work but perhaps all you need to do is rename to MOV, document the
action and leave it as is? Less risk and work that way.

Best,

Kieran.



> Many thanks,
> Joanna
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Converting DVCPRO in AVI wrapper to .dv, missing audio stream

2019-11-13 Thread Kieran O Leary
On Wed, 13 Nov 2019, 13:55 Kieran O Leary,  wrote:

> Hi
>
> On Wed, 13 Nov 2019, 13:33 Joanna White via ffmpeg-user, <
> ffmpeg-user@ffmpeg.org> wrote:
>
>> Hi there,
>>
>>
>> Apologies if there has been a similar request to this before.
>>
>>
>> I'm trying to rewrap an old AVI file with dvcp codec to the .dv wrapper
>> so that it's explicit when committed to long-term LTO storage that it's a
>> DV file.
>
>
> Why is the benefit to removing the container here?
>
>   I've been using an FFmprovisr command:
>>
>>
>>
>> ffmpeg -i input_file -f rawvideo -c:v copy output_file.dv
>>
>>
>> This results in a DV file smaller than the AVI with a missing audio
>> channel and other missing metadata.
>
> The extra audio stream in your source is probably just a duplicate of the
> pcm stream that is interleaved in your DV stream. You might have to double
> check that.
> Anyhow DV most likely can't store an extra audio channel as you're just
> demuxing the DV stream itself. You'll need to use a container or just leave
> the Avi file as Kato retain that I'd imagine.
>
*Leave the AVI file as is to retain that,I'd imagine*
Sorry, auto complete typo.

K
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Converting DVCPRO in AVI wrapper to .dv, missing audio stream

2019-11-13 Thread Kieran O Leary
Hi

On Wed, 13 Nov 2019, 13:33 Joanna White via ffmpeg-user, <
ffmpeg-user@ffmpeg.org> wrote:

> Hi there,
>
>
> Apologies if there has been a similar request to this before.
>
>
> I'm trying to rewrap an old AVI file with dvcp codec to the .dv wrapper so
> that it's explicit when committed to long-term LTO storage that it's a DV
> file.


Why is the benefit to removing the container here?

  I've been using an FFmprovisr command:
>
>
>
> ffmpeg -i input_file -f rawvideo -c:v copy output_file.dv
>
>
> This results in a DV file smaller than the AVI with a missing audio
> channel and other missing metadata.

The extra audio stream in your source is probably just a duplicate of the
pcm stream that is interleaved in your DV stream. You might have to double
check that.
Anyhow DV most likely can't store an extra audio channel as you're just
demuxing the DV stream itself. You'll need to use a container or just leave
the Avi file as Kato retain that I'd imagine.

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Run ffmpeg from Windows Explorer Right Click?

2019-10-30 Thread Kieran O Leary
On Wed, 30 Oct 2019, 03:40 Mark Filipak, <
markfilipak.windows+ffm...@gmail.com> wrote:

> On 10/29/2019 09:15 PM, Mike M wrote:
> > Greetings all from Australia.
> > A new member here.
> >
> > I want to use ffmpeg to clean up PVR files which have frame errors.
> > The are in the format: *NAME.TSV* (mpeg-ts)
> >
> > The command for ffmpeg is:
> > *ffmpeg -i "NAME.TSV" -c copy "NAME.TSV_"*
> >
> > Now, I want to run this command when I right-click on a video file in
> > Windows Explorer but I don't know the correct syntax for Regedit.
> > Something like:
> > *D:\\Videos\\_APPS\\ffmpeg-421\\bin\\ffmpeg.exe -i "%1" -c copy "%1_"*
> >
> > This doesn't work.
> > Can someone please help?
> >
> > Thanks,
> > Mike.
>
> What I do, Mike, is simpler. I add the ffmpeg command to the 'Send to'
> context menu. To do that, all you need is to put the line
> D:\Videos\_APPS\\fmpeg-421\bin\ffmpeg.exe -i "%1" -c copy "%1_"
> into a batch file, and put the batch file in
> 'C:\Users\...\AppData\Roaming\Microsoft\Windows\SendTo', where '...' is
> your user account.
>

This is what I used to do as well, it's pretty handy. Probably more
flexible and simpler than editing the registry.

Best,

Kieran.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Resolving -filter_complex overlay / -vf yadif conflicts in subprocess call Python script

2019-09-11 Thread Kieran O Leary
Hi

On Wed, 11 Sep 2019, 12:27 digitensions via ffmpeg-user, <
ffmpeg-user@ffmpeg.org> wrote:

> Hello!
>
> Thanks for admitting me to FFmpeg-user, and thanks to all those who
> maintain this list. The information I’ve been receiving since joining is
> outstanding.
>
> This is a bit of a basic question I fear, but searching online hasn’t
> helped.  I am just co-writing a Python script which uses subprocess calls
> to run an FFmpeg command. I’ve been try to combine a watermark overlay with
> a command that uses yadif.  As a command it would run like so:
>
> ffmpeg -i input_file -i watermark.png -filter_complex overlay -c:v libx263
> -pix_fmt yuv420p -vf yadif -metadata copyright=“blah” -metadata
> comment=“contact blah” -c:a aaa -report output_file


> For reference, the script is here:
> https://github.com/digitensions/MACEscripts/blob/master/main.py
>
> My error message:
> ffmpeg started on 2019-09-11 at 11:12:45
> Report written to "ffmpeg-20190911-111245.log"
> ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
>   built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
>   configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.3_1 --enable-shared
> --enable-pthreads --enable-version3 --enable-hardcoded-tables
> --enable-avresample --cc=clang
> --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-11.0.2.jdk/Contents/Home/include
> -I/Library/Java/JavaVirtualMachines/adoptopenjdk-11.0.2.jdk/Contents/Home/include/darwin'
> --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl
> --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus
> --enable-librubberband --enable-libsnappy --enable-libtesseract
> --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
> --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig
> --enable-libfreetype --enable-frei0r --enable-libass
> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
> --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack
> --disable-indev=jack --enable-libaom --enable-libsoxr
>   libavutil  56. 22.100 / 56. 22.100
>   libavcodec 58. 35.100 / 58. 35.100
>   libavformat58. 20.100 / 58. 20.100
>   libavdevice58.  5.100 / 58.  5.100
>   libavfilter 7. 40.101 /  7. 40.101
>   libavresample   4.  0.  0 /  4.  0.  0
>   libswscale  5.  3.100 /  5.  3.100
>   libswresample   3.  3.100 /  3.  3.100
>   libpostproc55.  3.100 / 55.  3.100
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
> '/Users/Joanna/Desktop/new(ScriptTest)/[Chimney].mov':
>   Metadata:
> major_brand : qt
> minor_version   : 512
> compatible_brands: qt
> encoder : Lavf58.20.100
>   Duration: 00:00:26.32, start: 0.00, bitrate: 163608 kb/s
> Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le(tv,
> bt709, progressive), 1920x1080, 162452 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25
> tbr, 12800 tbn, 12800 tbc (default)
> Metadata:
>   handler_name: VideoHandler
>   encoder : Lavc58.35.100 prores_ks
>   timecode: 01:00:00:00
> Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
> mono, s32 (24 bit), 1152 kb/s (default)
> Metadata:
>   handler_name: SoundHandler
> Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s
> Metadata:
>   handler_name: TimeCodeHandler
>   timecode: 01:00:00:00
> Input #1, png_pipe, from
> '/Users/Joanna/Desktop/new(ScriptTest)/bitc/venv/watermarks/FHD.png':
>   Duration: N/A, bitrate: N/A
> Stream #1:0: Video: png, rgba(pc), 1920x1080 [SAR 2835:2835 DAR 16:9],
> 25 tbr, 25 tbn, 25 tbc
> Filtergraph 'yadif' was specified through the -vf/-af/-filter option for
> output stream 0:0, which is fed from a complex filtergraph.
> -vf/-af/-filter and -filter_complex cannot be used together for the same
> stream.
> (venv) Joanna:venv Joanna$
>
> I’m aware my source is progressive, my only available test file at
> present. I tried a few options combining yadif with the -filter_complex and
> had no success, but I wonder if those more knowledgeable would have an
> effective work around, or could point me to one?
>
> The alternative is to write an if statement that checks for interlacing
> and activates the yadif call separately, which I’m happy to attempt if
> needed.
>
> Any advice gratefully received.
>

You can chain multiple filters with commas, so -filter_complex
overlay,yadif should work?

Best,

Kieran O'Leary
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Fwd: coding video for some old Sony

2019-09-04 Thread Kieran O Leary
On Wed, 4 Sep 2019, 20:19 Erik Dobák,  wrote:

> On Tue, 3 Sep 2019 at 18:01, Michael Castellon  >
> wrote:
>
> > maybe bitrate,
> > please try a short video so you don't get tired.
> > this scale for old tv (crt), 640x480
> > ffmpeg -strict experimental -i input.mp4 -vcodec libxvid -threads 8 -s
> > 624x352 -g 400 -dia_size 514 -bf 1 -b:v 1200k -trellis 2 -aspect 1.860
> > -level 5.1 -r 25 -acodec libmp3lame -ab 128k -ac 2 -async 1 -y output.avi
> > or,
> > ffmpeg -strict experimental -i input.mp4 -vcodec libxvid -threads 3 -s
> > 624x352 -g 400 -dia_size 514 -bf 1 -b:v 816k -trellis 2 -aspect 1.860
> > -level 5.1 -r 25 -acodec libmp3lame -ab 128k -ac 2 -async 1 -y output.mp4
> >
> > look..
> >
> >
> > On Sun, Sep 1, 2019 at 12:33 PM Erik Dobák  wrote:
> >
> > > the catch22 original did not work. all my attempts to convert it
> resulted
> > > also in a non working video.
> > > E
> > >
> > > On Sun, 1 Sep 2019 at 19:22, Kieran O Leary 
> > > wrote:
> > >
> > > > Did that catch-22 example you posted work or not? You never
> specified..
> > > >
> > > > K
> > > > ___
> > > > ffmpeg-user mailing list
> > > > ffmpeg-user@ffmpeg.org
> > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > > >
> > > > To unsubscribe, visit link above, or email
> > > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> > > ___
> > > ffmpeg-user mailing list
> > > ffmpeg-user@ffmpeg.org
> > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > >
> > > To unsubscribe, visit link above, or email
> > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
> ok here i can report some sort of success:
>
> i created these 3 videos according to your hints:
>
> catch22bv1200.avi
> catch22bv1200.mp4
> catch22bv816.mp4
>
> the mp4 play fine the video (no sound but i can care about this later)
> but the catch22bv1200.avi does not play at all despite the fact that i just
> changed the extension of the output file in the command you have sent me.
>

Do both play fine? Please post full command line and terminal output of
this successful file. And the same for the avi that does not work.

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Fwd: coding video for some old Sony

2019-09-01 Thread Kieran O Leary
Did that catch-22 example you posted work or not? You never specified..

K
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] CONVERT DAV TO MP4

2019-08-13 Thread Kieran O Leary
On Wed, 14 Aug 2019, 02:31 Alejandro Escudero, 
wrote:

>
> Hi!
>
> I will like to convert a .dav file (video and audio) from an IP Camera to
> MP4 format, which will be the right way and command to do this?
>

What have you already tried? Please post the full terminal output with your
command line.
My first attempt in this case would be
ffmpeg -i input.dav -c:v libx264 out.mp4

And I'd take it from there if there were errors or I wanted to improve
something in the command line.
A quick search shows some PTS commands that may be useful
https://stackoverflow.com/questions/32827539/ffmpeg-conversion-dav-to-any-video-files


Best,

Kieran



> Thanks!
>
> Alejandro
>
> [
> https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif
> ]<
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> Libre de virus. www.avast.com<
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] top posting

2019-08-13 Thread Kieran O Leary
On Tue, 13 Aug 2019, 14:51 Ulf Zibis,  wrote:

>
> Am 13.08.19 um 14:22 schrieb Carl Eugen Hoyos:
> > If you don't care about top-posting, it is easy to do it wrong with
> > the Gmail web gui. Once you typed "top-posting" into the search
> > bar of your mail browser, you get both an English and (at least
> > with a German default) a local language explanation for what it
> > is. Then it cannot be so difficult to press the only symbol in
> > Gmail's reply field.
>
> Who uses web gui? In my experience kids and girls, but not "power
> users". ;-) Please don't feel offended, but it is at least for me
> unlikely to benefit from this and even more I evade this "Big-brother-is
> watching-you"-service, alias Google.
>
"Kids and girls"? What the hell?

-Kieran.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] coding video for some old Sony

2019-08-08 Thread Kieran O Leary
On Thu, 8 Aug 2019, 20:25 Erik Dobák,  wrote:

> that is great idea thank you will check specific videos next day. got to go
> to bed.
>


Good night Erik,

Best,

Kieran.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] coding video for some old Sony

2019-08-08 Thread Kieran O Leary
Hi

On Thu, 8 Aug 2019, 20:07 Erik Dobák,  wrote:

> Hi,
>
> i have an old Sony Bravia which accepts only MPEG4 as video and MP3 as
> audio. If i want to watch videos i do it with this command:
>
> ffmpeg -i the_kingdom_of_dreams_and_madness.mp4 -b:v 1M -vcodec mpeg4 -vtag
> xvid -acodec libmp3lame -q:a 2 the_kingdom_of_dreams_and_madness.avi
>
> but for some reason some video do not play at all. some do.
>
> is there a way that the input video could influence the output? I thought
> that when i resample with ffmpeg to these basic codecs all will work...
>
Maybe frame size and bitrate? Post the complete console output of an
instance where the file worked ok your TV and one instance where it didn't.

Best,

Kieran



> Any hints?
>
> E
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Building framemd5 checksum for Audio per second

2019-07-24 Thread Kieran O Leary
Hi,

On Wed, Jul 24, 2019 at 9:46 AM Bauer, Christoph <
christoph.ba...@slub-dresden.de> wrote:

> Hello everybody,
>
> I was building framemd5-checksums for Audio with 96kHz sampling for every
> second, using this command line:
>
> ffmpeg -i INPUT.mka -filter_complex "asetnsamples=n=96000" -f framemd5
> OUTPUT.framemd5
>
> The framemd5-file I get out of this starts with these lines:
>
> #format: frame checksums
> #version: 2
> #hash: MD5
> #software: Lavf58.27.102
> #tb 0: 1/96000
> #media_type 0: audio
> #codec_id 0: pcm_s16le
> #sample_rate 0: 96000
> #channel_layout 0: 3
> #channel_layout_name 0: stereo
> #stream#, dts,pts, duration, size, hash
> 0,  0,  0,96000,   384000,
> 1fd71ae8708c0b45e229b1d823eb362b
> 0,  96000,  96000,96000,   384000,
> 2b9a626285c754e3b39d1555f202ad81
> 0, 192000, 192000,96000,   384000,
> 8e9a791e7d5126e5208416f412f3ab26
>
> The same file was delivered with a framemd5-file which starts with those
> lines:
>
> #format: frame checksums
> #version: 2
> #hash: MD5
> #software: Lavf58.20.100
> #tb 0: 1/96000
> #media_type 0: audio
> #codec_id 0: pcm_s24le
> #sample_rate 0: 96000
> #channel_layout 0: 3
> #channel_layout_name 0: stereo
> #stream#, dts,pts, duration, size, hash
> 0,  0,  0,96000,   576000,
> 2b31df8f73cf3d95b236d2dd16e6ba30
> 0,  96000,  96000,96000,   576000,
> ebb8f1f3efde3fda9cb21ecd959ea076
> 0, 192000, 192000,96000,   576000,
> 1a01031d660895b43f92234f2582a6a8
>
> The difference between the checksum-files is as far that i can see at
> first the software (Lavf58.20.100 vs. Lavf58.27.102), at second the
> codec_id  (pcm_s24le vs. pcm_s16le) and thirdly  the size (576000 vs.
> 384000). Now my questions are the following:
>
> The version of lavf most likely isn't the issue, but the audio format
would be why there's different framemd5s and sizes.


>
> -  Is it possible to get out those different framemd5-files out
> of the same file?
>

Probably - ffmpeg defaults to decoding as 16-bit for framemd5 for audio. So
whoever made the 24-bit framemd5 probably added `-c:a pcm_s24le` to their
framemd5 command. You should add the same to your framemd5 command.
 I don't know if this will produce the same framemd5s or not, but I've had
to force pix_fmt sometimes in order to get matching image framemd5s.


>
> -  Which parameters have to be added or changed in the command
> line above to get the result oft he second framemd5-file?
>

by adding `-c:a pcm_s24le` this time?
ffmpeg -i INPUT.mka -filter_complex "asetnsamples=n=96000" -c:a pcm_s24le
-f framemd5 OUTPUT.framemd5

This is just what I'd try, curious to know if it would work.

Best,

Kieran O'Leary
Irish Film Institute.

>
>
> Thanks in advance
>
> Christoph
>
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] best way to transform SD to HD w/ pillarbox and yadif

2019-07-18 Thread Kieran O Leary
On Thu, 18 Jul 2019, 21:25 William Caulfield, <
william.caulfi...@contentbridge.tv> wrote:

> I hope I'm getting your intention right here. I had to do this a while back
> for some PAL files. Split the fields, scale, pad, then interlace.
>
> -filter_complex
> "yadif=1:0,scale=1440:1080,pad=1920:1080:240:0:black,interlace,setdar=16/9"
>

What is the 1:0 doing in the yadif call, is it "splitting the fields"? Is
it invoking the "send_field" flag and only sending one set of fields to the
next part of the chain?

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Matroska decoding errors - element at * ending at * exceeds containing master element ending at *

2019-07-06 Thread Kieran O Leary
I can't compile at the moment but was this issue related to
https://trac.ffmpeg.org/ticket/8001 ? Looks like this has just been fixed.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Equivalent of "-f rawvideo" but for audio?

2019-06-27 Thread Kieran O Leary
On Thu, 27 Jun 2019, 23:32 Moritz Barsnick,  wrote:

> On Thu, Jun 27, 2019 at 20:35:51 +0200, Carl Eugen Hoyos wrote:
> > Am Do., 27. Juni 2019 um 18:57 Uhr schrieb Peter B. <
> p...@das-werkstatt.com>:
> >
> > > It's actually just for hashing the content (single hash, instead
> > > of framemd5), so playability is not really a concern.
> >
> > libavutil also supports (several) single hash functions.
>
> There's also the "hash" muxer with various hash functions (and its
> alias muxer "md5").
>
> $ ffmpeg -i input -map 0:a -c:a copy -f hash -
> or
> $ ffmpeg -i input -map 0:a -c:a copy -hash md5 -f hash -
> if you prefer MD5



Out of curiosity,what is the difference between this and -f md5 -
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] libx264rgb mov files not playing in browser

2019-06-03 Thread Kieran O Leary
On Mon, 3 Jun 2019, 08:41 Zdravko Zdravkov,  wrote:

> Hi there. I've read that, but from what I've seen in the web-based system
> we use for playing the videos we do have qts from other vendors, created
> with ffmpeg in rgb which are playing just fine. So I'm curious if there are
> other options to achieve that.
>

What is the complete uncut command line output that produces these files
that play in the browser?

>
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Sony DVF digital voice files

2019-05-09 Thread Kieran O Leary
On Thu, 9 May 2019, 13:38 Paul B Mahol,  wrote:

> On 5/9/19, Moritz Barsnick  wrote:
> > On Thu, May 09, 2019 at 15:54:46 -0400, Dave Rice wrote:
> >> > Feel free to share one or several files on Dropbox or a file sharer of
> >> > your choice.
> >>
> >> There’s a decent sample set of these files already at
> >> http://samples.ffmpeg.org/A-codecs/MSV/
> >> .
> >
> > I thanks, I failed to find that. Looks like this feature request is a
> > decade old.
> >
> > ffmpeg can't handle these files right now, unless I am missing
> > something.
>
> You are missing something.


What are we missing?

>
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] what's the difference between width/height and display width/display height

2019-05-09 Thread Kieran O Leary
On Wed, 8 May 2019, 20:31 qw,  wrote:

> Hi,
>
>
> I have one question:
>
>
> what's the difference between width/height and display width/display
> height in flv/rtmp metainfo?
>
My guess would be that one is referring to the amount of pixels that are
actually stored,but perhaps only some should be displayed via a crop?
Full command line output missing.

Best,

Kieran.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] List members behaving badly

2019-04-12 Thread Kieran O Leary
On Fri, 12 Apr 2019, 08:27 Reindl Harald,  wrote:

>
>
> Am 12.04.19 um 06:51 schrieb Dennis Mungai:
> > We need to stop making *this* a justification for the toxicity the likes
> of
> > Reindl create in this mailing list.
>
> it's bullshit, wouldn't a few fools not make a fuss about a single
> sentence nothing would have happened but since there are some fools
> making a drama out of everything long dicussions appear
>
> the problem are the US people with their "you have to be that nice all
> the time that even if you want to express you like to spit one in the
> face sounds like a compliment" attitude
>

I'm from the Republic of Ireland and I have found your behaviour to be
inappropriate for years. I think that you really are the harshest person on
this mailing list and it's so disheartening to see such negativity from you
all the time.


Best,

Kieran.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] List members behaving badly

2019-04-11 Thread Kieran O Leary
On Thu, 11 Apr 2019, 18:03 Carl Zwanzig,  wrote:

> On 4/11/2019 9:57 AM, Nicolas George wrote:
> > No, it is not good to accept it. Reindl Harald is being extremely rude,
> > he does the exact opposite than he wants other people to do.
>
> That usually appears to be the case.
>
> On most lists, members behaving badly are put on moderation or simply
> removed. Perhaps it is time for one of them; if this was one of the lists
> I
> host/maintain, Mr Harald would have been placed on moderation after a
> single
> warning.


I agree. I usually see a thread about compilation and think " oh god,reindl
is going to call the person stupid for not reading the error message".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] unsubscribe

2019-04-09 Thread Kieran O Leary
On Tue, 9 Apr 2019, 21:13 Reindl Harald,  wrote:

>
>
> Am 09.04.19 um 20:50 schrieb Ted Park:
> >> Am 09.04.19 um 10:56 schrieb dben...@bezeqint.net:
> >>
> >> hell you have the instructions on bottom of every single message
> >
> >
> >
> > It seems he was trying to follow them, but made a mistake. If you’re
> still here, you need to email ffmpeg-user-requ...@ffmpeg.org  ffmpeg-user-requ...@ffmpeg.org>, not the mailing list itself dbenari
>
> what mistake can you make in case of "email
> ffmpeg-user-requ...@ffmpeg.org with subject unsubscribe" when you own a
> sane mind


Please do not be so insulting.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Problem playing mp4 file

2019-04-06 Thread Kieran O Leary
On Sat, 6 Apr 2019, 17:12 JD,  wrote:

> Hi,
> I downloaded from YT a video with the youtube-dl command as follows:
>
> youtube-dl -f 227 -o BulletProof_Monk.mp4
> https://www.youtube.com/watch?v=n-XfagAzwHM
>
> after the movie downloaded I tried to play it.
>
> ffplay BulletProof_Monk.mp4
>

JD, why do you never post the full console output? It always ends up
solving the issue.

>
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] FFMPEG and VirtualDub

2019-03-20 Thread Kieran O Leary
On Wed, 20 Mar 2019, 23:32 Robert Aronson,  wrote:

> Firstly, what is top-posting?
>
Here's the first result from a Google search for top-posting
https://en.m.wikipedia.org/wiki/Posting_style

Speaking as someone who has seen Moritz thoughtfully help folks for several
years, he really put a lot of effort into helping you. In general, users
need to supply as much info as possible regarding the errors they are
seeing and what they are actually doing. It's impossible to help without
this information.

Best,

KIERAN.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Filter to detect video glitches

2019-03-11 Thread Kieran O Leary
On Sun, 10 Mar 2019, 07:29 Venkateswaran.S, 
wrote:

> Hi all,
>
> I wants to detect glitches in my video. Is there any filter to achieve it.?
>

Have you looked into the signalstats filter? It is often used in the
QCTools application in order to find glitches in digitised/migrated
analogue/digital videotapes.
It looks like your example image might have a spike in UV values and maybe
even a spike in saturation. It could be worth analysing a glitchy video in
QCTools,figuring out which stats seem to be triggered by the glitches you
encounter,then add the appropriate calls to your API usage. The qct-parse
python tool tries something somewhat similar
https://github.com/FutureDays/qct-parse/blob/master/README.md

Best,

Kieran.

___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Concatenating files - dropping audio

2019-03-05 Thread Kieran O Leary
On Tue, 5 Mar 2019, 13:19 Ron Barnes,  wrote:

> Hello All,
>
> I'm trying to concatenate 49 m2ts files into a single m2ts file.  I listed
> all the files in a text file and used the following command.
>
> ffmpeg -analyzeduration 10M -probesize 10M -f concat -safe 0 -i
> Concat.TXT -c copy Output_Full_Video.m2ts
>

Add -map 0 to command

ffmpeg -analyzeduration 10M -probesize 10M -f concat -safe 0 -i
Concat.TXT -map 0 -c copy Output_Full_Video.m2ts

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to UN-sub (and re-sub) the the mailing list?

2019-02-20 Thread Kieran O Leary
On Wed, 20 Feb 2019, 08:14 Andrew Valenkov, <
manwithgoodtaste-at-yahoo@ffmpeg.org> wrote:

> I am but a novice, not aiming to be an FFMPEG expert. I have some
> questions, and pretty much no answers. It is not in my best interest to be
> subscribed to the mailing list all the time, since I get about a dozen (or
> 3 dozens) messages in my inbox DAILY. So, how does one unsubscribe (AND
> RE-SUBSCRIBE) from/to the mailing list?
>

The answer was at the bottom of every email you received. See below..


___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] signalstats

2019-02-14 Thread Kieran O Leary
On Thu, 14 Feb 2019, 16:53 Gyan 
>
> On 14-02-2019 09:47 PM, adam smith wrote:
> > The other question regarding this filter, can it output 10bit values?
> > The 8bit values appear to be covered, but I am not sure how to get 10bit
> or higher.
>
>   The filter works with inputs up to 16 bit depth.
>

I think a few years ago it was only 8-bit,so perhaps Adam is using an
ancient version..
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Too Much time resize mp4

2019-02-11 Thread Kieran O Leary
On Mon, 11 Feb 2019, 07:10 AMIT KUMAR  Dear Ffmpeg Team,
>
> when i resize mp4 video its getting too much time to resize,


What FPS are you getting and what are you expecting? Please post the
complete command line and terminal output.

What specs does your machine have and is there perhaps a hardware/network
bottleneck that could be causing this?

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ArriRaw files - "Unsupported codec"

2019-01-27 Thread Kieran O Leary
Can you share a short sample?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Issue while merge large .wav file into .webm file

2019-01-25 Thread Kieran O Leary
On Fri, 25 Jan 2019, 16:02 AMIT KUMAR  Hi,
> I need that Minimum file size 1 mb and maximum upto 1 GB .
> [*Note : no any limits to convert .webm to .mp4 ]
>

I don't know what you mean unfortunately.
Have you tried adding this to our command? Maybe a figure greater than 1000
could also help.

 -max_muxing_queue_size 1000
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Issue while merge large .wav file into .webm file

2019-01-25 Thread Kieran O Leary
,dc,ddl,ddr,vr,hd,vl,hu: 25% 24% 20%  4%
5%  6%  6%  4%  7%

[libx264 @ 0x7fc9b3911000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 23% 16%  5%
7%  7%  7%  6%  6%

[libx264 @ 0x7fc9b3911000] i8c dc,h,v,p: 55% 22% 17%  6%

[libx264 @ 0x7fc9b3911000] Weighted P-Frames: Y:8.4% UV:2.9%

[libx264 @ 0x7fc9b3911000] ref P L0: 66.2% 18.5% 12.5%  2.6%  0.2%

[libx264 @ 0x7fc9b3911000] ref B L0: 94.4%  4.9%  0.7%

[libx264 @ 0x7fc9b3911000] ref B L1: 98.3%  1.7%

[libx264 @ 0x7fc9b3911000] kb/s:100.58

[aac @ 0x7fc9b3912800] Qavg: 10558.329



>
> Thanks & Regards
> Amit Kumar
>
> On Fri, Jan 25, 2019 at 9:05 PM Kieran O Leary 
> wrote:
>
> > On Fri, Jan 25, 2019 at 3:29 PM AMIT KUMAR  wrote:
> >
> > > Hi,
> > > I need urgent basis solution for that why that becomes 0 kb.Please give
> > me
> > > the solution at High priority basis its urgent.My client get really
> > > annoying.
> > >
> >
> > You would have received help much sooner if you manually used ffmpeg and
> > posted the command line output. I can't solve this issue but in order to
> > get you better help, i'll post the command and the error for you:
> >
> > $ ffmpeg -i 407118_agentPL27_2018-09-26T16-18-17.webm
> > 407118_agentPL27_2018-09-26T16-18-17_in.mp4
> >
> > ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
> >
> >   built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
> >
> >   configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1 --enable-shared
> > --enable-pthreads --enable-version3 --enable-hardcoded-tables
> > --enable-avresample --cc=clang --host-cflags= --host-ldflags=
> > --enable-ffplay --enable-gpl --enable-libmp3lame --enable-libopus
> > --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx
> > --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma
> > --enable-libass --enable-libfreetype --enable-libtesseract
> --enable-opencl
> > --enable-videotoolbox --enable-libopenjpeg --disable-decoder=jpeg2000
> > --extra-cflags=-I/usr/local/Cellar/openjpeg/2.3.0/include/openjpeg-2.3
> >
> >   libavutil  56. 22.100 / 56. 22.100
> >
> >   libavcodec 58. 35.100 / 58. 35.100
> >
> >   libavformat58. 20.100 / 58. 20.100
> >
> >   libavdevice58.  5.100 / 58.  5.100
> >
> >   libavfilter 7. 40.101 /  7. 40.101
> >
> >   libavresample   4.  0.  0 /  4.  0.  0
> >
> >   libswscale  5.  3.100 /  5.  3.100
> >
> >   libswresample   3.  3.100 /  3.  3.100
> >
> >   libpostproc55.  3.100 / 55.  3.100
> >
> > Input #0, matroska,webm, from
> '407118_agentPL27_2018-09-26T16-18-17.webm':
> >
> >   Metadata:
> >
> > encoder : Chrome
> >
> >   Duration: N/A, start: 0.00, bitrate: N/A
> >
> > Stream #0:0(eng): Audio: opus, 48000 Hz, mono, fltp (default)
> >
> > Stream #0:1(eng): Video: h264 (Constrained Baseline),
> > yuv420p(progressive), 240x320, SAR 1:1 DAR 3:4, 16.67 fps, 16.67 tbr, 1k
> > tbn, 2k tbc (default)
> >
> > File '407118_agentPL27_2018-09-26T16-18-17_in.mp4' already exists.
> > Overwrite ? [y/N] y
> >
> > Stream mapping:
> >
> >   Stream #0:1 -> #0:0 (h264 (native) -> h264 (libx264))
> >
> >   Stream #0:0 -> #0:1 (opus (native) -> aac (native))
> >
> > Press [q] to stop, [?] for help
> >
> > Too many packets buffered for output stream 0:1.
> >
> > [aac @ 0x7fc598912800] Qavg: 3204.831
> >
> > [aac @ 0x7fc598912800] 2 frames left in the queue on closing
> >
> > Conversion failed!
> >
> >
> >
> > Best,
> >
> >
> > Kieran.
> > ___
> > ffmpeg-user mailing list
> > ffmpeg-user@ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Issue while merge large .wav file into .webm file

2019-01-25 Thread Kieran O Leary
On Fri, Jan 25, 2019 at 3:29 PM AMIT KUMAR  wrote:

> Hi,
> I need urgent basis solution for that why that becomes 0 kb.Please give me
> the solution at High priority basis its urgent.My client get really
> annoying.
>

You would have received help much sooner if you manually used ffmpeg and
posted the command line output. I can't solve this issue but in order to
get you better help, i'll post the command and the error for you:

$ ffmpeg -i 407118_agentPL27_2018-09-26T16-18-17.webm
407118_agentPL27_2018-09-26T16-18-17_in.mp4

ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers

  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)

  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1 --enable-shared
--enable-pthreads --enable-version3 --enable-hardcoded-tables
--enable-avresample --cc=clang --host-cflags= --host-ldflags=
--enable-ffplay --enable-gpl --enable-libmp3lame --enable-libopus
--enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx
--enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma
--enable-libass --enable-libfreetype --enable-libtesseract --enable-opencl
--enable-videotoolbox --enable-libopenjpeg --disable-decoder=jpeg2000
--extra-cflags=-I/usr/local/Cellar/openjpeg/2.3.0/include/openjpeg-2.3

  libavutil  56. 22.100 / 56. 22.100

  libavcodec 58. 35.100 / 58. 35.100

  libavformat58. 20.100 / 58. 20.100

  libavdevice58.  5.100 / 58.  5.100

  libavfilter 7. 40.101 /  7. 40.101

  libavresample   4.  0.  0 /  4.  0.  0

  libswscale  5.  3.100 /  5.  3.100

  libswresample   3.  3.100 /  3.  3.100

  libpostproc55.  3.100 / 55.  3.100

Input #0, matroska,webm, from '407118_agentPL27_2018-09-26T16-18-17.webm':

  Metadata:

encoder : Chrome

  Duration: N/A, start: 0.00, bitrate: N/A

Stream #0:0(eng): Audio: opus, 48000 Hz, mono, fltp (default)

Stream #0:1(eng): Video: h264 (Constrained Baseline),
yuv420p(progressive), 240x320, SAR 1:1 DAR 3:4, 16.67 fps, 16.67 tbr, 1k
tbn, 2k tbc (default)

File '407118_agentPL27_2018-09-26T16-18-17_in.mp4' already exists.
Overwrite ? [y/N] y

Stream mapping:

  Stream #0:1 -> #0:0 (h264 (native) -> h264 (libx264))

  Stream #0:0 -> #0:1 (opus (native) -> aac (native))

Press [q] to stop, [?] for help

Too many packets buffered for output stream 0:1.

[aac @ 0x7fc598912800] Qavg: 3204.831

[aac @ 0x7fc598912800] 2 frames left in the queue on closing

Conversion failed!



Best,


Kieran.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Issue while merge large .wav file into .webm file

2019-01-24 Thread Kieran O Leary
On Fri, 25 Jan 2019, 05:45 AMIT KUMAR  Hi,
> Dear Team,
> I am using ffmpeg to merge Audio and video making Mp4 file.
>
Please post your command line and the complete terminal output.

While we merge small size of file it creates perfect Mp4 file but, while we
> use large file to create mp4 it not works.
>

How does it not work? Is this an error that FFmpeg throws up or is the
error when playing back the file?

-Kieran

whereas  file extension we used .wav and .webm merge both create .mp4.
> So, can you help me in this.
>
> Thanks & Regards
> Amit kumar
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] TV won't play file :

2019-01-16 Thread Kieran O Leary
On Tue, 15 Jan 2019, 17:36 Sophie Loewenthal  Hi,
>
> I have a video encoded like this ( that was sent to me ).
>
> ffprobe gave me the details:
> Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709/bt709/unknown),
> 1920x800, 2091 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
>
> It won’t play on my TV ( Philip 24PFS5303/12) which has played every x264
> file I’ve thrown at it until it met this one. However this film plays fine
> on VLC and MacOS’ preview option (by pressing spacebar on a file )
>
> I wonder if the problem is related to the colorspace that is written
> "unknown"  in "tv, bt709/bt709/unknown".
> If som can I just encode this into something else.  Or perhaps the TV
> doesn’t like bt709.
>

Just out of curiosity,could you try
ffmpeg -i input -c copy -map 0 output.mp4
 And see if that works with the TV?
I doubt that the lack of colour information would cause the TV to not play
it.
I'm assuming that it is MP4 as you haven't shown the full console output so
I don't know the container, but perhaps just rewrapping it in a new MP4 or
mkv container will do the trick.

Best,

Kieran



>
> e.g this file will play on the TV:
> Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR
> 16:9], 811 kb/s, 23.98 fps, 23.98 tbr, 96k tbn, 47.95 tbc (default)
>
>
> Best,
> Sophie
>
>
>
>
>
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Copy Audio

2018-12-28 Thread Kieran O Leary
On Fri, 28 Dec 2018, 10:47 Carl Eugen Hoyos  2018-12-28 11:34 GMT+01:00, Kieran O Leary :
> > On Fri, 28 Dec 2018, 09:15 Carl Eugen Hoyos  >
> >> 2018-12-26 10:25 GMT+01:00, Kieran O Leary :
> >>
> >> > Perhaps support could be added for these "illegal" streams
> >> > if a user adds the -strict -experimental flag?
> >>
> >> Which players support the output file?
> >
> > Actually I just found some metadata for such a file and it was
> > pcm_s16be in MP4 and VLC played it back.
>
> Did you test this with a file created by (broken) FFmpeg?
>

No, I've never created a pcm/MP4 file.


> The more interesting applications are probably WMP and QT.
>

I only tried QT with XDCAM EX and it would not play back the file.

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Copy Audio

2018-12-28 Thread Kieran O Leary
On Fri, 28 Dec 2018, 09:15 Carl Eugen Hoyos  2018-12-26 10:25 GMT+01:00, Kieran O Leary :
>
> > Perhaps support could be added for these "illegal" streams
> > if a user adds the -strict -experimental flag?
>
> Which players support the output file?
>

Actually I just found some metadata for such a file and it was pcm_s16be in
MP4 and VLC played it back.

Best,

Kieran.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Copy Audio

2018-12-28 Thread Kieran O Leary
On Fri, 28 Dec 2018, 09:15 Carl Eugen Hoyos  2018-12-26 10:25 GMT+01:00, Kieran O Leary :
>
> > Perhaps support could be added for these "illegal" streams
> > if a user adds the -strict -experimental flag?
>
> Which players support the output file?
>

Off the top of my head, XDCAM EX cameras store big endian pcm in MP4 and
VLC plays it correctly,but I'd have to verify this when I have access to
such files next week.

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Copy Audio

2018-12-26 Thread Kieran O Leary
On Wed, 26 Dec 2018, 09:17 Gyan  On Wed, Dec 19, 2018 at 10:28 AM Moritz Barsnick  wrote:
> >> Why do you need to create the same/similar format that Sony and Canon
> >> do? Do you want the resulting MP4 to be read by a particular
> >> software? Why does the audio need to be copied losslessly? Why are
> >> the MOV or Matroska containers not alternatives?
>
>
> Most editing software don't read Matroska files. And if the container is
> MOV, non-Mac editors usually rely on antiquated 32-bit Quicktime to open
> the file, whereas they normally have native MP4 demuxers. And some
> editors don't skip the priming sample in AAC/MP3 streams causing a
> desync - in which case PCM is preferable.
>


Perhaps support could be added for these "illegal" streams if a user adds
the -strict -experimental flag? Or something similar? Where ffmpeg makes it
clear that these are non-standard files that will have interoperability
issues in future.

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Copy Audio

2018-12-17 Thread Kieran O Leary
On Tue, 18 Dec 2018, 03:54 Chris  It worked on the same file 24 hours ago using v 4.0.
>
> Reverting.
>

Can you post the complete terminal output and command line of what you see
when you run the process with 4.0?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Copy Audio

2018-12-17 Thread Kieran O Leary
On Mon, 17 Dec 2018, 22:36 Chris  Command:
>
> ffmpeg -y -i  "D:\Videos\Trains\December_6_2018_San_Jose\C0061.MP4"  -crf
> 1  -c:v libx264  -pix_fmt yuv420p  -s 1280x720  -r 59.94  -vf
> eq=gamma=0.83,lutyuv=y='clip(val,26,220)'  -c:a copy  processed.mp4
>
> Program output:
>
> ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
>   built with gcc 8.2.1 (GCC) 20181017
>   configuration: --enable-gpl --enable-version3 --enable-sdl2
> --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
> --enable-libbluray --enable-libfreetype --enable-libmp3lame
> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
> --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
> --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack
> --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2
> --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
> --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc
> --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom
> --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid
> --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2
> --enable-avisynth
>   libavutil  56. 22.100 / 56. 22.100
>   libavcodec 58. 35.100 / 58. 35.100
>   libavformat58. 20.100 / 58. 20.100
>   libavdevice58.  5.100 / 58.  5.100
>   libavfilter 7. 40.101 /  7. 40.101
>   libswscale  5.  3.100 /  5.  3.100
>   libswresample   3.  3.100 /  3.  3.100
>   libpostproc55.  3.100 / 55.  3.100
> Guessed Channel Layout for Input Stream #0.1 : stereo
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
> 'D:\Videos\Trains\December_6_2018_San_Jose\C0061.MP4':
>   Metadata:
> major_brand : XAVC
> minor_version   : 16785407
> compatible_brands: XAVCmp42iso2
> creation_time   : 2018-12-06T22:39:45.00Z
>   Duration: 00:00:59.06, start: 0.00, bitrate: 51930 kb/s
> Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv,
> bt709/bt709/iec61966-2-4), 1920x1080 [SAR 1:1 DAR 16:9], 49901 kb/s, 59.94
> fps, 59.94 tbr, 60k tbn, 119.88 tbc (default)
> Metadata:
>   creation_time   : 2018-12-06T22:39:45.00Z
>   handler_name: Video Media Handler
>   encoder : AVC Coding
> Stream #0:1(und): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz,
> stereo, s16, 1536 kb/s (default)
> Metadata:
>   creation_time   : 2018-12-06T22:39:45.00Z
>   handler_name: Sound Media Handler
> Stream #0:2(und): Data: none (rtmd / 0x646D7472), 491 kb/s (default)
> Metadata:
>   creation_time   : 2018-12-06T22:39:45.00Z
>   handler_name: Timed Metadata Media Handler
>   timecode: 00:41:58:28
> Stream mapping:
>   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
>   Stream #0:1 -> #0:1 (copy)
> Press [q] to stop, [?] for help
> [libx264 @ 01e4d07d3b00] using SAR=1/1
> [libx264 @ 01e4d07d3b00] using cpu capabilities: MMX2 SSE2Fast SSSE3
> SSE4.2 AVX
> [libx264 @ 01e4d07d3b00] profile High, level 3.2, 4:2:0, 8-bit
> [libx264 @ 01e4d07d3b00] 264 - core 157 r2935 545de2f - H.264/MPEG-4
> AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html -
> options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
> psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
> cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12
> lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0
> bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
> b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
> scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=1.0
> qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
> [mp4 @ 01e4d10100c0] Could not find tag for codec pcm_s16be in stream
> #1, codec not currently supported in container
> Could not write header for output file #0 (incorrect codec parameters ?):
> Invalid argument
> Error initializing output stream 0:0 --
> Conversion failed!
>


Try mkv or.mov instead. Ffmpeg is saying that it can't mux your
uncompressed audio into MP4.
I think it has always been like this,maybe I'm wrong. Maybe your input
wasn't uncompressed before?

Best,

Kieran
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Copy Audio

2018-12-17 Thread Kieran O Leary
On Mon, Dec 17, 2018 at 9:16 PM Chris 
wrote:

> Today I upgraded to ffmpeg v 4.1. The following code used to work but no
> longer does. What is the fix?
>

Please post the full command line you used along with the full uncut
terminal output. The answer will most likely be in there.

Best,

Kieran.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Quicktime Non-monotonous DTS in output stream 0:1

2018-12-15 Thread Kieran O Leary
I've no clue,but stream 0:1 seems to be the audio? Also it seems like it's
just the tail of the file that's affected? My worry would be that audio
frames might be dropped if the timestamps are being messed with, but
hopefully someone much more knowledgable about this stuff can help out.
I think that if I was having issues like this and didn't have the
opportunity to retransfer the tape, I'd skip the FFV1/Matroska migration
for such files and leave them as is...

Best,

Kieran.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] V_QUICKTIME used as codec ID for DPX/TIFF rewrapped to Matroska

2018-12-08 Thread Kieran O Leary
On Sat, 8 Dec 2018, 12:48 Carl Eugen Hoyos  2018-12-08 13:45 GMT+01:00, Kieran O Leary :
>
> > So I guess that TIFF, and DPX need to be mapped in the Matroska
> > specification?
>
> Not sure if I am the right person to answer but why would you want to
> put images into another container?
>
> Shouldn't you keep the original image files and use ffmpeg to produce
> a view copy in the requested quality?
>

Image sequences are difficult to deal with,especially with LTO tape
libraries. Archives commonly use zip in either a compressed or uncompressed
form to alleviate this issue.
It's preferable to have an uncompressed or lossless single file for ease of
use, compatibility with tape libraries and digital asset management systems.
I would prefer to retain the original image sequence but it is not common
practise I'm archives from what I understand,for the reasons outlined above.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] V_QUICKTIME used as codec ID for DPX/TIFF rewrapped to Matroska

2018-12-08 Thread Kieran O Leary
On Sat, Dec 8, 2018 at 12:38 PM Carl Eugen Hoyos  wrote:

> 2018-12-08 13:10 GMT+01:00, Kieran O Leary :
> > Hi Carl,
> >
> >
> > On Sat, Dec 8, 2018 at 11:00 AM Carl Eugen Hoyos 
> wrote:
> >
> >> 2018-12-08 11:46 GMT+01:00, Kieran O Leary :
> >>
> >> > When re-wrapping DPX or TIFF images to Matroska, it appears that
> >> > FFmpeg uses the V_QUICKTIME codec ID.
> >>
> >> Where can I find the specification for tiff in matroska and dpx in
> >> matroska?
> >>
> >
> > I don't think they exist - this remuxing is most likely not common/never
> > used. I'll get in touch with the CELLAR/IETF list and see if anyone has
> any
> > ideas.
>
> > Also, as per my last email, DPX is fine - V_MS/VFW/FOURCC / dpx . I
> > just had a crappy command line :(
>
> I don't think it's fine: You are using a very unusual fourcc to put
> something
> in matroska that is not meant to be there, expect massive compatibility
> issues.
>

Good point.


>
> >> > Why is this used?
> >>
> >> > Would something like V_UNCOMPRESSED (for raw TIFF anyhow)
> >> > be more appropriate/
> >>
> >> If you use -vcodec rawvideo instead of tiff or dpx (which are not
> >> rawvideo) you get V_UNCOMPRESSED but note that matroska
> >> is not a useful container for rawvideo because it is not well
> >> defined, use nut instead.
> >
> > Cool, but why is a QuickTime ID used ? Is this some sort of generic
> > fallback that ffmpeg uses?
>
> Just like the V_MS/VFW/FOURCC codec id above for avi, there is
> also a QuickTime fallback defined for Matroska (not by FFmpeg),
> tiff happens to be defined for QuickTime but not in avi, therefore
> the QuickTime code point is used for Matroska.
> Contrary to dpx above, this can at least be argued to be following
> some standard.
>

This all makes sense to me and it's incredibly helpful. I see the TIFF
mapping in the QuickTime spec now.
So I guess that TIFF, and DPX need to be mapped in the Matroska
specification?

Best,

Kieran.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] V_QUICKTIME used as codec ID for DPX/TIFF rewrapped to Matroska

2018-12-08 Thread Kieran O Leary
On Sat, Dec 8, 2018 at 12:10 PM Kieran O Leary 
wrote:

> Hi Carl,
>
>
> On Sat, Dec 8, 2018 at 11:00 AM Carl Eugen Hoyos 
> wrote:
>
>> 2018-12-08 11:46 GMT+01:00, Kieran O Leary :
>>
>> > When re-wrapping DPX or TIFF images to Matroska, it appears that
>> > FFmpeg uses the V_QUICKTIME codec ID.
>>
>> Where can I find the specification for tiff in matroska and dpx in
>> matroska?
>>
>
> I don't think they exist - this remuxing is most likely not common/never
> used. I'll get in touch with the CELLAR/IETF list and see if anyone has any
> ideas.
>

P.S - Carl - not sure if you're on CELLAR, but here's a link to the thread
I started - https://mailarchive.ietf.org/arch/browse/cellar/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] V_QUICKTIME used as codec ID for DPX/TIFF rewrapped to Matroska

2018-12-08 Thread Kieran O Leary
Hi Carl,


On Sat, Dec 8, 2018 at 11:00 AM Carl Eugen Hoyos  wrote:

> 2018-12-08 11:46 GMT+01:00, Kieran O Leary :
>
> > When re-wrapping DPX or TIFF images to Matroska, it appears that
> > FFmpeg uses the V_QUICKTIME codec ID.
>
> Where can I find the specification for tiff in matroska and dpx in
> matroska?
>

I don't think they exist - this remuxing is most likely not common/never
used. I'll get in touch with the CELLAR/IETF list and see if anyone has any
ideas. Also, as per my last email, DPX is fine - V_MS/VFW/FOURCC / dpx . I
just had a crappy command line :(

>
> > Why is this used?
>
> > Would something like V_UNCOMPRESSED (for raw TIFF anyhow)
> > be more appropriate/
>
> If you use -vcodec rawvideo instead of tiff or dpx (which are not
> rawvideo) you get V_UNCOMPRESSED but note that matroska
> is not a useful container for rawvideo because it is not well
> defined, use nut instead.
>

Cool, but why is a QuickTime ID used ? Is this some sort of generic
fallback that ffmpeg uses?

Best,

Kieran.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] V_QUICKTIME used as codec ID for DPX/TIFF rewrapped to Matroska

2018-12-08 Thread Kieran O Leary
On Sat, Dec 8, 2018 at 10:46 AM Kieran O Leary 
wrote:

> Hi,
>
> When re-wrapping DPX or TIFF images to Matroska, it appears that FFmpeg
> uses the V_QUICKTIME codec ID. Why is this used? Would something like
> V_UNCOMPRESSED (for raw TIFF anyhow) b more appropriate/
>


Ugh, This only happens with tiff - my command line was wrong for the DPX
mediainfo check :(
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] V_QUICKTIME used as codec ID for DPX/TIFF rewrapped to Matroska

2018-12-08 Thread Kieran O Leary
Hi,

When re-wrapping DPX or TIFF images to Matroska, it appears that FFmpeg
uses the V_QUICKTIME codec ID. Why is this used? Would something like
V_UNCOMPRESSED (for raw TIFF anyhow) b more appropriate/

The reason why I'm investigating this is that DPC and TIFF rewrappings to
Matroska appear to be fully reversible with matching whole-file checksums.

To replicate using ffmpeg and mediainfo:

$ ./ffmpeg -f lavfi -i testsrc -c:v tiff -compression_algo raw -y -t 1
1_tiff.mkv && mediainfo --Details=1 1_tiff.mkv|grep -i codec
ffmpeg version N-92521-g737b5f5869 Copyright (c) 2000-2018 the FFmpeg
developers
  built with gcc 7 (Ubuntu 7.3.0-27ubuntu1~18.04)
  configuration:
  libavutil  56. 24.101 / 56. 24.101
  libavcodec 58. 40.100 / 58. 40.100
  libavformat58. 23.100 / 58. 23.100
  libavdevice58.  6.100 / 58.  6.100
  libavfilter 7. 46.100 /  7. 46.100
  libswscale  5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
Input #0, lavfi, from 'testsrc':
  Duration: N/A, start: 0.00, bitrate: N/A
Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240
[SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> tiff (native))
Press [q] to stop, [?] for help
Output #0, matroska, to '1_tiff.mkv':
  Metadata:
encoder : Lavf58.23.100
Stream #0:0: Video: tiff (tiff / 0x6974), rgb24, 320x240 [SAR 1:1
DAR 4:3], q=2-31, 200 kb/s, 25 fps, 1k tbn, 25 tbc
Metadata:
  encoder : Lavc58.40.100 tiff
frame=   25 fps=0.0 q=-0.0 Lsize=5638kB time=00:00:00.96
bitrate=48061.9kbits/s speed=58.3x
video:5636kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.034428%
0001AECodecID - V_QUICKTIME (13 bytes)
0001CBCodecPrivate (93 bytes)
$ ./ffmpeg -f lavfi -i testsrc -c:v dpx  -y -t 1 1_dpx.mkv && mediainfo
--Details=1 1_tiff.mkv|grep -i codec
ffmpeg version N-92521-g737b5f5869 Copyright (c) 2000-2018 the FFmpeg
developers
  built with gcc 7 (Ubuntu 7.3.0-27ubuntu1~18.04)
  configuration:
  libavutil  56. 24.101 / 56. 24.101
  libavcodec 58. 40.100 / 58. 40.100
  libavformat58. 23.100 / 58. 23.100
  libavdevice58.  6.100 / 58.  6.100
  libavfilter 7. 46.100 /  7. 46.100
  libswscale  5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
Input #0, lavfi, from 'testsrc':
  Duration: N/A, start: 0.00, bitrate: N/A
Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240
[SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> dpx (native))
Press [q] to stop, [?] for help
Output #0, matroska, to '1_dpx.mkv':
  Metadata:
encoder : Lavf58.23.100
Stream #0:0: Video: dpx (dpx  / 0x20787064), rgb24, 320x240 [SAR 1:1
DAR 4:3], q=2-31, 200 kb/s, 25 fps, 1k tbn, 25 tbc
Metadata:
  encoder : Lavc58.40.100 dpx
frame=   25 fps=0.0 q=-0.0 Lsize=5668kB time=00:00:00.96
bitrate=48312.5kbits/s speed=57.6x
video:5666kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.033439%
0001AECodecID - V_QUICKTIME (13 bytes)
0001CBCodecPrivate (93 bytes)
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Setting colour range.

2018-11-27 Thread Kieran O Leary
On Tue, Nov 27, 2018 at 8:03 PM Dave Rice  wrote:

>
> > On Nov 27, 2018, at 10:29 AM, Kieran O Leary 
> wrote:
> >
> > On Tue, 27 Nov 2018, 15:21 Paul B Mahol  one...@gmail.com> wrote:
> >
> >> On 11/27/18, Kieran O'Leary  wrote:
> >>> When creating MOV files, setting the -color_range option does not seem
> to
> >>> have any effect. What am I doing wrong? Could it have anything to do
> with
> >>> the removal of the yuvj pixel formats?
> >>> Is setting this metadata even possible in the MOV container, or is it
> >>> something that is expected to be flagged at the stream level? I was
> >> having
> >>> difficulty finding info on where this info is even located in a file in
> >>> both:
> >>>
> https://developer.apple.com/library/archive/technotes/tn2162/_index.html
> >> and
> >>>
> >>
> https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/QTFFPreface/qtffPreface.html
> >>>
> >>> Worrying, if I set a value of jpeg, mpeg, or 0, ffprobe says that the
> >> file
> >>> has TV range.
> >>>
> >>> How to replicate:
> >>>
> >>> $ ./ffmpeg -f lavfi -i testsrc  -color_range jpeg -c:v prores -t 1
> >>> prores_jpeg.mov
> >>
> >> That encoder incorrectly never changes color range.
> >>
> >
> > Can this metadata ever be set at a container level for mov? Must it
> always
> > be the stream that holds this info?
>
> By default the colr atom is not written by ffmpeg, even when mandated
> (such as described in TN2162 for uncompressed in QuickTime). You can enable
> the colr atom while muxing by adding, -movflags write_colr. It’s been over
> 4 years since Vittorio added colr atom support, perhaps time to consider
> making it enabled by default.
> Dave Rice
>

I tried adding the -movflags +write_colr argument in my testing but it
didn't do anything. And it looks like the colr atom doesn't store a value
for colour range anyhow:
https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/QTFFChap3/qtff3.html
But +1 to enabling by default.

-Kieran.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Setting colour range.

2018-11-27 Thread Kieran O Leary
On Tue, 27 Nov 2018, 15:56 Gyan Doshi  On 27-11-2018 09:17 PM, Gyan Doshi wrote:
> > On 27-11-2018 08:59 PM, Kieran O Leary wrote:
> >
> >>
> >> Can this metadata ever be set at a container level for mov? Must it
> >> always
> >> be the stream that holds this info?
> >
> > The muxer only writes it for MP4s,
> >
> > The QT spec doesn't accommodate its signaling :
> >
>
> >
> https://developer.apple.com/library/archive/technotes/tn2162/_index.html#//apple_ref/doc/uid/DTS40013070-CH1-TNTAG7
>
> Correction. Meant to quote this,
>
>  "The remaining component values (e.g., 1-15 and 241-254 for n=8
> bits and 4-63 and 961-1019 for n=10 bits) accommodate occasional filter
> undershoot and overshoot in image processing. In some applications,
> these values are used to carry other information (e.g., transparency).
> The writer of a QuickTime image may use these values and the reader of a
> QuickTime image must expect these values."
>
> This implies that 'these values' is treated as 'other information'
> rather than range expansion.
>

This is wonderful. No wonder I could find no information in the atom
description regarding these values! I thought that the colr atom would be
where it was stored.

Thanks Gyan,

Kieran O'Leary
Irish Film Institute
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

  1   2   3   >