Re: [FFmpeg-user] Audio/video stream are out of sync?

2017-02-08 Thread christina zou
Thanks for the reply. I am using a little wifi module on my Pi Zero and want to send the minimum amount of data so I don't experience buffering and frame drops. So I am using 10 fps. I don't think my setup could handle 25-30 fps? Should I be adding in a param related to keyframes, though? It is i

Re: [FFmpeg-user] Audio/video stream are out of sync?

2017-02-08 Thread Erik Dobberkau
Am Donnerstag, 9. Februar 2017 schrieb christina zou : > I've made some progress thanks to advice from the IRC channel. I increased > my pipe max buffer size as high as I could: > > sysctl fs.pipe-max-size=1048576 > > I also lowered my video resolution and bitrate. > > Now, with the below command

Re: [FFmpeg-user] Audio/video stream are out of sync?

2017-02-08 Thread christina zou
I've made some progress thanks to advice from the IRC channel. I increased my pipe max buffer size as high as I could: sysctl fs.pipe-max-size=1048576 I also lowered my video resolution and bitrate. Now, with the below command I've managed 3 minutes of fully synced audio/video livestream to Yout

Re: [FFmpeg-user] Audio/video stream are out of sync?

2017-02-08 Thread christina zou
Carl, I spent a lot of time trying to use ffmpeg alone (alsa/v4l2), but it produces extreme stuttering on the audio track. Using my approach of writing to named pipes and sending those into ffmpeg, I add a bit of latency but ensure that there's no loss of frames. This was the approach suggested to

Re: [FFmpeg-user] Audio/video stream are out of sync?

2017-02-08 Thread Carl Eugen Hoyos
2017-02-08 22:57 GMT+01:00 christina zou : > *arecord -Dmic_sv -c2 -r48000 -fS32_LE -twav temp_audio.v & \* Why? (See below) > *raspivid -fps 10 -v -b 300 -o temp_video.h264 -t 0 & \* Is this not possible with ffmpeg alone? > ~/special/ffmpeg/ffmpeg* \* > *-framerate 10 \* > *-re \

Re: [FFmpeg-user] Size of cropped video segments

2017-02-08 Thread Carl Eugen Hoyos
2017-02-08 17:29 GMT+01:00 Chao Zhou : > I am cropping a video to 9 small segments with the command below: > > ffmpeg -i source.mp4 -filter_complex \ > "[0:v]crop=1/3*in_w:1/3*in_h:0:0[out1];[0:v]crop=1/3*in_w:1/3*in_h:1/3*in_w:0[out2];\ > [0:v]crop=1/3*in_w:1/3*in_h:2/3*in_w:0[out3];[0:v]crop=1/3

Re: [FFmpeg-user] default mpeg2 decoder

2017-02-08 Thread Carl Eugen Hoyos
2017-02-08 21:51 GMT+01:00 Haris Zukanovic : > Is it possible to designate a default decoder for mpeg2? > Concretly, I would like to get ffmpeg to use mpeg2_qsv instead of mpeg2video Either change the order of codecs in allcodecs.c or disable the internal decoder when running configure. Carl Eug

[FFmpeg-user] Audio/video stream are out of sync?

2017-02-08 Thread christina zou
Hi, I am trying to stream audio and video from my Pi to Youtube Live using FFMPEG. My stream's audio and video are not syncing, because the audio is perfectly realtime, but the video skips forward frequently. Here is an example streamed video: https://www.youtube.com/watch?v=Bz12pDbay0U My Pi's

[FFmpeg-user] default mpeg2 decoder

2017-02-08 Thread Haris Zukanovic
Hi everyone, Is it possible to designate a default decoder for mpeg2? Concretly, I would like to get ffmpeg to use mpeg2_qsv instead of mpeg2video on autodetect of such codec on input. thanx for any pointers Haris ___ ffmpeg-user mailing list ffmpeg-user

[FFmpeg-user] Size of cropped video segments

2017-02-08 Thread Chao Zhou
Hi team, I am cropping a video to 9 small segments with the command below: ffmpeg -i source.mp4 -filter_complex \ "[0:v]crop=1/3*in_w:1/3*in_h:0:0[out1];[0:v]crop=1/3*in_w:1/3*in_h:1/3*in_w:0[out2];\ [0:v]crop=1/3*in_w:1/3*in_h:2/3*in_w:0[out3];[0:v]crop=1/3*in_w:1/3*in_h:0:1/3*in_h[out4];\ [0:v]

Re: [FFmpeg-user] Audio cut when using select filter

2017-02-08 Thread Martin Ždila
On Wed, Feb 8, 2017 at 11:28 AM, Carl Eugen Hoyos wrote: > Is the issue reproducible with file input? > No > With video file and audio pulse input? > No > (With audio file and video grab input?) Yes ___ ffmpeg-user mailing list ffmpeg-user@ffmpe

Re: [FFmpeg-user] Audio cut when using select filter

2017-02-08 Thread Carl Eugen Hoyos
2017-02-08 11:19 GMT+01:00 Martin Ždila : > ffmpeg -y \ > -thread_queue_size 512 -video_size 800x600 -framerate 25 -f x11grab -i :0.0 > \ > -thread_queue_size 512 -f pulse -i default Is the issue reproducible with file input? With video file and audio pulse input? (With audio file and video

Re: [FFmpeg-user] Audio cut when using select filter

2017-02-08 Thread Martin Ždila
On Wed, Feb 8, 2017 at 11:09 AM, Carl Eugen Hoyos wrote: > Remove "-r 30" and provide both command line and complete, uncut > console output. > Let me please provide output of the example mentioned on StackOverflow which has no "-r 30": Example: ffmpeg -y \ -thread_queue_size 512 -video_size

Re: [FFmpeg-user] Audio cut when using select filter

2017-02-08 Thread Carl Eugen Hoyos
2017-01-17 17:15 GMT+01:00 Martin Ždila : > I am trying to grab a screen with audio, record it to mp4 file and also > extract 60th frame as jpeg: > > ffmpeg -hide_banner -y -thread_queue_size 512 -video_size 800x600 > -framerate 30 -r 30 -f x11grab -draw_mouse 0 -i :0.0 -thread_queue_size 512 > -f

Re: [FFmpeg-user] how to repeat to read the same flv file

2017-02-08 Thread Carl Eugen Hoyos
2017-02-08 7:52 GMT+01:00 qw : > I have one question about how to repeat to read the same flv file. It > means that, when reaching the end of the flv file, ffmpeg will switch > to the beginning of the same flv file and continue to push stream > without shutting down rtmp session. Command line and

Re: [FFmpeg-user] Fwd: live udp transcoding problem when using ffmpeg command line?

2017-02-08 Thread Carl Eugen Hoyos
2017-02-07 3:18 GMT+01:00 dj stava : > I use the ffmepg(version: 3.2.2 static) Please test current FFmpeg git head and provide your command line and at least the first 100 and the last 100 lines of console output, remove "-v error" from the command line. Carl Eugen _

Re: [FFmpeg-user] dav files

2017-02-08 Thread Carl Eugen Hoyos
2017-02-08 3:33 GMT+01:00 Rick Corteza : > I want to ask about the capabilities with ffmpeg and dav files. I know > that ffmpeg can convert the video, > but what if the dav file has audio? Please provide such a sample. Carl Eugen ___ ffmpeg-user maili

Re: [FFmpeg-user] ffserver support

2017-02-08 Thread Carl Eugen Hoyos
2017-02-07 21:18 GMT+01:00 Uma Sagar : > Hello! > > The post http://ffmpeg.org/index.html#news says ffserver program > will be dropped from next release. The most urgent issues have been resolved, atm ffserver will not be dropped. Carl Eugen ___ ffmpeg-