Re: [FFmpeg-user] FFmpeg audio frame count/nb_samples misunderstanding?

2020-01-03 Thread klongwood3
True. Having multiple -f options on the output section of the ffmpeg sender
command line is unnecessary and has been adjusted since originally posted.
Only the last one takes effect, but doesn't trigger an error.




--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] FFmpeg audio frame count/nb_samples misunderstanding?

2020-01-03 Thread Carl Eugen Hoyos
Am Mo., 9. Dez. 2019 um 20:04 Uhr schrieb klongwood3 :

> Sending:
> ffmpeg -re -f pulse -ac 1 -i default -f s16le -af 'ashowinfo' -f rtsp
> -rtsp_transport tcp rtsp://127.0.0.1:1234 -loglevel debug -report

This command line looks invalid, there are two output formats
specified.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] discord channel - https://discord.gg/vjNkh8t

2020-01-03 Thread Glenn W
Hi FFmpeg users,

For those who are interested, the *unofficial FFmpeg discord channel* has
grown to over 30 users. Usually at least 6 active at any given time. If
this format is of any interest, I encourage you to join with the attached
invite link .

Discord has some favorable properties which make it a good place to go for
help, including: native code snippets, video/screen sharing support, and
voice chat. Beyond that, I ask members to uphold a couple non-technical '
*features**'' *that I find important: be friendly. be respectful.

Thanks and hope to see you there.

Best,
Glenn
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] FFmpeg audio frame count/nb_samples misunderstanding?

2020-01-03 Thread klongwood3
After discussing with support within the #ffmpeg IRC channel, this approach
doesn't seem to be too reliable or consistent to keep track of frame count
from sender and receiver. A "frame" in ffmpeg at the decoding side is just
"however many samples the decoder decoded from one packet". The thing with
the audio the audio formats have packets that contain frames of differing
size so input and outputs can differ in count. 

It was recommended that if 100% sure that receiver will get all packets,
then I should check the count of packets fed to muxer, and then the count of
packets read from demuxer, those in theory should match. How ever on the
reciever end it was always missign a couple of packets that were not
repeated. This could be depended on how the sender was stopped, it might be
possible that there was some audio that passed through the filter chain but
didn't get encoded/sent.



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Can't get ffpmeg to add subtitles to mp4 files

2020-01-03 Thread Nicolas George
Richard DJE (12020-01-03):
> I then executed the following in order to add the subtitles

Doing it in two steps is a terrible idea, the image and sound are
degraded twice.

> *$ ffmpeg -report -i my.mp4 -vf subtitles=my.srt my_sub.mp4*

> The problem I am seeing is that no subtitle is displayed, at all.
> This seems to be confirmed with subtitle:*0*kB.

You won't go very far with a video filter on a file that does not
contain video.

> I also tried different subtitles' commands like
> 
> *$ ffmpeg -i my.pm4 -i my.srt -c copy -c:s mov_text my_sub.mp4*
> 
> But I end up with the exact same issue.

No, you ended up with a different issue that seems similar to you.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".