Re: [FFmpeg-user] output bitrate equal to expected bitrate

2017-04-14 Thread negin tebyani
after adding what you suggested, it seems that the bitrate has been equal to what I specified. mediainfo shows this: Bit rate mode: Constant Bit rate : 850 Kbps / 850 Kbps is this ok?? > Furthermore (let me google that for you: > http

Re: [FFmpeg-user] Create an AAC stream matching the Core Media Audio packet format / priming etc?

2017-04-14 Thread Marton Balint
On Sat, 15 Apr 2017, Carl Eugen Hoyos wrote: 2017-04-14 23:44 GMT+02:00 Mark Burton : I find it hard having to accept an encode will always play out of sync on certain players. Could you elaborate a little? So far, for every ticket, it either turned out that out-of-sync was not reproducible

Re: [FFmpeg-user] Create an AAC stream matching the Core Media Audio packet format / priming etc?

2017-04-14 Thread Carl Eugen Hoyos
2017-04-14 23:44 GMT+02:00 Mark Burton : > I find it hard having to accept an encode will always play out of > sync on certain players. Could you elaborate a little? So far, for every ticket, it either turned out that out-of-sync was not reproducible with MPlayer / vlc (and FFmpeg) or it was off-

Re: [FFmpeg-user] Create an AAC stream matching the Core Media Audio packet format / priming etc?

2017-04-14 Thread Mark Burton
> On 14 Apr 2017, at 22:22, Christian Ebert wrote: >>> Also, when you run with -v verbose, you'll see a delay (depends >>> on audio codec), for you case it's probably 1024. Maybe try: >>> >>> -filter:a aresample=first_pts=0,asetpts=PTS-STARTPTS+1024 >>> >>> Especially the latter could be exactl

Re: [FFmpeg-user] Create an AAC stream matching the Core Media Audio packet format / priming etc?

2017-04-14 Thread Christian Ebert
* Mark Burton on Friday, April 14, 2017 at 21:45:07 +0100 >> * Mark Burton on Friday, April 14, 2017 at 16:57:06 +0100 >>> Here is the basic command to reproduce. I have attached the uncut loglevel >>> 99 console output for this command: >>> ffmpeg -i SyncTest24p.mov -c:v libx264 -pix_fmt yuv420p

Re: [FFmpeg-user] Create an AAC stream matching the Core Media Audio packet format / priming etc?

2017-04-14 Thread Mark Burton
On 14 Apr 2017, 17:47 +0100, Christian Ebert , wrote: > * Mark Burton on Friday, April 14, 2017 at 16:57:06 +0100 > > I appreciate this is a tricky area and there appear to be different ways > > that some encoders create AAC streams with regards to the padding and > > remaining samples etc. I wo

Re: [FFmpeg-user] Create an AAC stream matching the Core Media Audio packet format / priming etc?

2017-04-14 Thread Christian Ebert
* Mark Burton on Friday, April 14, 2017 at 16:57:06 +0100 > I appreciate this is a tricky area and there appear to be different ways that > some encoders create AAC streams with regards to the padding and remaining > samples etc. I won’t pretend to fully understand all the factors, but I would >

[FFmpeg-user] Disable [PROGRAM] result

2017-04-14 Thread Simon G.
Hi! Here is my command: ffprobe -v error -show_entries stream=index:stream_tags=language myfile.mpg > test.csv And here is my result: program,stream,0 stream,1 stream,2 stream,3 stream,4 stream,5 stream,6 stream,0 stream,1,fra stream,2,ita stream,3,deu stream,4,eng stream,5,spa stream,6 here is

Re: [FFmpeg-user] hls_init_time problem

2017-04-14 Thread ? ?
Thx for reply. I use brew install the latest ffmpeg version 3.3 console log as below,rtsp stream without audio $ ffmpeg -rtsp_transport tcp -i rtsp://192.168.0.40/1/h264major -vcodec copy -acodec aac -hls_init_time 2 -hls_time 60 -hls_list_size 0 -hls_flags single_file+round_durations -hls_segm

Re: [FFmpeg-user] hls_init_time problem

2017-04-14 Thread Carl Eugen Hoyos
2017-04-14 10:46 GMT+02:00 ? ? : > ffmpeg -rtsp_transport tcp -i rtsp://192.168.0.40/1/h264major > -vcodec copy -acodec aac -hls_init_time 2 -hls_time 60 > -hls_list_size 0 -hls_flags +single_file+round_durations > -hls_segment_filename test.ts -t 3600 test.m3u8 Please test current FFmpeg git he

[FFmpeg-user] hls_init_time problem

2017-04-14 Thread ? ?
Hi, I’m record a stream from ip camera with H264 video encoding & PCMA audio encoding to m3u8 Ffmpeg version:3.2.4 OS:OSX Here is my command: ffmpeg -rtsp_transport tcp -i rtsp://192.168.0.40/1/h264major -vcodec copy -acodec aac -hls_init_time 2 -hls_time 60 -hls_list_size 0 -hls_flags +single