VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 37 of 37
  1. Banned
    Join Date
    Oct 2014
    Location
    Northern California
    Search PM
    Originally Posted by Wader8 View Post
    STAY TUNED
    I can't speak for others but I think you are on a wild goose chase.

    My previous advice stands:

    I would suggest thinking things through with quality and efficiency in mind and creating a workflow and sticking to it.
    Quote Quote  
  2. Originally Posted by Wader8 View Post
    --------------------------------
    Processing never started.
    Waiting in Queue ... 30 minutes and counting .. oops MKV is not supported :/
    Since you don't know what you're doing, can't you quit using ffmpeg and use an easier way to encode for x264, programs like XviD4PSP, RipBot, StaxRip, etc? And that way you'll get what you say you want - faster processing by YouTube.
    ...maybe I really need to use CRF lossless or SAMEQ
    You should have been using CRF encoding from the beginning. Saves time over 2-pass encoding and produces even quality throughout all encodes and all parts of each encode. CRF 18 is a good one to use.
    Quote Quote  
  3. ffmpeg is being used for a good reason as it's the easiest for the other guy than to tell him he has to install some programes and fiddle with them, with ffmpeg he just executes a batch and that's it.

    Maybe other programs are similar, but I can't be all over the place at the same time.

    And besides I'm pretty much about to be done for the big test ... hopefully it doesn't stuck at the very end.


    And yeah sameq is not same quality i forgot, whoever comes up with these namings.

    Currently I'm trying to find out how to make OPENDML AVI with ffmpeg and how to increase the profile ... documentation POS as usual.
    Quote Quote  
  4. MPEG4 VISUAL (XVID) AVI TEST: Audio Copied, 2 pass CBR.


    20 minutes: 219 MB (229.675.008 bytes)

    Wanted to upload this but there was an audio sync issue, which is totally unacceptable. The fixes would involve probably recoding the audio which I want to just copy so I'm switching the format to MP4 for another test.

    Code:
    ffmpeg -loglevel verbose -i %input%.mp4 -vcodec libxvid -vtag XVID -pix_fmt yuv420p -s 896x504 -aspect 16:9 -movflags faststart -ss 00:00:00 -to 00:20:00 -r 29.97 -g 29.97 -bf 2 -b:v 1280k -pass 1 -an -f rawvideo -y pass1.raw
    ffmpeg -loglevel verbose -i %input%.mp4 -vcodec libxvid -vtag XVID -pix_fmt yuv420p -s 896x504 -aspect 16:9 -movflags faststart -ss 00:00:00 -to 00:20:00 -r 29.97 -g 29.97 -bf 2 -b:v 1280k -pass 2 -acodec copy -threads 8 -f avi %input%_Recoded-MPEG4-AVI.avi

    No idea what's with IO error 0, doesn't stop or ruin anything when playback, video works fine.


    Code:
    ffmpeg version N-68826-g504267f Copyright (c) 2000-2014 the FFmpeg developers
      built on Jan  2 2015 22:12:34 with gcc 4.9.2 (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-libmp3lame --enable-libopencore-amrnb --enable-libope
    ncore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --e
    nable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-
    libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --en
    able-decklink --enable-zlib
      libavutil      54. 16.100 / 54. 16.100
      libavcodec     56. 19.100 / 56. 19.100
      libavformat    56. 16.102 / 56. 16.102
      libavdevice    56.  3.100 / 56.  3.100
      libavfilter     5.  6.100 /  5.  6.100
      libswscale      3.  1.101 /  3.  1.101
      libswresample   1.  1.100 /  1.  1.100
      libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'aj1.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        creation_time   : 1970-01-01 00:00:00
        encoder         : Lavf52.64.2
      Duration: 03:05:23.86, start: 0.000000, bitrate: 831 kb/s
        Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 700x394 (704x400), 699 kb/s, 29.97 fps, 29.97 tbr, 29970 tb
    n, 59.94 tbc (default)
        Metadata:
          creation_time   : 1970-01-01 00:00:00
          handler_name    : VideoHandler
        Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
        Metadata:
          creation_time   : 1970-01-01 00:00:00
          handler_name    : SoundHandler
    [graph 0 input from stream 0:0 @ 0000000002f68ec0] w:700 h:394 pixfmt:yuv420p tb:1/29970 fr:2997/100 sar:0/1 sws_param:flags=2
    [scaler for output stream 0:0 @ 0000000000352e20] w:896 h:504 flags:'0x4' interl:0
    [scaler for output stream 0:0 @ 0000000000352e20] w:700 h:394 fmt:yuv420p sar:0/1 -> w:896 h:504 fmt:yuv420p sar:0/1 flags:0x4
    Output #0, rawvideo, to 'pass1.raw':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        encoder         : Lavf56.16.102
        Stream #0:0(und): Video: mpeg4 (libxvid) (XVID / 0x44495658), yuv420p, 896x504 [SAR 1:1 DAR 16:9], q=2-31, pass 1, 1280 kb/s,
    29.97 fps, 29.97 tbn, 29.97 tbc (default)
        Metadata:
          creation_time   : 1970-01-01 00:00:00
          handler_name    : VideoHandler
          encoder         : Lavc56.19.100 libxvid
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (libxvid))
    Press [q] to stop, [?] for help
    No more output streams to write to, finishing.=00:19:56.69 bitrate=3116.5kbits/s
    frame=35964 fps=268 q=2.0 Lsize=  456378kB time=00:20:00.00 bitrate=3115.5kbits/s
    video:456378kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
    Input file #0 (aj1.mp4):
      Input stream #0:0 (video): 35973 packets read (121013055 bytes); 35966 frames decoded;
      Input stream #0:1 (audio): 1 packets read (398 bytes);
      Total: 35974 packets (121013453 bytes) demuxed
    Output file #0 (pass1.raw):
      Output stream #0:0 (video): 35964 frames encoded; 35962 packets muxed (467330885 bytes);
      Total: 35962 packets (467330885 bytes) muxed
    ffmpeg version N-68826-g504267f Copyright (c) 2000-2014 the FFmpeg developers
      built on Jan  2 2015 22:12:34 with gcc 4.9.2 (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-libmp3lame --enable-libopencore-amrnb --enable-libope
    ncore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --e
    nable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-
    libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --en
    able-decklink --enable-zlib
      libavutil      54. 16.100 / 54. 16.100
      libavcodec     56. 19.100 / 56. 19.100
      libavformat    56. 16.102 / 56. 16.102
      libavdevice    56.  3.100 / 56.  3.100
      libavfilter     5.  6.100 /  5.  6.100
      libswscale      3.  1.101 /  3.  1.101
      libswresample   1.  1.100 /  1.  1.100
      libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'aj1.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        creation_time   : 1970-01-01 00:00:00
        encoder         : Lavf52.64.2
      Duration: 03:05:23.86, start: 0.000000, bitrate: 831 kb/s
        Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 700x394 (704x400), 699 kb/s, 29.97 fps, 29.97 tbr, 29970 tb
    n, 59.94 tbc (default)
        Metadata:
          creation_time   : 1970-01-01 00:00:00
          handler_name    : VideoHandler
        Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
        Metadata:
          creation_time   : 1970-01-01 00:00:00
          handler_name    : SoundHandler
    [graph 0 input from stream 0:0 @ 0000000005cedb00] w:700 h:394 pixfmt:yuv420p tb:1/29970 fr:2997/100 sar:0/1 sws_param:flags=2
    [scaler for output stream 0:0 @ 0000000005ceee00] w:896 h:504 flags:'0x4' interl:0
    [scaler for output stream 0:0 @ 0000000005ceee00] w:700 h:394 fmt:yuv420p sar:0/1 -> w:896 h:504 fmt:yuv420p sar:0/1 flags:0x4
    IO error: Error number 0 occurred
    Output #0, avi, to 'aj1_Recoded-MPEG4-AVI.avi':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        ISFT            : Lavf56.16.102
        Stream #0:0(und): Video: mpeg4 (libxvid) (XVID / 0x44495658), yuv420p, 896x504 [SAR 1:1 DAR 16:9], q=2-31, pass 2, 1280 kb/s,
    29.97 fps, 29.97 tbn, 29.97 tbc (default)
        Metadata:
          creation_time   : 1970-01-01 00:00:00
          handler_name    : VideoHandler
          encoder         : Lavc56.19.100 libxvid
        Stream #0:1(und): Audio: aac ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, 127 kb/s (default)
        Metadata:
          creation_time   : 1970-01-01 00:00:00
          handler_name    : SoundHandler
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (libxvid))
      Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    No more output streams to write to, finishing.=00:19:57.82 bitrate=1521.3kbits/s
    frame=35964 fps=201 q=5.0 Lsize=  224288kB time=00:20:00.00 bitrate=1531.1kbits/s
    video:203321kB audio:18745kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.000491%
    Input file #0 (aj1.mp4):
      Input stream #0:0 (video): 35973 packets read (121013055 bytes); 35966 frames decoded;
      Input stream #0:1 (audio): 56260 packets read (19198424 bytes);
      Total: 92233 packets (140211479 bytes) demuxed
    Output file #0 (aj1_Recoded-MPEG4-AVI.avi):
      Output stream #0:0 (video): 35964 frames encoded; 35962 packets muxed (208200860 bytes);
      Output stream #0:1 (audio): 56250 packets muxed (19195374 bytes);
      Total: 92212 packets (227396234 bytes) muxed
    Press any key to continue . . .

    Maybe this was from being 2 passes and audio copied instead of recoded, no idea.


    EDIT: MP4 doesn't support Xvid ... lmao ? .. okay it didn't like the vtag, let's test it now, a little bigger size but that's okay.

    But I need the final test to call this thread, pretty much figured out imo, but can't confirm.
    Last edited by Wader8; 5th Jan 2015 at 23:07.
    Quote Quote  
  5. Originally Posted by Wader8 View Post
    MPEG4 VISUAL (XVID) AVI TEST: Audio Copied, 2 pass CBR.
    CBR? You're joking, right? Do you know even the first thing about encoding? Or, if you're just testing, why not test with 2-pass VBR since you're running two passes to begin with?
    ffmpeg is being used for a good reason as it's the easiest for the other guy than to tell him he has to install some programes and fiddle with them, with ffmpeg he just executes a batch and that's it.
    Right, and then when it doesn't work the way he wants he asks you for help, and you know as little as he does. So, are you sure ffmpeg is the easiest to use? As near as I can tell you haven't gotten it to work with decent results yet. You come here asking for help, reject the help that's been offered, and then wonder why you continue to have trouble? Good luck.
    Quote Quote  
  6. Right now I'm figuring out ffmpeg config it self, not youtube.

    If you haven't noticed there were people already saying they don't want to commit to this because they don't use youtube at all, that doesn't affect my commitment in any way.

    As I said, I got youtube pretty much solved, but not confirmed, I need to find a good ffmpeg config for a stable file and a reasonable size, even tho it's almost 2GB with this.

    I had problems with VBR not registering my options and with VBV buffer because I couldn't find enough info how to set VBV properly, but I think it was a problem with other containers, being back to MP4 it may work fine, with other containers using VBR did not properly copy the audio among other issues.

    Right not I'm trying to properly delay audio without recoding it to fix a slight audio desync with XVID. Having some problems with -itsoffset figuring out how it works, being confused by obsolete info on the web.

    Basically I'm trying to find a good stable video codec that is not x264 or HEVC and a AAC-LC compatible containter with the audio copied from source.

    The sources will be all identical as the sample one, he doesn't have to do anything other than execute the bat.


    EDIT: found what i was looking for
    Last edited by Wader8; 6th Jan 2015 at 02:09.
    Quote Quote  
  7. And speaking of "all the help that I got and didn't take" ... pertaining directly to ffmpeg, which was?

    Sometimes I think ffmpeg community is plagued by infiltrators from proprietary software companies to intentionally make documentation poor so they can shift a lot of users to use their fancy paid apps, im not accusing and don't have evidence but it surely feels like it.

    Did anyone help with ffmpeg reporting error 0 ? does anyone know what that is, that would help.

    First of all this is going fast, secondly, all the work in page 1 I did is obsolete so it's scrapped and I just bypassed some things, x264 doesn't work, done, hevc doesn't work, done, let's go, no point to waste time on that, I don't understand what "steady thought out workflow" can help me with this going forward, if Xvid won't work, who cares, i'll try another codec.

    Going back to ffmpeg, what is this error 0, this intentionally coded errors without explanations, what is this kind of development mindset, is this closed source, why is it not more detailed, it feels like it's made for developers with their full non-user documentation and ofcourse they can figure it out if they do this for a business every single day, ffmpeg should focus on end users fairly instead of just implementators which don't have any need for a more detailed error reporting, explanations, and the whole thing then feels more like a semi-open cult. What's the point of open source if nobody can use it and it's just a clever way for corporations which pay people to study it to save money on licensing fees, all hiding in the name of "open-source", and if you complain about the documentation and error reporting you'd probably get shoved the "not respectful to hard working people" yeah right.

    If I was paid to figure out what error 0 means, i wouldn't be complaining, but I wouldn't be upset if I was trying to fix that from the get go.

    Like a dishwasher when it brokes down it displays E47 and that's only explained in the not-for-sale service manual, not user's manual.

    So ... to answer a good part of that question, the whole idea about not using ffmpeg (and not generating posts about this to help other people and encourage them) made me to reinforce and continue using ffmpeg out of spite. The other part is, I want to figure it out, I want a good challenge, I don't use smartphones at all, I don't want to be dumbed down, no thanks, but in this case, i didn't start this to solve error 0, so I see it as an annoyance rather than a challenge.

    EDIT: I did use the VBR advice however, i did forgot about it so i can say thanks.
    Last edited by Wader8; 6th Jan 2015 at 10:04.
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!