Re: [FFmpeg-user] V 410 weird colors
edouard chalaron xtra.co.nz> writes: > I am exporting from Cinelerra to an YCbCr 10 bits, but get > some weird colors Please provide a sample file. > For info FFprobe is giving me Instead of a short excerpt (that unfortunately does not help), please provide the complete, uncut console output of "ffmpeg -i yourfile". 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] V 410 weird colors
Hi I am exporting from Cinelerra to an YCbCr 10 bits, but get some weird colors, I do suspect a swap between U as I am probably not being the first one with this sort of issue, can someone let me know how to (if it possible) swap back U & V For info FFprobe is giving me Stream #0:0(eng): Video: v410 (v410 / 0x30313476), yuv444p10le, 1440x1080, 1194393 kb/s, 24 fps, 24 tbr, 600 tbn, 600 tbc (default) Many thanks Ed ___ 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] Decklink with ffmpeg audio desync
On Mon, 16 May 2016, Dpto. Datos Television Costa Blanca wrote: El 14/05/2016 a las 2:44, Marton Balint escribió: I've removed -re from the command, but if that doesnt help, how can I fix the desync? I have no way of "not having" the NO INPUT SIGNAL -> INPUT SIGNAL DETECTED problem. Also, when the signal interrupts I see in the stream the colour bars. Do they come from ffmpeg or from the decklink card? Bars are coming from ffmpeg, when no input is detected. Apparently your inputs are not synchornized... Can you try to feed synchronized signal to ffmpeg to rule out this, as a probable source of A-V desync? The quick answer is no, I cant feed with sync. One of the sources is a complex PC VGA to S-VIDEO to SDI (Yes, 3 converters, dont ask) and they dont have sync in/out. We have a blackmagic SDI to Analog A/V that works perfectly (Never get desync), but with the quality loss of the Analog A/V so is a discarded solution. While Im looking on how to sync the inputs, is there any other way to fix this? Maybe telling ffmpeg to ignore any time code and just encode whatever get in? The problem may well be that when the decklink card loses input, it provides video frames only but no audio. I am afraid you have to dig into the code, to figure out what is really going on. You can try to modify it so it only adds a video frame to its packet queue if audioFrame is not null. You may also try using newer decklink drivers from blackmagic... Regards, Marton ___ 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] drawtext 4:3 vs 16:9
2016-05-14 22:52 GMT+02:00 naser sonbaty: > I need help with filter_complex and drawtext. > drawtext on aspect 4:3 are correct but drawtext on aspect 16:9 are > stretched. > I've tried the drawtext filter with both 4/3 and 16/9, and in both case the text was the same (pixel perfect even). No stretch issue. It seems that in both your command, the video itself have the same resolution (720x576); only the SAR and DAR change. My understanding on it is that the DAR is only used for playback, but the SAR is the "real" picture. In any case ffmpeg will write the same picture of text on both, but the video player will stretch the input video to fit either 4/3 or 16/9, including the now hard text. If you need to add text to a video with SAR/DAR that won't match, you have to do it in a way so that the "stretched" output will look normal. ___ 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] nvenc ffmpeg
2016-05-16 2:06 GMT+02:00 gofrane: > I use Nvidea GeForce GT 610 and I think I have the recent drivers > installed ( else which is the recent version ) > It doesn't matter which driver version you got; the hardware does NOT seem to support nvenc. If you want nvenc to work, you'll have to update the hardware. According to the linked articles, the oldest card that have the capabilities to support nvenc would be a GT630, having a Kepler chip (but don't quote me on that and do your research if you intend to buy hardware). ___ 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] Prepend a single frame to a MP4 file
2016-05-15 22:36 GMT+02:00 Virgil Stokes: > I have created an image file (testImage.png) from which I would like to > make a 5 second MP4 file. Then > concatenate (prepend) this 5 second video to the test.mp4 file (as defined > above). How can this be done in ffmpeg? Note, I am using: > My approach with that would be to create a 5 second video from the image (using something like "ffmpeg -loop 1 -framerate 29.97 -i -c:v h264 -pix_fmt yuv420p out.mp4" then concatenate them using the concat input. Assuming matching codecs and resolution, this would work well without having to transcode the whole video. You might also need to add an empty audio track to the 5s segment beforehand though. ___ 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] Prepend a single frame to a MP4 file
Here is my corrected question: I have a YouTube MP4 video (test.mp4): Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: isommp42 creation_time : 2015-10-28 06:13:56 Duration: 00:01:35.64, start: 0.00, bitrate: 1370 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1176 kb/s, 29.97 fps, 29.97 tbr, 30k tbn (default) Metadata: handler_name: VideoHandler Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, flt p, 192 kb/s (default) Metadata: creation_time : 2015-10-28 06:13:56 handler_name: IsoMedia File Produced by Google, 5-11-2011 I have created an image file (testImage.png) from which I would like to make a 5 second MP4 file. Then concatenate (prepend) this 5 second video to the test.mp4 file (as defined above). How can this be done in ffmpeg? Note, I am using: ffmpeg version N-79947-gcd244fa Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.0 (GCC) Sorry for the previous poorly formulated email :-( ___ 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] Prepend a single frame to a MP4 file
Ok Moritz, How can I add a subtitle to only the first frame? From: ffmpeg-user [ffmpeg-user-boun...@ffmpeg.org] on behalf of Moritz Barsnick [barsn...@gmx.net] Sent: Sunday, May 15, 2016 19:02 To: FFmpeg user discussions Subject: Re: [FFmpeg-user] Prepend a single frame to a MP4 file On Sun, May 15, 2016 at 17:07:20 +0200, Virgil Stokes wrote: > How can one prepend a single frame to an existing MP4 file downloaded from > YouTube? The purpose of this new "first frame" is to add some identification > information (text) to the MP4. I don't like doubting people's goals, BUT: A single frame wouldn't be very visible, would it? Since you would need to use some form of concatenation (that's the key word to search for), you would need to reencode the whole video just for the sake of the one extra frame. Perhaps adding metadata or subtitles would be a better alternative for you? Both can be added without reencoding the video. Cheers, 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] drawtext 4:3 vs 16:9
> Date: Sat, 14 May 2016 22:52:29 +0200 > From: naser.sonb...@gmail.com > To: ffmpeg-user@ffmpeg.org > Subject: [FFmpeg-user] drawtext 4:3 vs 16:9 > > Hi, > > I need help with filter_complex and drawtext. > drawtext on aspect 4:3 are correct but drawtext on aspect 16:9 are > stretched. > > thx for help ... > > ffmpeg -i C:\ffmpeg\test-4.3.mp4 -filter_complex > "drawtext=fontfile=/Windows/Fonts/arial.ttf:text='0123456789':fontsize=20:fontcolor=white:x=10:y=10" > -aspect 4/3 -map 0 -map -0:d -vcodec libx264 -acodec aac -y > C:\ffmpeg\test-4.3-text.mp4 > ffmpeg version N-79947-gcd244fa Copyright (c) 2000-2016 the FFmpeg > developers > built with gcc 5.3.0 (GCC) > configuration: --enable-gpl --enable-version3 --disable-w32threads > --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-libmfx > --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb > --enable-libopenjpeg --enable-libopus --enable-librtmp > --enable-libschroedinger --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. 24.100 / 55. 24.100 > libavcodec 57. 41.102 / 57. 41.102 > libavformat57. 36.100 / 57. 36.100 > libavdevice57. 0.101 / 57. 0.101 > libavfilter 6. 45.100 / 6. 45.100 > libswscale 4. 1.100 / 4. 1.100 > libswresample 2. 0.101 / 2. 0.101 > libpostproc54. 0.100 / 54. 0.100 > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\ffmpeg\test-4.3.mp4': > Metadata: > major_brand : isom > minor_version : 512 > compatible_brands: isomiso2avc1mp41 > encoder : Lavf57.36.100 > Duration: 00:01:00.02, start: 0.00, bitrate: 1324 kb/s > Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, > 720x576 [SAR 16:15 DAR 4:3], 1190 kb/s, 25 fps, 25 tbr, 12800 tbn (default) > Metadata: > handler_name: VideoHandler > Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 4.0, > fltp, 128 kb/s (default) > Metadata: > handler_name: SoundHandler > [libx264 @ 0255ac60] using SAR=16/15 > [libx264 @ 0255ac60] using cpu capabilities: MMX2 SSE2Fast SSSE3 > SSE4.2 > [libx264 @ 0255ac60] profile High, level 3.0 > [libx264 @ 0255ac60] 264 - core 148 r2694 3b70645 - H.264/MPEG-4 > AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - > options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 > psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 > cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 > lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 > bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 > b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 > scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 > qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 > [mp4 @ 02556e20] Using AVStream.codec to pass codec parameters to > muxers is deprecated, use AVStream.codecpar instead. > Last message repeated 1 times > Output #0, mp4, to 'C:\ffmpeg\test-4.3-text.mp4': > Metadata: > major_brand : isom > minor_version : 512 > compatible_brands: isomiso2avc1mp41 > encoder : Lavf57.36.100 > Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 720x576 > [SAR 16:15 DAR 4:3], q=2-31, 25 fps, 12800 tbn (default) > Metadata: > encoder : Lavc57.41.102 libx264 > Side data: > cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 > Stream #0:1(und): Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, > 4.0, fltp, 266 kb/s (default) > Metadata: > handler_name: SoundHandler > encoder : Lavc57.41.102 aac > Stream mapping: > Stream #0:0 (h264) -> drawtext (graph 0) > drawtext (graph 0) -> Stream #0:0 (libx264) > Stream #0:1 -> #0:1 (aac (native) -> aac (native)) > Press [q] to stop, [?] for help > frame= 1500 fps= 15 q=-1.0 Lsize= 10495kB time=00:01:00.01 > bitrate=1432.7kbits/s speed=0.587x > video:8495kB audio:1955kB subtitle:0kB other streams:0kB global headers:0kB > muxing overhead: 0.439394% > > > ffmpeg -i C:\ffmpeg\test-16.9.mp4 -filter_complex > "drawtext=fontfile=/Windows/Fonts/arial.ttf:text='0123456789':fontsize=20:fontcolor=white:x=10:y=10" > -aspect 16/9 -map 0 -map -0:d -vcodec libx264 -acodec aac -y > C:\ffmpeg\test-16.9-text.mp4 > ffmpeg version N-79947-gcd244fa Copyright (c)
Re: [FFmpeg-user] Decklink with ffmpeg audio desync
El 14/05/2016 a las 2:44, Marton Balint escribió: I've removed -re from the command, but if that doesnt help, how can I fix the desync? I have no way of "not having" the NO INPUT SIGNAL -> INPUT SIGNAL DETECTED problem. Also, when the signal interrupts I see in the stream the colour bars. Do they come from ffmpeg or from the decklink card? Bars are coming from ffmpeg, when no input is detected. Apparently your inputs are not synchornized... Can you try to feed synchronized signal to ffmpeg to rule out this, as a probable source of A-V desync? The quick answer is no, I cant feed with sync. One of the sources is a complex PC VGA to S-VIDEO to SDI (Yes, 3 converters, dont ask) and they dont have sync in/out. We have a blackmagic SDI to Analog A/V that works perfectly (Never get desync), but with the quality loss of the Analog A/V so is a discarded solution. While Im looking on how to sync the inputs, is there any other way to fix this? Maybe telling ffmpeg to ignore any time code and just encode whatever get in? Regards, --Daniel ___ 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] 60 FPS timecode problem
Yes, that is what I thought but when the source is drop-frame and the destination is drop-frame, it appears that ffmpeg is calculating some offset into it that is throwing it off. It should remain the same in this scenario. - Sean -Original Message- From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of Wayne Poll Sent: Sunday, May 15, 2016 7:25 PM To: FFmpeg user questions Subject: Re: [FFmpeg-user] 60 FPS timecode problem -Original Message- >But there is an oddity with the time code where it adds 1.8 seconds at the >start of the newly transcoded file for every hour on the initial time code. Sounds like a Drop Frame - Non-Drop Frame issue to me. I'm pretty sure the difference between DF and NDF is about 2 seconds per hour. ___ 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] FFPROBE and Tags in MOV/MP4 files
Thanks! I am going to dig through the binary file and see what I can discover. -Original Message- From: Kieran O Leary [mailto:kieran.o.le...@gmail.com] Sent: Monday, May 16, 2016 11:54 AM To: FFmpeg user questions; Dave Navarro, Jr. Subject: Re: [FFmpeg-user] FFPROBE and Tags in MOV/MP4 files On Mon, May 16, 2016 at 5:06 PM, Kieran O Leary wrote: > Hi! > > On Mon, May 16, 2016 at 1:57 AM, Dave Navarro, Jr. > wrote: >> I am running some tests and I can't seem to locate where "TAGS" or >> "KEYWORDS" are stored. >> I may have misunderstood you, did you mean that you want to locate the information you entered in the 'Tags' section of the windows 7 media property window? If so, I've also failed to find that info with ffprobe or mediainfo, but I found it with exiftool, where it shows up as 'Category' (v bhccvgcvghcg was just some random stuff i entered :]) exiftool -Category K:\web_video\out.mov Category: v bhccvgcvghcg ___ 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] FFPROBE and Tags in MOV/MP4 files
No, the Title and Comments I am getting. In Windows 7, enter some keywords under "tags". They get saved in the file, but FFPROBE doesn't display them. -Original Message- From: Kieran O Leary [mailto:kieran.o.le...@gmail.com] Sent: Monday, May 16, 2016 11:06 AM To: FFmpeg user questions; d...@topekadesign.com Subject: Re: [FFmpeg-user] FFPROBE and Tags in MOV/MP4 files Hi! On Mon, May 16, 2016 at 1:57 AM, Dave Navarro, Jr. wrote: > I am using the latest version of FFPROBE to extract meta data from MOV > and > MP4 files uploaded to my web site. > > > > ffprobe -v quiet -show_format -show_streams -show_private_data > -print_format json test.mp4 > > > > I am running some tests and I can't seem to locate where "TAGS" or > "KEYWORDS" are stored. > > > > On my Windows 7 machine, when I right-click on a .MP4 file and go to > the "Details" tab. I put in the Title and Comments which I can see in > the FFPROBE output as being in the FORMAT section. I replicated your use-case in win 7 by adding a title and comments and this command produced: ffprobe -v quiet -show_entries format -show_private_data -print_format json K:\fixed.mov { "format": { "filename": "K:\\fixed.mov", "nb_streams": 2, "nb_programs": 0, "format_name": "mov,mp4,m4a,3gp,3g2,mj2", "format_long_name": "QuickTime / MOV", "start_time": "0.00", "duration": "5632.625000", "size": "6191240703", "bit_rate": "8793400", "probe_score": 100, "tags": { "major_brand": "qt ", "minor_version": "512", "compatible_brands": "qt ", "encoder": "Lavf57.25.100", "title": "testo", "comment": "leaf example comment for dave navarro, possibly from chilli peppers, but probably not" } } } Hopefully that resolves your issue? Best, Kieran. ___ 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] FFPROBE and Tags in MOV/MP4 files
On Mon, May 16, 2016 at 5:06 PM, Kieran O Learywrote: > Hi! > > On Mon, May 16, 2016 at 1:57 AM, Dave Navarro, Jr. > wrote: >> I am running some tests and I can't seem to locate where "TAGS" or >> "KEYWORDS" are stored. >> I may have misunderstood you, did you mean that you want to locate the information you entered in the 'Tags' section of the windows 7 media property window? If so, I've also failed to find that info with ffprobe or mediainfo, but I found it with exiftool, where it shows up as 'Category' (v bhccvgcvghcg was just some random stuff i entered :]) exiftool -Category K:\web_video\out.mov Category: v bhccvgcvghcg ___ 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] FFPROBE and Tags in MOV/MP4 files
Hi! On Mon, May 16, 2016 at 1:57 AM, Dave Navarro, Jr.wrote: > I am using the latest version of FFPROBE to extract meta data from MOV and > MP4 files uploaded to my web site. > > > > ffprobe -v quiet -show_format -show_streams -show_private_data -print_format > json test.mp4 > > > > I am running some tests and I can't seem to locate where "TAGS" or > "KEYWORDS" are stored. > > > > On my Windows 7 machine, when I right-click on a .MP4 file and go to the > "Details" tab. I put in the Title and Comments which I can see in the > FFPROBE output as being in the FORMAT section. I replicated your use-case in win 7 by adding a title and comments and this command produced: ffprobe -v quiet -show_entries format -show_private_data -print_format json K:\fixed.mov { "format": { "filename": "K:\\fixed.mov", "nb_streams": 2, "nb_programs": 0, "format_name": "mov,mp4,m4a,3gp,3g2,mj2", "format_long_name": "QuickTime / MOV", "start_time": "0.00", "duration": "5632.625000", "size": "6191240703", "bit_rate": "8793400", "probe_score": 100, "tags": { "major_brand": "qt ", "minor_version": "512", "compatible_brands": "qt ", "encoder": "Lavf57.25.100", "title": "testo", "comment": "leaf example comment for dave navarro, possibly from chilli peppers, but probably not" } } } Hopefully that resolves your issue? Best, Kieran. ___ 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] nvenc ffmpeg
On Mon, May 16, 2016 at 2:50 AM, Аз Есмьwrote: > i've got the same problem. GeForce GT 610, nVidia driver 361.42, Kubuntu > 16.04. Supported GPUs are listed here: https://developer.nvidia.com/nvidia-video-codec-sdk#gpulist which for GeForce cards can be summarized as "Kepler & Maxwell GPUs only". According to https://en.wikipedia.org/wiki/GeForce_600_series the GT 610 is a GF119 or Fermi card. That came out prior to the Kepler cards that first included NVENC. ___ 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] Error when using v4l2 to encode H264
Bogdan Mariesan buddyguard.io> writes: > ./ffmpeg -f v4l2 -video_size 640x360 -rtbufsize 702000k > -framerate 30 -i /dev/video0 -r 30 -threads 4 -vcodec libx264 > -pix_fmt yuv420p -tune zerolatency -preset ultrafast test.avi Your exact command line works fine here, please test the following: $ ffmpeg -i /dev/video0 -pix_fmt yuv420p out.mov Unrelated: Note that "-r 30" in your command line looks like a bad idea, you should probably remove it and h264 in avi can lead to unexpected issues. 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] Error when using v4l2 to encode H264
FFmpeg command: ./ffmpeg -f v4l2 -video_size 640x360 -rtbufsize 702000k -framerate 30 -i /dev/video0 -r 30 -threads 4 -vcodec libx264 -pix_fmt yuv420p -tune zerolatency -preset ultrafast test.avi FFMpeg log: user@chrysaor-info-ubuntu-14041-desktop-amd64:~/ffmpeg/FFmpeg$ ./ffmpeg -f v4l2 -video_size 640x360 -rtbufsize 702000k -framerate 30 -i /dev/video0 -r 30 -threads 4 -vcodec libx264 -pix_fmt yuv420p -tune zerolatency -preset ultrafast test.avi ffmpeg version N-80003-g2f76157 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1) configuration: --enable-nonfree --enable-gpl --enable-libx264 --enable-x11grab --enable-zlib libavutil 55. 24.100 / 55. 24.100 libavcodec 57. 42.100 / 57. 42.100 libavformat57. 36.100 / 57. 36.100 libavdevice57. 0.101 / 57. 0.101 libavfilter 6. 45.100 / 6. 45.100 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 0.101 / 2. 0.101 libpostproc54. 0.100 / 54. 0.100 Input #0, video4linux2,v4l2, from '/dev/video0': Duration: N/A, bitrate: 110592 kb/s Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x360, 110592 kb/s, 30 fps, 30 tbr, 1000k tbn [libx264 @ 0x38be2c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 [libx264 @ 0x38be2c0] profile Constrained Baseline, level 3.0 [avi @ 0x38bca20] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead. Output #0, avi, to 'test.avi': Metadata: ISFT: Lavf57.36.100 Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 640x360, q=2-31, 30 fps, 30 tbn Metadata: encoder : Lavc57.42.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264)) Could not write header for output file #0 (incorrect codec parameters ?): Immediate exit requested When going through ffserver my capture was hanging so I tried to output it to a file. It still hangs and when I try to stop it I get the log above. *Bogdan Emil Mariesan* Senior Software Engineer *BuddyGuard UG* (haftungsbeschränkt) Dircksenstr. 40 10178 Berlin m: +40 743 901 331 w. www.buddyguard.io ___ 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] nvenc ffmpeg
hello, i've got the same problem. GeForce GT 610, nVidia driver 361.42, Kubuntu 16.04. $ /opt/ffmpegnv/bin/ffmpeg -i test.mov -c:v nvenc_h264 -r 25 -profile:v high -pix_fmt yuv420p -preset default -crf 30 -an test.mp4 ffmpeg version 2.8.6-1build1 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.3.1 (Ubuntu 5.3.1-14ubuntu2) 20160413 configuration: --prefix=/opt/ffmpegnv --extra-version=1build1 --build-suffix=-ffmpegnv --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-openal --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libzvbi --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-libssh --enable-libsoxr --enable-libx264 --enable-libopencv --enable-libx265 --enable-nonfree --enable-nvenc ... No NVENC capable devices found ... Stream #0:0 -> #0:0 (prores (native) -> h264 (nvenc_h264)) Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height ___ 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] why ffmpeg reports error when decoding rm or rmvb files
Hi, I'm using the following command to decode some rm and rmvb files, and ffmpeg reports error as shown below: [root@PT-18376 test-clips]# ffmpeg -i hanma.rm -xerror -f null /dev/null ffmpeg version 2.8.3 Copyright (c) 2000-2015 the FFmpeg developers built with icc (ICC) 14.0.2 20140120 configuration: --cc=/opt/intel/bin/icc --enable-version3 --enable-asm --enable-yasm --enable-avfilter --enable-libvidstab --disable-static --enable-shared --enable-libx264 --enable-gpl --prefix=/usr/local/ --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --enable-libfdk_aac --enable-nonfree --enable-libass --enable-libfreetype --extra-libs=-lfreetype libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat56. 40.101 / 56. 40.101 libavdevice56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc53. 3.100 / 53. 3.100 [rm @ 0x1d703a0] Invalid stream index 2 for index at pos 7110127 Input #0, rm, from 'hanma.rm': Metadata: title : author : copyright : comment : ASMRuleBook : #($Bandwidth >= 0),Stream1Bandwidth = 64082, Stream0Bandwidth = 285918; Audiences : 350k Download (VBR); audioMode : music Creation Date : 4/19/2016 14:41:27 Generated By: Helix Producer SDK 11.0 for Windows, Build 11.0.0.2013 Modification Date: 4/19/2016 14:41:27 videoMode : sharp Duration: 00:02:39.75, start: 0.00, bitrate: 356 kb/s Stream #0:0: Video: rv40 (RV40 / 0x30345652), yuv420p, 448x336, 286 kb/s, 30 fps, 30 tbr, 1k tbn, 1k tbc Stream #0:1: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, stereo, fltp, 64 kb/s Output #0, null, to '/dev/null': Metadata: title : author : copyright : comment : ASMRuleBook : #($Bandwidth >= 0),Stream1Bandwidth = 64082, Stream0Bandwidth = 285918; Audiences : 350k Download (VBR); audioMode : music Creation Date : 4/19/2016 14:41:27 Generated By: Helix Producer SDK 11.0 for Windows, Build 11.0.0.2013 Modification Date: 4/19/2016 14:41:27 videoMode : sharp encoder : Lavf56.40.101 Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 448x336, q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc Metadata: encoder : Lavc56.60.100 rawvideo Stream #0:1: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s Metadata: encoder : Lavc56.60.100 pcm_s16le Stream mapping: Stream #0:0 -> #0:0 (rv40 (native) -> rawvideo (native)) Stream #0:1 -> #0:1 (cook (native) -> pcm_s16le (native)) Press [q] to stop, [?] for help hanma.rm: Input/output errorN/A Conversion failed! From the above message, ffmpeg reports error when reaching the end of input files, because av_read_frame() return a value that is not AVERROR_EOF. I use the same command to decode other clips, such mkv and mp4. Why ffmpeg reports error when decoding rm and rmvb files? rm and rmvb samples can be downloaded from http://pan.baidu.com/s/1hs113Bu http://pan.baidu.com/s/1qYKNY7y Thanks! B.R. 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".