Post has attachment
Hello,

Recently due to some changes in Android NDK, many people (including me) had problem building FFmpeg shared library with Latest NDK r16b and FFmpeg 3.4 Version. After 2 months of efforts and many unsuccessful attempts, I was able to build it successfully. So, I want to share the same so that others does not have to go through the same pain. Below are the links to GitHub Repository (for build files), GitHub Wiki page (for step by step Tutorial) and YouTube (video tutorial for the same):

GitHub Repo: https://github.com/ejoker88/FFmpeg-3.4-Android

Link to Wiki page (Complete step by step tutorial): https://github.com/ejoker88/FFmpeg-3.4-Android/wiki/Tutorial-:-FFmpeg-3.4-for-Android

Video Tutorial is also available at the YouTube Link: https://youtu.be/2OGbamEjYhc

Hi guys, i have a problem, i'm trying to setup ffmpeg to stream a still image or a video to you tube.
But no matter what settings i use i always get "BAD quality" in you tube.
FFmpeg command uses the -re param, and a very standard config.

But the stream after some time becomes "bad" for you tube.

Is there a why ffmpeg streams are seen always "bad" from you tube no matter what you do ?
The ffmpeg output is perfect btw, speed 1x, bitrate above 2500 and fps 25.

Thanks.

Post has attachment

I use ffmpeg to push h264 data to rtmp server.
It work ok, when i use nginx server.
but it works failed, when I use the third party server online.
The error info is Broken pipe, when invoking av_interleaved_write_frame( ).
Can anybody tell me why?

how to use ffmpeg send h264 and AAC to rtmp server ??

Post has shared content
OBS, SimpleScreenRecorder et ffmpeg supportent maintenant officiellement NVENC ! Sous Ubuntu, Linux Mint et dérivés !
Photo

Post has attachment
i have a problem about transcode with ffmpeg

i want to chang m3u8 to mp4, so i transcode every ts file first, and then concat them to a mp4, but i found that the duration will be bigger than source file.

source file is :
http://oc7iy3eta.bkt.clouddn.com/src_20.ts

after transcode, test file is:
http://oc7iy3eta.bkt.clouddn.com/test_20.ts

i use the command as bellow to change fps to be 5, and bitrate to be 400k:

sudo ffmpeg -analyzeduration 2147483647 -probesize 2147483647 -nostdin -y -v warning -i ./src_20.ts -threads 3 -movflags faststart -metadata:s:v rotate=0 -chunk_duration 520000 -video_track_timescale 25000 -pix_fmt yuv420p -copytb 1 -vcodec libx264 -b:v 400000 -minrate 400000 -maxrate 400000 -bufsize 500k -force_key_frames "expr:gte(t,n_forced*2)" -vsync 1 -r 5 -s 544*960 -acodec libfaac -async 1 ./test_20.ts

i use ffprobe command to see video info:

#source file info is :

Duration: 00:00:01.26, start: 28.346989, bitrate: 921 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 23 kb/s
Stream #0:1[0x101]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 544x960, 10.67 tbr, 90k tbn, 180k tbc


#test file is :

Input #0, mpegts, from 'test_20.ts':
Duration: 00:00:01.62, start: 1.576778, bitrate: 447 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 544x960, 5 fps, 5 tbr, 90k tbn, 10 tbc
Stream #0:1[0x101]: Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 5 kb/s

so , we can see that the duration of src file is 1.26s , but after transcode, the test file is 1.62s.

why? help

Post has attachment

Post has attachment

how can i keep m3u8 and ts file permanently? is there any method to convert it with ffmpeg?
Wait while more posts are being loaded