Re: [FFmpeg-user] Is it possible to speed up merging-speed from HD to LAN?
Maybe he doesn't know that releases are not meant for end-users and have many disadvantages? Ok, I am now very confused about that. If the releases are not for end users? What (or which version) is mentioned to be used by end users? I tried the same tests now with this last version from there: http://ffmpeg.zeranoe.com/builds/win64/static/ ffmpeg version N-71209-gd759844 Copyright (c) 2000-2015 the FFmpeg developers, built with gcc 4.9.2 (GCC) Command Line output: C:\Users\Administratorffmpeg -i C:\278242_405568.avi -i C:\278242_405568.wav -vcodec copy -acodec copy -map 0:0 -map 1:0 \\filemeister\cosmospublicpa thvienna\test.avi ffmpeg version N-71209-gd759844 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnu tls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enab le-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable -libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --ena ble-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --e nable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib libavutil 54. 22.100 / 54. 22.100 libavcodec 56. 32.100 / 56. 32.100 libavformat56. 27.100 / 56. 27.100 libavdevice56. 4.100 / 56. 4.100 libavfilter 5. 13.101 / 5. 13.101 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc53. 3.100 / 53. 3.100 Input #0, avi, from 'C:\278242_405568.avi': Metadata: encoder : Lavf55.19.104 Duration: 00:21:10.64, start: 0.00, bitrate: 105377 kb/s Stream #0:0: Video: huffyuv (HFYU / 0x55594648), yuv422p, 720x608, 105376 kb/s, SAR 93:85 DAR 837:646, 25 fps, 25 tbr, 25 tbn, 25 tbc Guessed Channel Layout for Input Stream #1.0 : 4.0 Input #1, wav, from 'C:\278242_405568.wav': Duration: 00:21:10.64, bitrate: 6144 kb/s Stream #1:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 48000 Hz, 4 channels, flt, 6144 kb/s File '\\filemeister\cosmospublicpathvienna\test.avi' already exists. Overwrite ? [y/N] y Output #0, avi, to '\\filemeister\cosmospublicpathvienna\test.avi': Metadata: ISFT: Lavf56.27.100 Stream #0:0: Video: huffyuv (HFYU / 0x55594648), yuv422p, 720x608 [SAR 93:85 DAR 837:646], q=2-31, 105376 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc Stream #0:1: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 48000 Hz, 4.0, 6144 kb/s Stream mapping: Stream #0:0 - #0:0 (copy) Stream #1:0 - #0:1 (copy) Press [q] to stop, [?] for help frame=11742 fps= 65 q=-1.0 size= 6373520kB time=00:07:49.68 bitrate=64.8kbits/s Best Regards Christoph Gerstbauer ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] WAV to FLAC md5 mismatch errors
Hi Carl, Here is a link to the wav file I am using: https://www.dropbox.com/s/nd9d59fzj7pvjns/testwav.wav?dl=0 On Thu, Apr 2, 2015 at 2:04 PM, Carl Eugen Hoyos ceho...@ag.or.at wrote: Chase Walker chasewalker11 at gmail.com writes: I am using FFMPEG to convert WAV files to FLAC files and I am getting MD5 mismatch errors when running the converted files through AudioTester. Please provide such an input wav file. Carl Eugen ___ 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] WAV to FLAC md5 mismatch errors
Chase Walker chasewalker11 at gmail.com writes: I am using FFMPEG to convert WAV files to FLAC files and I am getting MD5 mismatch errors when running the converted files through AudioTester. Please provide such an input wav file. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] WAV to FLAC md5 mismatch errors
Hello, I am using FFMPEG to convert WAV files to FLAC files and I am getting MD5 mismatch errors when running the converted files through AudioTester. Now, it doesn't happen for all converted files, just some. Conversely, when I use the flac encoding tool to encode the files, they do not produce the md5 mismatch error. Does anyone have any insights on this? Here is the corresponding commands and output: ffmpeg -i 10casualties-2-1422667268-1-1426282002-1-1427332463.wav -y flac_encoding_test.flac ffmpeg version N-44407-g8bc8001- http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (Debian 4.9.2-10) configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --cc=gcc-4.9 libavutil 54. 18.100 / 54. 18.100 libavcodec 56. 22.100 / 56. 22.100 libavformat56. 22.100 / 56. 22.100 libavdevice56. 4.100 / 56. 4.100 libavfilter 5. 11.100 / 5. 11.100 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc53. 3.100 / 53. 3.100 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, wav, from '10casualties-2-1422667268-1-1426282002-1-1427332463.wav': Duration: 00:02:17.27, bitrate: 1411 kb/s Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s Output #0, flac, to 'flac_encoding_test.flac': Metadata: encoder : Lavf56.22.100 Stream #0:0: Audio: flac, 44100 Hz, stereo, s16, 128 kb/s Metadata: encoder : Lavc56.22.100 flac Stream mapping: Stream #0:0 - #0:0 (pcm_s16le (native) - flac (native)) Press [q] to stop, [?] for help size= 17278kB time=00:02:17.26 bitrate=1031.1kbits/s video:0kB audio:17270kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.046867% CHECKING FILE WITH FLAC flac -t flac_encoding_test.flac flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. Type `flac' for details. flac_encoding_test.flac: ERROR, MD5 signature mismatch ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Smooth frame rate reduction?
On 02/04/15 11:00, Carl Eugen Hoyos wrote: tim nicholson nichot20-at-yahoo.com at ffmpeg.org writes: http://mdsh.com/patches/ffmbc_0.7rc8/FFmbc-0.7-rc8_vf_framerate-2013051301.patch Is there a reason you are not sending a pull request from your git repository? (to ffmpeg-devel) Becasue I was supplying the link to the original ffmbc patch as I thought was requested by a previous post to facilate porting Carl Eugen [...] -- Tim. Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83 ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Is it possible to speed up merging-speed from HD to LAN?
Christoph Gerstbauer christophgerstbauer at gmail.com writes: (I don't think FFmpeg reads from the output file if that was your question.) That WAS the question ;) so my question is still the same: why is this so slow over lan? As said: FFmpeg seeks in the output file. (Of course this may not be the complete answer, but seeking certainly has a performance cost over network.) You could of course test with a pipe to prove me wrong... Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] using -vtag on input files
On 02/04/15 13:56, Roee Kashi wrote: Hi, back in 2012 I could use -vtag on an input rawvideo file, thus tell ffmpeg the pixel format is YV12. at a certain point there was a regression in that feature so vtag is again allowed only for outputs. currently since I have to convert YV12 rawvideo files to avi, I can only use this version: use -pix_fmt, valid for input/output [,,,] -- Tim. Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83 ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] using -vtag on input files
first, since my rawvideo input is YV12 and there's no such pix_fmt, yuv420p without vtag results with a blue-pink video output. second, before vtag supported input files, i had to convert the file first to avi with -vcodec copy, and then convert it to mpeg4 or something, which takes forever. i think this thread could shed some light on this matter (last message is the most important i think): http://ffmpeg-users.933282.n4.nabble.com/convert-YV12-stream-to-ProRes-td4665890.html Roee. 2015-04-02 17:53 GMT+03:00 tim nicholson nichot20-at-yahoo@ffmpeg.org: On 02/04/15 15:22, Roee Kashi wrote: Hi, with the older ffmpeg version (described earlier), my command line looks like this: ffmpeg.exe -f rawvideo -vcodec rawvideo -s 704x576 -r 25 -pix_fmt yuv420p -vtag YV12 -i raw.yuv -f avi -qscale 0 out.avi Ahh, so you are using the pix_fmt to specify the input... What happened on the older version if you left the -vtag off? I think its always only been an output only option, and istr a patch to fail options put in the wrong place. What happens if you move the option to the output side on a current build? with newer version, the output of the same command is: [...] -- Tim. Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83 ___ 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] using -vtag on input files
tim nicholson nichot20-at-yahoo.com at ffmpeg.org writes: ffmpeg.exe -f rawvideo -vcodec rawvideo -s 704x576 -r 25 -pix_fmt yuv420p -vtag YV12 -i raw.yuv -f avi -qscale 0 out.avi Ahh, so you are using the pix_fmt to specify the input... What happened on the older version if you left the -vtag off? I think its always only been an output only option It was definitely an input- and output-option. It is currently not possible to (easily) read such streams. One possible work-around is of course to remux to nut with (output) option vtag. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] using -vtag on input files
Roee Kashi galacap at gmail.com writes: back in 2012 I could use -vtag on an input rawvideo file, thus tell ffmpeg the pixel format is YV12. at a certain point there was a regression in that feature so vtag is again allowed only for outputs. How can I reproduce this? Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] using -vtag on input files
Hi, with the older ffmpeg version (described earlier), my command line looks like this: ffmpeg.exe -f rawvideo -vcodec rawvideo -s 704x576 -r 25 -pix_fmt yuv420p -vtag YV12 -i raw.yuv -f avi -qscale 0 out.avi with newer version, the output of the same command is: ffmpeg version N-71209-gd759844 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (GCC) ... Option vtag (force video tag/fourcc) cannot be applied to input file raw.yuv -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to. Error parsing options for input file raw.yuv. Error opening input files: Invalid argument this error can be with any input file, not necessarily a yuv file, but to fully test it with the YV12 tag, i uploaded raw.yuv file: http://www.filedropper.com/output1 2015-04-02 16:11 GMT+03:00 Carl Eugen Hoyos ceho...@ag.or.at: tim nicholson nichot20-at-yahoo.com at ffmpeg.org writes: On 02/04/15 13:56, Roee Kashi wrote: back in 2012 I could use -vtag on an input rawvideo file, thus tell ffmpeg the pixel format is YV12. at a certain point there was a regression in that feature so vtag is again allowed only for outputs. use -pix_fmt, valid for input/output There is no such pix_fmt... Carl Eugen ___ 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] playing a stream at the correct speed from a file. help needed please
From: Carl Eugen Hoyos ceho...@ag.or.at To: ffmpeg-user@ffmpeg.org Sent: Thursday, 2 April 2015, 14:58 Subject: Re: [FFmpeg-user] playing a stream at the correct speed from a file. help needed please JULIAN GARDNER joolzg at btinternet.com writes: I have a thread that I am trying and failing to get to play a stream from disc as the correct rate. Did you try with ffmpeg (the application)? There are streams that do not play with the correct speed with FFmpeg, and in that case, there is no issue in your software. (The issue in FFmpeg is H264-related.) Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user I checked against ffmpeg and they play correctly so its is my conversion code that is not working. on one stream the delay comes out as 16.683 when the correct delay is (1000/29.97) or 33.36 joolz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] using -vtag on input files
On 02/04/15 15:22, Roee Kashi wrote: Hi, with the older ffmpeg version (described earlier), my command line looks like this: ffmpeg.exe -f rawvideo -vcodec rawvideo -s 704x576 -r 25 -pix_fmt yuv420p -vtag YV12 -i raw.yuv -f avi -qscale 0 out.avi Ahh, so you are using the pix_fmt to specify the input... What happened on the older version if you left the -vtag off? I think its always only been an output only option, and istr a patch to fail options put in the wrong place. What happens if you move the option to the output side on a current build? with newer version, the output of the same command is: [...] -- Tim. Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83 ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] using -vtag on input files
On 02/04/15 16:45, Carl Eugen Hoyos wrote: tim nicholson nichot20-at-yahoo.com at ffmpeg.org writes: ffmpeg.exe -f rawvideo -vcodec rawvideo -s 704x576 -r 25 -pix_fmt yuv420p -vtag YV12 -i raw.yuv -f avi -qscale 0 out.avi Ahh, so you are using the pix_fmt to specify the input... What happened on the older version if you left the -vtag off? I think its always only been an output only option It was definitely an input- and output-option. It is currently not possible to (easily) read such streams. So it was, I see you fixed it ages ago, sorry for causing confusion by misremebering. In oreder to make amends I think I have tracked the issue down It looks like the merge 5743095c line 3043 from avconv made it at output only option... needs an OPT_INPUT | OPT_OUTPUT instead of OPT_OUTPUT One possible work-around is of course to remux to nut with (output) option vtag. Carl Eugen [...] -- Tim. Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83 ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] using -vtag on input files
On 02/04/15 16:11, Roee Kashi wrote: first, since my rawvideo input is YV12 and there's no such pix_fmt, yuv420p without vtag results with a blue-pink video output. I guess because its decoding it as yuv not yvu second, before vtag supported input files, i had to convert the file first to avi with -vcodec copy, and then convert it to mpeg4 or something, which takes forever. Its odd that ffmpeg can handle yvu, without exposing a specific pix_fmt to match, even more so as yvu ordering is common in mpeg (which is probably why your workaround worked... i think this thread could shed some light on this matter (last message is the most important i think): http://ffmpeg-users.933282.n4.nabble.com/convert-YV12-stream-to-ProRes-td4665890.html Ahh so Carl added that in ffmpeg.c for sources in 6bca574a and then later on it was re-added in a merge of 746dca483a2f in 2014/02/24 but into ffmpeg_opt.c I wonder if that's where it all went wrong... Roee. 2[..] -- Tim. Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83 ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user