Re: [FFmpeg-user] Replacement for av_picture_crop() which is deprecated

2017-05-02 Thread Radhakrishnan Venugopal Rajaganesan
Sure, Thanks!

Regards,
Radhakrishnan

On Wed, May 3, 2017 at 1:35 AM, Lou  wrote:

> On Tue, 2 May 2017 17:15:30 +0530
> Radhakrishnan Venugopal Rajaganesan
>  wrote:
>
> > Hi,
> > I need to find replacement for av_picture_crop() function which is
> > deprecated in latest version. In comments (inside avcodec.h) it is
> > mentioned as 'deprecated unused'.
> > Is there any replacement for this? If not any suggestions to use other
> crop
> > functions?
>
> Wrong mailing list. ffmpeg-user is questions involving the FFmpeg cli
> tools (ffmpeg, ffplay, ffprobe, ffserver). Usage questions involving
> the FFmpeg libraries should be asked at libav-user.
> ___
> 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] Grab Firewire Camera on OSX

2017-05-02 Thread aws backup
Hi,

does anybody know how to grab a firewire camera on OS X 10.12?
It does not show up in the AVFoundation list but I can grab it with VLC and 
QuickTime.

Thank you.
Regards,
Robert

___
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] Wanted to batch convert mp3 folder for youtube.

2017-05-02 Thread Lou
On Mon, 1 May 2017 04:42:40 -0400
Mike King  wrote:

> I wanted to simply convert a folder of mp3's into a video with an image 
> in the folder as the video (simple youtube stuff) and found this line 
> that claims to do the trick
> 
> 
> for %i in (*.mp3) do ffmpeg -f image2 -loop 1 -i folder.jpg -framerate 60 ^
> -i "%i" -c:v libx264 -tune stillimage -c:a copy "%~ni.mp4"

We do not provide support for scripts here.

> but i get a red line of text in my CMD window saying Option Framerate 
> not found. Googling this problem has produced nothing i can perceive as 
> the answer.

1. Option placement location matters: options generally get applied to
the following input or output.

2. "-framerate" is an image demuxer option (among others), not a libx264
private option or general encoding option.

If you want 60 frames per second move "-framerate 60" before "-i
folder.jpg". However, I'm not sure why you need 60 fps for a video of a
still image.

The "-f image2" is superfluous here.

> I can provide screenshots if necessary but i didnt want to risk worrying 
> anyone with attachments from a stranger and breaching some protocol.

Screenshots should be avoided: the console output should be copied and
pasted instead.

I added your address to CC because you're not subscribed. There may be
other replies, so check the archives:


___
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] Assistance to merge audio and video files to network share

2017-05-02 Thread Lou
On Mon, 1 May 2017 13:32:24 +0400
 wrote:

> Hi Team, 
> 
>  
> 
> I have incorporated calling the ffmpeg process into my source code and it
> works fine when output file is on my local drive. However this does not work
> when I try to merge to a shared folder. Is this possible?
> 
> Please see my command below
> 
>  
> 
> Ffmpeg.exe  -i  audio.V3  -i  video.mp4  -shortest
> ftp://Admin:P*@192.168.***.**:21/testFolder/test.mp4 

You need to show the complete console output from your command.
___
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] Handling uncompressed10-bit YUYV 422 (packed)

2017-05-02 Thread Gavin Smith
It appears this may be wrong mailing list. Apologies.

  From: Gavin Smith 
 To: "ffmpeg-user@ffmpeg.org"  
 Sent: Tuesday, 2 May 2017, 21:03
 Subject: [FFmpeg-user] Handling uncompressed10-bit YUYV 422 (packed)
   
I've been a part-time user of ffmpeg (from the command line), and I'm now 
trying out the API/SDK to perform some processing.
One keen feature I'm interested in is being able to encode or decode using a 
packed 10-bit YUYV 422 pixel format.  Thus far, I have noticed the 
8-bits-per-component 'AV_PIX_FMT_YUYV422' pixel format but I have not seen a 
corresponding equivalent for 10-bits. I can appreciate that 10-bit formats are 
very awkward (CPU hardware is traditionally built for powers of 2).
Having searched the 'net, I've come across a few posts mentioning v210, but it 
appears to be referred to as a codec 
(http://obe.tv/about-us/obe-blog/item/21-faster-professional-10-bit-video-conversions).
  Any assistance would be much appreciated..

Environment:Ubuntu 17.04 (Zesty)GCC 6.3ffmpeg v3.2.4
___
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] Replacement for av_picture_crop() which is deprecated

2017-05-02 Thread Lou
On Tue, 2 May 2017 17:15:30 +0530
Radhakrishnan Venugopal Rajaganesan
 wrote:

> Hi,
> I need to find replacement for av_picture_crop() function which is
> deprecated in latest version. In comments (inside avcodec.h) it is
> mentioned as 'deprecated unused'.
> Is there any replacement for this? If not any suggestions to use other crop
> functions?

Wrong mailing list. ffmpeg-user is questions involving the FFmpeg cli
tools (ffmpeg, ffplay, ffprobe, ffserver). Usage questions involving
the FFmpeg libraries should be asked at libav-user.
___
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] Handling uncompressed10-bit YUYV 422 (packed)

2017-05-02 Thread Gavin Smith
I've been a part-time user of ffmpeg (from the command line), and I'm now 
trying out the API/SDK to perform some processing.
One keen feature I'm interested in is being able to encode or decode using a 
packed 10-bit YUYV 422 pixel format.  Thus far, I have noticed the 
8-bits-per-component 'AV_PIX_FMT_YUYV422' pixel format but I have not seen a 
corresponding equivalent for 10-bits. I can appreciate that 10-bit formats are 
very awkward (CPU hardware is traditionally built for powers of 2).
Having searched the 'net, I've come across a few posts mentioning v210, but it 
appears to be referred to as a codec 
(http://obe.tv/about-us/obe-blog/item/21-faster-professional-10-bit-video-conversions).
  Any assistance would be much appreciated..

Environment:Ubuntu 17.04 (Zesty)GCC 6.3ffmpeg v3.2.4
___
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] Wanted to batch convert mp3 folder for youtube.

2017-05-02 Thread Mike King
I wanted to simply convert a folder of mp3's into a video with an image 
in the folder as the video (simple youtube stuff) and found this line 
that claims to do the trick



for %i in (*.mp3) do ffmpeg -f image2 -loop 1 -i folder.jpg -framerate 60 ^
-i "%i" -c:v libx264 -tune stillimage -c:a copy "%~ni.mp4"

but i get a red line of text in my CMD window saying Option Framerate 
not found. Googling this problem has produced nothing i can perceive as 
the answer. nothing suggesting i spelled anything wrong (especially 
since i copy pasted it) and i am TERRIBLY fustrated. I always hated 
command line programs but this seems to be the only thing that lets me 
do what i am aiming to do. Everything else i saw in google results has a 
conversion option but nothing that lets me attach an image and do it to 
the entire mp3 contents of a folder. seems so simple but i have spent 3 
hours on this. any friendly advice on the probably obvious thing I'm 
doing wrong would really help me out. thank you


I can provide screenshots if necessary but i didnt want to risk worrying 
anyone with attachments from a stranger and breaching some protocol.





___
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] Assistance to merge audio and video files to network share

2017-05-02 Thread george
Hi Team, 

 

I have incorporated calling the ffmpeg process into my source code and it
works fine when output file is on my local drive. However this does not work
when I try to merge to a shared folder. Is this possible?

Please see my command below

 

Ffmpeg.exe  -i  audio.V3  -i  video.mp4  -shortest
ftp://Admin:P*@192.168.***.**:21/testFolder/test.mp4 

 

Regards, 

George Duncan

 

 

___
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 do I encode DVB Subtitles?

2017-05-02 Thread killer
hi i have the same problem  I am trying to add a subtitle to a ts file and i
trying this: ffmpeg -i example1.ts -i 1.sub -scodec dvbsub -acodec copy
-vcodec copy -metadata:s:2 language=esp output.ts. the problem is that the
ts is generated and ts file seems to contain the dvbsub because i have
analyzed with a tool called content analyzer but the subtitles dont appear.
sorry to disturbed you. i will really appreciate an answer, you can send me
the answer to manuelkille...@gmail.com 



--
View this message in context: 
http://www.ffmpeg-archive.org/How-do-I-encode-DVB-Subtitles-tp4651021p4679923.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
___
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] Avid opAtom trouble

2017-05-02 Thread Bouke (VideoToolShed)
- Original Message - 
From: "Carl Eugen Hoyos" 

To: "FFmpeg user questions" 
Sent: Tuesday, May 02, 2017 4:31 PM
Subject: Re: [FFmpeg-user] Avid opAtom trouble


2017-05-02 14:46 GMT+02:00 Bouke (VideoToolShed) 
:



Toying around with Avid opAtom mxf, generating test clips.
When I look at the clip in Avid, the bin info shows a raster dimension of
1920x1088, pixel aspect ratio of 1.007 (expected 1920x1080 / 1.000)
And of course, when editing the clip into a seqence, frameflex kicks in.

same line but output to Mov and AMA the clip in does give the
expected result.


What happens if you use FFmpeg to remux the working mov file
into mxf?


-vcodec copy NEEDS the FPS, or FFmpeg bitches. When I add -r 25, it does the 
re-wrap, but output gives the same trouble in Avid.



What happens if you use FFmpeg to remux the broken mxf file
into mov?


FFmpeg reports the frame size has changed from 1088 to 1080, and all is 
well.
(Except the UUID or something is copied over, so doing the dance twice to 
two filenames makes Avid refuse to import both, as it 'knows' it already...)


Nice details, with -vcodec copy also timecode comes across (From MXF to MOV 
and vice-versa.)

Also the interlace flag is set without issue.


Can you provide a working mxf file similar to the one FFmpeg
produces?


Yes, see here:
Download link
https://wetransfer.com/downloads/d35f135d397837227c965ee7b95ea7bf20170502152440/018e64f2872c5c6e4de8bca6e08ca3f620170502152440/fd3691


Note, this is an AVID generated mixdown of the (good) AMA linked MOV. Tc has 
changed to seqence TC (00:00:00:00)



(I believe I remember what the issue is but would like to
verify.)


Let me know if you need more, and thanks!

Bouke


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



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

___
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] Dimensions of the input video as a variable

2017-05-02 Thread Wolfgang Hugemann

ffprobe can be used to get width and height for the showwaves size
option.


This set me on the rigth track!
This is what my Windows batch file now looks like:

SET FFM="c:\programme\ffmpeg\bin\ffmpeg.exe"
SET FFP="C:\programme\ffmpeg\bin\ffprobe.exe"

for /f "tokens=5 delims==_" %%i in ('%FFP% -v error -of flat^=s^=_ 
-select_streams v:0 -show_entries stream^=width %1') do set W=%%i


for /f "tokens=5 delims==_" %%i in ('%FFP% -v error -of flat^=s^=_ 
-select_streams v:0 -show_entries stream^=height %1') do set H=%%i


%FFM% -y -i %1 -filter_complex 
"[0:a]showwaves=s=%W%x%H%:mode=line,format=rgba[waves];[0:v]setsar=1:1,format=rgba[video];[waves][video]blend=all_mode='addition'" 
-c:v libxvid -c:a copy %~dpn1_wav%~x1


---

The line breaks stem from sending this per e-mail.

Please note that the colour format must be set to rgba in order to make 
black background of the waves transparent.


Thanks a lot!
Wolfgang
___
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] Avid opAtom trouble

2017-05-02 Thread Carl Eugen Hoyos
2017-05-02 14:46 GMT+02:00 Bouke (VideoToolShed) :

> Toying around with Avid opAtom mxf, generating test clips.
> When I look at the clip in Avid, the bin info shows a raster dimension of
> 1920x1088, pixel aspect ratio of 1.007 (expected 1920x1080 / 1.000)
> And of course, when editing the clip into a seqence, frameflex kicks in.
>
> same line but output to Mov and AMA the clip in does give the
> expected result.

What happens if you use FFmpeg to remux the working mov file
into mxf?
What happens if you use FFmpeg to remux the broken mxf file
into mov?
Can you provide a working mxf file similar to the one FFmpeg
produces?
(I believe I remember what the issue is but would like to
verify.)

Carl Eugen
___
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] Avid opAtom trouble

2017-05-02 Thread Bouke (VideoToolShed)

Hi guys,
Toying around with Avid opAtom mxf, generating test clips.
When I look at the clip in Avid, the bin info shows a raster dimension of 
1920x1088, pixel aspect ratio of 1.007 (expected 1920x1080 / 1.000)

And of course, when editing the clip into a seqence, frameflex kicks in.

same line but output to Mov and AMA the clip in does give the expected 
result.


Am I missing something or is this a bug?

Next, what kind of metadata besides the clip name / timecode is supported?

thx,
Bouke

ffmpeg -f lavfi -i "testsrc=size=1920x1080:rate=25" -frames:v 10 -f 
mxf_opatom -vcodec dnxhd -pix_fmt yuv422p -vb 120M -timecode 
01:02:03:04 -metadata material_package_name="rastertest" -flags +ildct -top 
1 -y "M:\Avid Mediafiles\MXF\2\test.mxf"


ffmpeg version N-85653-gb4330a0 Copyright (c) 2000-2017 the FFmpeg 
developers

 built with gcc 6.3.0 (GCC)
 configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid 
--enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth 
--enable-bzlib --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-libopenh264  
--enable-libopenjpeg --enable-libopus --enable-librtmp --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-zlib

 libavutil  55. 61.100 / 55. 61.100
 libavcodec 57. 93.100 / 57. 93.100
 libavformat57. 72.101 / 57. 72.101
 libavdevice57.  7.100 / 57.  7.100
 libavfilter 6. 87.100 /  6. 87.100
 libswscale  4.  7.101 /  4.  7.101
 libswresample   2.  8.100 /  2.  8.100
 libpostproc54.  6.100 / 54.  6.100
Input #0, lavfi, from 'testsrc=size=1920x1080:rate=25':
 Duration: N/A, start: 0.00, bitrate: N/A
   Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1920x1080 
[SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc

Stream mapping:
 Stream #0:0 -> #0:0 (rawvideo (native) -> dnxhd (native))
Press [q] to stop, [?] for help
Output #0, mxf_opatom, to 'M:\Avid MediaFiles\MXF\2\tst1.mxf':
 Metadata:
   timecode: 01:02:03:04
   material_package_name: raster test
   encoder : Lavf57.72.101
   Stream #0:0: Video: dnxhd (DNXHD), yuv422p, 1920x1080 [SAR 1:1 DAR 
16:9], q=2-1024, 12 kb/s, 25 fps, 25 tbn, 25 tbc

   Metadata:
 encoder : Lavc57.93.100 dnxhd
frame=   10 fps=0.0 q=1.0 Lsize=5927kB time=00:00:00.40 
bitrate=121375.9kbits/s speed=2.38x
video:5920kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB 
muxing overhead: 0.110738%



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

___
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] Replacement for av_picture_crop() which is deprecated

2017-05-02 Thread Radhakrishnan Venugopal Rajaganesan
Hi,
I need to find replacement for av_picture_crop() function which is
deprecated in latest version. In comments (inside avcodec.h) it is
mentioned as 'deprecated unused'.
Is there any replacement for this? If not any suggestions to use other crop
functions?

Any help would be appreciated!

Thanks,
Krishnan
___
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] How do I have to change the .mp4-file?

2017-05-02 Thread gr743nb
I have an issue with a .mp4 file. My source file has the following 
specifications:mimeType="video/mp4" codecs="avc1.64001f,mp4a.40.2" width="1280" 
height="720" frameRate="25"How do I have to change or convert the file that I 
can play it on a device that supports the following codecs:File format: *.mp4; 
Container: MP4; Video codecs: H.264 BP/MP/HP up to 4096p x 2160p and max. 40 
Mbps Bitrate; Audio codecs: AAC, HE-AAC, MPEG(MP3)Thanks for your help
___
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".