Re: [FFmpeg-user] [FFmpeg-devel] FFmpeg's HLS muxer's deprecation of the hls_wrap option
Dennis Mungai 于2024年1月22日 周一18:20写道: > On Mon, 22 Jan 2024 at 13:10, Steven Liu wrote: > > > Dennis Mungai 于2024年1月21日周日 00:42写道: > > > > > > > > > Perfect, and thanks for considering a revert of this deprecated > feature. > > > > Hi Dennis, > > > > Need more talk, Why don't try to use hls_flags > > +delete_segments+append_list. ? > > > > > > Thanks > > Steven > > > > As stated earlier, even with these flags, we cannot replicate the advantage No I don‘t think that is advantage, because hls_wrap can cover the old segments with same segment file name. And the deprecated warning has been there more than five years I think. > > of the deprecated -hls_wrap whereby the segment names remain constant. > append_list only omits the #EXT-EXT-ENDLIST tag. > ___ > ffmpeg-devel mailing list > ffmpeg-de...@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > ___ 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-devel] FFmpeg's HLS muxer's deprecation of the hls_wrap option
Dennis Mungai 于2024年1月21日周日 00:42写道: > > > Perfect, and thanks for considering a revert of this deprecated feature. Hi Dennis, Need more talk, Why don't try to use hls_flags +delete_segments+append_list. ? Thanks Steven ___ 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-devel] FFmpeg's HLS muxer's deprecation of the hls_wrap option
Dennis Mungai 于2024年1月20日 周六23:15写道: > On Sat, 20 Jan 2024, 6:09 pm Steven Liu, wrote: > > > Dennis Mungai 于2024年1月20日 周六21:02写道: > > > > > Hello, > > > > > > Is there a valid technical reason as to why FFmpeg's HLS muxer dropped > > the > > > hls_wrap option? > > > > > > eg. three player playing the list and every fragment less or equal 1 > second > > , > > 1. Player 1 from fragment1, fragment2 > > 2. Now Player 2 from fragment 1, fragment 2, > > 3. Now Player 3 from fragment 1, Fragment2 and Player 1 playing fragment > 3 > > 4. Network transport with player 3 get loss packet > > 5. Player 1 playing new fragment 1, new fragment 2 > > 6. Player 2 playing fragment 3 > > 7. Player 3 blocking always because the fragments are flashing too fast. > > > > So the commit message said it is not friendly to downstream users. > > > > I have no more better way to fix it with ffmpeg, but I think that commit > > can be revert if you want use hls_wrap. > > > > > > > There are many cases where the hls_wrap option remains critical so as > to > > > preserve the set of output file names without increments. This > > deprecation > > > breaks that. > > > > > > For now, this behavior can be worked around by switching to the segment > > > muxer and then setting the -segment_wrap option therein, but its' not > an > > > ideal solution. > > > > > > Kindly review this deprecation, with an appeal to revert the patchwork > > that > > > removed the hls_wrap option. > > > > > > Warm regards, > > > > > > Dennis. > > > > Steven, > > The option should've been left intact, *but* with a warning on its > implications on usage. Dennis, agreed with you, let me think about that. > Multiple ffmpeg flags have similar edge case impacts > when used improperly, eg -copyts and non monotonous timestamps, but they're > not deprecated; they're still in place. > > > Thanks Steven > > ___ > ffmpeg-devel mailing list > ffmpeg-de...@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > ___ 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-devel] FFmpeg's HLS muxer's deprecation of the hls_wrap option
Dennis Mungai 于2024年1月20日 周六21:02写道: > Hello, > > Is there a valid technical reason as to why FFmpeg's HLS muxer dropped the > hls_wrap option? eg. three player playing the list and every fragment less or equal 1 second , 1. Player 1 from fragment1, fragment2 2. Now Player 2 from fragment 1, fragment 2, 3. Now Player 3 from fragment 1, Fragment2 and Player 1 playing fragment 3 4. Network transport with player 3 get loss packet 5. Player 1 playing new fragment 1, new fragment 2 6. Player 2 playing fragment 3 7. Player 3 blocking always because the fragments are flashing too fast. So the commit message said it is not friendly to downstream users. I have no more better way to fix it with ffmpeg, but I think that commit can be revert if you want use hls_wrap. > There are many cases where the hls_wrap option remains critical so as to > preserve the set of output file names without increments. This deprecation > breaks that. > > For now, this behavior can be worked around by switching to the segment > muxer and then setting the -segment_wrap option therein, but its' not an > ideal solution. > > Kindly review this deprecation, with an appeal to revert the patchwork that > removed the hls_wrap option. > > Warm regards, > > Dennis. > ___ > ffmpeg-devel mailing list > ffmpeg-de...@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > ___ 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] ffserver in prod env
2018-03-24 0:48 GMT+08:00 Good Developer : > Is anybody using ffserver successfully in production environment? ffserver have been removed > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] QSV Hevc to HLS not segmenting?
2017-10-27 5:10 GMT+08:00 Carl Eugen Hoyos : > 2017-10-26 17:09 GMT+02:00 Markku Vainio : > >> OK, guess someone from Intel just fixed this. Can you check and test this >> out? >> >> https://software.intel.com/en-us/forums/intel-media-sdk/topic/746642 >> >> https://github.com/libav/libav/commit/98afe3fb71afd4a18009924aaba56bc577bbd400.patch > > Will you send this patch to the development mailing list? https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2017-July/213272.html i've send a patch some month ago, maybe Mark have some better way to fix it, so. Markku can test on newest version. > > Please cut your quotes, Carl Eugen > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] SEGMENT_TYPE_FMP4 with HLS_SINGLE_FILE
2017-07-31 12:37 GMT+08:00 pablo platt : > Shouldn't this say "hls->max_seg_size == 0" ? 0 is default value >> >> int byterange_mode = (hls->flags & HLS_SINGLE_FILE) || (hls->max_seg_size >> > 0); > > > How can I apply the patch and test it? > Can you please give command line example to test it? looks like mpegts's single_file : hls_flags single_file > > Thank you for the patch. > > > > On Mon, Jul 31, 2017 at 7:09 AM, Steven Liu wrote: >> >> 2017-07-25 15:20 GMT+08:00 pablo platt : >> > This is great. >> I have sent a new patch , you can check it:) >> https://patchwork.ffmpeg.org/patch/4526/ >> >> > Thank you. >> > >> > On Tue, Jul 25, 2017 at 9:21 AM, Steven Liu >> > wrote: >> > >> >> 2017-07-25 13:44 GMT+08:00 pablo platt : >> >> > Hi, >> >> > >> >> > A recent commit added fmp4 support for HLS [1] but byte-range or >> >> > single-file isn't supported [2]. >> >> > Being able to use a single mp4 file for both Dash and HLS will be >> >> > super >> >> > useful. >> >> > Any plans to add it? >> >> > What's missing? >> >> > Is mp4 different than mpegts in regards to byte-range support? >> >> Yes, of course, i will support single file later, maybe next week. >> >> > >> >> > [1] >> >> > >> >> > https://github.com/FFmpeg/FFmpeg/commit/274bd1670b9c85e24f37d08f9043dd >> >> 82e0a28c67 >> >> > >> >> > [2] https://patchwork.ffmpeg.org/patch/4221/ >> >> > >> >> > Thanks >> >> > ___ >> >> > ffmpeg-user mailing list >> >> > ffmpeg-user@ffmpeg.org >> >> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> >> > >> >> > To unsubscribe, visit link above, or email >> >> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". >> >> ___ >> >> ffmpeg-user mailing list >> >> ffmpeg-user@ffmpeg.org >> >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> >> >> >> To unsubscribe, visit link above, or email >> >> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". >> > ___ >> > ffmpeg-user mailing list >> > ffmpeg-user@ffmpeg.org >> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> > >> > To unsubscribe, visit link above, or email >> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] SEGMENT_TYPE_FMP4 with HLS_SINGLE_FILE
2017-07-25 15:20 GMT+08:00 pablo platt : > This is great. I have sent a new patch , you can check it:) https://patchwork.ffmpeg.org/patch/4526/ > Thank you. > > On Tue, Jul 25, 2017 at 9:21 AM, Steven Liu wrote: > >> 2017-07-25 13:44 GMT+08:00 pablo platt : >> > Hi, >> > >> > A recent commit added fmp4 support for HLS [1] but byte-range or >> > single-file isn't supported [2]. >> > Being able to use a single mp4 file for both Dash and HLS will be super >> > useful. >> > Any plans to add it? >> > What's missing? >> > Is mp4 different than mpegts in regards to byte-range support? >> Yes, of course, i will support single file later, maybe next week. >> > >> > [1] >> > https://github.com/FFmpeg/FFmpeg/commit/274bd1670b9c85e24f37d08f9043dd >> 82e0a28c67 >> > >> > [2] https://patchwork.ffmpeg.org/patch/4221/ >> > >> > Thanks >> > ___ >> > ffmpeg-user mailing list >> > ffmpeg-user@ffmpeg.org >> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> > >> > To unsubscribe, visit link above, or email >> > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". >> ___ >> ffmpeg-user mailing list >> ffmpeg-user@ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> >> To unsubscribe, visit link above, or email >> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] SEGMENT_TYPE_FMP4 with HLS_SINGLE_FILE
2017-07-25 13:44 GMT+08:00 pablo platt : > Hi, > > A recent commit added fmp4 support for HLS [1] but byte-range or > single-file isn't supported [2]. > Being able to use a single mp4 file for both Dash and HLS will be super > useful. > Any plans to add it? > What's missing? > Is mp4 different than mpegts in regards to byte-range support? Yes, of course, i will support single file later, maybe next week. > > [1] > https://github.com/FFmpeg/FFmpeg/commit/274bd1670b9c85e24f37d08f9043dd82e0a28c67 > > [2] https://patchwork.ffmpeg.org/patch/4221/ > > Thanks > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Restream RTSP to HLS using ffmpeg and ffserver
2017-06-07 23:31 GMT+07:00 Xu Chen : > Hello all, > > I am now trying to re-stream RTSP live stream to HLS, so that I can play it > on my webpage. > > The path will be: > VLC(read local .mp4 file and stream it using RTSP) —> ffmpge(re-stream it to > HLS and send it to ffserver) —> ffserver (boardcast the stream to Internet) > —> my webpage (play the stream) > > I can use the following command to re-stream RTSP to HLS and save to a local > file. How can I change the command and configure ffserver so that I can play > it on my webpage(using URL)? > > “ffmpeg -i rtsp://my-ip-address:8554/stream.ts -fflags flush_packets > -max_delay 1 -an -flags -global_header -hls_time 1 -hls_list_size 3 -hls_wrap > 3 -vcodec copy -y /var/video.m3u8” maybe the Nginx is better :) > > Thanks, > > Chen Xu > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] upscaling a single DASH segment
2017-05-22 17:26 GMT+08:00 Qian Li : > Hello, > > > I am a newbie of FFmpeg. I am trying to upscale a single video segment > (downloaded by a DASH client from a DASH server) to a higher resolution. I > tried the copy and scale filters, but both of them gave the following > errors: > > > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55f1d6eeb8e0] could not find corresponding > track id 1 > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55f1d6eeb8e0] could not find corresponding > trex > [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55f1d6eeb8e0] error reading header > BigBuckBunny_4s1.m4s: Invalid data found when processing input > > The following is the meta data of BigBuckBunny_4s1.m4s generated by mp4dump > > ?[styp] size=8+16 > [sidx] size=12+32 > reference_ID = 1 > timescale = 96 > earliest_presentation_time = 0 > first_offset = 0 > [moof] size=8+464 > [mfhd] size=12+4 > sequence number = 1 > [traf] size=8+440 > [tfhd] size=12+4, flags=2 > track ID = 1 > [tfdt] size=12+4 > base media decode time = 0 > [trun] size=12+396, flags=205 > sample count = 96 > data offset = 480 > first sample flags = 0 > [mdat] size=8+21112 > > The following is the meta data of the init.mp4 file > [ftyp] size=8+20 > major_brand = iso5 > minor_version = 1 > compatible_brand = avc1 > compatible_brand = dash > compatible_brand = iso5 > [free] size=8+50 > [moov] size=8+783 > ... > > Could you give me a hint on what is wrong and how to upscale a single DASH > segment? > which module do you using? ffmpeg dash muxer? or other? > > Thanks in advance! > > Best regards, > Qian > > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] hls_init_time problem
2017-04-27 15:05 GMT+08:00 白 桦 : > hmmm, i checked ffmpeg document again > > hls_init_time seconds > > Set the initial target segment length in seconds. Default value is 0. > Segment will be cut on the next key frame after this time has passed on the > first m3u8 list. After the initial playlist is filled ffmpeg will cut > segments at duration equal to hls_time > > i think i find the problem, maybe hls_init_time is not what i want > > as you know, in order to open his video as fast as possible > i need the first segment to be a small size > > so, i just need the first segment to be 2 seconds or 5 seconds and every > segment after it can be 60 seconds (larger than the first one as the video > play has always begun) > > does ffmpeg has some options like this? > Not yet now, maybe you can try -f segment, maybe it can do that. > > > > On 26 Apr 2017, at 7:53 AM, Steven Liu lingjiujia...@gmail.com>> wrote: > > 2017-04-14 16:46 GMT+08:00 ? ? closezl...@outlook.com>>: > > 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_file+round_durations > -hls_segment_filename test.ts -t 3600 test.m3u8 > > But in the m3u8 file,every segment entry’s duration is 2 seconds > > Which part did I do wrong? > > you should not use both -hls_init_time 2 and -hls_list_size 0, > -hls_init_time 2 is enabled on first hls m3u8 window(before sequence(# > EXT-X-MEDIA-SEQUENCE) value change.) > > > Thx in advance! > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org<mailto:ffmpeg-user@ffmpeg.org> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org<mailto:ffmpeg-user@ffmpeg.org> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] hls_init_time problem
2017-04-14 16:46 GMT+08:00 ? ? : > 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_file+round_durations > -hls_segment_filename test.ts -t 3600 test.m3u8 > > But in the m3u8 file,every segment entry’s duration is 2 seconds > > Which part did I do wrong? > you should not use both -hls_init_time 2 and -hls_list_size 0, -hls_init_time 2 is enabled on first hls m3u8 window(before sequence(# EXT-X-MEDIA-SEQUENCE) value change.) > > Thx in advance! > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://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-devel] about audio echo noise
2012-11-30 2:17 GMT+08:00 Lou Logan : > On Thu, 29 Nov 2012 14:20:41 +0800, tom wrote: > > > when using ffmpeg for live-streaming from audio device in conference env, > > voice echo happened. > > Is there an AEC filter for audio input device? > > > > best regards > > Tom > > User support questions should be asked on the ffmpeg-user mailing list. > > There is no echo cancellation filter in ffmpeg AFAIK. > ___ > ffmpeg-devel mailing list > ffmpeg-de...@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel > Hi guys, What about now? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] can agate clean the aecho
Hi guys, I have add audio echo to a audio stream, ffmpeg -i input.wav -af "aecho=0.8:0.9:1000:0.3" output.aac now i want to disable the audio echo from output.aac can agate disable it? i can not found any example from document. Thanks ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] QSV Hevc to HLS not segmenting?
2017-02-18 10:43 GMT+08:00 Steven Liu : > > > 2017-02-17 23:22 GMT+08:00 Markku Vainio : > >> >> > >> > >> > -Original Message- >> > From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of >> > Steven Liu >> > Sent: 16. helmikuutata 2017 8:53 >> > To: FFmpeg user questions >> > Subject: Re: [FFmpeg-user] QSV Hevc to HLS not segmenting? >> > >> > 2017-02-15 18:42 GMT+08:00 Markku Vainio : >> > >> > > >> > > >> > > Console output says: >> > > >> > > > GopPicSize: 25; GopRefDist: 9; GopOptFlag: closed ; IdrInterval: 0 >> > > >> > > Should this be enough for getting closed GOP or do I need to add >> > > something more in my command sequence? >> > > >> > > Thanks! >> >> >> > > From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf >> > > Of Steven Liu >> > > Sent: 15. helmikuutata 2017 11:32 >> > > > >> > > > When creating long segments with libx264 and compare result in >> > > > hevcesbrowser I can see that before I-Slice: >> > > > >> > > > x265: >> > > > >> > > > NAL_AUD >> > > > NAL_VPS >> > > > NAL_SPS >> > > > NAL_PPS >> > > > NAL_SEI_PREFIX >> > > > NAL_CRA_NUT = I Slice >> > > > NAL_VPS >> > > > >> > > > >> > > > But in QSV encoded its just: >> > > > >> > > > NAL_AUD >> > > > NAL_CRA_NUT = I Slice >> > > > NAL_VPS >> > > > >> > > > Are VPS, SPS, PPS and SEI needed for segmenting? If this is the >> > > > problem is there a workaround? >> > > > >> > > > >> > > > OpenGOP? >> > > maybe closegop will be ok. >> > > >> > > > Behalf Of Markku Vainio >> > > > Sent: 13. helmikuutata 2017 16:06 >> > > > To: FFmpeg user questions >> > > > Subject: [FFmpeg-user] QSV Hevc to HLS not segmenting? >> > > > >> > > > Hello, >> > > > >> > > > >> > > > Encoding with hevc_qsv results only one large 0.ts. It seems >> > > > to me that ffmpeg is unable to split QSV encoded HEVC stream. >> > > > (Intel Core i7-6770HQ, Iris Pro 580, W10) >> > > > >> > > > ffmpeg -y -i alasin.mp4 -vf yadif=0 -c:v hevc_qsv -load_plugin >> > > > hevc_hw -g >> > > > 25 -q 20 -preset slow -pix_fmt nv12 -c:a aac -ac 2 -hls_time 2 >> > > > -hls_wrap >> > > > 1 -hls_segment_filename "%%05d.ts" index.m3u8 >> > > > >> > > > >> > > > >> > > > With libx265 splitting works fine. I also successfully tested >> h264_qsv. >> > > > >> > > > ffmpeg -y -i masteri.mov -vf yadif=0 -c:v libx265 -g 25 -q 20 >> > > > -preset slow -c:a aac -ac 2 -hls_time 2 -hls_wrap 1 >> > > > -hls_segment_filename >> > > "%%05d.ts" >> > > > index.m3u8 >> > > > >> > > > >> > > > Am I doing something wrong here or is the HEVC stream coming from >> > > > QSV missing some information that is needed for splitting at GOP >> > boundary? >> > > > >> > > > >> > > > C:\!!>ffmpeg -y -i alasin.mp4 -vf yadif=0 -c:v hevc_qsv >> > > > -load_plugin hevc_hw -g 25 -q 20 -preset slow -pix_fmt nv12 -c:a >> > > > aac -ac 2 -hls_time 2 -hls_wrap 1 -hls_segment_filename >> "%05d.ts" >> > > > index.m3u8 -loglevel verbose ffmpeg version N-83410-gb1e2192 >> > > > Copyright (c) >> > > > 2000-2017 the FFmpeg developers >> > > > built with gcc 5.4.0 (GCC) >> > > > configuration: --enable-gpl --enable-version3 --enable-cuda >> > > > --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx >> > > > --enable-nvenc --enable-avisynth --enable-bzlib >> > > > --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv >> > > > --enable-libass --enable-libbluray --enable-libbs2b >> > > > --enable-libcaca --enable-libfreetype --enable-libgme >> > > > --enable-libgsm --enable-libilbc --enable-libmodplug >> >
Re: [FFmpeg-user] QSV Hevc to HLS not segmenting?
2017-02-17 23:22 GMT+08:00 Markku Vainio : > > > > > > > -Original Message- > > From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of > > Steven Liu > > Sent: 16. helmikuutata 2017 8:53 > > To: FFmpeg user questions > > Subject: Re: [FFmpeg-user] QSV Hevc to HLS not segmenting? > > > > 2017-02-15 18:42 GMT+08:00 Markku Vainio : > > > > > > > > > > > Console output says: > > > > > > > GopPicSize: 25; GopRefDist: 9; GopOptFlag: closed ; IdrInterval: 0 > > > > > > Should this be enough for getting closed GOP or do I need to add > > > something more in my command sequence? > > > > > > Thanks! > > > > > From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf > > > Of Steven Liu > > > Sent: 15. helmikuutata 2017 11:32 > > > > > > > > When creating long segments with libx264 and compare result in > > > > hevcesbrowser I can see that before I-Slice: > > > > > > > > x265: > > > > > > > > NAL_AUD > > > > NAL_VPS > > > > NAL_SPS > > > > NAL_PPS > > > > NAL_SEI_PREFIX > > > > NAL_CRA_NUT = I Slice > > > > NAL_VPS > > > > > > > > > > > > But in QSV encoded its just: > > > > > > > > NAL_AUD > > > > NAL_CRA_NUT = I Slice > > > > NAL_VPS > > > > > > > > Are VPS, SPS, PPS and SEI needed for segmenting? If this is the > > > > problem is there a workaround? > > > > > > > > > > > > OpenGOP? > > > maybe closegop will be ok. > > > > > > > Behalf Of Markku Vainio > > > > Sent: 13. helmikuutata 2017 16:06 > > > > To: FFmpeg user questions > > > > Subject: [FFmpeg-user] QSV Hevc to HLS not segmenting? > > > > > > > > Hello, > > > > > > > > > > > > Encoding with hevc_qsv results only one large 0.ts. It seems > > > > to me that ffmpeg is unable to split QSV encoded HEVC stream. > > > > (Intel Core i7-6770HQ, Iris Pro 580, W10) > > > > > > > > ffmpeg -y -i alasin.mp4 -vf yadif=0 -c:v hevc_qsv -load_plugin > > > > hevc_hw -g > > > > 25 -q 20 -preset slow -pix_fmt nv12 -c:a aac -ac 2 -hls_time 2 > > > > -hls_wrap > > > > 1 -hls_segment_filename "%%05d.ts" index.m3u8 > > > > > > > > > > > > > > > > With libx265 splitting works fine. I also successfully tested > h264_qsv. > > > > > > > > ffmpeg -y -i masteri.mov -vf yadif=0 -c:v libx265 -g 25 -q 20 > > > > -preset slow -c:a aac -ac 2 -hls_time 2 -hls_wrap 1 > > > > -hls_segment_filename > > > "%%05d.ts" > > > > index.m3u8 > > > > > > > > > > > > Am I doing something wrong here or is the HEVC stream coming from > > > > QSV missing some information that is needed for splitting at GOP > > boundary? > > > > > > > > > > > > C:\!!>ffmpeg -y -i alasin.mp4 -vf yadif=0 -c:v hevc_qsv > > > > -load_plugin hevc_hw -g 25 -q 20 -preset slow -pix_fmt nv12 -c:a > > > > aac -ac 2 -hls_time 2 -hls_wrap 1 -hls_segment_filename "%05d.ts" > > > > index.m3u8 -loglevel verbose ffmpeg version N-83410-gb1e2192 > > > > Copyright (c) > > > > 2000-2017 the FFmpeg developers > > > > built with gcc 5.4.0 (GCC) > > > > configuration: --enable-gpl --enable-version3 --enable-cuda > > > > --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx > > > > --enable-nvenc --enable-avisynth --enable-bzlib > > > > --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv > > > > --enable-libass --enable-libbluray --enable-libbs2b > > > > --enable-libcaca --enable-libfreetype --enable-libgme > > > > --enable-libgsm --enable-libilbc --enable-libmodplug > > > > --enable-libmp3lame --enable-libopencore-amrnb > > > > --enable-libopencore-amrwb > > > > --enable-libopenh264 --enable-libopenjpeg --enable-libopus > > > > --enable-librtmp --enable-libsnappy --enable-libsoxr > > > > --enable-libspeex --enable-libtheora --enable-libtwolame > > > > --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis > > > > --enable-libvpx --enable-libwavpack --enable-libw
Re: [FFmpeg-user] QSV Hevc to HLS not segmenting?
2017-02-16 17:23 GMT+08:00 Markku Vainio : > > > > -Original Message- > From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of > Steven Liu > Sent: 16. helmikuutata 2017 8:53 > To: FFmpeg user questions > Subject: Re: [FFmpeg-user] QSV Hevc to HLS not segmenting? > > 2017-02-15 18:42 GMT+08:00 Markku Vainio : > > > > > > > Console output says: > > > > > GopPicSize: 25; GopRefDist: 9; GopOptFlag: closed ; IdrInterval: 0 > > > > Should this be enough for getting closed GOP or do I need to add > > something more in my command sequence? > > > > Thanks! > > > > > > > > > > -Original Message- > > From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of > > Steven Liu > > Sent: 15. helmikuutata 2017 11:32 > > To: FFmpeg user questions > > Subject: Re: [FFmpeg-user] QSV Hevc to HLS not segmenting? > > > > 2017-02-14 20:15 GMT+08:00 Markku Vainio : > > > > > > > > When creating long segments with libx264 and compare result in > > > hevcesbrowser I can see that before I-Slice: > > > > > > x265: > > > > > > NAL_AUD > > > NAL_VPS > > > NAL_SPS > > > NAL_PPS > > > NAL_SEI_PREFIX > > > NAL_CRA_NUT = I Slice > > > NAL_VPS > > > > > > > > > But in QSV encoded its just: > > > > > > NAL_AUD > > > NAL_CRA_NUT = I Slice > > > NAL_VPS > > > > > > Are VPS, SPS, PPS and SEI needed for segmenting? If this is the > > > problem is there a workaround? > > > > > > > > > OpenGOP? > > maybe closegop will be ok. > > > > > > > > > > > -Original Message- > > > From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf > > > Of Markku Vainio > > > Sent: 13. helmikuutata 2017 16:06 > > > To: FFmpeg user questions > > > Subject: [FFmpeg-user] QSV Hevc to HLS not segmenting? > > > > > > Hello, > > > > > > > > > Encoding with hevc_qsv results only one large 0.ts. It seems to > > > me that ffmpeg is unable to split QSV encoded HEVC stream. (Intel > > > Core i7-6770HQ, Iris Pro 580, W10) > > > > > > ffmpeg -y -i alasin.mp4 -vf yadif=0 -c:v hevc_qsv -load_plugin > > > hevc_hw -g > > > 25 -q 20 -preset slow -pix_fmt nv12 -c:a aac -ac 2 -hls_time 2 > > > -hls_wrap > > > 1 -hls_segment_filename "%%05d.ts" index.m3u8 > > > > > > > > > > > > With libx265 splitting works fine. I also successfully tested h264_qsv. > > > > > > ffmpeg -y -i masteri.mov -vf yadif=0 -c:v libx265 -g 25 -q 20 > > > -preset slow -c:a aac -ac 2 -hls_time 2 -hls_wrap 1 > > > -hls_segment_filename > > "%%05d.ts" > > > index.m3u8 > > > > > > > > > Am I doing something wrong here or is the HEVC stream coming from > > > QSV missing some information that is needed for splitting at GOP > boundary? > > > > > > > > > C:\!!>ffmpeg -y -i alasin.mp4 -vf yadif=0 -c:v hevc_qsv -load_plugin > > > hevc_hw -g 25 -q 20 -preset slow -pix_fmt nv12 -c:a aac -ac 2 > > > -hls_time 2 -hls_wrap 1 -hls_segment_filename "%05d.ts" > > > index.m3u8 -loglevel verbose ffmpeg version N-83410-gb1e2192 > > > Copyright (c) > > > 2000-2017 the FFmpeg developers > > > built with gcc 5.4.0 (GCC) > > > configuration: --enable-gpl --enable-version3 --enable-cuda > > > --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx > > > --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig > > > --enable-frei0r --enable-gnutls --enable-iconv --enable-libass > > > --enable-libbluray --enable-libbs2b --enable-libcaca > > > --enable-libfreetype --enable-libgme --enable-libgsm > > > --enable-libilbc --enable-libmodplug --enable-libmp3lame > > > --enable-libopencore-amrnb --enable-libopencore-amrwb > > > --enable-libopenh264 --enable-libopenjpeg --enable-libopus > > > --enable-librtmp --enable-libsnappy --enable-libsoxr > > > --enable-libspeex --enable-libtheora --enable-libtwolame > > > --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis > > > --enable-libvpx --enable-libwavpack --enable-libwebp > > > --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid > > > --enable-libzimg --enable-lzma --enable-decklink --enable-zlib &g
Re: [FFmpeg-user] QSV Hevc to HLS not segmenting?
2017-02-15 18:42 GMT+08:00 Markku Vainio : > > > Console output says: > > > GopPicSize: 25; GopRefDist: 9; GopOptFlag: closed ; IdrInterval: 0 > > Should this be enough for getting closed GOP or do I need to add something > more in my command sequence? > > Thanks! > > > > > -Original Message- > From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of > Steven Liu > Sent: 15. helmikuutata 2017 11:32 > To: FFmpeg user questions > Subject: Re: [FFmpeg-user] QSV Hevc to HLS not segmenting? > > 2017-02-14 20:15 GMT+08:00 Markku Vainio : > > > > > When creating long segments with libx264 and compare result in > > hevcesbrowser I can see that before I-Slice: > > > > x265: > > > > NAL_AUD > > NAL_VPS > > NAL_SPS > > NAL_PPS > > NAL_SEI_PREFIX > > NAL_CRA_NUT = I Slice > > NAL_VPS > > > > > > But in QSV encoded its just: > > > > NAL_AUD > > NAL_CRA_NUT = I Slice > > NAL_VPS > > > > Are VPS, SPS, PPS and SEI needed for segmenting? If this is the > > problem is there a workaround? > > > > > > OpenGOP? > maybe closegop will be ok. > > > > > > > -Original Message- > > From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of > > Markku Vainio > > Sent: 13. helmikuutata 2017 16:06 > > To: FFmpeg user questions > > Subject: [FFmpeg-user] QSV Hevc to HLS not segmenting? > > > > Hello, > > > > > > Encoding with hevc_qsv results only one large 0.ts. It seems to > > me that ffmpeg is unable to split QSV encoded HEVC stream. (Intel Core > > i7-6770HQ, Iris Pro 580, W10) > > > > ffmpeg -y -i alasin.mp4 -vf yadif=0 -c:v hevc_qsv -load_plugin hevc_hw > > -g > > 25 -q 20 -preset slow -pix_fmt nv12 -c:a aac -ac 2 -hls_time 2 > > -hls_wrap > > 1 -hls_segment_filename "%%05d.ts" index.m3u8 > > > > > > > > With libx265 splitting works fine. I also successfully tested h264_qsv. > > > > ffmpeg -y -i masteri.mov -vf yadif=0 -c:v libx265 -g 25 -q 20 -preset > > slow -c:a aac -ac 2 -hls_time 2 -hls_wrap 1 -hls_segment_filename > "%%05d.ts" > > index.m3u8 > > > > > > Am I doing something wrong here or is the HEVC stream coming from QSV > > missing some information that is needed for splitting at GOP boundary? > > > > > > C:\!!>ffmpeg -y -i alasin.mp4 -vf yadif=0 -c:v hevc_qsv -load_plugin > > hevc_hw -g 25 -q 20 -preset slow -pix_fmt nv12 -c:a aac -ac 2 > > -hls_time 2 -hls_wrap 1 -hls_segment_filename "%05d.ts" index.m3u8 > > -loglevel verbose ffmpeg version N-83410-gb1e2192 Copyright (c) > > 2000-2017 the FFmpeg developers > > built with gcc 5.4.0 (GCC) > > configuration: --enable-gpl --enable-version3 --enable-cuda > > --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx > > --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig > > --enable-frei0r --enable-gnutls --enable-iconv --enable-libass > > --enable-libbluray --enable-libbs2b --enable-libcaca > > --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc > > --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb > > --enable-libopencore-amrwb > > --enable-libopenh264 --enable-libopenjpeg --enable-libopus > > --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex > > --enable-libtheora --enable-libtwolame --enable-libvidstab > > --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx > > --enable-libwavpack --enable-libwebp > > --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid > > --enable-libzimg --enable-lzma --enable-decklink --enable-zlib > > libavutil 55. 46.100 / 55. 46.100 > > libavcodec 57. 75.100 / 57. 75.100 > > libavformat57. 66.101 / 57. 66.101 > > libavdevice57. 2.100 / 57. 2.100 > > libavfilter 6. 72.100 / 6. 72.100 > > libswscale 4. 3.101 / 4. 3.101 > > libswresample 2. 4.100 / 2. 4.100 > > libpostproc54. 2.100 / 54. 2.100 > > [h264 @ 00dd46e0] Reinit context to 3840x2176, pix_fmt: > > yuv420p Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'alasin.mp4': > > Metadata: > > major_brand : isom > > minor_version : 512 > > compatible_brands: isomiso2avc1mp41 > > encoder : Lavf57.58.102 > > Duration: 00:02:15.06, start: 0.00, bitrate: 89980 kb/s > > Stream #0:0(und): Video: h264 (High), 1 reference frame (a
Re: [FFmpeg-user] QSV Hevc to HLS not segmenting?
2017-02-14 20:15 GMT+08:00 Markku Vainio : > > When creating long segments with libx264 and compare result in > hevcesbrowser I can see that before I-Slice: > > x265: > > NAL_AUD > NAL_VPS > NAL_SPS > NAL_PPS > NAL_SEI_PREFIX > NAL_CRA_NUT = I Slice > NAL_VPS > > > But in QSV encoded its just: > > NAL_AUD > NAL_CRA_NUT = I Slice > NAL_VPS > > Are VPS, SPS, PPS and SEI needed for segmenting? If this is the problem is > there a workaround? > > > OpenGOP? maybe closegop will be ok. > > > -Original Message- > From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of > Markku Vainio > Sent: 13. helmikuutata 2017 16:06 > To: FFmpeg user questions > Subject: [FFmpeg-user] QSV Hevc to HLS not segmenting? > > Hello, > > > Encoding with hevc_qsv results only one large 0.ts. It seems to me > that ffmpeg is unable to split QSV encoded HEVC stream. (Intel Core > i7-6770HQ, Iris Pro 580, W10) > > ffmpeg -y -i alasin.mp4 -vf yadif=0 -c:v hevc_qsv -load_plugin hevc_hw -g > 25 -q 20 -preset slow -pix_fmt nv12 -c:a aac -ac 2 -hls_time 2 -hls_wrap > 1 -hls_segment_filename "%%05d.ts" index.m3u8 > > > > With libx265 splitting works fine. I also successfully tested h264_qsv. > > ffmpeg -y -i masteri.mov -vf yadif=0 -c:v libx265 -g 25 -q 20 -preset slow > -c:a aac -ac 2 -hls_time 2 -hls_wrap 1 -hls_segment_filename "%%05d.ts" > index.m3u8 > > > Am I doing something wrong here or is the HEVC stream coming from QSV > missing some information that is needed for splitting at GOP boundary? > > > C:\!!>ffmpeg -y -i alasin.mp4 -vf yadif=0 -c:v hevc_qsv -load_plugin > hevc_hw -g 25 -q 20 -preset slow -pix_fmt nv12 -c:a aac -ac 2 -hls_time 2 > -hls_wrap 1 -hls_segment_filename "%05d.ts" index.m3u8 -loglevel > verbose ffmpeg version N-83410-gb1e2192 Copyright (c) 2000-2017 the FFmpeg > developers > built with gcc 5.4.0 (GCC) > configuration: --enable-gpl --enable-version3 --enable-cuda > --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx > --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig > --enable-frei0r --enable-gnutls --enable-iconv --enable-libass > --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype > --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug > --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb > --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp > --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora > --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc > --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp > --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid > --enable-libzimg --enable-lzma --enable-decklink --enable-zlib > libavutil 55. 46.100 / 55. 46.100 > libavcodec 57. 75.100 / 57. 75.100 > libavformat57. 66.101 / 57. 66.101 > libavdevice57. 2.100 / 57. 2.100 > libavfilter 6. 72.100 / 6. 72.100 > libswscale 4. 3.101 / 4. 3.101 > libswresample 2. 4.100 / 2. 4.100 > libpostproc54. 2.100 / 54. 2.100 > [h264 @ 00dd46e0] Reinit context to 3840x2176, pix_fmt: yuv420p > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'alasin.mp4': > Metadata: > major_brand : isom > minor_version : 512 > compatible_brands: isomiso2avc1mp41 > encoder : Lavf57.58.102 > Duration: 00:02:15.06, start: 0.00, bitrate: 89980 kb/s > Stream #0:0(und): Video: h264 (High), 1 reference frame (avc1 / > 0x31637661), yuv420p(left), 3840x2160 (3840x2176) [SAR 1:1 DAR 16:9], 89529 > kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) > Metadata: > handler_name: VideoHandler > timecode: 00:00:00:00 > Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, > stereo, fltp, 460 kb/s (default) > Metadata: > handler_name: SoundHandler > Stream #0:2(eng): Data: none (tmcd / 0x64636D74) > Metadata: > handler_name: TimeCodeHandler > timecode: 00:00:00:00 > [graph 0 input from stream 0:0 @ 00e0f080] w:3840 h:2160 > pixfmt:yuv420p tb:1/12800 fr:25/1 sar:1/1 sws_param:flags=2 > [auto_scaler_0 @ 00e5c4e0] w:iw h:ih flags:'bicubic' interl:0 > [format @ 00e0f600] auto-inserting filter 'auto_scaler_0' between > the filter 'Parsed_yadif_0' and the filter 'format' > [auto_scaler_0 @ 00e5c4e0] w:3840 h:2160 fmt:yuv420p sar:1/1 -> > w:3840 h:2160 fmt:nv12 sar:1/1 flags:0x4 [hevc_qsv @ 00ea7be0] > Initialized an internal MFX session using hardware accelerated > implementation [hevc_qsv @ 00ea7be0] Using the constant > quantization parameter (CQP) ratecontrol method [hevc_qsv @ > 00ea7be0] profile: simple; level: 306 [hevc_qsv @ 00ea7be0] > GopPicSize: 25; GopRefDist: 9; GopOptFlag: closed ; IdrInterval: 0 > [hevc_qsv @ 00ea7be0] TargetUsage: 4; RateControlMethod: CQP > [hevc_qsv @ 00ea7be0] Q
Re: [FFmpeg-user] issue with [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames
2017-01-13 0:40 GMT+08:00 Christian Johannesen : > On Thu, Jan 12, 2017 at 11:32 AM, Christian Johannesen < > chrisjohanne...@gmail.com> wrote: > > > > > > > On Thu, Jan 12, 2017 at 1:27 AM, Steven Liu > > wrote: > > > >> > >> I have sent a patch to the ffmpeg-devel maillist, you can test it. > >> > > > > I've tested the patch from http://ffmpeg.org/pipermail/ > ffmpeg-devel/2017- > > January/205706.html on Windows 2012 x64 with msys2. It now works as > > expected and creates the directory & index.m3u8 with filenames that > include > > the size in bytes and duration. Thanks very much for creating the patch! > > > > ffmpeg.exe -i D:\media\mix_of_clip_960x540_2128.mp4 -codec copy -f hls > > -hls_time 6 -hls_list_size 0 -hls_flags second_level_segment_index+ > > second_level_segment_size+second_level_segment_duration -use_localtime 1 > > -use_localtime_mkdir 1 -hls_segment_filename > "D:\media\mix_of_clip_960x540_ > > 2128\segment_%%04d_%%08s_%%013t.ts" D:\media\mix_of_clip_960x540_ > > 2128\index.m3u8 > > ffmpeg version N-83083-gf7191cc Copyright (c) 2000-2017 the FFmpeg > > developers > > built with gcc 6.2.0 (Rev2, Built by MSYS2 project) > > ... > > > > 01/12/2017 11:31 AM 307,944 segment_0117_00307944_ > > 006006400.ts > > 01/12/2017 11:31 AM 309,636 segment_0118_00309636_ > > 006006400.ts > > 01/12/2017 11:31 AM 302,868 segment_0119__ > > 0.ts > > 121 File(s)117,359,480 bytes > > > > Looks like I may have misspoke, the last segment looks to be an issue. > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > patch update, and fix it, the problem is in hls_write_trailer for the last segments. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] issue with [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames
2017-01-11 22:44 GMT+08:00 Christian Johannesen : > On Wed, Jan 11, 2017 at 8:56 AM, Steven Liu > wrote: > > > > > > > al'right, i have reproduce it on windows+mingw, and will fix it. > > > > > Thank you! Much appreciated. > I have sent a patch to the ffmpeg-devel maillist, you can test it. > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] issue with [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames
2017-01-11 11:10 GMT+08:00 Steven Liu : > > > 2017-01-11 10:03 GMT+08:00 Christian Johannesen >: > >> On Tue, Jan 10, 2017 at 7:00 PM, Steven Liu >> wrote: >> >> > >> > >> > 2017-01-11 7:28 GMT+08:00 Steven Liu : >> > >> > localhost:hlsenc StevenLiu$ ./ffmpeg -i mix_of_clip_960x540_2128.mp4 -c >> > copy -f hls -hls_time 6 -hls_list_size 5 -hls_flags >> > second_level_segment_index+second_level_segment_size+second_ >> level_segment_duration >> > -use_localtime 1 -use_localtime_mkdir 1 -hls_segment_filename >> > mix_of_clip_960x540_2128/segment_%%04d_%%08s_%%013t.ts >> > mix_of_clip_960x540_2128/index.m3u8 >> > >> >> >> >> >> >> It's ok. >> >> >> >> and >> >> >> >> please try it by n3.3-dev-900-gdaff04b >> >> >> >> >> >> >> > I just did a git clone of https://git.ffmpeg.org/ffmpeg.git. On Mac OS >> X, >> I have no problems executing: >> >> ffmpeg -i mix_of_clip_960x540_2128.mp4 -codec copy -f hls -hls_time 6 >> -hls_list_size 5 -hls_flags second_level_segment_index+ >> second_level_segment_size+second_level_segment_duration -use_localtime 1 >> -use_localtime_mkdir 1 -hls_segment_filename >> mix_of_clip_960x540_2128/segment_%%04d_%%08s_%%013t.ts >> mix_of_clip_960x540_2128/index.m3u8 >> >> ffmpeg version N-83039-g658e626 Copyright (c) 2000-2017 the FFmpeg >> developers >> >> built with Apple LLVM version 8.0.0 (clang-800.0.42.1) >> >> configuration: >> >> libavutil 55. 43.100 / 55. 43.100 >> >> libavcodec 57. 71.101 / 57. 71.101 >> >> libavformat57. 62.100 / 57. 62.100 >> >> libavdevice57. 2.100 / 57. 2.100 >> >> libavfilter 6. 68.100 / 6. 68.100 >> >> libswscale 4. 3.101 / 4. 3.101 >> >> libswresample 2. 4.100 / 2. 4.100 >> >> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'mix_of_clip_960x540_2128.mp4': >> >> Metadata: >> >> major_brand : isom >> >> minor_version : 512 >> >> compatible_brands: isomiso2avc1mp41 >> >> encoder : Lavf57.11.100 >> >> Duration: 00:12:00.68, start: 0.00, bitrate: 1248 kb/s >> >> Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, >> bt709), 960x540 [SAR 1:1 DAR 16:9], 1115 kb/s, 23.98 fps, 23.98 tbr, 24k >> tbn, 47.95 tbc (default) >> >> Metadata: >> >> handler_name: VideoHandler >> >> Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, >> stereo, fltp, 128 kb/s (default) >> >> Metadata: >> >> handler_name: SoundHandler >> >> Output #0, hls, to 'mix_of_clip_960x540_2128/index.m3u8': >> >> Metadata: >> >> major_brand : isom >> >> minor_version : 512 >> >> compatible_brands: isomiso2avc1mp41 >> >> encoder : Lavf57.62.100 >> >> Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, >> bt709), 960x540 [SAR 1:1 DAR 16:9], q=2-31, 1115 kb/s, 23.98 fps, 23.98 >> tbr, 90k tbn, 23.98 tbc (default) >> >> Metadata: >> >> handler_name: VideoHandler >> >> Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, >> stereo, fltp, 128 kb/s (default) >> >> Metadata: >> >> handler_name: SoundHandler >> >> Stream mapping: >> >> Stream #0:0 -> #0:0 (copy) >> >> Stream #0:1 -> #0:1 (copy) >> >> Press [q] to stop, [?] for help >> >> [hls @ 0x7fe401026600] hls->dpp = [0.041711] >> >> frame=17278 fps=0.0 q=-1.0 Lsize=N/A time=00:12:00.61 bitrate=N/A >> speed=1.06e+03x >> >> video:98101kB audio:11261kB subtitle:0kB other streams:0kB global >> headers:0kB muxing overhead: unknown >> >> >> mix_of_clip_960x540_2128 chrisj$ ls >> >> index.m3u8 >> >> segment__00470940_006049067.ts >> >> segment_0001_00552908_006006400.ts >> >> segment_0002_00807836_006006400.ts >> >> segment_0003_00895256_006006400.ts >> >> segment_0004_00858972_006006400.ts >> >> segment_0005_00553660_006006400.ts >> >> segment_0006_00488048_006006400.ts >> >> segment_0007_00570768_006006400.ts >> >> segment_0008_00364720_
Re: [FFmpeg-user] issue with [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames
2017-01-11 10:03 GMT+08:00 Christian Johannesen : > On Tue, Jan 10, 2017 at 7:00 PM, Steven Liu > wrote: > > > > > > > 2017-01-11 7:28 GMT+08:00 Steven Liu : > > > > localhost:hlsenc StevenLiu$ ./ffmpeg -i mix_of_clip_960x540_2128.mp4 -c > > copy -f hls -hls_time 6 -hls_list_size 5 -hls_flags > > second_level_segment_index+second_level_segment_size+ > second_level_segment_duration > > -use_localtime 1 -use_localtime_mkdir 1 -hls_segment_filename > > mix_of_clip_960x540_2128/segment_%%04d_%%08s_%%013t.ts > > mix_of_clip_960x540_2128/index.m3u8 > > > >> > >> > >> It's ok. > >> > >> and > >> > >> please try it by n3.3-dev-900-gdaff04b > >> > >> > >> > > I just did a git clone of https://git.ffmpeg.org/ffmpeg.git. On Mac OS > X, > I have no problems executing: > > ffmpeg -i mix_of_clip_960x540_2128.mp4 -codec copy -f hls -hls_time 6 > -hls_list_size 5 -hls_flags second_level_segment_index+ > second_level_segment_size+second_level_segment_duration -use_localtime 1 > -use_localtime_mkdir 1 -hls_segment_filename > mix_of_clip_960x540_2128/segment_%%04d_%%08s_%%013t.ts > mix_of_clip_960x540_2128/index.m3u8 > > ffmpeg version N-83039-g658e626 Copyright (c) 2000-2017 the FFmpeg > developers > > built with Apple LLVM version 8.0.0 (clang-800.0.42.1) > > configuration: > > libavutil 55. 43.100 / 55. 43.100 > > libavcodec 57. 71.101 / 57. 71.101 > > libavformat57. 62.100 / 57. 62.100 > > libavdevice57. 2.100 / 57. 2.100 > > libavfilter 6. 68.100 / 6. 68.100 > > libswscale 4. 3.101 / 4. 3.101 > > libswresample 2. 4.100 / 2. 4.100 > > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'mix_of_clip_960x540_2128.mp4': > > Metadata: > > major_brand : isom > > minor_version : 512 > > compatible_brands: isomiso2avc1mp41 > > encoder : Lavf57.11.100 > > Duration: 00:12:00.68, start: 0.00, bitrate: 1248 kb/s > > Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, > bt709), 960x540 [SAR 1:1 DAR 16:9], 1115 kb/s, 23.98 fps, 23.98 tbr, 24k > tbn, 47.95 tbc (default) > > Metadata: > > handler_name: VideoHandler > > Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, > stereo, fltp, 128 kb/s (default) > > Metadata: > > handler_name: SoundHandler > > Output #0, hls, to 'mix_of_clip_960x540_2128/index.m3u8': > > Metadata: > > major_brand : isom > > minor_version : 512 > > compatible_brands: isomiso2avc1mp41 > > encoder : Lavf57.62.100 > > Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, > bt709), 960x540 [SAR 1:1 DAR 16:9], q=2-31, 1115 kb/s, 23.98 fps, 23.98 > tbr, 90k tbn, 23.98 tbc (default) > > Metadata: > > handler_name: VideoHandler > > Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, > stereo, fltp, 128 kb/s (default) > > Metadata: > > handler_name: SoundHandler > > Stream mapping: > > Stream #0:0 -> #0:0 (copy) > > Stream #0:1 -> #0:1 (copy) > > Press [q] to stop, [?] for help > > [hls @ 0x7fe401026600] hls->dpp = [0.041711] > > frame=17278 fps=0.0 q=-1.0 Lsize=N/A time=00:12:00.61 bitrate=N/A > speed=1.06e+03x > > video:98101kB audio:11261kB subtitle:0kB other streams:0kB global > headers:0kB muxing overhead: unknown > > > mix_of_clip_960x540_2128 chrisj$ ls > > index.m3u8 > > segment__00470940_006049067.ts > > segment_0001_00552908_006006400.ts > > segment_0002_00807836_006006400.ts > > segment_0003_00895256_006006400.ts > > segment_0004_00858972_006006400.ts > > segment_0005_00553660_006006400.ts > > segment_0006_00488048_006006400.ts > > segment_0007_00570768_006006400.ts > > segment_0008_00364720_006006400.ts > > segment_0009_00435972_006006400.ts > > segment_0010_00801444_006006400.ts > > segment_0011_00661384_006006400.ts > > segment_0012_00607992_006006400.ts > > segment_0013_00899768_006006400.ts > > segment_0014_01095100_006006400.ts > > segment_0015_01072164_006006400.ts > > segment_0016_00916688_006006400.ts > > segment_0017_00827012_006006400.ts > > segment_0018_01098672_006006400.ts > > segment_0019_00971772_006006400.ts > > segment_0020_00824380_006006400.ts > > segment_0021_00710452_
Re: [FFmpeg-user] issue with [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames
2017-01-11 7:28 GMT+08:00 Steven Liu : > > > 2017-01-11 6:58 GMT+08:00 Christian Johannesen > : > >> On Tue, Jan 10, 2017 at 4:01 PM, Steven Liu >> wrote: >> >>> >>> >>> add -re , try it like this: >>> >>> ffmpeg.exe -re -i D:\media\mix_of_clip_960x540_2128.mp4 -codec copy -f >>> hls >>> -hls_time 6 -hls_list_size 5 -hls_flags >>> second_level_segment_index+second_level_segment_size+ >>> second_level_segment_duration >>> -use_localtime 1 -use_localtime_mkdir 1 -hls_segment_filename >>> "D:\media\mix_of_clip_960x540_2128\segment_%%04d_%%08s_%%013t.ts" >>> D:\media\mix_of_clip_960x540_2128\index.m3u8 >>> >> >> I tried adding the -re option, but its doing the same behavior, at >> realtime now. I just downloaded the source and compiled it, but i'm getting >> a different verison mine shows N-83034-gf48b6b8 & yours might be more >> recent with a version of N-83037-gdaff04b. >> >> I'll email you directly with a link to the file as I don't think I can >> share it on this list. >> >> Thanks, >> Chris >> >> >> > localhost:hlsenc StevenLiu$ > localhost:hlsenc StevenLiu$ ./ffmpeg -v verbose -i > mix_of_clip_960x540_2128.mp4 -c copy -f hls -hls_time 6 -hls_list_size 0 > -hls_flags > second_level_segment_index+second_level_segment_size+second_level_segment_duration > -use_localtime 1 -use_localtime_mkdir 1 -hls_segment_filename > mix_of_clip_960x540_2128/segment_%%04d_%%08s_%%013t.ts > mix_of_clip_960x540_2128/index.m3u8 > ffmpeg version N-83037-gdaff04b Copyright (c) 2000-2017 the FFmpeg > developers > built with Apple LLVM version 8.0.0 (clang-800.0.42.1) > configuration: --enable-libass --enable-opengl --enable-libx264 > --enable-libmp3lame --enable-gpl --enable-nonfree --prefix=/usr/local > --enable-libopencv --enable-libtesseract --enable-libspeex > --enable-libfreetype --enable-libfontconfig --enable-libfdk-aac > libavutil 55. 43.100 / 55. 43.100 > libavcodec 57. 71.100 / 57. 71.100 > libavformat57. 62.100 / 57. 62.100 > libavdevice57. 2.100 / 57. 2.100 > libavfilter 6. 68.100 / 6. 68.100 > libswscale 4. 3.101 / 4. 3.101 > libswresample 2. 4.100 / 2. 4.100 > libpostproc54. 2.100 / 54. 2.100 > [h264 @ 0x7fb233800c00] Reinit context to 960x544, pix_fmt: yuv420p > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'mix_of_clip_960x540_2128.mp4': > Metadata: > major_brand : isom > minor_version : 512 > compatible_brands: isomiso2avc1mp41 > encoder : Lavf57.11.100 > Duration: 00:12:00.68, start: 0.00, bitrate: 1248 kb/s > Stream #0:0(und): Video: h264 (Main), 1 reference frame (avc1 / > 0x31637661), yuv420p(tv, bt709, left), 960x540 (960x544) [SAR 1:1 DAR > 16:9], 1115 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default) > Metadata: > handler_name: VideoHandler > Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, > stereo, fltp, 128 kb/s (default) > Metadata: > handler_name: SoundHandler > [mpegts @ 0x7fb233802a00] muxrate VBR, pcr every 2 pkts, sdt every > 2147483647 <(214)%20748-3647>, pat/pmt every 2147483647 <(214)%20748-3647> > pkts > Output #0, hls, to 'mix_of_clip_960x540_2128/index.m3u8': > Metadata: > major_brand : isom > minor_version : 512 > compatible_brands: isomiso2avc1mp41 > encoder : Lavf57.62.100 > Stream #0:0(und): Video: h264 (Main), 1 reference frame (avc1 / > 0x31637661), yuv420p(tv, bt709, left), 960x540 (0x0) [SAR 1:1 DAR 16:9], > q=2-31, 1115 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc (default) > Metadata: > handler_name: VideoHandler > Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, > stereo, fltp, 128 kb/s (default) > Metadata: > handler_name: SoundHandler > Stream mapping: > Stream #0:0 -> #0:0 (copy) > Stream #0:1 -> #0:1 (copy) > Press [q] to stop, [?] for help > [hls @ 0x7fb232816200] hls->dpp = [0.041711] > Automatically inserted bitstream filter 'h264_mp4toannexb'; args='' > [hls @ 0x7fb232816200] EXT-X-MEDIA-SEQUENCE:0 > Last message repeated 30 times > [hls @ 0x7fb232816200] EXT-X-MEDIA-SEQUENCE:03:06.17 bitrate=N/A speed= > 366x > Last message repeated 18 times > [hls @ 0x7fb232816200] EXT-X-MEDIA-SEQUENCE:005:02.65 bitrate=N/A speed= > 300x > Last message repeated 10 times > [hls @ 0x7fb232816200] EXT-X-MEDIA-SEQUENCE:006:06.35 bitrate=N/A speed= > 241x > Last message repeated
Re: [FFmpeg-user] issue with [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames
2017-01-11 6:58 GMT+08:00 Christian Johannesen : > On Tue, Jan 10, 2017 at 4:01 PM, Steven Liu > wrote: > >> >> >> add -re , try it like this: >> >> ffmpeg.exe -re -i D:\media\mix_of_clip_960x540_2128.mp4 -codec copy -f >> hls >> -hls_time 6 -hls_list_size 5 -hls_flags >> second_level_segment_index+second_level_segment_size+ >> second_level_segment_duration >> -use_localtime 1 -use_localtime_mkdir 1 -hls_segment_filename >> "D:\media\mix_of_clip_960x540_2128\segment_%%04d_%%08s_%%013t.ts" >> D:\media\mix_of_clip_960x540_2128\index.m3u8 >> > > I tried adding the -re option, but its doing the same behavior, at > realtime now. I just downloaded the source and compiled it, but i'm getting > a different verison mine shows N-83034-gf48b6b8 & yours might be more > recent with a version of N-83037-gdaff04b. > > I'll email you directly with a link to the file as I don't think I can > share it on this list. > > Thanks, > Chris > > > localhost:hlsenc StevenLiu$ localhost:hlsenc StevenLiu$ ./ffmpeg -v verbose -i mix_of_clip_960x540_2128.mp4 -c copy -f hls -hls_time 6 -hls_list_size 0 -hls_flags second_level_segment_index+second_level_segment_size+second_level_segment_duration -use_localtime 1 -use_localtime_mkdir 1 -hls_segment_filename mix_of_clip_960x540_2128/segment_%%04d_%%08s_%%013t.ts mix_of_clip_960x540_2128/index.m3u8 ffmpeg version N-83037-gdaff04b Copyright (c) 2000-2017 the FFmpeg developers built with Apple LLVM version 8.0.0 (clang-800.0.42.1) configuration: --enable-libass --enable-opengl --enable-libx264 --enable-libmp3lame --enable-gpl --enable-nonfree --prefix=/usr/local --enable-libopencv --enable-libtesseract --enable-libspeex --enable-libfreetype --enable-libfontconfig --enable-libfdk-aac libavutil 55. 43.100 / 55. 43.100 libavcodec 57. 71.100 / 57. 71.100 libavformat57. 62.100 / 57. 62.100 libavdevice57. 2.100 / 57. 2.100 libavfilter 6. 68.100 / 6. 68.100 libswscale 4. 3.101 / 4. 3.101 libswresample 2. 4.100 / 2. 4.100 libpostproc54. 2.100 / 54. 2.100 [h264 @ 0x7fb233800c00] Reinit context to 960x544, pix_fmt: yuv420p Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'mix_of_clip_960x540_2128.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.11.100 Duration: 00:12:00.68, start: 0.00, bitrate: 1248 kb/s Stream #0:0(und): Video: h264 (Main), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, bt709, left), 960x540 (960x544) [SAR 1:1 DAR 16:9], 1115 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default) Metadata: handler_name: VideoHandler Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default) Metadata: handler_name: SoundHandler [mpegts @ 0x7fb233802a00] muxrate VBR, pcr every 2 pkts, sdt every 2147483647, pat/pmt every 2147483647 pkts Output #0, hls, to 'mix_of_clip_960x540_2128/index.m3u8': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf57.62.100 Stream #0:0(und): Video: h264 (Main), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, bt709, left), 960x540 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 1115 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc (default) Metadata: handler_name: VideoHandler Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default) Metadata: handler_name: SoundHandler Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help [hls @ 0x7fb232816200] hls->dpp = [0.041711] Automatically inserted bitstream filter 'h264_mp4toannexb'; args='' [hls @ 0x7fb232816200] EXT-X-MEDIA-SEQUENCE:0 Last message repeated 30 times [hls @ 0x7fb232816200] EXT-X-MEDIA-SEQUENCE:03:06.17 bitrate=N/A speed= 366x Last message repeated 18 times [hls @ 0x7fb232816200] EXT-X-MEDIA-SEQUENCE:005:02.65 bitrate=N/A speed= 300x Last message repeated 10 times [hls @ 0x7fb232816200] EXT-X-MEDIA-SEQUENCE:006:06.35 bitrate=N/A speed= 241x Last message repeated 16 times [hls @ 0x7fb232816200] EXT-X-MEDIA-SEQUENCE:007:48.45 bitrate=N/A speed= 232x Last message repeated 35 times [hls @ 0x7fb232816200] EXT-X-MEDIA-SEQUENCE:011:24.67 bitrate=N/A speed= 272x Last message repeated 4 times No more output streams to write to, finishing. [hls @ 0x7fb232816200] EXT-X-MEDIA-SEQUENCE:0 frame=17278 fps=6750 q=-1.0 Lsize=N/A time=00:12:00.61 bitrate=N/A speed= 282x video:98101kB audio:11261kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Input file #0 (mix_of_clip_960x540_2128.mp4): Input stream #0:0 (video): 17278 packets read (100455890 bytes
Re: [FFmpeg-user] issue with [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames
2017-01-11 2:42 GMT+08:00 Christian Johannesen : > I tested new functionality that was recently added to FFMPEG to include the > segment size in bytes and segment duration in the filename. I tried > re-multiplexing a MP4 with H.264 video and AAC audio into HLS with this > feature, but only the last HLS segment has this data, all other ts segments > contained zero data. > > >ffmpeg.exe -i D:\media\mix_of_clip_960x540_2128.mp4 -codec copy -f hls > -hls_time 6 -hls_list_size 5 -hls_flags > second_level_segment_index+second_level_segment_size+ > second_level_segment_duration > -use_localtime 1 -use_localtime_mkdir 1 -hls_segment_filename > "D:\media\mix_of_clip_960x540_2128\segment_%%04d_%%08s_%%013t.ts" > D:\media\mix_of_clip_960x540_2128\index.m3u8 > ffmpeg version N-83034-gf48b6b8 Copyright (c) 2000-2017 the FFmpeg > developers > built with gcc 5.4.0 (GCC) > configuration: --enable-gpl --enable-version3 --enable-dxva2 > --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib > --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv > --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca > --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc > --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb > --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg > --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr > --enable-libspeex --enable-libtheora --enable-libtwolame > --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis > --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 > --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg > --enable-lzma --enable-decklink --enable-zlib > libavutil 55. 43.100 / 55. 43.100 > libavcodec 57. 71.100 / 57. 71.100 > libavformat57. 62.100 / 57. 62.100 > libavdevice57. 2.100 / 57. 2.100 > libavfilter 6. 68.100 / 6. 68.100 > libswscale 4. 3.101 / 4. 3.101 > libswresample 2. 4.100 / 2. 4.100 > libpostproc54. 2.100 / 54. 2.100 > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from > 'D:\media\mix_of_clip_960x540_2128.mp4': > Metadata: > major_brand : isom > minor_version : 512 > compatible_brands: isomiso2avc1mp41 > encoder : Lavf57.11.100 > Duration: 00:12:00.68, start: 0.00, bitrate: 1248 kb/s > Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, > bt709), 960x540 [SAR 1:1 DAR 16:9], 1115 kb/s, 23.98 fps, 23.98 tbr, 24k > tbn, 47.95 tbc (default) > Metadata: > handler_name: VideoHandler > Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, > stereo, fltp, 128 kb/s (default) > Metadata: > handler_name: SoundHandler > Output #0, hls, to 'D:\media\mix_of_clip_960x540_2128\index.m3u8': > Metadata: > major_brand : isom > minor_version : 512 > compatible_brands: isomiso2avc1mp41 > encoder : Lavf57.62.100 > Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, > bt709), 960x540 [SAR 1:1 DAR 16:9], q=2-31, 1115 kb/s, 23.98 fps, 23.98 > tbr, 90k tbn, 23.98 tbc (default) > Metadata: > handler_name: VideoHandler > Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, > stereo, fltp, 128 kb/s (default) > Metadata: > handler_name: SoundHandler > Stream mapping: > Stream #0:0 -> #0:0 (copy) > Stream #0:1 -> #0:1 (copy) > Press [q] to stop, [?] for help > frame=17278 fps=16424 q=-1.0 Lsize=N/A time=00:12:00.61 bitrate=N/A speed= > 685x > video:98101kB audio:11261kB subtitle:0kB other streams:0kB global > headers:0kB muxing overhead: unknown > > First segment name: segment___0.ts > > Second to last: segment_0118__0.ts > > Last segment name: segment_0119_00514368_005880878.ts > > Thanks, > Chris > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". add -re , try it like this: ffmpeg.exe -re -i D:\media\mix_of_clip_960x540_2128.mp4 -codec copy -f hls -hls_time 6 -hls_list_size 5 -hls_flags second_level_segment_index+second_level_segment_size+ second_level_segment_duration -use_localtime 1 -use_localtime_mkdir 1 -hls_segment_filename "D:\media\mix_of_clip_960x540_2128\segment_%%04d_%%08s_%%013t.ts" D:\media\mix_of_clip_960x540_2128\index.m3u8 ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] issue with [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames
2017-01-11 5:01 GMT+08:00 Steven Liu : > > > 2017-01-11 2:42 GMT+08:00 Christian Johannesen > : > >> I tested new functionality that was recently added to FFMPEG to include >> the >> segment size in bytes and segment duration in the filename. I tried >> re-multiplexing a MP4 with H.264 video and AAC audio into HLS with this >> feature, but only the last HLS segment has this data, all other ts >> segments >> contained zero data. >> >> >ffmpeg.exe -i D:\media\mix_of_clip_960x540_2128.mp4 -codec copy -f hls >> -hls_time 6 -hls_list_size 5 -hls_flags >> second_level_segment_index+second_level_segment_size+second_ >> level_segment_duration >> -use_localtime 1 -use_localtime_mkdir 1 -hls_segment_filename >> "D:\media\mix_of_clip_960x540_2128\segment_%%04d_%%08s_%%013t.ts" >> D:\media\mix_of_clip_960x540_2128\index.m3u8 >> ffmpeg version N-83034-gf48b6b8 Copyright (c) 2000-2017 the FFmpeg >> developers >> built with gcc 5.4.0 (GCC) >> configuration: --enable-gpl --enable-version3 --enable-dxva2 >> --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib >> --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv >> --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca >> --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc >> --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb >> --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg >> --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr >> --enable-libspeex --enable-libtheora --enable-libtwolame >> --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis >> --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 >> --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg >> --enable-lzma --enable-decklink --enable-zlib >> libavutil 55. 43.100 / 55. 43.100 >> libavcodec 57. 71.100 / 57. 71.100 >> libavformat57. 62.100 / 57. 62.100 >> libavdevice57. 2.100 / 57. 2.100 >> libavfilter 6. 68.100 / 6. 68.100 >> libswscale 4. 3.101 / 4. 3.101 >> libswresample 2. 4.100 / 2. 4.100 >> libpostproc54. 2.100 / 54. 2.100 >> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from >> 'D:\media\mix_of_clip_960x540_2128.mp4': >> Metadata: >> major_brand : isom >> minor_version : 512 >> compatible_brands: isomiso2avc1mp41 >> encoder : Lavf57.11.100 >> Duration: 00:12:00.68, start: 0.00, bitrate: 1248 kb/s >> Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, >> bt709), 960x540 [SAR 1:1 DAR 16:9], 1115 kb/s, 23.98 fps, 23.98 tbr, 24k >> tbn, 47.95 tbc (default) >> Metadata: >> handler_name: VideoHandler >> Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, >> stereo, fltp, 128 kb/s (default) >> Metadata: >> handler_name: SoundHandler >> Output #0, hls, to 'D:\media\mix_of_clip_960x540_2128\index.m3u8': >> Metadata: >> major_brand : isom >> minor_version : 512 >> compatible_brands: isomiso2avc1mp41 >> encoder : Lavf57.62.100 >> Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, >> bt709), 960x540 [SAR 1:1 DAR 16:9], q=2-31, 1115 kb/s, 23.98 fps, 23.98 >> tbr, 90k tbn, 23.98 tbc (default) >> Metadata: >> handler_name: VideoHandler >> Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, >> stereo, fltp, 128 kb/s (default) >> Metadata: >> handler_name: SoundHandler >> Stream mapping: >> Stream #0:0 -> #0:0 (copy) >> Stream #0:1 -> #0:1 (copy) >> Press [q] to stop, [?] for help >> frame=17278 fps=16424 q=-1.0 Lsize=N/A time=00:12:00.61 bitrate=N/A speed= >> 685x >> video:98101kB audio:11261kB subtitle:0kB other streams:0kB global >> headers:0kB muxing overhead: unknown >> >> First segment name: segment___0.ts >> >> Second to last: segment_0118__0.ts >> >> Last segment name: segment_0119_00514368_005880878.ts >> >> Thanks, >> Chris >> ___ >> ffmpeg-user mailing list >> ffmpeg-user@ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> >> To unsubscribe, visit link above, or email >> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > > add -re , try it like
Re: [FFmpeg-user] does flv support the metadata of rotation as mov ?
2017-01-06 4:56 GMT+08:00 Moritz Barsnick : > On Thu, Jan 05, 2017 at 15:08:09 +0800, qw wrote: > > > I have read the source code of movenc.c, which supports the metadata > > of rotation. Does flv support 'rotation' like mov? > > From what I read in the FLV specification: > https://www.adobe.com/content/dam/Adobe/en/devnet/flv/pdfs/ > video_file_format_spec_v10.pdf > FLV also supports the MVHD and TKHD atoms, like MOV, including the > TransformMatrix, which seems repsonsible for the rotation. So in > general, FLV seems to support rotation "tags", and ffmpeg can interpret > (decode) them. And from what I can tell (at a quick glance), the code > for generation FLVs in movenc.c also used the MOV rotation code. > > So, probably: Yes. :-) > > Have you tried? > Hi Moritz, Do you mean Andrew can use f4v format? I saw the tag in f4v. :-D > > Moritz > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] does flv support the metadata of rotation as mov ?
2017-01-05 15:08 GMT+08:00 qw : > Hi, > > > I have read the source code of movenc.c, which supports the metadata of > rotation. Does flv support 'rotation' like mov? > what do you want to do in flv use rotation? Is that a usual attribute? > > > Thanks! > > > Regards > > > Andrew > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Remove audio from DV file not working
2016-12-27 11:03 GMT+08:00 Tim Hiles : > On Mon, Dec 26, 2016 at 4:40 PM, 桃源老師 wrote: > > > Sorry if I disturbing you... > > > > > 2016/12/27 7:47 A.M. Tim Hiles wrote: > > > > > > ffmpeg -i "clip-2007-01-01 17;02;58.dv" -c copy -an "noaudio.dv" > > > > I think you should tell ffmpeg to: > > > > ffmpeg -i "clip-2007-01-01 17;02;58.dv" -c:v copy -an "noaudio.dv" > > > > you might missing "-c:v"... > > > > > Thanks for the suggestion but unfortunately that didn't work either. > > ffmpeg -i "clip-2007-01-01 17;02;58.dv" -c:v copy -an "noaudio.dv" > ffmpeg version N-82889-g54931fd Copyright (c) 2000-2016 the FFmpeg > developers > built with gcc 5.4.0 (GCC) > configuration: --enable-gpl --enable-version3 --enable-dxva2 > --enable-libmfx --enable-nvenc --enable-avisynth --enable > -bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv > --enable-libass --enable-libbluray --enable-li > bbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm > --enable-libilbc --enable-libmodplug --enabl > e-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb > --enable-libopenh264 --enable-libopenjpeg --enable-li > bopus --enable-librtmp --enable-libsnappy --enable-libsoxr > --enable-libspeex --enable-libtheora --enable-libtwolame --en > able-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx > --enable-libwavpack --enable-libwebp --enable > -libx264 --enable-libx265 --enable-libxavs --enable-libxvid > --enable-libzimg --enable-lzma --enable-decklink --enable-zl > ib > libavutil 55. 43.100 / 55. 43.100 > libavcodec 57. 68.100 / 57. 68.100 > libavformat57. 61.100 / 57. 61.100 > libavdevice57. 2.100 / 57. 2.100 > libavfilter 6. 68.100 / 6. 68.100 > libswscale 4. 3.101 / 4. 3.101 > libswresample 2. 4.100 / 2. 4.100 > libpostproc54. 2.100 / 54. 2.100 > [dv @ 0045a9a0] Estimating duration from bitrate, this may be > inaccurate > Input #0, dv, from 'clip-2007-01-01 17;02;58.dv': > Metadata: > timecode: 00:33:32;19 > Duration: 00:00:30.96, start: 0.00, bitrate: 28771 kb/s > Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 25000 > kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 > tbc > Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s > Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s > Output #0, dv, to 'noaudio.dv': > Metadata: > timecode: 00:33:32;19 > encoder : Lavf57.61.100 > Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], > q=2-31, 25000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn > , 29.97 tbc > Stream mapping: > Stream #0:0 -> #0:0 (copy) > Press [q] to stop, [?] for help > frame= 928 fps=449 q=-1.0 Lsize= 108750kB time=00:00:30.96 > bitrate=28771.2kbits/s speed= 15x > video:108750kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB > muxing overhead: 0.00% > > > ffmpeg -i "noaudio.dv" > ffmpeg version N-82889-g54931fd Copyright (c) 2000-2016 the FFmpeg > developers > built with gcc 5.4.0 (GCC) > configuration: --enable-gpl --enable-version3 --enable-dxva2 > --enable-libmfx --enable-nvenc --enable-avisynth --enable > -bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv > --enable-libass --enable-libbluray --enable-li > bbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm > --enable-libilbc --enable-libmodplug --enabl > e-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb > --enable-libopenh264 --enable-libopenjpeg --enable-li > bopus --enable-librtmp --enable-libsnappy --enable-libsoxr > --enable-libspeex --enable-libtheora --enable-libtwolame --en > able-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx > --enable-libwavpack --enable-libwebp --enable > -libx264 --enable-libx265 --enable-libxavs --enable-libxvid > --enable-libzimg --enable-lzma --enable-decklink --enable-zl > ib > libavutil 55. 43.100 / 55. 43.100 > libavcodec 57. 68.100 / 57. 68.100 > libavformat57. 61.100 / 57. 61.100 > libavdevice57. 2.100 / 57. 2.100 > libavfilter 6. 68.100 / 6. 68.100 > libswscale 4. 3.101 / 4. 3.101 > libswresample 2. 4.100 / 2. 4.100 > libpostproc54. 2.100 / 54. 2.100 > [dv @ 004aa700] Estimating duration from bitrate, this may be > inaccurate > Input #0, dv, from 'noaudio.dv': > Metadata: > timecode: 00:33:32;19 > Duration: 00:00:30.96, start: 0.00, bitrate: 28771 kb/s > Stream #0:0: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 25000 > kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 > tbc > Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s > Stream #0:2: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s > At least one output file must be specified > > Anyone else have any ideas? > > Thanks! > Tim > ___ > ffmpeg-user mailing
Re: [FFmpeg-user] Append live to existing video
2016-12-27 0:05 GMT+08:00 Louis Letourneau : > Is it possible to start a live capture at the end of an existing video in > the hls format? > > Say you have a captured m3u8, something happens and you want to restart > ffmpeg but continue capturing at the end of the previous m3u8? > > I guess concat can't do it since it has to be done on complete videos. > > Thank you > Louis > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". What about the option "-hls_flags append_list" ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] crash happened with avformat_open_input on ffmpeg 3.2
2016-11-28 18:26 GMT+08:00 Steven Liu : > > > 2016-11-28 13:40 GMT+08:00 兔八哥 <104831...@qq.com>: > >> Hi, since the decoding chaos happend in mp3 frame as my last email >> described. >> >> >> I updated the ffmpeg to 3.2 and compiled it. when calling >> avformat_open_input(), crash always happened. >> >> In Chinese response " 哥们,你问错地方了,api使用,是在libav_user邮件列表里面问” > mail to ::"libav-u...@ffmpeg.org" > > BTW. you should paste the code fragments for the api use question.. > >> >> the ios version is 9.3. pad. >> >> >> can you check this fetal bugs?( I have call the initailizing method, >> including codec register and network initalizing). >> ___ >> ffmpeg-user mailing list >> ffmpeg-user@ffmpeg.org >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> >> To unsubscribe, visit link above, or email >> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] crash happened with avformat_open_input on ffmpeg 3.2
2016-11-28 13:40 GMT+08:00 兔八哥 <104831...@qq.com>: > Hi, since the decoding chaos happend in mp3 frame as my last email > described. > > > I updated the ffmpeg to 3.2 and compiled it. when calling > avformat_open_input(), crash always happened. > > In Chinese response " 哥们,你问错地方了,api使用,是在libav_user邮件列表里面问” BTW. you should paste the code fragments for the api use question.. > > the ios version is 9.3. pad. > > > can you check this fetal bugs?( I have call the initailizing method, > including codec register and network initalizing). > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] how to edit metadata in flv file
2016-11-25 20:28 GMT+08:00 qw : > Hi, > > > I have two questions about ffmpeg usage: > > > 1) > How to edit metadata in flv file by using ffmpeg, such as changing some > key's value in flv file's metadata tag? > yes, you are right > > > 2) > Normally, there are two streams in flv files, i.e. audio and video > streams. I want to keep some part empty of in audio or video stream, which > mean there only exist video or audio stream in that part. How to produce > that kind of flv file by using ffmpeg? > Do you mean "adelay" filter? or set the video or audio data 0. > > > Thanks! > > > Regards > > > Andrew > > > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] hls: hls_list_size breaks program_date_time
2016-11-11 4:56 GMT+08:00 Robert Nagy : > If hls_list_size is enabled then the X-DATETIME tags will be wrong when > segments are started to be removed. > > On Thu, Nov 10, 2016 at 4:10 PM, Steven Liu > wrote: > > > 2016-11-10 18:53 GMT+08:00 Robert Nagy : > > > > > If using hls_list_size together with program_date_time the > > > EXT-X-PROGRAM-DATE-TIME > > > tags start to become wrong when segments are removed. > > > initial_prog_date_time should probably be incremented by the duration > of > > > the segments removed. > > > > > > > I can not sure if i misunderstand you, > > Do you mean if use -hls_flags program_date_time, then should not use > > hls_list_size with value big than 0? > > > > > ___ > > > ffmpeg-user mailing list > > > ffmpeg-user@ffmpeg.org > > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > > To unsubscribe, visit link above, or email > > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > ___ > > ffmpeg-user mailing list > > ffmpeg-user@ffmpeg.org > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > To unsubscribe, visit link above, or email > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > localhost:m3u8test liuqi$ ffmpeg -re -i ~/Movies/objectC/facebook.mp4 -c copy -hls_list_size 4 -hls_flags program_date_time output.m3u8 ffmpeg version N-82274-g34aeb5d Copyright (c) 2000-2016 the FFmpeg developers built with Apple LLVM version 8.0.0 (clang-800.0.42.1) configuration: --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libspeex --enable-libx264 --enable-libx265 --enable-version3 --cc='ccache gcc' libavutil 55. 35.100 / 55. 35.100 libavcodec 57. 66.101 / 57. 66.101 libavformat57. 57.100 / 57. 57.100 libavdevice57. 2.100 / 57. 2.100 libavfilter 6. 66.100 / 6. 66.100 libswscale 4. 3.100 / 4. 3.100 libswresample 2. 4.100 / 2. 4.100 libpostproc54. 2.100 / 54. 2.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/liuqi/Movies/objectC/facebook.mp4': Metadata: major_brand : isom minor_version : 1 compatible_brands: isomavc1 creation_time : 2015-02-02T18:19:19.00Z Duration: 00:45:02.06, start: 0.00, bitrate: 2708 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x714 [SAR 1:1 DAR 640:357], 2576 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc (default) Metadata: creation_time : 2015-02-02T18:19:19.00Z handler_name: GPAC ISO Video Handler Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default) Metadata: creation_time : 2015-02-02T18:19:23.00Z handler_name: GPAC ISO Audio Handler Output #0, hls, to 'output.m3u8': Metadata: major_brand : isom minor_version : 1 compatible_brands: isomavc1 encoder : Lavf57.57.100 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x714 [SAR 1:1 DAR 640:357], q=2-31, 2576 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc (default) Metadata: creation_time : 2015-02-02T18:19:19.00Z handler_name: GPAC ISO Video Handler Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, 127 kb/s (default) Metadata: creation_time : 2015-02-02T18:19:23.00Z handler_name: GPAC ISO Audio Handler Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 457 fps= 24 q=-1.0 Lsize=N/A time=00:00:18.64 bitrate=N/A speed=0.999x video:5867kB audio:282kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown localhost:m3u8test liuqi$ localhost:m3u8test liuqi$ vim output.m3u8 No mapping found No mapping found Press ENTER or type command to continue localhost:m3u8test liuqi$ localhost:m3u8test liuqi$ localhost:m3u8test liuqi$ localhost:m3u8test liuqi$ localhost:m3u8test liuqi$ cat output.m3u8 #EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:5 #EXT-X-MEDIA-SEQUENCE:4 #EXTINF:2.92, #EXT-X-PROGRAM-DATE-TIME:2016-11-11T10:15:54.000+0800 output4.ts #EXTINF:1.72, #EXT-X-PROGRAM-DATE-TIME:2016-11-11T10:15:56.920+0800 output5.ts #EXTINF:0.96, #EXT-X-PROGRAM-DATE-TIME:2016-11-11T10:15:58.640+0800 output6.ts #EXTINF:4.12, #EXT-X-PROGRAM
Re: [FFmpeg-user] hls: hls_list_size breaks program_date_time
2016-11-10 18:53 GMT+08:00 Robert Nagy : > If using hls_list_size together with program_date_time the > EXT-X-PROGRAM-DATE-TIME > tags start to become wrong when segments are removed. > initial_prog_date_time should probably be incremented by the duration of > the segments removed. > I can not sure if i misunderstand you, Do you mean if use -hls_flags program_date_time, then should not use hls_list_size with value big than 0? > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Developer "cehoyos" closed my bug without any explanation, and without solving it
2016-10-11 8:30 GMT+08:00 Alexey Eromenko : > > Hello, > > > > sorry you feel this way, but looking at your bug report do you seem to > have > > a misunderstand regarding who is responsible for which bugs. You state > that > > it's Apple's decoder that cannot play the videos. And at the same time do > > you state VLC does play them. VLC uses ffmpeg's libraries so it obviously > > works with ffmpeg, just not with Apple's decoder. Further more do you > state > > that the videos were created with libx264, which if it was the source of > > your problem, is also not part of ffmpeg but only an external library and > > has its own project. In short, you have no case. > > > > You first need to accept that the problem is very likely with the Apple > > decoder. Just because you cannot find anyone at Apple to listen to your > > problem doesn't mean you can shove it onto ffmpeg. You have also reopened > > the bug report several times, which suggest a certain stubbornness in > > accepting these facts. You then have to provide evidence of this being an > > ffmpeg bug, and you have so far only provided evidence against it. > Cehoyos's > > responses were also quite clear and not unfriendly at all, because he > told > > you how to solve your problem. > > > > I suggest that you change your stance in this matter and stop acting like > > Cehoyos would owe you an apology. > > > > User problems are handled here on this maling list and not on the bug > > tracker. Or do you disagree? > > > > It well may be an Apple bug, but since I can't find anyone at Apple to > fix it, I think fixing it in the encoder is way simpler, and it is the > way to go. Especially because it's open-source and because Apple > players are popular. > > Discovering after-the-fact that some of my videos are incompatible > with Apple decoders is a no-no, and a total shock for me. And no > documentation on such fundamental issues _AT ALL_. Even the workaround > parameter he suggested is not documented either. > > Like I know for sure that a BMP file is a Bitmap and is displayed > correctly every time, on all computers and operating systems, and MP3 > file is an audio file, and is played back correctly every time, on all > supported platforms, I expect the same from MP4 video file -- it must > be played perfectly on all supported platforms, and since those > poipular decoders are well-known, the encoder can target their > limitations too. > > For ffmpeg developers fixing this bug maybe simple, just parsing the > container tags properly, and yes, testing resulting MP4 files with the > popular media players is super-critical; This means at least Windows > (Windows Media Player and VLC), Android (Google Nexus and Samsung > Galaxy) and Apple (iOS + Mac OS). Perhaps not for every minor release, > but for major releases QA is a must-have. > > I can do some of the testing myself, being a QA guy, I'm capable of > this task, but when there is a severe and critical issue, alarms must > be sounded. It's my duty. (+I can add testing on Chromebook and Debian > Linux and other platforms) > > -- > -Alexey Eromenko "Technologov" > Patch welcome. > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Install ffmpeg error
你可以在这个github的作者的项目里提issue,ffmpeg官方版本对他这个目前应该也不会给与任何支持 2015-09-30 18:51 GMT+08:00 黄家永 : > Use this tool: > https://github.com/kewlbear/FFmpeg-iOS-build-script > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Copy GOP structure
2015-10-08 3:55 GMT+08:00 Reuben Martin : > Is there any way to transcode an h264 stream, but retain the frame type and > GOP structure of the origional? Preferably in real time with a live stream > without haveing to dump the frame data to a file or some other type or > pre-pass analysis. > you can try this command line ffmpeg -i rtmp://xxx.xxx.xxx.xxx/live/stream -c copy -f flv output.flv or ffmpeg -i rtmp://xxx.xxx.xxx.xxx/live/stream -c:v copy -f mp4 output.mp4 or ffmpeg -i rtmp://xxx.xxx.xxx.xxx/live/stream -vcodec copy -f mpegts output.ts ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] FFmpeg Library
You should install SDL-devel package, https://www.libsdl.org/download-1.2.php 2015-09-17 20:07 GMT+08:00 Satinder Singh : > Hi , > > Sir Thank you very Much I install ffmpeg latest version that is working > perfectly when I am compiling my code inside the ffmpeg/doc/example > directory . but when I am compiling ffplay outside from ffmpeg directory > there have some error like : > > root@satiender-Aspire-E5-571:/home/satiender/FFmpeg-API-devel# make ffplay > ffplay.c > cc -I/usr/local/include -Wall -gffplay.c -pthread -L/usr/local/lib > -lavdevice -lavfilter -lpostproc -lavformat -lavcodec -lXv -lXext -lva-x11 > -lva -lxcb-shm -lxcb-xfixes -lxcb-render -lxcb-shape -lxcb -lX11 -lasound > -lSDL -lx264 -lvpx -lvorbisenc -lvorbis -ltheoraenc -ltheoradec -logg > -lopus -lmp3lame -lfreetype -lfdk-aac -lass -llzma -lz -lswresample > -lswscale -lavutil -lm-o ffplay > ffplay.c:49:17: fatal error: SDL.h: No such file or directory > #include > ^ > compilation terminated. > make: *** [ffplay] Error 1 > > On Thu, Sep 17, 2015 at 5:03 PM, Reindl Harald > wrote: > > > > > Am 17.09.2015 um 13:28 schrieb Satinder Singh: > > > >> Hi , I send my output file , now please help > >> > > > > what's wrong with you that you just can't wait for possible answers while > > you are NOT USING FFMPEG AT ALL - that is a stoneold libav > > > > > > ffmpeg version 0.8.17, Copyright (c) 2000-2014 the Libav developers built > > on Sep 14 2015 18:09:37 with gcc 4.8.4 > > > > > > > > ___ > > ffmpeg-user mailing list > > ffmpeg-user@ffmpeg.org > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] FFmpeg Library
2015-09-17 18:22 GMT+08:00 Satinder Singh : > Hi ,, > > Please Help me ! give some solution . > > On Thu, Sep 17, 2015 at 2:56 PM, Satinder Singh > wrote: > > > ok , I sending, please see the attachment file . > > > > there have two methods of run the ffmpeg : > > > > 1. goto ffmpeg directory and run ./ffmpeg > > 2. run ffmpeg any where > > > > I got different - different outputs with both above command . > > > > On Thu, Sep 17, 2015 at 2:49 PM, Steven Liu > > wrote: > > > >> please add your ffmpeg command line output paste here, > >> > >> for example: > >> [root@localhost ffmpeg]# ffmpeg > >> ffmpeg version N-75380-gd36eac6 Copyright (c) 2000-2015 the FFmpeg > >> developers > >> built with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-16) > >> configuration: --enable-libx264 --enable-libfaac --enable-libmp3lame > >> --enable-gpl --enable-nonfree > >> libavutil 55. 2.100 / 55. 2.100 > >> libavcodec 57. 2.100 / 57. 2.100 > >> libavformat57. 2.100 / 57. 2.100 > >> libavdevice57. 0.100 / 57. 0.100 > >> libavfilter 6. 4.100 / 6. 4.100 > >> libswscale 4. 0.100 / 4. 0.100 > >> libswresample 2. 0.100 / 2. 0.100 > >> libpostproc54. 0.100 / 54. 0.100 > >> Hyper fast Audio and Video encoder > >> usage: ffmpeg [options] [[infile options] -i infile]... {[outfile > options] > >> outfile}... > >> > >> Use -h to get full help or, even better, run 'man ffmpeg' > >> > >> > >> 2015-09-17 17:09 GMT+08:00 Satinder Singh : > >> > >> > yes , I use above gcc syntax : > >> > > >> > gcc -g doc/examples/muxing.c -o muxing -lavcodec -lavdevice > -lavfilter > >> > -lavformat -lavutil -lswscale -lswresample -lpostproc -lx264 -lmp3lame > >> -lz > >> > -liconv -lbz2 > >> > > >> > but again I got maximum errors , Can anybody help me and give proper > >> > procedure to use ffmpeg API in my C program . > >> > > >> > On Thu, Sep 17, 2015 at 2:26 PM, Clément Bœsch wrote: > >> > > >> > > On Thu, Sep 17, 2015 at 04:47:48PM +0800, Steven Liu wrote: > >> > > > You can reference the doc/example file makefile > >> > > > > >> > > > gcc -I. -I./ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 > >> > -D_LARGEFILE_SOURCE > >> > > > -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DZLIB_CONST -std=c99 > >> > > > -fomit-frame-pointer -pthread -g -Wdeclaration-after-statement > >> -Wall > >> > > > -Wdisabled-optimization -Wpointer-arith -Wredundant-decls > >> > -Wwrite-strings > >> > > > -Wtype-limits -Wundef -Wmissing-prototypes > -Wno-pointer-to-int-cast > >> > > > -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch > >> > > > -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno > >> > > > -fno-signed-zeros -fno-tree-vectorize -Werror=format-security > >> > > > -Werror=implicit-function-declaration -Werror=missing-prototypes > >> > > > -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto > >> > > > -Wno-maybe-uninitialized-c -o doc/examples/transcoding.o > >> > > > doc/examples/transcoding.c > >> > > > > >> > > > gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat > >> > > -Llibavresample > >> > > > -Llibavutil -Llibpostproc -Llibswscale -Llibswresample > >> -Wl,--as-needed > >> > > > -Wl,-z,noexecstack -Wl,--warn-common > >> > > > > >> > > > >> > > >> > -Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample > >> > > > -o doc/examples/transcoding_g doc/examples/transcoding.o > >> -lavdevice > >> > > > -lavfilter -lavformat -lavcodec -lpostproc -lswresample -lswscale > >> > > -lavutil > >> > > > -lXv -lX11 -lXext -lva -lva-x11 -lva -lxcb -lxcb-shm -lxcb > >> -lxcb-xfixes > >> > > > -lxcb-render -lxcb-shape -lxcb -lxcb-shape -lxcb -lX11 -lx264 > >> -lmp3lame > >> > > > -lfaac -lm -lz -pthread > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > the simple is looks like : > >> > > > gcc -g doc/examples/muxing.c -o muxing -lavcodec -lavdevice > >> -lavfilter > >> > > > -lavformat -lavutil -lswscale -lswresample -lpostproc -lx264 > >> -lmp3lame > >> > > -lz > >> > > > -liconv -lbz2 > >> > > > > >> > > > >> > > No. You should NEVER explicit the libraries and sub dependency > >> libraries > >> > > by yourself (because it's build and installation dependent). See how > >> it's > >> > > done in the Makefile. > >> > > > >> > > [...] > >> > > > >> > > -- > >> > > Clément B. > >> > > > Where is the file? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] FFmpeg Library
please add your ffmpeg command line output paste here, for example: [root@localhost ffmpeg]# ffmpeg ffmpeg version N-75380-gd36eac6 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-16) configuration: --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-gpl --enable-nonfree libavutil 55. 2.100 / 55. 2.100 libavcodec 57. 2.100 / 57. 2.100 libavformat57. 2.100 / 57. 2.100 libavdevice57. 0.100 / 57. 0.100 libavfilter 6. 4.100 / 6. 4.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.100 / 2. 0.100 libpostproc54. 0.100 / 54. 0.100 Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}... Use -h to get full help or, even better, run 'man ffmpeg' 2015-09-17 17:09 GMT+08:00 Satinder Singh : > yes , I use above gcc syntax : > > gcc -g doc/examples/muxing.c -o muxing -lavcodec -lavdevice -lavfilter > -lavformat -lavutil -lswscale -lswresample -lpostproc -lx264 -lmp3lame -lz > -liconv -lbz2 > > but again I got maximum errors , Can anybody help me and give proper > procedure to use ffmpeg API in my C program . > > On Thu, Sep 17, 2015 at 2:26 PM, Clément Bœsch wrote: > > > On Thu, Sep 17, 2015 at 04:47:48PM +0800, Steven Liu wrote: > > > You can reference the doc/example file makefile > > > > > > gcc -I. -I./ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 > -D_LARGEFILE_SOURCE > > > -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DZLIB_CONST -std=c99 > > > -fomit-frame-pointer -pthread -g -Wdeclaration-after-statement -Wall > > > -Wdisabled-optimization -Wpointer-arith -Wredundant-decls > -Wwrite-strings > > > -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast > > > -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch > > > -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno > > > -fno-signed-zeros -fno-tree-vectorize -Werror=format-security > > > -Werror=implicit-function-declaration -Werror=missing-prototypes > > > -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto > > > -Wno-maybe-uninitialized-c -o doc/examples/transcoding.o > > > doc/examples/transcoding.c > > > > > > gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat > > -Llibavresample > > > -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -Wl,--as-needed > > > -Wl,-z,noexecstack -Wl,--warn-common > > > > > > -Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample > > > -o doc/examples/transcoding_g doc/examples/transcoding.o -lavdevice > > > -lavfilter -lavformat -lavcodec -lpostproc -lswresample -lswscale > > -lavutil > > > -lXv -lX11 -lXext -lva -lva-x11 -lva -lxcb -lxcb-shm -lxcb -lxcb-xfixes > > > -lxcb-render -lxcb-shape -lxcb -lxcb-shape -lxcb -lX11 -lx264 -lmp3lame > > > -lfaac -lm -lz -pthread > > > > > > > > > > > > > > > the simple is looks like : > > > gcc -g doc/examples/muxing.c -o muxing -lavcodec -lavdevice -lavfilter > > > -lavformat -lavutil -lswscale -lswresample -lpostproc -lx264 -lmp3lame > > -lz > > > -liconv -lbz2 > > > > > > > No. You should NEVER explicit the libraries and sub dependency libraries > > by yourself (because it's build and installation dependent). See how it's > > done in the Makefile. > > > > [...] > > > > -- > > Clément B. > > > > ___ > > ffmpeg-user mailing list > > ffmpeg-user@ffmpeg.org > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] FFmpeg Library
You can reference the doc/example file makefile gcc -I. -I./ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DZLIB_CONST -std=c99 -fomit-frame-pointer -pthread -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wno-maybe-uninitialized-c -o doc/examples/transcoding.o doc/examples/transcoding.c gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -Wl,--as-needed -Wl,-z,noexecstack -Wl,--warn-common -Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample -o doc/examples/transcoding_g doc/examples/transcoding.o -lavdevice -lavfilter -lavformat -lavcodec -lpostproc -lswresample -lswscale -lavutil -lXv -lX11 -lXext -lva -lva-x11 -lva -lxcb -lxcb-shm -lxcb -lxcb-xfixes -lxcb-render -lxcb-shape -lxcb -lxcb-shape -lxcb -lX11 -lx264 -lmp3lame -lfaac -lm -lz -pthread the simple is looks like : gcc -g doc/examples/muxing.c -o muxing -lavcodec -lavdevice -lavfilter -lavformat -lavutil -lswscale -lswresample -lpostproc -lx264 -lmp3lame -lz -liconv -lbz2 2015-09-17 15:08 GMT+08:00 Satinder Singh : > Hi ,, > > Any body please help me . I want use ffmpeg library in my C program How I > can use that . I following a ffmpeg tutorial from the dranger.com , but if > I following that tutorial and merge the ffmpeg library as per as tutorial , > I got maximum large no. of undefined function errors . Please help me . > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Compiling ffmpeg with NVENC and NVIDIA GRID K1
2015-08-27 15:08 GMT+08:00 Steven Liu : > > > 2015-08-27 14:52 GMT+08:00 Steven Liu : > >> >> 2015-06-29 18:12 GMT+08:00 Klaus Schürmann : >> >>> Hello, >>> >>> I compiled ffmpeg with nvenc support. The compile process worked without >>> any error. But if I try to convert a file with nvenc I got the error >>> message "[nvenc @ 0x39dc1c0] CreateInputBuffer failed". >>> >>> Can somebody help me to fix this problem? >>> >>> Best Regards >>> Klaus Schuermann >>> >>> OS: Ubuntu 14.04.2 LTS >>> NVidia driver: 346 >>> >>> Her is the complete output oft he convert job: >>> >>> root@video-convert1:~/ffmpeg_sources/ffmpeg_libnvenc# ffmpeg -i >>> /media/testfile.mkv -r 60 -s 1024x768 -vcodec nvenc -b:v 5750k testfile.mp4 >>> ffmpeg version N-73133-gd7e224e Copyright (c) 2000-2015 the FFmpeg >>> developers >>> built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04) >>> configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static >>> --extra-cflags=-I/root/ffmpeg_build/include >>> --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl >>> --enable-libass --enable-libfdk-aac --enable-libfreetype >>> --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis >>> --enable-libvpx --enable-libx264 --enable-libx265 --enable-nvenc >>> --enable-nonfree >>> libavutil 54. 27.100 / 54. 27.100 >>> libavcodec 56. 44.101 / 56. 44.101 >>> libavformat56. 38.101 / 56. 38.101 >>> libavdevice56. 4.100 / 56. 4.100 >>> libavfilter 5. 18.100 / 5. 18.100 >>> libswscale 3. 1.101 / 3. 1.101 >>> libswresample 1. 2.100 / 1. 2.100 >>> libpostproc53. 3.100 / 53. 3.100 >>> Input #0, matroska,webm, from '/media/testfile.mkv': >>> Metadata: >>> encoder : libebml v1.3.0 + libmatroska v1.4.1 >>> creation_time : 2014-09-29 00:31:12 >>> Duration: 00:21:03.51, start: 0.00, bitrate: 3015 kb/s >>> Stream #0:0(eng): Video: h264 (High), yuv420p(tv, >>> bt709/unknown/unknown), 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, >>> 1k tbn, 47.95 tbc (default) >>> Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s >>> (default) [nvenc @ 0x39dc1c0] CreateInputBuffer failed Output #0, mp4, to >>> 'testfile.mp4': >>> Metadata: >>> encoder : libebml v1.3.0 + libmatroska v1.4.1 >>> Stream #0:0(eng): Video: h264, none, q=2-31, 128 kb/s, SAR 4:3 DAR >>> 0:0, 60 fps (default) >>> Metadata: >>> encoder : Lavc56.44.101 nvenc >>> Stream #0:1: Audio: aac, 0 channels, 128 kb/s (default) >>> Metadata: >>> encoder : Lavc56.44.101 libfdk_aac >>> Stream mapping: >>> Stream #0:0 -> #0:0 (h264 (native) -> h264 (nvenc)) >>> Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac)) Error while >>> opening encoder for output stream #0:0 - maybe incorrect parameters such as >>> bit_rate, rate, width or height >>> >>> Output of devicequery: >>> >>> root@video-convert1:~# >>> NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery >>> NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery Starting... >>> >>> CUDA Device Query (Runtime API) version (CUDART static linking) >>> >>> Detected 4 CUDA Capable device(s) >>> >>> Device 0: "GRID K1" >>> CUDA Driver Version / Runtime Version 7.0 / 7.0 >>> CUDA Capability Major/Minor version number:3.0 >>> Total amount of global memory: 4096 MBytes (4294770688 >>> bytes) >>> ( 1) Multiprocessors, (192) CUDA Cores/MP: 192 CUDA Cores >>> GPU Max Clock rate:850 MHz (0.85 GHz) >>> Memory Clock rate: 891 Mhz >>> Memory Bus Width: 128-bit >>> L2 Cache Size: 262144 bytes >>> Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536, >>> 65536), 3D=(4096, 4096, 4096) >>> Maximum Layered 1D Texture Size, (num) layers 1D=(16384), 2048 layers >>> Maximum Layered 2D Texture Size, (num) layers 2D=(16384, 16384), 2048 >>> layers >>> Total amount of constant memory: 65536 bytes >>>
Re: [FFmpeg-user] Error in install ffmpeg 2.7.1
you need to install the yasm or ./configure --disable-yasm 2015-08-22 1:04 GMT+08:00 Reindl Harald : > > > Am 21.08.2015 um 18:21 schrieb ronnie acord: > >> I am trying to install ffmpeg and got this error >> >> ./configure >> yasm/nasm not found or too old. Use --disable-yasm for a crippled build >> > > and why in the world don't you install the yasm devel-package? > > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Compiling ffmpeg with NVENC and NVIDIA GRID K1
2015-08-27 14:52 GMT+08:00 Steven Liu : > > 2015-06-29 18:12 GMT+08:00 Klaus Schürmann : > >> Hello, >> >> I compiled ffmpeg with nvenc support. The compile process worked without >> any error. But if I try to convert a file with nvenc I got the error >> message "[nvenc @ 0x39dc1c0] CreateInputBuffer failed". >> >> Can somebody help me to fix this problem? >> >> Best Regards >> Klaus Schuermann >> >> OS: Ubuntu 14.04.2 LTS >> NVidia driver: 346 >> >> Her is the complete output oft he convert job: >> >> root@video-convert1:~/ffmpeg_sources/ffmpeg_libnvenc# ffmpeg -i >> /media/testfile.mkv -r 60 -s 1024x768 -vcodec nvenc -b:v 5750k testfile.mp4 >> ffmpeg version N-73133-gd7e224e Copyright (c) 2000-2015 the FFmpeg >> developers >> built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04) >> configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static >> --extra-cflags=-I/root/ffmpeg_build/include >> --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl >> --enable-libass --enable-libfdk-aac --enable-libfreetype >> --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis >> --enable-libvpx --enable-libx264 --enable-libx265 --enable-nvenc >> --enable-nonfree >> libavutil 54. 27.100 / 54. 27.100 >> libavcodec 56. 44.101 / 56. 44.101 >> libavformat56. 38.101 / 56. 38.101 >> libavdevice56. 4.100 / 56. 4.100 >> libavfilter 5. 18.100 / 5. 18.100 >> libswscale 3. 1.101 / 3. 1.101 >> libswresample 1. 2.100 / 1. 2.100 >> libpostproc53. 3.100 / 53. 3.100 >> Input #0, matroska,webm, from '/media/testfile.mkv': >> Metadata: >> encoder : libebml v1.3.0 + libmatroska v1.4.1 >> creation_time : 2014-09-29 00:31:12 >> Duration: 00:21:03.51, start: 0.00, bitrate: 3015 kb/s >> Stream #0:0(eng): Video: h264 (High), yuv420p(tv, >> bt709/unknown/unknown), 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, >> 1k tbn, 47.95 tbc (default) >> Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s >> (default) [nvenc @ 0x39dc1c0] CreateInputBuffer failed Output #0, mp4, to >> 'testfile.mp4': >> Metadata: >> encoder : libebml v1.3.0 + libmatroska v1.4.1 >> Stream #0:0(eng): Video: h264, none, q=2-31, 128 kb/s, SAR 4:3 DAR >> 0:0, 60 fps (default) >> Metadata: >> encoder : Lavc56.44.101 nvenc >> Stream #0:1: Audio: aac, 0 channels, 128 kb/s (default) >> Metadata: >> encoder : Lavc56.44.101 libfdk_aac >> Stream mapping: >> Stream #0:0 -> #0:0 (h264 (native) -> h264 (nvenc)) >> Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac)) Error while >> opening encoder for output stream #0:0 - maybe incorrect parameters such as >> bit_rate, rate, width or height >> >> Output of devicequery: >> >> root@video-convert1:~# >> NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery >> NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery Starting... >> >> CUDA Device Query (Runtime API) version (CUDART static linking) >> >> Detected 4 CUDA Capable device(s) >> >> Device 0: "GRID K1" >> CUDA Driver Version / Runtime Version 7.0 / 7.0 >> CUDA Capability Major/Minor version number:3.0 >> Total amount of global memory: 4096 MBytes (4294770688 >> bytes) >> ( 1) Multiprocessors, (192) CUDA Cores/MP: 192 CUDA Cores >> GPU Max Clock rate:850 MHz (0.85 GHz) >> Memory Clock rate: 891 Mhz >> Memory Bus Width: 128-bit >> L2 Cache Size: 262144 bytes >> Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536, >> 65536), 3D=(4096, 4096, 4096) >> Maximum Layered 1D Texture Size, (num) layers 1D=(16384), 2048 layers >> Maximum Layered 2D Texture Size, (num) layers 2D=(16384, 16384), 2048 >> layers >> Total amount of constant memory: 65536 bytes >> Total amount of shared memory per block: 49152 bytes >> Total number of registers available per block: 65536 >> Warp size: 32 >> Maximum number of threads per multiprocessor: 2048 >> Maximum number of threads per block: 1024 >> Max dimension size of a thread block (x,y,z): (1024, 1024, 64) >> Max dimension size of a grid size(
Re: [FFmpeg-user] Compiling ffmpeg with NVENC and NVIDIA GRID K1
2015-06-29 18:12 GMT+08:00 Klaus Schürmann : > Hello, > > I compiled ffmpeg with nvenc support. The compile process worked without > any error. But if I try to convert a file with nvenc I got the error > message "[nvenc @ 0x39dc1c0] CreateInputBuffer failed". > > Can somebody help me to fix this problem? > > Best Regards > Klaus Schuermann > > OS: Ubuntu 14.04.2 LTS > NVidia driver: 346 > > Her is the complete output oft he convert job: > > root@video-convert1:~/ffmpeg_sources/ffmpeg_libnvenc# ffmpeg -i > /media/testfile.mkv -r 60 -s 1024x768 -vcodec nvenc -b:v 5750k testfile.mp4 > ffmpeg version N-73133-gd7e224e Copyright (c) 2000-2015 the FFmpeg > developers > built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04) > configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static > --extra-cflags=-I/root/ffmpeg_build/include > --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl > --enable-libass --enable-libfdk-aac --enable-libfreetype > --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis > --enable-libvpx --enable-libx264 --enable-libx265 --enable-nvenc > --enable-nonfree > libavutil 54. 27.100 / 54. 27.100 > libavcodec 56. 44.101 / 56. 44.101 > libavformat56. 38.101 / 56. 38.101 > libavdevice56. 4.100 / 56. 4.100 > libavfilter 5. 18.100 / 5. 18.100 > libswscale 3. 1.101 / 3. 1.101 > libswresample 1. 2.100 / 1. 2.100 > libpostproc53. 3.100 / 53. 3.100 > Input #0, matroska,webm, from '/media/testfile.mkv': > Metadata: > encoder : libebml v1.3.0 + libmatroska v1.4.1 > creation_time : 2014-09-29 00:31:12 > Duration: 00:21:03.51, start: 0.00, bitrate: 3015 kb/s > Stream #0:0(eng): Video: h264 (High), yuv420p(tv, > bt709/unknown/unknown), 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, > 1k tbn, 47.95 tbc (default) > Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default) > [nvenc @ 0x39dc1c0] CreateInputBuffer failed Output #0, mp4, to > 'testfile.mp4': > Metadata: > encoder : libebml v1.3.0 + libmatroska v1.4.1 > Stream #0:0(eng): Video: h264, none, q=2-31, 128 kb/s, SAR 4:3 DAR > 0:0, 60 fps (default) > Metadata: > encoder : Lavc56.44.101 nvenc > Stream #0:1: Audio: aac, 0 channels, 128 kb/s (default) > Metadata: > encoder : Lavc56.44.101 libfdk_aac > Stream mapping: > Stream #0:0 -> #0:0 (h264 (native) -> h264 (nvenc)) > Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac)) Error while > opening encoder for output stream #0:0 - maybe incorrect parameters such as > bit_rate, rate, width or height > > Output of devicequery: > > root@video-convert1:~# > NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery > NVIDIA_CUDA-7.0_Samples/1_Utilities/deviceQuery/deviceQuery Starting... > > CUDA Device Query (Runtime API) version (CUDART static linking) > > Detected 4 CUDA Capable device(s) > > Device 0: "GRID K1" > CUDA Driver Version / Runtime Version 7.0 / 7.0 > CUDA Capability Major/Minor version number:3.0 > Total amount of global memory: 4096 MBytes (4294770688 > bytes) > ( 1) Multiprocessors, (192) CUDA Cores/MP: 192 CUDA Cores > GPU Max Clock rate:850 MHz (0.85 GHz) > Memory Clock rate: 891 Mhz > Memory Bus Width: 128-bit > L2 Cache Size: 262144 bytes > Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536, > 65536), 3D=(4096, 4096, 4096) > Maximum Layered 1D Texture Size, (num) layers 1D=(16384), 2048 layers > Maximum Layered 2D Texture Size, (num) layers 2D=(16384, 16384), 2048 > layers > Total amount of constant memory: 65536 bytes > Total amount of shared memory per block: 49152 bytes > Total number of registers available per block: 65536 > Warp size: 32 > Maximum number of threads per multiprocessor: 2048 > Maximum number of threads per block: 1024 > Max dimension size of a thread block (x,y,z): (1024, 1024, 64) > Max dimension size of a grid size(x,y,z): (2147483647, 65535, 65535) > Maximum memory pitch: 2147483647 bytes > Texture alignment: 512 bytes > Concurrent copy and kernel execution: Yes with 1 copy engine(s) > Run time limit on kernels: No > Integrated GPU sharing Host Memory:No > Support host page-locked memory mapping: Yes > Alignment requirement for Surfaces:Yes > Device has ECC support:Disabled > Device supports Unified Addressing (UVA): Yes > Device PCI Domain ID / Bus ID / location ID: 0 / 132 / 0 > Compute Mode: > < Default (multiple host threads can use ::cudaSetDevice() with > device simultaneously) > > > Device 1: "GRID K
[FFmpeg-user] ffmpeg with nvenc transcoding alloc buffer error
Hi guys, I first use the cuda nvenc to transcoding with ffmpeg nvenc, but the ffmpeg give me an error bellow: [root@localhost ffmpeg]# ./x86/ffmpeg -v verbose -i ~/a.mp4 -pix_fmt yuv420p -vcodec nvenc_h264 -profile:v high -b:v 500k -s 800x480 -preset llhq -r:v 30 -an b.mp4 ffmpeg version N-74455-g3afca32 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-16) configuration: --enable-nvenc --enable-nonfree libavutil 54. 30.100 / 54. 30.100 libavcodec 56. 57.100 / 56. 57.100 libavformat56. 40.101 / 56. 40.101 libavdevice56. 4.100 / 56. 4.100 libavfilter 5. 33.100 / 5. 33.100 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/root/a.mp4': Metadata: major_brand : isom minor_version : 1 compatible_brands: isomavc1 creation_time : 2015-08-19 13:23:08 Duration: 01:09:02.00, start: 0.00, bitrate: 2959 kb/s Stream #0:0(und): Video: h264 (High), 3 reference frames (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x816, 2765 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc (default) Metadata: creation_time : 2015-08-19 13:23:08 handler_name: GPAC ISO Video Handler Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 190 kb/s (default) Metadata: creation_time : 2015-08-19 13:23:14 handler_name: GPAC ISO Audio Handler File 'b.mp4' already exists. Overwrite ? [y/N] y [graph 0 input from stream 0:0 @ 0x22a22e0] w:1920 h:816 pixfmt:yuv420p tb:1/25000 fr:25/1 sar:0/1 sws_param:flags=2 [scaler for output stream 0:0 @ 0x22a70e0] w:800 h:480 flags:'bicubic' interl:0 [scaler for output stream 0:0 @ 0x22a70e0] w:1920 h:816 fmt:yuv420p sar:0/1 -> w:800 h:480 fmt:yuv420p sar:0/1 flags:0x4 [nvenc_h264 @ 0x22a5e60] 1 CUDA capable devices found [nvenc_h264 @ 0x22a5e60] [ GPU #0 - < Tesla K20c > has Compute SM 3.5, smver 53 target_smver 48 NVENC Available ] [nvenc_h264 @ 0x22a5e60] Nvenc initialized successfully [nvenc_h264 @ 0x22a5e60] CreateInputBuffer failed 0xA [nvenc_h264 @ 0x22a5e60] Nvenc unloaded Output #0, mp4, to 'b.mp4': Metadata: major_brand : isom minor_version : 1 compatible_brands: isomavc1 Stream #0:0(und): Video: h264, 1 reference frame, none, q=2-31, 128 kb/s, 30 fps (default) Metadata: creation_time : 2015-08-19 13:23:08 handler_name: GPAC ISO Video Handler encoder : Lavc56.57.100 nvenc_h264 Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (nvenc_h264)) Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height [root@localhost ffmpeg]# The error Message is [nvenc_h264 @ 0x22a5e60] CreateInputBuffer failed 0xA or are there any attention with it? Thanks Steven ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] OS X screen record by ffmpeg
> On Dec 1, 2014, at 3:33 PM, Thilo Borgmann wrote: > > Am 01.12.14 um 07:51 schrieb Steven Liu: >> [...] >> I’ve list_devices the devices;but there have no screen option, just only > camera option; >> Perhaps i have using the wrong parameters? >> >> >> [StevenLiu@localhost ~]$ ffmpeg -f avfoundation -list_devices 1 -i "" >> ffmpeg version N-65018-gad91bf8 Copyright (c) 2000-2014 the FFmpeg developers >> built on Jul 27 2014 20:36:24 with Apple LLVM version 5.1 (clang-503.0.40) > (based on LLVM 3.4svn) > > You're just using a version too old for that purpose. Screen capturing that > way > was just recently added. Update to current HEAD and you should be fine. > > -Thilo Hi Thilo, Thanks for your help, It’s OK. [StevenLiu@localhost ffmpeg]$ ./ffmpeg -f avfoundation -list_devices true -i "" ffmpeg version N-68139-g24e7e02 Copyright (c) 2000-2014 the FFmpeg developers built on Dec 2 2014 09:46:29 with Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn) configuration: --enable-opengl --enable-libx265 --enable-libx264 --enable-libmp3lame --enable-gpl --enable-libfaac --enable-nonfree --prefix=/usr/ --enable-libfreetype --enable-libass libavutil 54. 15.100 / 54. 15.100 libavcodec 56. 13.100 / 56. 13.100 libavformat56. 15.101 / 56. 15.101 libavdevice56. 3.100 / 56. 3.100 libavfilter 5. 2.103 / 5. 2.103 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc53. 3.100 / 53. 3.100 [AVFoundation input device @ 0x7f85694065e0] AVFoundation video devices: [AVFoundation input device @ 0x7f85694065e0] [0] FaceTime HD Camera (Built-in) [AVFoundation input device @ 0x7f85694065e0] [1] Capture screen 0 [AVFoundation input device @ 0x7f85694065e0] AVFoundation audio devices: [AVFoundation input device @ 0x7f85694065e0] [0] Built-in Microphone : Input/output error [StevenLiu@localhost ffmpeg]$ Steven ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] OS X screen record by ffmpeg
> On Dec 1, 2014, at 2:41 PM, Thilo Borgmann wrote: > > Am 01.12.14 um 07:39 schrieb Thilo Borgmann: >> Hi, >> >>> There is no documents for the OS X desktop screen recording by ffmpeg, >>> http://trac.ffmpeg.org/wiki/Capture/Desktop >>> Is there have any ways for this operation? >> >> you're right there is nothing on that wiki page and I'm adding it to my todo >> list. For the time being, you'll find the information you're looking for at >> the >> documentation page of the avfoundation input device: >> >> http://ffmpeg.org/ffmpeg-devices.html#avfoundation > > p.s. Screen capturing comes as a usual video input, so use -list_devices to > query your screens. > > -Thilo Hi Thilo, I’ve list_devices the devices;but there have no screen option, just only camera option; Perhaps i have using the wrong parameters? [StevenLiu@localhost ~]$ ffmpeg -f avfoundation -list_devices 1 -i "" ffmpeg version N-65018-gad91bf8 Copyright (c) 2000-2014 the FFmpeg developers built on Jul 27 2014 20:36:24 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) configuration: --enable-opengl --enable-libx265 --enable-libx264 --enable-libmp3lame --enable-gpl --enable-libfaac --enable-nonfree --prefix=/usr/ --enable-libfreetype --enable-libass libavutil 52. 92.101 / 52. 92.101 libavcodec 55. 69.100 / 55. 69.100 libavformat55. 49.100 / 55. 49.100 libavdevice55. 13.102 / 55. 13.102 libavfilter 4. 11.102 / 4. 11.102 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 libpostproc52. 3.100 / 52. 3.100 [AVFoundation input device @ 0x7fb8125038a0] AVFoundation video devices: [AVFoundation input device @ 0x7fb8125038a0] [0] FaceTime HD Camera (Built-in) : Input/output error [StevenLiu@localhost ~]$ ffmpeg -f avfoundation -list_devices 0 -i "" ffmpeg version N-65018-gad91bf8 Copyright (c) 2000-2014 the FFmpeg developers built on Jul 27 2014 20:36:24 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) configuration: --enable-opengl --enable-libx265 --enable-libx264 --enable-libmp3lame --enable-gpl --enable-libfaac --enable-nonfree --prefix=/usr/ --enable-libfreetype --enable-libass libavutil 52. 92.101 / 52. 92.101 libavcodec 55. 69.100 / 55. 69.100 libavformat55. 49.100 / 55. 49.100 libavdevice55. 13.102 / 55. 13.102 libavfilter 4. 11.102 / 4. 11.102 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 libpostproc52. 3.100 / 52. 3.100 [avfoundation @ 0x7f967881f000] Selected pixel format (yuv420p) is not supported by the input device. [avfoundation @ 0x7f967881f000] Supported pixel formats: [avfoundation @ 0x7f967881f000] uyvy422 [avfoundation @ 0x7f967881f000] yuyv422 [avfoundation @ 0x7f967881f000] nv12 [avfoundation @ 0x7f967881f000] 0rgb [avfoundation @ 0x7f967881f000] bgr0 [avfoundation @ 0x7f967881f000] Overriding selected pixel format to use uyvy422 instead. Input #0, avfoundation, from '': Duration: N/A, start: 2.71, bitrate: N/A Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1280x720, 100 tbr, 100 tbn, 100 tbc At least one output file must be specified [StevenLiu@localhost ~]$ Thanks, Steven ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] OS X screen record by ffmpeg
Hi Guys, There is no documents for the OS X desktop screen recording by ffmpeg, http://trac.ffmpeg.org/wiki/Capture/Desktop Is there have any ways for this operation? Thanks Steven ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user