Re: [FFmpeg-user] -c:v or -vcodec copy or -codec:v

2017-02-22 Thread DopeLabs
c:v is an abbreviated version of codec:v vcodec is an alias of codec:v So all 3 function the same, but are not limited to 'copy' only. It is used to specify the codec, or copy. For example ffmpeg -i INPUT -map 0 -c:v libx264 -c:a copy OUTPUT encodes all video streams with libx264 and copies a

Re: [FFmpeg-user] How do bitrate, FPS, and speed interact?

2017-02-22 Thread Moritz Barsnick
On Tue, Feb 21, 2017 at 19:03:09 -0800, christina zou wrote: > If I bump the bitrate to 1Mbps in both raspivid and FFMPEG, then FFMPEG's > stderr tells me that it hits 1Mbps, but the speed is reported around 0.67x > and my FPS is ~10, 2/3 of my target FPS. That probably means that encoding to 1 Mb

Re: [FFmpeg-user] -c:v or -vcodec copy or -codec:v

2017-02-22 Thread Moritz Barsnick
On Wed, Feb 22, 2017 at 04:58:12 -0800, DopeLabs wrote: > c:v is an abbreviated version of codec:v > vcodec is an alias of codec:v > > So all 3 function the same, but are not limited to 'copy' only. It is used to > specify the codec, or copy. (I don't find this confusing either. And the docs/wik

Re: [FFmpeg-user] -c:v or -vcodec copy or -codec:v

2017-02-22 Thread Cley Faye
2017-02-22 8:39 GMT+01:00 Tim Hiles : > What is the deal with all the different ways to copy? Do they all do the > same thing? Cause if not, it is NOT clear what they are and if soseems > like a lot of redundancy. > I ​'m not​ sure from what they come from, but they achieve the same thing. F

Re: [FFmpeg-user] How do bitrate, FPS, and speed interact?

2017-02-22 Thread christina zou
Maybe a more basic question: If Ffmpeg reports 8Mbps bitrate, 0.1x speed, 2FPS, does that mean it's actually sending 8Mbps or 800Kbps? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, vis

[FFmpeg-user] Udp recording

2017-02-22 Thread יוסף אלון
Hii I am trying to develop an ffmpeg udp recording in c. Do you know any example to help me with this? I sew a few example and trued ti understand with no success.. -- בברכה, יוסף אלון 050-4916740 ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org ht

[FFmpeg-user] cropping problem

2017-02-22 Thread Benjamin Houtman
Hello all, I'm trying to crop a video that has a large green stripe at the bottom. Using Cropdetect I've determined that the dimensions of the content for the video are 720:480, not the 720:576 it displays at. When I try to crop it two things happen (or don't happen, rather): A) It doesn't produc

[FFmpeg-user] Ffmpeg doesn't recognize /dev/video0 when run as root?

2017-02-22 Thread christina zou
If I run my FFMPEG command as root, it does not recognize /dev/video0 properly: 16:17:22 E: Opening an input file: /dev/video0. 16:17:22 E: [video4linux2,v4l2 @ 0x2dff610] fd:4 capabilities:101 16:17:22 E: [video4linux2,v4l2 @ 0x2dff610] The device does not support the streaming I/O method.

Re: [FFmpeg-user] Ffmpeg doesn't recognize /dev/video0 when run as root?

2017-02-22 Thread Reindl Harald
Am 22.02.2017 um 18:01 schrieb christina zou: If I run my FFMPEG command as root, it does not recognize /dev/video0 properly: 16:17:22 E: Opening an input file: /dev/video0. 16:17:22 E: [video4linux2,v4l2 @ 0x2dff610] fd:4 capabilities:101 16:17:22 E: [video4linux2,v4l2 @ 0x2dff610] The

Re: [FFmpeg-user] Ffmpeg doesn't recognize /dev/video0 when run as root?

2017-02-22 Thread christina zou
> better question - why would anybody start anything dangerous like multimedia encoders as root? maybe something like SELinux/appamor is protecting your from yourself You are probably right. I want a Ffmpeg command to automatically start when I boot my Pi, without any interfacing required (login/

Re: [FFmpeg-user] Ffmpeg doesn't recognize /dev/video0 when run as root?

2017-02-22 Thread Reindl Harald
Am 22.02.2017 um 18:07 schrieb christina zou: better question - why would anybody start anything dangerous like multimedia encoders as root? maybe something like SELinux/appamor is protecting your from yourself You are probably right. I want a Ffmpeg command to automatically start when I boo

Re: [FFmpeg-user] Ffmpeg doesn't recognize /dev/video0 when run as root?

2017-02-22 Thread christina zou
Thanks for the tip. To be honest, I'm hacking on a personal project for fun, security isn't really a concern. Raspberry Pi (which I'm using) recommends placing startup scripts in rc.local in its official documentation: https://www.raspberrypi.org/documentation/linux/usage/rc-local.md

Re: [FFmpeg-user] Ffmpeg doesn't recognize /dev/video0 when run as root?

2017-02-22 Thread Reindl Harald
Am 22.02.2017 um 18:17 schrieb christina zou: Thanks for the tip. To be honest, I'm hacking on a personal project for fun, security isn't really a concern. i better don't comment that attitude which leads to trained misbehavior in general Raspberry Pi (which I'm using) recommends pla

Re: [FFmpeg-user] cropping problem

2017-02-22 Thread Carles Vila
El 22 feb. 2017 16:46, "Benjamin Houtman" escribió: Hello all, I'm trying to crop a video that has a large green stripe at the bottom. Using Cropdetect I've determined that the dimensions of the content for the video are 720:480, not the 720:576 it displays at. When I try to crop it two things

[FFmpeg-user] decode a video with nvdec (nvidia video sdk 7.1) and ffmpeg

2017-02-22 Thread gofrane
How can I enable and use nvdec(nvidia video sdk 7.1) with ffmpeg to decode a video?? thank you -- View this message in context: http://www.ffmpeg-archive.org/decode-a-video-with-nvdec-nvidia-video-sdk-7-1-and-ffmpeg-tp4679258.html Sent from the FFmpeg-users mailing list archive at Nabble.co

Re: [FFmpeg-user] decode a video with nvdec (nvidia video sdk 7.1) and ffmpeg

2017-02-22 Thread Lou
On Wed, 22 Feb 2017 08:28:06 -0800 (PST) gofrane wrote: > How can I enable and use nvdec(nvidia video sdk 7.1) with ffmpeg to decode a > video?? Some examples here: http://trac.ffmpeg.org/wiki/HWAccelIntro#CUDACUVIDNvDecode ___ ffmpeg-user mailing list

[FFmpeg-user] Video and Audio is off-sync on Decklink SDI output

2017-02-22 Thread Tung Tran
Dear all I am testing to setup a decoder with ffmpeg, take live stream in (RTMP/HLS,.) and output to Decklink SDI. Its working but I have the issue of audio and video is off-sync on decklink SDI output, I tried to play around with vf setpts and af asetpts but couldnt make video/audio to sync. Any

Re: [FFmpeg-user] Video and Audio is off-sync on Decklink SDI output

2017-02-22 Thread Carl Eugen Hoyos
2017-02-22 23:32 GMT+01:00 Tung Tran : > * ffmpeg -i rtmp://something -vf "setpts=PTS-STARTPTS" -af > "asetpts=PTS-STARTPTS" -f decklink -pix_fmt uyvy422 "DeckLink SDI" * Complete, uncut console output missing. Why are you using filters? > Video and audio of input rtmp is synced on VLC or othe

Re: [FFmpeg-user] Is FATE testing video encoders?

2017-02-22 Thread Carl Eugen Hoyos
2017-02-22 5:43 GMT+01:00 Radhakrishnan Venugopal Rajaganesan : > So you mean FATE is testing only native features of ffmpeg. It > is not testing any external libraries like x264, x265 and others? Yes, the reason is that such a test would be technically impossible assuming that the external librar

Re: [FFmpeg-user] cropping problem

2017-02-22 Thread Carl Eugen Hoyos
2017-02-22 16:39 GMT+01:00 Benjamin Houtman : > ffmpeg -i /Volumes/VIDEO_1/2009-10-28-Cmp-Multi-1872-C1.mov -vf > "crop=720:480:0:0" -c:v libx264 -crf 15 -c:a copy > /Users/tbdcpreservation/Desktop/FFMpeg_output/crop.mov Complete, uncut console output missing. > No pixel format specified, yuv422p