Re: [FFmpeg-user] How to make IDR cuts

2024-04-21 Thread jim shupert
yes , sorry.
thanks for noticing
We are not sure what happened there.
The current theories are:
1. something super natural
2. I am new to email
3. I was sleepy
;)

cheers

On Sat, Apr 20, 2024 at 7:42 PM David Niklas via ffmpeg-user <
ffmpeg-user@ffmpeg.org> wrote:

> Just a quick heads-up, you seem to have forgotten to put any text in your
> message, Mr. Shupert. It just quotes mark's email.
>
> You're welcome,
> David
>
> On Sat, 20 Apr 2024 17:26:20 -0400
> jim shupert  wrote:
> > On Wed, Apr 3, 2024 at 8:02 AM Mark Filipak 
> > wrote:
> >
> > > Is there more to this? If there is, it's not evident to me.
> > >
> > > If there are several B-frames in a row, then adjust your mind to 'see'
> > > larger shifts across the
> > > multiple B-frames and adjust PTSs & DTSs to match.
> > >
> > >
> > > Cutting off a leading open GOP:
> > >  <open GOP>  <—closed GOP——>
> > > PTS order  [_I_][_B_][_P_][_B_][_I_][_B_][_P_][_B_][_P_][_I_]
> > >__/  ___¦___/  ___¦___/  ___¦___/  ___¦___/  __/
> > >   //   ¦ /   ¦ /   ¦ /   ¦ /
> > > DTS order [_I_][_P_][_B_][_I_][_B_][_P_][_B_][_P_][_B_][_I_]
> > >  XXX X
> > >
> > > PTS order  [_I_][_B_][_P_][_B_][_P_][_I_]
> > >__/  ___¦___/  ___¦___/  __/
> > >   //   ¦ /   ¦ /
> > > DTS order [_I_][_P_][_B_][_P_][_B_][_I_]
> > >
> > > Cut on PTS, then fix up the 1st DTS & packet SCRs.
> > >
> > > Or, I don't think it's going to hurt anything to leave this:
> > > PTS order  [_I_][_B_][_P_][_B_][_P_][_I_]
> > >   ___/  ___¦___/  ___¦___/  __/
> > >  / /   ¦ /   ¦ /
> > > DTS order[_I_] [_P_][_B_][_P_][_B_][_I_]
> > > and just fix-up the packet SCRs.
> > >
> > > =
> > > Cutting off a leading closed GOP:
> > >  <—closed GOP——>  <open GOP>
> > > PTS order  [_I_][_B_][_P_][_B_][_P_][_I_][_B_][_P_][_B_][_I_]
> > >__/  ___¦___/  ___¦___/  __/  ___¦___/  ___¦___/
> > >   //   ¦ /   ¦ //   ¦ /   ¦
> > > DTS order [_I_][_P_][_B_][_P_][_B_][_I_][_P_][_B_][_I_][_B_]
> > >  XXXXX
> > >
> > > PTS order   [_I_][_B_][_P_][_B_][_I_]
> > > __/  ___¦___/  ___¦___/
> > >//   ¦ /   ¦
> > > DTS order  [_I_][_P_][_B_][_I_][_B_]
> > >
> > > Just cut it and fix-up the packet SCRs.
> > >
> > > =
> > > Cutting off a trailing GOP from a closed GOP:
> > >  <—closed GOP——>
> > > PTS order  [_I_][_B_][_P_][_B_][_P_][_I_]..
> > >__/  ___¦___/  ___¦___/
> > >   //   ¦ /   ¦
> > > DTS order [_I_][_P_][_B_][_P_][_B_]
> > >
> > > Just cut at the end of the closed GOP.
> > >
> > > =
> > > Cutting off a trailing GOP from an open GOP:
> > >  <open GOP>
> > > PTS order  [_I_][_B_][_P_][_B_][_I_]..
> > >__/  ___¦___/  ___¦___/
> > >   //   ¦ /   ¦
> > > DTS order [_I_][_P_][_B_][_I_][_B_]
> > >
> > > PTS order  [_I_][_B_][_P_][_B_][_I_]
> > >__/  ___¦___/  ___¦___/
> > >   //   ¦ /   ¦
> > > DTS order [_I_][_P_][_B_][_I_][_B_]
> > >
> > > Cut retaining an ending I-frame, only.
> > >
> > >
> > > Honestly, I don't know why the MPEG folks don't supply illustrations
> > > instead of their torturous text.
> > >
> > > This isn't magic, it's Legos.
> > > ___
> > > 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] How to make IDR cuts

2024-04-20 Thread jim shupert
On Wed, Apr 3, 2024 at 8:02 AM Mark Filipak 
wrote:

> Is there more to this? If there is, it's not evident to me.
>
> If there are several B-frames in a row, then adjust your mind to 'see'
> larger shifts across the
> multiple B-frames and adjust PTSs & DTSs to match.
>
>
> Cutting off a leading open GOP:
>    <—closed GOP——>
> PTS order  [_I_][_B_][_P_][_B_][_I_][_B_][_P_][_B_][_P_][_I_]
>__/  ___¦___/  ___¦___/  ___¦___/  ___¦___/  __/
>   //   ¦ /   ¦ /   ¦ /   ¦ /
> DTS order [_I_][_P_][_B_][_I_][_B_][_P_][_B_][_P_][_B_][_I_]
>  XXX X
>
> PTS order  [_I_][_B_][_P_][_B_][_P_][_I_]
>__/  ___¦___/  ___¦___/  __/
>   //   ¦ /   ¦ /
> DTS order [_I_][_P_][_B_][_P_][_B_][_I_]
>
> Cut on PTS, then fix up the 1st DTS & packet SCRs.
>
> Or, I don't think it's going to hurt anything to leave this:
> PTS order  [_I_][_B_][_P_][_B_][_P_][_I_]
>   ___/  ___¦___/  ___¦___/  __/
>  / /   ¦ /   ¦ /
> DTS order[_I_] [_P_][_B_][_P_][_B_][_I_]
> and just fix-up the packet SCRs.
>
> =
> Cutting off a leading closed GOP:
>  <—closed GOP——>  
> PTS order  [_I_][_B_][_P_][_B_][_P_][_I_][_B_][_P_][_B_][_I_]
>__/  ___¦___/  ___¦___/  __/  ___¦___/  ___¦___/
>   //   ¦ /   ¦ //   ¦ /   ¦
> DTS order [_I_][_P_][_B_][_P_][_B_][_I_][_P_][_B_][_I_][_B_]
>  XXXXX
>
> PTS order   [_I_][_B_][_P_][_B_][_I_]
> __/  ___¦___/  ___¦___/
>//   ¦ /   ¦
> DTS order  [_I_][_P_][_B_][_I_][_B_]
>
> Just cut it and fix-up the packet SCRs.
>
> =
> Cutting off a trailing GOP from a closed GOP:
>  <—closed GOP——>
> PTS order  [_I_][_B_][_P_][_B_][_P_][_I_]..
>__/  ___¦___/  ___¦___/
>   //   ¦ /   ¦
> DTS order [_I_][_P_][_B_][_P_][_B_]
>
> Just cut at the end of the closed GOP.
>
> =
> Cutting off a trailing GOP from an open GOP:
>  
> PTS order  [_I_][_B_][_P_][_B_][_I_]..
>__/  ___¦___/  ___¦___/
>   //   ¦ /   ¦
> DTS order [_I_][_P_][_B_][_I_][_B_]
>
> PTS order  [_I_][_B_][_P_][_B_][_I_]
>__/  ___¦___/  ___¦___/
>   //   ¦ /   ¦
> DTS order [_I_][_P_][_B_][_I_][_B_]
>
> Cut retaining an ending I-frame, only.
>
>
> Honestly, I don't know why the MPEG folks don't supply illustrations
> instead of their torturous text.
>
> This isn't magic, it's Legos.
> ___
> 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 I convert from .ram to .mp4?

2020-06-17 Thread Jim Shupert

On 6/17/2020 1:59 PM, Reindl Harald wrote:


Am 17.06.20 um 19:26 schrieb David:

I've watched the video and invoked a simple command:

ffmpeg -i 317.ram 317.mp4
which the Windows PowerShell said I had to change to
.\ffmpeg -i 317.ram 317.mp4
which I did.

I have the ffmpeg.exe file in the same folder as the 317.ram, so do you
think that should work?  I'll paste here the PowerShell window showing
"Permission denied"

you didn't paste anything but "Permission denied" sounds not like an
ffmpeg issue at all


It has been a long time since I interacted with real media **
so -- i could be off base here --
but isn't a file.ram   a url pointing to a real server , a txt file ?
( if so then to "hear" the actual audio has to be served from a server )
is actually binary audio data?
can you play it?- hear it?


___
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 Jim Shupert



It's byte offset from start of data stream.

Gyan


Good info fellas

also I find related info from Gyan at
https://superuser.com/questions/1512575/why-total-frame-count-is-different-in-ffmpeg-than-ffprobe/1512583#1512583

Thanks again Gyan

and
https://stackoverflow.com/questions/3032929/problem-ffmpeg-seeking-with-av-seek-frame-using-byte-positions/11496937

https://stackoverflow.com/questions/13855533/how-to-decode-video-data-from-specific-position-in-byte

in short , as I *understand* it:  one tends to seek to the nearest full 
frame at a given byte position


cheers

jShupert
___
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] a q about units

2020-06-11 Thread Jim Shupert

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?

thanks
jS
___
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] Q: How to generate sound file with different frequencies for left/right (alternating)

2020-05-14 Thread Jim Shupert

On 5/13/2020 4:06 PM, ffm...@osk.ch wrote:

Hello

I would like to generate a sound file with two frequencies, sinus, one per 
channel
(left, right) alternating between them. For example: left 0.5 sec 5kHz, then 
right 0.5 sec 8kHz and so on.
I've spent hours reading ffmpeg docs but am overwhelmed by its power and 
complexity.



friend
You might wish to have a look at
SOX  http://sox.sourceforge.net/
http://sox.sourceforge.net/Docs/Features

example 1 second wav at 5kHz

|sox -n -r 8000 output.wav synth 1 sine 5000|

___
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-20 Thread Jim Shupert

On 4/18/2020 9:28 AM, Kieran O Leary wrote:

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".

PCM was certainly used
as I recall ... NTSC  &  Pal had different approved audios

formats used PCM , DTS, ac3 , mpg1 Layer 2

-
___
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] Ffmeg multi-threading introduction

2020-02-19 Thread Jim Shupert

On 2/18/2020 3:42 AM, Mohammed Bey Ahmed Khernache wrote:

Hello,
I am novice to programming upon ffmpeg. I would like to know how ffmpeg
manages to decode multiple regions of a frame (slices, tiles, NALs, etc) in
parallel.
Could you point me to the files/functions that do this job?

Best regards
___
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".

I also would like to expand my understanding of this sort

slices, tilesAVPacket, with all the  nals. It might ( that is -- I think i see it ) 
revealed in the source


___
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 Jim Shupert



So the challenge actually is we don’t know the start TC.  In fact that’s really 
all we need.


would this help?
https://github.com/x42/ltc-tools

https://github.com/x42/libltc/releases

ltcdump -f 29.97 dog.mp4 2> /dev/null > dog.ltc.txt

___
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 Jim Shupert



We're hoping there's something in the world of FFMpeg / FFProbe might be able 
to help here.



On Nov 19, 2019, at 6:56 AM, Harvey Pikelberger  wrote:

Is there a command to tell FFMpeg to read LTC from a specific audio track?



I do not know about that but

would it help if you made a second file - now with Tc in it
meaning
you have a file
dog.mp4 w ltc tc in audio  and you know it starts w tc of 07:00:00:00
so do a
ffmpeg -i dog.mp4 -codec copy -/timecode/ 07:00:00:00 dog_wtc.mp4

MP4s and MOVs store only the TC of the first frame, as a literal frame 
count, along with the framerate. The consuming app converts that frame 
count back to a TC string using the framerate


-timecode hh:mm:ssSEPff

   Specify Timecode for writing. SEP is ’:’ for non drop timecode and
   ’;’ (or ’.’) for drop.

___
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 Link Stream Output Error "Invalid data found when processing input"

2019-11-12 Thread Jim Shupert

this could be considered a thread hijack  { sorry }
sorry
but we seem to have had a few windows folks who are submitting screen 
captures for the

"complete console - yada yada"

so ; a wee how to might help both ends of this effort

one can on windows do a "mark" and copy

or

do your command piped into clip -- then you can paste THAT into an email

as in::      | clip
now ready to paste

so if that helps  the windoze dosers with your cut & paste effort
___
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] dpx to prores mov

2019-09-25 Thread Jim Shupert

Friends,

I have a dpx sequence.
the dpx were made on a LaserGraphics ScanStation

they all have a name like : H_N-Reel1_000.dpx
My Goal is to make a proRes HQ mov

I was hoping that it would be as easy as

ffmpeg -f image2 -framerate 24 -i H_N-Reel1_%07d.dpx -c:v prores_ks 
-profile:v 3 -f mov hard_3.mov


( console out below  3 diff sessions )

I Think it does not know what the pixel format of the input , the dpx 
pixel format is


I have tried

ffmpeg -f image2 -framerate 24 -i H_N-Reel1_%07d.dpx -c:v prores_ks 
-pix_fmt yuv422p10le -profile:v 3 -f mov hard_3.mov


ffmpeg -f image2 -framerate 24 -i H_N-Reel1_%07d.dpx -c:v prores_ks 
-pix_fmt yuv444p10 -profile:v 3 -probesize 2147483000 -f mov hard_3.mov
ffmpeg -f image2 -framerate 24 -i H_N-Reel1_%07d.dpx -c:v prores_ks 
-pix_fmt yuv422p10le -profile:v 3 -analyzeduration 6 -probesize 
2147483 -f mov hard_3.mov
ffmpeg -f image2 -framerate 24 -pix_fmt  gbrp10le -i H_N-Reel1_%07d.dpx 
-c:v prores_ks -profile:v 3 -pix_fmt yuv422p10le -f mov hard_3.mov


this seems significant

[dpx @ 00756fe0] Unsupported format
    Last message repeated 1 times
[image2 @ 00632980] decoding for stream 0 failed
[image2 @ 00632980] Could not find codec parameters for stream 0 
(Video: dpx, none, 2048x1536): unspecified pixel format


and what is this telling me?

[buffer @ 00758c00] Unable to parse option value "-1" as pixel 
format

    Last message repeated 1 times
[buffer @ 00758c00] Error setting option pix_fmt to value -1.
[graph 0 input from stream 0:0 @ 00643ea0] Error applying 
options to the filter.


I seem to be unable to get any info via ffprobe regarding my dpx
I think the dpx are Good.

I must be missing something , i wonder what it is.


Thanks in advance, any clues would be appreciated.

best wishes

jim shupert


---:: console output from errors

S:\Scans\job_ohist\DPX\H_N-Reel1>ffmpeg -f image2 -framerate 24 -i 
H_N-Reel1_%07d.dpx -c:v prores_ks -pix_fmt yuv422p10le -profile:v 3 
-analyzeduration  6 -probesize 2147483 -f mov hard_3.mov
ffmpeg version N-81322-ge8b355a Copyright (c) 2000-2016 the FFmpeg 
developers

  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads 
--enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth 
--enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r 
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray 
--enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme 
--enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame 
--enable-libopencore-amrnb --enable-libopencore-amrwb 
--enable-libopenjpeg --enable-libopus --enable-librtmp 
--enable-libschroedinger --enable-libsnappy --enable-libsoxr 
--enable-libspeex --enable-libtheora --enable-libtwolame 
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis 
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 
--enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg 
--enable-lzma --enable-decklink --enable-zlib

  libavutil  55. 28.100 / 55. 28.100
  libavcodec 57. 51.100 / 57. 51.100
  libavformat    57. 46.100 / 57. 46.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter 6. 51.100 /  6. 51.100
  libswscale  4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
[dpx @ 00756fe0] Unsupported format
    Last message repeated 1 times
[image2 @ 00632980] decoding for stream 0 failed
[image2 @ 00632980] Could not find codec parameters for stream 0 
(Video: dpx, none, 2048x1536): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' 
options

Input #0, image2, from 'H_N-Reel1_%07d.dpx':
  Duration: 00:12:52.75, start: 0.00, bitrate: N/A
    Stream #0:0: Video: dpx, none, 2048x1536, 12 tbr, 24 tbn, 12 tbc
File 'hard_3.mov' already exists. Overwrite ? [y/N] y
[buffer @ 00758c00] Unable to parse option value "-1" as pixel 
format

    Last message repeated 1 times
[buffer @ 00758c00] Error setting option pix_fmt to value -1.
[graph 0 input from stream 0:0 @ 00643ea0] Error applying 
options to the filter.

Error opening filters!



S:\Scans\job_ohist\DPX\H_N-Reel1>ffmpeg -f image2 -framerate 24 -i 
H_N-Reel1_%07d.dpx -c:v prores_ks -pix_fmt yuv422p10le -profile:v 3 
-analyzeduration  6 -probesize 2147483 hard_3.mov
ffmpeg version N-81322-ge8b355a Copyright (c) 2000-2016 the FFmpeg 
developers

  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads 
--enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth 
--enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r 
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray 
--enable-libbs2b --enable-libcaca --en

Re: [FFmpeg-user] Detecting upscaled video (resolution), detecting lower to higher encoding

2019-07-19 Thread Jim Shupert

On 7/19/2019 5:26 AM, Marc Roos wrote:

Is there a way to ffmpeg or maybe another tool that detects if video has
been re-coded to a higher resolution?

For instance if I am offered two downloads one 720p and one 1080p. I
have sometimes the impression that the 1080p is just the 720p converted
to 1080p (not significant better quality). And thus just uses more
space.

I am not sure if I am using the correct terms here, I do not do to much
with video nor audio. However I am getting more and more annoyed with
the presence of 2K videos claiming to be 4K and 480p/720p claiming to be
1080p.
___
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".

I have wondered on this as well
my notion is there is a ' traceable artifact' left in the up Scaled - 
somewhere , somehow.

but how?
___
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] Panasonic GH4 4K live stream using ffmpeg

2019-07-15 Thread Jim Shupert

On 7/15/2019 4:10 AM, Fred Perie wrote:

On Mon, Jul 15, 2019 at 1:46 AM Michael Shaffer  wrote:

Can anyone recommend a good HDMI input card that will work with ffmpeg in
Ubuntu Linux?

Thanks,
Michael Shaffer
___
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".

Hello Michael,

I use Blackmagic Intensity Pro 4K under Mint whcih support UltraHD.
You have to compile ffmpeg with the relevant option : ./configure
--enable-decklink --extra-cflags="-I/usr/include/blackmagic" 

This works fine for me.

Fred
___
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".

I also use black magic cards
___
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 Jim Shupert



I'm from the Republic of Ireland and I have found your behaviour to be
inappropriate for years.
from the heartland of the USA  I offer the hopeful words of that tragic 
American
*Rodney King*, the man whose vicious beating by the police department 
was caught on video.

Mr. King cried out, “Why can't we all just get along?”
___
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] audio channel manipulation

2019-01-22 Thread Jim Shupert

On 1/22/2019 8:03 AM, Moritz Barsnick wrote:

On Tue, Jan 22, 2019 at 11:09:50 +0100, andrei ka wrote:

interesting, looks like ffv1 did zero compression here, stream size of .mov
& ffv1 avi is the same. or the file size changed, it's only mediainfo
computed decompressed stream size ?

Good observation. Not only is the size identical to the original, but
also the codec. ;-) What Jim erroneously did was to use the command
line options "-c copy -c:a pcm_s24le" *after* "-vcodec ffv1" - which
implies that the video is copied.

Jim, you need to reorder those options, or drop "-c copy", to achieve
what you desired.

oh dear -- thatz on me!
     so much focus on the audio , so little attention to the video
 did/// -c copy -c:a pcm_s24le
 meant to only copy the audio/// |-c:a copy
< i wear the red face >
|thanks yall !  --( I LOVE YOU FOLKS )


___
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] audio channel manipulation

2019-01-21 Thread Jim Shupert

On 1/21/2019 2:45 PM, Moritz Barsnick wrote:

On Mon, Jan 21, 2019 at 14:01:52 -0500, Jim Shupert wrote:

if it is in 4 streams you can pick which to hear.

My capture system captures 10bit unc mov video [0:0]  ( 4ch_test.mov )
and the 4 audio "tracks" are found in 1 stream as 4 channels [0:1.0 ,
0:1.1, 0:1.2, 0:1.3 ]

[...]

Do you need the intermediate file 4s_b.avi? (I assume so, but your
final file 4s_b.mp4 can be created in one step, if that is desired.)


Yes - both the ffv1 avi [ 4s_b.avi ] & the mp4 are the goal , the need.
the original   capture mov [ 4ch_test.mov ]  is very simply what I am 
"able" to make via my hardware
which is a blackmagic card running media express. That is I can capture 
all 4 "tracks"  but only & always into 1 stream with 4 channels



---:: make the ffv1 avi from the 10b mov  capture .
4s_b.avi

ffmpeg -i 4ch_test.mov -vcodec ffv1 -level 3 -coder 1 -pix_fmt
yuv422p10le -aspect 4:3 -g 1 \
   -filter_complex "[0:a]pan=mono|c0=c0[a0]; [0:a]pan=mono|c0=c1[a1];
[0:a]pan=mono|c0=c2[a2]; [0:a]pan=mono|c0=c3[a3]" \
   -map 0:v -map "[a0]" -map "[a1]" -map "[a2]" -map "[a3]" -map 0:d -c
copy -c:a pcm_s24le -f avi 4s_b.avi

Your filter
   "[0:a]pan=mono|c0=c0[a0]; [0:a]pan=mono|c0=c1[a1]; [0:a]pan=mono|c0=c2[a2]; 
[0:a]pan=mono|c0=c3[a3]"
is indeed a neat trick to separate your channels into streams. There's
an easier way though: The "channelsplit" filter:
https://ffmpeg.org/ffmpeg-filters.html#channelsplit

The second filter ("[0:1] [0:2] amerge") is just fine for creating
stereo from two separate channels.


a :: an   "an easier way"   wonderful -- in truth I often find there 
are many "ways" ... i tend to keep using "one" after I find it works.

Thank you...expanding my understanding is what i am after



https://trac.ffmpeg.org/wiki/AudioChannelManipulation

Apparently, you read the section "stereo → 2 × mono files". My
suggestion with the "channelsplit" is right below, in the section
"stereo → 2 × mono streams". Actually, both filters will work either
way, the examples are quite arbitrary, come to think of it.




will do -- thanks again

and-- if anyone else has anyThing else to offer ... i am still anxious 
to learn more

:)

___
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] audio channel manipulation

2019-01-21 Thread Jim Shupert

Friends,
I think I have a solution to my needs.
My purpose here is to share and ask if there is a better way to achieve 
my goal.

I would be happy to the thoughts of others.
This matter of audio mapping , channel selection is something that i 
wished I understood better.


Goal: capture from dbeta  the audio is 4 "track" . you can stand at the 
deck and turn each of the 4 up or down - they are independent.
I wish to achieve a ffv1 avi where the audio is 4 streams each having 1 
mono channel


why was I concerend about this?
If a file has 1 stream with 4 channels ( the org 4 "tracks" from tape) 
and the 1st 2 channels are "good stuff" but the  4th channel is 
something less wanted
Then when you play in vlc - you have no control -- the wanted and the 
unwanted .

if it is in 4 streams you can pick which to hear.

My capture system captures 10bit unc mov video [0:0]  ( 4ch_test.mov )
and the 4 audio "tracks" are found in 1 stream as 4 channels [0:1.0 , 
0:1.1, 0:1.2, 0:1.3 ]


below please find my current means to make the ffv1 avi ( with 4 stream 
1 chn )   and then use the ffv1 avi

to make a mp4 with 1 stream of audio holding 2 channels


I was unable to do what i wished with audio mapping ( -map / -map_channel  )


---:: make the ffv1 avi from the 10b mov  capture .
4s_b.avi

ffmpeg -i 4ch_test.mov -vcodec ffv1 -level 3 -coder 1 -pix_fmt 
yuv422p10le -aspect 4:3 -g 1 \
 -filter_complex "[0:a]pan=mono|c0=c0[a0]; [0:a]pan=mono|c0=c1[a1]; 
[0:a]pan=mono|c0=c2[a2]; [0:a]pan=mono|c0=c3[a3]" \
 -map 0:v -map "[a0]" -map "[a1]" -map "[a2]" -map "[a3]" -map 0:d -c 
copy -c:a pcm_s24le -f avi 4s_b.avi


---:: make a mp4 (4s_b.mp4 ) from the ffv1 avi ( 
4s_b.avi )


ffmpeg -i 4s_b.avi -vf "yadif" -aspect 4:3 -vcodec libx264 -b:v 5110k -g 
12 -bf 3 -b_strategy 1 -coder 1 \
 -qmin 10 -qmax 51 -sc_threshold 40 -me_range 16 -me_method hex -subq 5 
-i_qfactor 0.71 -qcomp 0.6 -qdiff 4  -pix_fmt yuv420p \
 -filter_complex "[0:1] [0:2] amerge" -acodec aac -ar 48000 -b:a 256k 
-ac 2 4s_b.mp4




::: the below are some mediainfo probes of the files
1- the capture from tape 2- the ffv1 avi I make , 3 the mp4 that i make 
from the ffv1 avi


my capture 10b unc mov  4 channels in 1 stream
---:  org capture from tape
Video
ID   : 1
Format   : YUV
Codec ID : v210
Codec ID/Hint    : AJA Video Systems Xena
Duration : 12 s 880 ms
Bit rate mode    : Constant
Bit rate : 224 Mb/s
Width    : 720 pixels
Height   : 486 pixels
Display aspect ratio : 4:3
Frame rate mode  : Constant
Frame rate   : 29.970 (3/1001) FPS
Standard : NTSC
Color space  : YUV
Chroma subsampling   : 4:2:2
Bit depth    : 10 bits
Scan type    : Interlaced
Scan type, store method  : Interleaved fields
Scan order   : Bottom Field First
Compression mode : Lossless
Bits/(Pixel*Frame)   : 21.333
Stream size  : 343 MiB (98%)
Language : English
Encoded date : UTC 2019-01-15 22:54:36
Tagged date  : UTC 2019-01-15 22:54:49
Color primaries  : BT.601 NTSC
Transfer characteristics : BT.709
Matrix coefficients  : BT.601

Audio
ID   : 2
Format   : PCM
Format settings, Endianness  : Little
Format settings, Sign    : Signed
Codec ID : lpcm
Duration : 12 s 880 ms
Bit rate mode    : Constant
Bit rate : 4 608 kb/s
Channel(s)   : 4 channels
Sampling rate    : 48.0 kHz
Bit depth    : 24 bits
Stream size  : 7.07 MiB (2%)
Language : English


that is turned into the ffv1 avi with 4 streams of audio with 1 channel each
-::  ffv1 avi now with 4 streams 
each having 1 channel each

4s_b.avi
Format   : AVI
Format/Info  : Audio Video Interleave
File size    : 351 MiB
Duration : 12 s 880 ms
Overall bit rate : 228 Mb/s
Writing application  : Lavf57.83

Re: [FFmpeg-user] Need assistance finding l transcoding

2018-12-18 Thread Jim Shupert

;)
strictly prohibited.
If you have received this transmission in error,
please reply to the sender listed above immediately and permanently delete this 
message from your inbox.
:)

I am not so sure i " received this transmission in error "
but -- ok -- i deleted it

___
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] Obscure Watermarking with ffmpeg possible?

2018-10-16 Thread Jim Shupert



A big player on obscure watermarking is "nexguard" (
https://dtv.nagra.com/watermarking)
Nexguard has an API for implementing their technology in external
transcoders.
Maybe this would be a possible solution for using obscure watermarking with
ffmpeg?


isn't nexguard an expensive solution? -- while "expensive" may be 
relative  ... nexguard in not open isn't that true?

___
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] ffmpeg pop and deesser filters

2018-07-31 Thread Jim Shupert


. I would like to add an audio filter to get rid of 'pop' and 'ess' 
sounds, especially present when pronouncing the 'p' sound and 's' and 
'sh' sounds respectively. Does anyone have a suggestion for which (free 
linux) filters do this well and work well with ffmpeg? I've been looking 
into ladspa filters, but would love any advice/suggestions. Thanks so much.



You may wish to take a look at audacity

also  - you find a Best solution with some { headset ] mic placement 
/usage  technique.
a 'pop shield" ,  a wind screen , a ball of soft grey foam surrounding 
the mic.

:: test by wrapping with 4-9 layers nylon hosiery , season to taste.
___
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] Audio Desynchronization When Utilizing Segmentation

2018-03-26 Thread Jim Shupert

On 3/25/2018 9:30 PM, Gabriel Balaich wrote:



-i video="Video (00 Pro Capture HDMI 4K+)"


a question - what is your capture card?
___
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] use question

2018-03-08 Thread Jim Shupert

I see that you are a windows usr.
1st - i would suggest linux ( i could expand on the benefits )
2nd-
try something like this in a file.bat

@echo off
cd 
for /f %%a IN ('dir /b *.mp4') do  (
ffmpeg.exe -i %%a -y < your ffmpeg cmd 
instructions of choice>   %%~na_frame%d.png


)
___
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] Question Falcc for mathmatically lossless

2018-02-09 Thread Jim Shupert

friends,
I wish to know more about flac audio encoding in ffmpeg , i am just 
starting.


I see by the documentation :
FLAC (Free Lossless Audio Codec) Encoder

compression_level
Sets the compression level, which chooses defaults for many other 
options if they are not set explicitly.

Valid values are from 0 to 12, 5 is the default.

My question is:  what should the compression level be for mathematically 
lossless



thank you



___
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 reference files

2018-01-17 Thread Jim Shupert

On 1/17/2018 7:18 AM, Carl Eugen Hoyos wrote:

2018-01-04 9:52 GMT+01:00 Kasper Folman :


I’m having a hard time working something out with quicktime reference files.


I also have struggled with this .
The use of quicktime reference files. but it was some time ago .
indeed I gave up.

I would like to be able to do it.
I will be following this thread and looking for what I can do to help 
that cause.


best wishes
and greetings from Frozen N America
___
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] ffprobe not working in command line

2018-01-04 Thread Jim Shupert



On 1/4/2018 1:37 PM, Gaye Gül Bulut wrote:

Hi all,

Previously, I was able to create csv files using ffprobe. Today, I am
getting this error:
$ ffprobe
'ffprobe' is not recognized as an internal or external command,
operable program or batch file.

I tried killing the terminal and restarting and it did not work.

Any help would be amazing!


There maybe other responses from folks who know more ..
but
is this linux?
and if so
did you ...recently upgrade the os ?
 if so you may need to recompile ffmpeg / ffprobe / ffplay

when i have updated ubuntu 14  to 16  I had to recompile my ff stuff
___
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] DPX 10bit Log in FFplay and is there a test

2017-11-02 Thread Jim Shupert

Friends,

I have a couple of matters that I thought I would reach out to the 
communiuty for some wisdom.


1 --
FFplay showing "right" color of dpx 10bit log
in the recent cellar ietf.org doc FFV1 and Film   by Joshua Yocum

https://drive.google.com/open?id=1-nZj53eCuY_81qYVkVDdZRa_pkHicVzETaTAxkCcYD8 



pg six reads

 Colors in ffplay -- There seems to be some inconsistency with how 10 
bit log videos look in
ffplay compared to other video players (see section on this in Detailed 
Comparison for more

information).

My Q is :  what do you think?


2 --

This also fits squarely in the area of wondering...

does anyone know of - or - might it be possible to

have a test of a dpx seq and Prove that it is log or linear.

presently I just eyeball f.dpx apply a lut

what I might wish i had was something like

ffprobe < test for logness > 0001.dpf

and it returns y or n

I wish for a objective "test"



Thanks much


jim shupert




___
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] man ffmpeg absent

2017-07-18 Thread Jim Shupert

I would like to hijack this thread and say
How much i respect , love and depend on this community

and as a native EngLish speaker i would like to add
Viva Amatur !

{ forgive the top post  i know , i know }

On 7/18/2017 12:11 PM, Bouke / VideoToolShed wrote:

On 18 Jul 2017, at 17:50, Moritz Barsnick  wrote:


You guys really are a fucking joke, you know that.

Now, that's an insult. To comedy as well.

Note to self, don’t take a sip and start reading mail.
On the other hand, it was time to clean my screen anyways.

@All:
Lighten up.

Bouke



___
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] config log during ios for setup ijkmediaplay library

2017-06-20 Thread Jim Shupert

what would be the advantage to all the disabling ?

I suppose I am wondering -- why would one wish to 
--disable-protocol=concat ; to name 1.


and why state " --enable-protocol=async "  ,  is it not enabled by 
default -- if so then no explicit declare results in 
"--enable-protocol=async"

___
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] how to see what version of ffv1

2017-03-24 Thread Jim Shupert



On 3/23/2017 12:31 AM, Dave Rice wrote:

Hi Jim,


On Mar 22, 2017, at 9:55 PM, jshup...@theppsgroup.com wrote:

Friends,
3 Qs
q1
I am wondering how I can tell what version of ffv1 a file is encoded with?

I find a ticket 1534
https://trac.ffmpeg.org/ticket/1534
that seems to have the same concern
ffprobe -show_streams  does *not show that a file was made with

The comments of the ticket also provide a solution.

You could also use `ffprobe -i  -debug 1`. There’s some documentation on 
that at https://trac.ffmpeg.org/wiki/Encode/FFV1 
.


q2
is it true that the following command will create a file with ffv1 version 3?
ffmpeg -i  -vcodec ffv1 -level 3 -coder 1 

Yes.


q3
how can i see that my ffmpeg compile has ffv1 version 3 capability

Is it after 
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/abe76b851c05eea8743f6c899cbe5f7409b0f301
 

 ?

Or if you run `ffmpeg -h encoder=ffv1` do you see the -slicecrc option?
Dave

___
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".

Thanks brother.
___
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] Q about overlay and live sources

2017-02-15 Thread Jim Shupert


I have been reading about the 38.102 overlay 
  filter


I have looked at
https://trac.ffmpeg.org/wiki/Create%20a%20mosaic%20out%20of%20several%20input%20videos
and
http://www.ffmpeg.org/ffmpeg-all.html#overlay-1

I was wondering if It is possible to do this with live streams

like taking 2 ip cameras and making a single stream that could go to youTube

Thanks

J
___
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] issues installing ffmpeg php

2017-02-07 Thread Jim Shupert


Arturo

I do not utilize ffmpeg php - but am intrested in it.

question:  can you run ffmpeg -- in general?
do you have a "good" ffmpeg install?


___
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] ffv1 level

2016-10-13 Thread Jim Shupert

if one does not declare a level or a gop  what is the default

meaning


ffmpeg -i  \
-acodec  copy   \
-vcodec  ffv1   \
-level   3  \
-coder   1  \
-context 1  \
-g   1  \



-level   3
declares   , ffv1 vers 3
 -g   1
declares a gop of 1

what is the default if not declared

ffmpeg -i  \
-acodec  copy   \
-vcodec  ffv1   \
-coder   1  \



thanks

jS

___
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] Converting several .webm files to mp3 with one command

2016-07-01 Thread Jim Shupert



On 7/1/2016 11:51 AM, Canadian Cyanide wrote:

Hello,

I have some .webm audio files in a folder that I would like to convert to
mp3 without having to enter the name of each one individually. How would I
go about doing that? Also, if I'm not supposed to be doing this by email,
please direct me to the correct place to ask a question.

Thanks,

CanadianCyanide
___
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".

if on linux
( and if not - you should be )

this bash f.sh  will get you started

you want to loop through the dir
so for every f.webm  do
your cmd to transcode to mp3

-
save as mp3_script.sh  , make executable , run with ./mp3_script.sh
< >  those are the full path

#!/bin/bash


srcDir=
dest=

cd $srcDir


for f in *.webm; do


ffmpeg -i $srcDir/${f%.*}.webm   $dest/${f%.*}.mp3


done

___
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] ffmpeg with nvidia nvr across all codecs

2016-06-06 Thread Jim Shupert

I have a "general" Q about ffmpeg with nvidia nvr
Does building ffmpeg with nvidia nvr  help with the trascode speed of 
all codecs - not just mp4?

Is there a - across all codecs - benefit?

or to say it another way.

If I built a machine  ubuntu - /ffmpeg/nvidia card with cuda following 
this fine doc



http://developer.download.nvidia.com/compute/redist/ffmpeg/1511-patch/FFMPEG-with-NVIDIA-Acceleration-on-Ubuntu_UG_v01.pdf


would I have a speed increase in transcoding from uncompressed to many 
codecs in addition to mp4

dv25?
prores?
openjepeg200?
ffv1?
mpeg1-2?

thanks much

jS
___
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] is it possible to add meta data of encoded date

2016-03-08 Thread jim shupert

is it possible if one is NOT transcoding
but already has a file and just adds meta data


7::  WINNER  WINNER mediaInfo DINNER

ffmpeg -i input -c copy -map 0 -metadata creation_time="2013-07-24 
10:13:48" output.mp4


ffmpeg -i  ~//Videos/ShupeJarArtVideo/sjp_0.mp4 \
 -c copy -map 0 -metadata creation_time="2010-11-22 11:22:33" \
 ~//Videos/ShupeJarArtVideo/sjp_7.mp4


 snip from media info shows we have
 SUCCEEDED

Overall bit rate : 1 286 Kbps
Movie name   : Unknown
Encoded date : UTC 2010-11-22 11:22:33
Tagged date  : UTC 2010-11-22 11:22:33
Writing application  : Lavf56.7.101

So
What am i missing that will enable me to 'punch in' this meta data While 
transcoding

I would like to avoid a
having a mp4 -twice

what i really wish to do is
file.mov (dv50) into a mp4 that has a defined Encoded date
as i understand it now i would have to
file.mov (dv50) into a mp4-1 and do the codec copy with -map 0 -metadata 
creation_time making mp4-2

then dlt mp4-1


any wisdom is most welcomed
thanks in advance

best

shupe

---:: full console

jshupert@shupeJar-bitlab:~$ ffmpeg -i 
~//Videos/ShupeJarArtVideo/sjp_0.mp4  -c copy -map 0 -metadata 
creation_time="2010-11-22 11:22:33" ~//Videos/ShupeJarArtVideo/sjp_22.mp4

ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep 29 2014 00:22:22 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --prefix=/home/jshupert/ffmpeg_build 
--extra-cflags=-I/home/jshupert/ffmpeg_build/include 
--extra-ldflags=-L/home/jshupert/ffmpeg_build/lib 
--bindir=/home/jshupert/bin --enable-gpl --enable-libass 
--enable-libfdk-aac --enable-libfreetype --enable-libmp3lame 
--enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx 
--enable-libx264 --enable-nonfree --enable-libfreetype 
--enable-libfontconfig --enable-libfribidi --enable-x11grab

  libavutil  54.  7.101 / 54.  7.101
  libavcodec 56.  1.101 / 56.  1.101
  libavformat56.  7.101 / 56.  7.101
  libavdevice56.  1.100 / 56.  1.100
  libavfilter 5.  1.102 /  5.  1.102
  libswscale  3.  1.100 /  3.  1.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  1.100 / 53.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 
'/home/jshupert//Videos/ShupeJarArtVideo/sjp_0.mp4':

  Metadata:
major_brand : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
title   : Unknown
encoder : Lavf56.7.101
  Duration: 00:00:10.41, start: 0.021333, bitrate: 1288 kb/s
Chapter #0.0: start 0.00, end 10.388000
Metadata:
  title   : Chapter 01
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 
640x480 [SAR 1:1 DAR 4:3], 1093 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 
59.94 tbc (default)

Metadata:
  handler_name: VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 
fltp, 192 kb/s (default)

Metadata:
  handler_name: SoundHandler
Stream #0:2(eng): Subtitle: mov_text (text / 0x74786574), 0 kb/s
Metadata:
  handler_name: SubtitleHandler
Output #0, mp4, to '/home/jshupert//Videos/ShupeJarArtVideo/sjp_22.mp4':
  Metadata:
major_brand : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
title   : Unknown
creation_time   : 2010-11-22 11:22:33
encoder : Lavf56.7.101
Chapter #0.0: start 0.021000, end 10.409000
Metadata:
  title   : Chapter 01
Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 
640x480 [SAR 1:1 DAR 4:3], q=2-31, 1093 kb/s, 29.97 fps, 30k tbn, 30k 
tbc (default)

Metadata:
  handler_name: VideoHandler
Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, 
stereo, 192 kb/s (default)

Metadata:
  handler_name: SoundHandler
Stream #0:2(eng): Subtitle: mov_text ([8][0][0][0] / 0x0008), 0 kb/s
Metadata:
  handler_name: SubtitleHandler
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (copy)
Press [q] to stop, [?] for help
frame=  310 fps=0.0 q=-1.0 Lsize=1638kB time=00:00:10.41 
bitrate=1289.0kbits/s
video:1381kB audio:244kB subtitle:0kB other streams:0kB global 
headers:0kB muxing overhead: 0.785802%



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


[FFmpeg-user] is it possible to add meta data of encoded date

2016-03-08 Thread jim shupert

Friends,

I wish to write meta data to a mp4 file.
specifically i wish to write the ednoded date as it is found in a probe 
by media info


example / here is a snip from media info
...
Encoded date: UTC 2014-11-05 05:02:03
Tagged date  : UTC 2014-11-05 05:02:03
...

I *think this used to work ... circa 2013 ,  maybe
is it possible that it worked before the "new" -map N:N for audio came 
about?


   |ffmpeg -i input -c copy -map 0 -metadata creation_time="2015-06-07
   08:09:10" output.mp4|

|but I get an error of
Data stream encoding not supported yet (only streamcopy)
|

|when i do this ( complete console )
|

|jshupert@shupeJar-bitlab:~$ ffmpeg -i 
~//Videos/ShupeJarArtVideo/shupeJarProductions_art_video.mp4 \
>  -y -vcodec libx264 -b:v 110 -pix_fmt yuv420p -s 640x480 -aspect 
4:3 -vf yadif -r 3/1001  \
>  -g 12 -bf 3 -b_strategy 1 -coder 1 -qmin 10 -qmax 51 -sc_threshold 
40 -flags +loop -cmp +chroma -me_range 16 -me_method hex -subq 5 
-i_qfactor 0.71 -qcomp 0.6 -qdiff 4 \
>  -acodec libfdk_aac -ab 192K -map 0 -metadata creation_time="UTC 
2015-02-03 04:05:06" \

>  ~//Videos/ShupeJarArtVideo/sjp_4.mp4
ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep 29 2014 00:22:22 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --prefix=/home/jshupert/ffmpeg_build 
--extra-cflags=-I/home/jshupert/ffmpeg_build/include 
--extra-ldflags=-L/home/jshupert/ffmpeg_build/lib 
--bindir=/home/jshupert/bin --enable-gpl --enable-libass 
--enable-libfdk-aac --enable-libfreetype --enable-libmp3lame 
--enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx 
--enable-libx264 --enable-nonfree --enable-libfreetype 
--enable-libfontconfig --enable-libfribidi --enable-x11grab

  libavutil  54.  7.101 / 54.  7.101
  libavcodec 56.  1.101 / 56.  1.101
  libavformat56.  7.101 / 56.  7.101
  libavdevice56.  1.100 / 56.  1.100
  libavfilter 5.  1.102 /  5.  1.102
  libswscale  3.  1.100 /  3.  1.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc53.  1.100 / 53.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 
'/home/jshupert//Videos/ShupeJarArtVideo/shupeJarProductions_art_video.mp4':

  Metadata:
major_brand : mp42
minor_version   : 0
compatible_brands: isommp423gp5
creation_time   : 2014-11-05 05:02:03
title   : Unknown
  Duration: 00:00:10.39, start: 0.00, bitrate: 1717 kb/s
Chapter #0.0: start 0.00, end 10.388333
Metadata:
  title   : Chapter 01
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 
976x720 [SAR 240:241 DAR 976:723], 1556 kb/s, 29.97 fps, 29.97 tbr, 30k 
tbn, 59.94 tbc (default)

Metadata:
  handler_name: VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 
fltp, 173 kb/s (default)

Metadata:
  creation_time   : 2014-11-05 05:02:03
  handler_name: 
/tmp/audio.IAATOX:fmt=aac:lang=und:group=1:#audio - Imported with GPAC 
0.4.6-DEV-rev

Stream #0:2(und): Data: none (mp4s / 0x7334706D), 0 kb/s (default)
Metadata:
  creation_time   : 2014-11-05 05:02:03
  handler_name: GPAC MPEG-4 OD Handler
Stream #0:3(und): Data: none (mp4s / 0x7334706D), 0 kb/s (default)
Metadata:
  creation_time   : 2014-11-05 05:02:03
  handler_name: GPAC MPEG-4 Scene Description Handler
Data stream encoding not supported yet (only streamcopy)
|

|
-
|

|my Q might be:
Is it possible to
|write
Encoded date: UTC 2014-11-05 05:02:03
Tagged date  : UTC 2014-11-05 05:02:03
into the metadata or -itags  so that i can change that Encoded date

|
|

|ffprobe shows this metadata stuff
|

| ffprobe -loglevel quiet -show_format ~//Videos/ShupeJarArtVideo/sjp_0.mp4

 shows

 peJarArtVideo/sjp_0.mp4
[FORMAT]
filename=/home/jshupert//Videos/ShupeJarArtVideo/sjp_0.mp4
nb_streams=3
nb_programs=0
format_name=mov,mp4,m4a,3gp,3g2,mj2
format_long_name=QuickTime / MOV
start_time=-0.021333
duration=10.411000
size=1676868
bit_rate=1288535
probe_score=100
TAG:major_brand=isom
TAG:minor_version=512
TAG:compatible_brands=isomiso2avc1mp41
TAG:title=Unknown
TAG:encoder=Lavf56.7.101
[/FORMAT]
|

and i *think
http://wiki.multimedia.cx/index.php?title=FFmpeg_Metadata
is no help since  " Encoded date  " is not found in the lists -- where 
as Title , Artist is..


Thanks much

best wishes

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


Re: [FFmpeg-user] Keep creation date while converting on Windows 7

2016-02-23 Thread Jim Shupert



On 2/23/2016 1:32 AM, Patryk Tabiś wrote:

Hi,
I'm new to the ffmpeg. I've got a big collection of videos and I want to
convert all of them to h.265. I know how to do it but when I convert there
is new creation date. I want to keep old creartion date. Is it possible? If
yes, how?
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

let me see if I understand.

The new files you create  have the new creation date ?
.  and that is a problem :)
well

you could change your clock
or google  some 3rd party app like - Attribute Magic ( windozes )


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


Re: [FFmpeg-user] libfaac not found error

2016-02-04 Thread Jim Shupert



On 2/3/2016 8:54 PM, Jim Worrall wrote:

On 2016 Feb 2, at 12:22 PM, Чжо Зо Лвин  wrote:
I am a ffmpeg beginner on mac. I can't install on my computer. I attach a photo 
with e-mail. My error is libfaac not found. How can I solve this error.

According to https://trac.ffmpeg.org/wiki/Encode/AAC, you’re better off with 
libfdk_aac anyway.

If compiling libraries is a challenge, and you on a mac, I suggest using 
homebrew.  It’s an easy way to install all the dependencies, then you can build 
ffmpeg as desired.  Or you can use homebrew to install ffmpeg directly, and I 
think there are ways to specify what libraries you want with it.

For instance, this command installs all these dependencies.
brew install libogg libvorbis libgsm libvpx fdk-aac lame libass orc sdl yasm 
pkg-config x264 x265
It doesn’t get much easier than that.
___












Thanks for the cmd  for homebrew ...
I do not "mac much" but when i do - i brew.

:: note : I posted this  extra   extra  below so that it is extra extra 
- compliant.

laugh .. it is ok ... LaUGH
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Trying to cut 5 sec of beginning and ending of mp4 files Success!

2016-01-20 Thread Jim Shupert
I want to thank all that has submitted suggestions to me. I am guessing 
all of them are for Linux. I really only know Windows. I have loaded a 
laptop with Ubuntu. I think it will take me longer to learn that then to 
manually edit each end of each file using Avidemux. I really don’t even 
know what bash is. Sorry Guys, for being so stupid about Linux


Glad to hear that you have a solution

as as for linux..
it sounds like you've build a machine -- start using it.

in truth -- i find linux *easier - better
You might as well

and there is this . this list is very linux Centric ( i *think that 
is fair to say...)

so much wisdom is also "linux Centric"

best wishes
jS
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Trying to cut 5 sec of beginning and ending of mp4 files

2016-01-19 Thread Jim Shupert, Jr.

> Hi
>
> I am been trying almost every combination of switches to be able to cut 5
> sec from the start and 5 sec from the ending of variable length mp4 files.
>
> I have not been successful at doing either.  I guess I really don't
> understand the usage.  I have more than 100 files to do.
>
> Can anyone suggest a command string that will work?
>

read
https://www.ffmpeg.org/ffmpeg.html
about
-ss position
and
-t duration (input/output)

When used as an input option (before -i), limit the duration of data
read from the input file




so what you really want is a sh script to loop



5 sec fro top is easy cause they all start at 0
so approx something like : and you
ffmpeg -i < inFile> -ss 05.000 -vcodec $$  -acodec $$ 

you now have outFile  with the top 5 sec off

and I think you HAVE to reEncode to trim , or is that just for video
filters (-vf) ??

or can one do -codec copy -acodec copy :: reckon I am not sure - try it

so what you really want is a sh script to loop
and you have to get the total duration in seconds
subtract 5 sec from that
start at the top and and your new duration is ( totalSec- 5 sec

try some of this
## this is NOT a fuctioning sh script but a sketch
a copy & paste from some things I *have done
It may help you get started ( or be very wrong )


i think you strat 5 sec deep
with a ss- 5
and then you want your duration [ -t ]  to be 10 sec less that the running
time of the org
5 sec from top and then short another 5 - so as not all the way to end ..

#!/bin/bash
Src=
etn=mp4

###  for a file 2.mp4   I get seconds
##ffprobe -i 2.mp4 -show_entries format=duration -v quiet -of csv="p=0"
##yields
##865.365000
## but maybe you want to take just the whole sec
## so use some awk

cd $Src

for f in *.$etn ; do

durT=$(ffprobe -i $Src/$f -show_entries format=duration -v quiet -of
csv="p=0")

echo $durT
## get the whole sec NNN  of NNN.mmm
echo $durT | awk -F'.' '{print $1}'
durT1=$(echo $durT | awk -F'.' '{print $1}')

echo my sec = $durT1
## yields a number like so 865



durT=$(ffprobe -i $Src/$f -show_entries format=duration -v quiet -of
csv="p=0")

echo $durT
## get the whole sec NNN  of NNN.mmm
echo $durT | awk -F'.' '{print $1}'
durT1=$(echo $durT | awk -F'.' '{print $1}')

echo my sec = $durT1

#---/ do a subtract ..tot time in sec - 10 sec
durTless10=$(($durT1 - 600))
echo $durTless10

## i think is then your -t $durTless10

ffmpeg -ss 5 -i ${f%.*}.mp4 -t $durTless10 videocodec etc etc
${f%.*}_short.mp4


done



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


Re: [FFmpeg-user] Issue with install ffmepg

2016-01-11 Thread Jim Shupert





well

start over with this as guide
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

and if problems - respond here & be specific

best of luck
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] how to programitically close a ffplay event

2015-12-30 Thread Jim Shupert, Jr.

> On Wed, 30 Dec 2015 11:52:03 -0500
> "Jim Shupert, Jr."  wrote:
>
>> I am very much able to PLAY in the manner i wish but seem UNABLE  to end
>> a
>> ffplay event so that it can move forward to the next event.
>
> -autoexit


that WORKS!  so simple , so good
I am so thankful

in the possibility that this could serve another here is the script
it plays and "auto exits" moving along to next

thanks again!

#!/bin/bash
# ~~batch
# -
# ~
#---
#
#
#
---FROM < where the avis are . eg /media/data/cap
#Src=/media/data/cap
Src=/home/jshupert/Videos/t
job=playtest

etn=mp4
###--- the dir where the source avi are
cd $Src
echo$(date)   
__START_of_SESSIONj >>
~//01_logs/$job.txt
for f in *.$etn ; do

###-  play 1  for 5 sec from top

ffplay -t 00:00:05.000 -autoexit $Src/$f

###-  play 2  for 5 sec from 1 min
deep


ffplay -ss 00:01:00.000 -t 00:00:05.000 -autoexit $Src/$f

##-- rpt size
#vidSize=$(du -h $Src/${f%.*}.$etn)
###vidSize=$(du -h $Src/$f)
echo ${f%.*}$vidSize ## >> ~//01_logs/$job.txt

echo$(date) >> ~//01_logs/$job.txt
echo -- >> ~//01_logs/$job.txt
  echo " ---"
  echo " finished  - $f  -"


##-- make the checksum
###  md5sum -b /home/jshupert/Videos/t/Bug_Love_sjp.mp4 >
/home/jshupert/Videos/t/Bug_Love_sjp.mp4.md5

echo "doing CHKSUM for  $f"
#md5sum -b $Src/${f%.*} > $Src/${f%.*}_.md5
#md5sum -b $Src/${f%.*} > $Src/$f_.md5
#md5sum -b $Src/${f%.mp4} > $Src/$f.md5
md5sum -b $Src/$f > $Src/$f.md5


echo $f ok checksum  >> ~//01_logs/job_log.txt
echo$(date)   >> ~//01_logs/$job.txt





echo $f $(date) fin run ALL >> ~//01_logs/$job.txt
echo --- >> ~//01_logs/$job.txt
echo --- >> ~//01_logs/$job.txt
echo " ---"
echo " finished $f - nnn "


 - end
done

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


Re: [FFmpeg-user] how to programitically close a ffplay event

2015-12-30 Thread Jim Shupert, Jr.

> Jim Shupert, Jr.  theppsgroup.com> writes:
>
>> You will see where I have tried vatious methods to
>> kill ffplay.
>
> Just send SIGHUP to the FFplay process.
>
> Carl Eugen

if you mean kill -SIGHUP ffplay

in something like below...
It does not work

ffplay just waits

#!/bin/bash

###--- the dir where the mp4 are
Src=/home/jshupert/Videos/t

etn=mp4

cd $Src
for f in *.$etn ; do

###-  play 1  for 5 sec from top

ffplay -t 00:00:05.000 $Src/$f
# at this point ffplay just sits and waits
kill -SIGHUP ffplay


###-  play 2  for 5 sec from 1 min
deep
ffplay -ss 00:01:00.000 -t 00:00:05.000 $Src/$f


kill -SIGHUP ffplay

done

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


[FFmpeg-user] how to programitically close a ffplay event

2015-12-30 Thread Jim Shupert, Jr.

I am suspect that My question here will be judged as to broad or having to
do with a shell script and therefore be dismissed.
But , I am curious for a solution so I will ask anyway.

Any wisdom is welcomed. Thanks in advance.
Yes I realize this is a "hard one" , well-- it has been hard for me. ;)

I wish to loop through a directory of videos and play them in a specific way

( 1-for 5 seconds from the start , 2 then go 1 min deep and play for 5 sec )
my problem is I need to kill ffplay

I am very much able to PLAY in the manner i wish but seem UNABLE  to end a
ffplay event so that it can move forward to the next event.

It seems that ffplay stops at then end of 5 sec and then sits and waits.
If I do a control C in the shell or close the ffplay player only then does
the shell script move on.

You will see where I have tried vatious methods to kill ffplay.

My thought was
play file1 way 1
kill ffplay
play file 1 way 2
kill ffplay
and loop to next file
one thing I wish to populate a var $Myp
with the ffplay process id
I do not seem to be doing that right
Myp=$(ps aux | grep ffplay | grep -v grep | awk '{print $2}')



here is my script

#!/bin/bash
# ~~batch
# -
# ~
#---
#
#
#
---FROM < where the avis are . eg /media/data/cap
#Src=/media/data/cap
Src=/home/jshupert/Videos/t
job=playtest

etn=mp4
###--- the dir where the source avi are
cd $Src
echo$(date)   
__START_of_SESSIONj >>
~//01_logs/$job.txt
for f in *.$etn ; do

###-  play 1  for 5 sec from top
#./kll.sh
#~/00_script/tst/kll.sh
ffplay -t 00:00:05.000 $Src/$f

#Myp < ps aux | grep ffplay | grep -v grep | awk '{print $2}'

Myp=$(ps aux | grep ffplay | grep -v grep | awk '{print $2}')


### here are my many failed attempts to close so it can go to Next
###sleep 5s
##pkill ffplay
# kill -SIGKILL
#kill -SIGKILL $Myp
#kill -SIGKILL -sigspec $Myp
killall ffplay
echo aa
echo $Myp

---test for FF process
FFPLAYStillRunning="true"
while [ "$FFPLAYStillRunning" = "true" ]; do
Process=$(ps -C ffplay | grep -o -e "ffplay" )
if [ -n "$Process" ]; then
FFPLAYStillRunning="true"
else
FFPLAYStillRunning="false"
fi
sleep 2s
done
###-  play 2  for 5 sec from 1 min
deep

##  ./kll.sh &
ffplay -ss 00:01:00.000 -t 00:00:05.000 $Src/$f

sleep 5s
#kill -e -q ffplay
#kill -q ffplay
pkill ffplay
echo bbb

##-- rpt size
#vidSize=$(du -h $Src/${f%.*}.$etn)
###vidSize=$(du -h $Src/$f)
echo ${f%.*}$vidSize ## >> ~//01_logs/$job.txt

echo$(date) >> ~//01_logs/$job.txt
echo -- >> ~//01_logs/$job.txt
  echo " ---"
  echo " finished  - $f  -"


##-- make the checksum
###  md5sum -b /home/jshupert/Videos/t/Bug_Love_sjp.mp4 >
/home/jshupert/Videos/t/Bug_Love_sjp.mp4.md5

echo "doing CHKSUM for  $f"
#md5sum -b $Src/${f%.*} > $Src/${f%.*}_.md5
#md5sum -b $Src/${f%.*} > $Src/$f_.md5
#md5sum -b $Src/${f%.mp4} > $Src/$f.md5
md5sum -b $Src/$f > $Src/$f.md5


echo $f ok checksum  >> ~//01_logs/job_log.txt
echo$(date)   >> ~//01_logs/$job.txt





echo $f $(date) fin run ALL >> ~//01_logs/$job.txt
echo --- >> ~//01_logs/$job.txt
echo --- >> ~//01_logs/$job.txt
echo " ---"
echo " finished $f - nnn "


 - end
done



again, thanks for any wisdom

best regards

jim S

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


[FFmpeg-user] encrypted red files R3D

2015-10-09 Thread Jim Shupert, Jr.

Friends,

It is my understanding that ffmpeg could once upon a time work with red
camera files.[ fl.R3D ]
But the good folks at red have defeated that noble endeavor by encrypting
the files.

I do not find much info on this by my googling.
I wonder if anyone here knows more on this subject.


1-confirm that it is impossible with current red footage.
2-where is the point in time / version when that happened.
meaning- if I had older red footage would it work? How old?
3- what is the likelyhood that a counter measure could be employed?

Thanks

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


[FFmpeg-user] test 2

2015-09-22 Thread Jim Shupert

this is only a test
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] Converting a cassette audio tape (Lecture) to mp3

2015-07-16 Thread Jim Shupert

audacity
http://web.audacityteam.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] ffplay at half size by means of a math function

2015-07-01 Thread Jim Shupert



On 6/30/2015 5:32 PM, Lou wrote:

On Tue, 30 Jun 2015 17:17:39 -0400
Jim Shupert  wrote:


here is what i settled on. it works

ffplay -vf "scale=iw/2:ih/2" -i /media/data/zzz-s/NASA_logo.mov

Enhance laziness:

-vf "scale=iw/2:-1"

Also, you can remove the "-i" if you really wanted to be lazy.


aH
tis' a joY to be laZY
ya know we mortals have  only so many keystrokes  allotted  us.
the wise conserve them

thank you Lou
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] ffplay at half size by means of a math function

2015-06-30 Thread Jim Shupert



On 6/30/2015 3:25 PM, Dave P wrote:

On Jun 30, 2015 11:32 AM, "Jim Shupert, Jr." 
wrote:



Friends,

I wish to be able to play a file with ffplay but have it play at 1/2 the
real size

with -x NUM  -y NUM
I can control play size with
ffplay -x 640 -y 360 -i dog.avi
this works as hoped

but what I would really like to do is do some math on the file and scale
it down


with something like
ffplay -vf=scale=iw/2:ih/2 -i /media/data/zzz-s/NASA_logo.mov

You need a blank space after -vf

-vf scale=

oh my - that is humbling . Thank you dave P

here is what i settled on. it works

ffplay -vf "scale=iw/2:ih/2" -i /media/data/zzz-s/NASA_logo.mov



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


[FFmpeg-user] ffplay at half size by means of a math function

2015-06-30 Thread Jim Shupert, Jr.


Friends,

I wish to be able to play a file with ffplay but have it play at 1/2 the
real size

with -x NUM  -y NUM
I can control play size with
ffplay -x 640 -y 360 -i dog.avi
this works as hoped

but what I would really like to do is do some math on the file and scale
it down


with something like
ffplay -vf=scale=iw/2:ih/2 -i /media/data/zzz-s/NASA_logo.mov

my Goal is to have a means of scaling down 1080p  to a size that fits
nicely on my vga

 ffplay -vf=scale=iw/2:ih/2 -i /media/data/zzz-s/NASA_logo.mov
ffplay version git-2013-10-16-586b8ea Copyright (c) 2003-2013 the FFmpeg
developers
  built on Oct 16 2013 13:38:00 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --prefix=/home/j/ffmpeg_build
--extra-cflags=-I/home/j/ffmpeg_build/include
--extra-ldflags=-L/home/j/ffmpeg_build/lib --bindir=/home/j/bin
--extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac
--enable-libmp3lame --enable-libopus --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libfreetype --enable-libx264
--enable-nonfree --enable-x11grab
  libavutil  52. 46.101 / 52. 46.101
  libavcodec 55. 37.100 / 55. 37.100
  libavformat55. 19.102 / 55. 19.102
  libavdevice55.  4.100 / 55.  4.100
  libavfilter 3. 88.101 /  3. 88.101
  libswscale  2.  5.101 /  2.  5.101
  libswresample   0. 17.103 /  0. 17.103
  libpostproc52.  3.100 / 52.  3.100
Failed to set value '-i' for option 'vf=scale=iw/2:ih/2': Option not found



with video_size

 ffplay -video_size 320x240-i /media/data/zzz-s/NASA_logo.mov
ffplay version git-2013-10-16-586b8ea Copyright (c) 2003-2013 the FFmpeg
developers
  built on Oct 16 2013 13:38:00 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --prefix=/home/j/ffmpeg_build
--extra-cflags=-I/home/j/ffmpeg_build/include
--extra-ldflags=-L/home/j/ffmpeg_build/lib --bindir=/home/j/bin
--extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac
--enable-libmp3lame --enable-libopus --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libfreetype --enable-libx264
--enable-nonfree --enable-x11grab
  libavutil  52. 46.101 / 52. 46.101
  libavcodec 55. 37.100 / 55. 37.100
  libavformat55. 19.102 / 55. 19.102
  libavdevice55.  4.100 / 55.  4.100
  libavfilter 3. 88.101 /  3. 88.101
  libswscale  2.  5.101 /  2.  5.101
  libswresample   0. 17.103 /  0. 17.103
  libpostproc52.  3.100 / 52.  3.100
Option video_size not found.aq=0KB vq=0KB sq=0B f=0/0


Thanks

jim S

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


Re: [FFmpeg-user] what program to use to grab device and send to ffserver?

2015-06-23 Thread Jim Shupert


1) Install the Mac driver for BMD (BMD Desktop)


I assume you mean the standard desktop video driver (which is installed 
together with Media Express)?


2) Download the Decklink SDK (from 
https://www.blackmagicdesign.com/support/download/f3e35f03b97440c4893fdf7e0dfdf97c/Mac%20OS%20X)

Where should I unzip the sdks, does it matter?


3) Install all dependencies for FFMPEG (use Brew as explained in the FFMPEG 
compilation guide for Mac OS)
—> brew install automake fdk-aac git lame libass libtool libvorbis libvpx \
   opus sdl shtool texi2html theora wget x264 xvid yasm

If I’ve run brew before to install the stuff should I remove and reinstall?


4) Download FFMPEG from Git
—> git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
   cd ffmpeg
5) Prepare the configuration file (adapt according to your needs BUT 
—enable-deckling is required for BMD). Adapt the path for your Decklink SDK
—> ./configure  --prefix=/usr/local --enable-gpl --enable-nonfree 
--enable-libass \
--enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus \
--enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 
--enable-libxvid --enable-decklink 
--extra-cflags=-I/somepath/blackmagicsdk/Mac/include 
--extra-ldflags=-L/somepath/blackmagicsdk/Mac/include
6) If you use Mac OS X 10.9 or above, edit « config.mak »
—> vi config.mak
Remove all references to « -std=c99 » (there are 2)
7) Edit DeckLinkAPIDispatch.cpp (in /somepath/blackmagicsdk/Mac/include)
—> add the word "static" to the beginning of lines 56, 77, and 157
56: void InitDeckLinkAPI (void)
77: boolIsDeckLinkAPIPresent (void)
157: void InitBMDStreamingAPI(void)
8) Make && sudo make install

Now that FFMPEG in installed with Decklink support, you can get the audio-video 
stream from your BMD devices directly in FFMPEG.

Use the following commands:

ffmpeg -f decklink -list_devices 1 -i dummy
ffmpeg -f decklink -list_formats 1 -i ‘UltraStudio Mini Recorder’


If I wish to do this on a linux system [ ubuntu ]
do I need to edit

the DeckLinkAPIDispatch.cpp & config.mak

or simply

—enable-deckling in the config?

basically - what are the suggested steps?

thank you


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


Re: [FFmpeg-user] Private Options for prores-ks

2015-06-02 Thread Jim Shupert



On 6/2/2015 12:40 PM, Kevin Wells wrote:

The following media files are not optimized for Final Cut Pro

https://transcoding.wordpress.com/2012/01/29/prores-ffmpeg/
All that means is, that the file wasn’t compressed using FCP while as 
the file should work fine.


and indeed , in my experience , they are ok.



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


Re: [FFmpeg-user] Making conditional statements with FFMPEG

2015-04-30 Thread Jim Shupert



On 4/30/2015 8:22 AM, Chris Zecco wrote:

Thanks Moritz,

Would I enter this right into my command prompt, or would I create a separate file to run 
this statement from? I keep getting an error saying "File unexpected at this 
time". Apologies for any ignorance. I am new to using the command window, though I 
do have coding experience in php and java (though I am not sure that will help here). 
Thanks!
You might find it beneficial to have 1 dir in your home dir that you 
keep scripts

and add something like this

SrcDir=/media/BlahBlahpathtoVideoSourceFiles
cd $SrcDir

it will then "do" all in the dir BlahBlahpathtoVideoSourceFiles


---snip---
#!/bin/sh

SrcDir=/media/BlahBlahpathtoVideoSourceFiles
cd $SrcDir


for file in *; do
   SIZE=`stat -c %s "$file"`
   if [ $SIZE -gt 209715200 ]; then # > 200 MiB
 COMPRESSION_V="-b:v 1500k"
   elif [ $SIZE -ge 104857600 ]; then # >= 100 MiB
 COMPRESSION_V="-b:v 1100k"
   else # < 100 MiB
 COMPRESSION_V="-b:v 555k"
   fi

   ffmpeg -i "$file" $COMPRESSION_V -b:a 128k "$file".new.extensio
done
---snip---



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


Re: [FFmpeg-user] Different bitrates for videos and creation of manifest files

2015-02-15 Thread Jim Shupert, Jr.

> Hello,
>
> We have few videos, and we want generate different bitrates for those
> videos and create a manifest file for it..
> Could you please tell us the steps we need to use for this..
>
> Thank you,
> Ria
>

Friend Ria

It might be said that your request is to vague - not enough info.
so

lets proceed like this

1_ do you have ffmpeg installed / built ? can you run it?

2_ what are your "few videos"?
a desired answer would be like: we have dv25 in a mov or file.mp4 from a
camera

3_ what did you wish for in " different datarates"?

A good next step is for you to look at the documentation and examples.

Try to make "something" and paste all that here.

and we will see.

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


Re: [FFmpeg-user] Detecting blue frames.

2015-01-25 Thread Jim Shupert, Jr.
that is a most elegant solution . I look forward to giving it a go


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


Re: [FFmpeg-user] webm to mpg

2015-01-02 Thread jim shupert

On 15-01-02 06:40 AM, Ajtim wrote:

Hi!

I have still problem with converting youtube webm to mpg and than made a dvd
which doesn't plays good on dvd recorder on tv.
I use FreeBSD and ffmpeg is version:

ffmpeg version 2.3.5 Copyright (c) 2000-2014 the FFmpeg developers
   built on Dec  8 2014 17:34:03 with FreeBSD clang version 3.4.1
(tags/RELEASE_34/dot1-final 208032) 20140512
   configuration: --enable-libaacplus --disable-indev=alsa --disable-outdev=alsa
--enable-libopencore-amrnb --enable-libopencore-amrwb --disable-libass --
enable-libcdio --enable-libcelt --enable-libfaac --enable-libfdk-aac --enable-
ffserver --enable-fontconfig --enable-libfreetype --enable-frei0r --enable-
gnutls --enable-libgsm --enable-iconv --enable-libmp3lame --disable-libbluray
--enable-libv4l2 --enable-libmodplug --enable-openal --enable-libopencv --
enable-libopenjpeg --disable-openssl --enable-libopus --disable-libpulse --
disable-indev=pulse --disable-outdev=pulse --enable-librtmp --enable-
libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-
vdpau --enable-libvorbis --enable-libvo-aacenc --enable-libvo-amrwbenc --
enable-libvpx --enable-libx264 --disable-libx265 --enable-libxvid --
prefix=/usr/local --mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --
enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-
avresample --enable-pthreads --enable-memalign-hack --disable-libstagefright-
h264 --disable-libutvideo --disable-libsoxr --cc=cc --extra-cflags='-msse -
I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags='-
L/usr/local/lib ' --extra-libs=-pthread --disable-debug --enable-nonfree --
enable-version3
   libavutil  52. 92.100 / 52. 92.100
   libavcodec 55. 69.100 / 55. 69.100
   libavformat55. 48.100 / 55. 48.100
   libavdevice55. 13.102 / 55. 13.102
   libavfilter 4. 11.100 /  4. 11.100
   libavresample   1.  3.  0 /  1.  3.  0
   libswscale  2.  6.100 /  2.  6.100
   libswresample   0. 19.100 /  0. 19.100
   libpostproc52.  3.100 / 52.  3.100
Hyper fast Audio and Video encoder

I use:
ffmpeg -i xy.webm -aspect 16:9 -target ntsc-dvd dvd.mpg

than

dvdauthor -o dvd/ -t dvd.mpg

and after that

dvdauthor -o dvd/ -T

and finally burn dvd with growisofs

growisofs -Z /dev/blabla -dvd-video dvd/

About one year ago I didn't have a problem (I forgot version of ffmpeg) but now
I have.

Thanks in advance.


I am stuck by the mention of "..about a year ago ..no problem.."
maybe your problem is not w ffmpeg but dvdauthor

about --- a year ago --
a change in dvdauthor requires or i should say EXpects a tv standard 
declared


that is  are you PAL or NTSC?

as in

make a file in your home dir

echo NTSC > ~/.config/video_format

and then all dvds made by that user are NTSC

google
export VIDEO_FORMAT=NTSC

best wishes

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


Re: [FFmpeg-user] brew install ffmpeg on 10.10 Yosemite for wma to mp3 batch conv.

2014-11-22 Thread Jim Shupert, Jr.

> bash //
> brew install ffmpeg // seems to work
> cd folder with wmas
> for f in *.wma; do ffmpeg -y -i "$f" -c:a libfdk_aac -b:a 192k
> "${f%.wma}.m4a"; done;
> // try a script
> -> error  Unknown encoder  'libfdk_aac'
>
>
> any ideas?
>
>
the happiest solution would be that you simply do not have libfdk_aac
but DO have an alternative aac codec
try a

 ffmpeg -codecs | grep aac

and see what aac codecs you have






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


Re: [FFmpeg-user] Any ffmpeg plugin for image stabilization that handles walking tilt?

2014-10-14 Thread Jim Shupert

 friend Fernando

I do not have a direct reply to your questions.
But rather a comment - I have recently been reading about how the 
"softwear" of human perception that allows us to all "deal with" the 
shaking of our vision and how we smooth that out.

and and how that is defeated when we have objective video in the raster.
 ---  fascinating stuff how we throw away and filter our perception.

best of luck with your deshake.

maybe a pocket protector-steady cam device would be a solution ... ;)

for fun
http://www.journalofvision.org/content/13/13/20.full
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user