18:03
I'm trying to convert audio streams to AAC in C++. FFplay plays everything fine (now) but VLC still has problems with one particular situation: 5.1(side). FFplay only plays it if I filter 5.1(side) to 5.1. Filtering to stereo or mono works well and as expected.
My setup right now is:
send packet
receive audio AVFrame
apply filter
resample to produce output AVFrame with 1024 samples (required by AAC)
send new audio frame
receive audio packet
Weirdly enough, using FFmpeg's CLI converts my file properly.
ffmpeg -i (...)
14:56
I can't build my project on Android ( on Ios it works and the project itself without ffmpeg_kit_flutter_new builds without problems )
This is the error i obtain:
/GeneratedPluginRegistrant.java:51: error: cannot find symbol
com.antonkarpenko.ffmpegkit.MainActivity.registerWith(shimPluginRegistry.registrarFor("com.antonkarpenko.ffmpegkit.MainActivity"));
^
symbol: class MainActivity
location: package com.antonkarpenko.ffmpegkit
This is my flutter doctor :
[✓] Flutter (Channel stable, 3.19.4, on macOS 15.4.1 24E263 darwin-x64, locale it-IT)
(...)
02:04
I'm trying to stream to mobile devices with ffmpeg and apache2.2 but I haven't been successful.
I used this command to create the segments and the playlist:
ffmpeg -i http://x.x.x.x:8080 -codec:v libx264 -r 25 -pix_fmt yuv420p -profile:v baseline -level 3 -b:v 500k -s 640x480 -codec:a aac -strict experimental -ac 2 -b:a 128k -movflags faststart -flags -global_header -map 0 -f hls -hls_time 10 -hls_list_size 5 -hls_allow_cache 0 -sc_threshold 0 -hls_flags delete_segments -hls_segment_filename out%05d.ts list.m3u8
The source is a http stream which (...)