Menu

#13 Failed to checkout latest project and format always in .octet-stream

V2
closed
None
1
2019-09-14
2014-03-06
Anonymous
No

Sorry for double posting this, I forgot to add title in previous post.

Before I start, great job developing this open source app :)
Actually, I'm not sure if this should go to the bug session,my problem is : I can't do SVN checkout with tortoiseSVN from this url : http://svn.code.sf.net/p/ytd2/code/ ytd2-code.
TortoiseSVN always says the URL is not available. In the end, I download the snapshot of the code, import the project manually on eclipse, download the dependencies jar with google's help, and thankfully I can run the app just fine.
It successfully download youtube files, but it's always in *.octet-stream format (thus unplayable). The version is V20140126_1242d.
Any help or pointers to solve this will be great, thanks :)

Discussion

  • StefanKaerst

    StefanKaerst - 2014-03-06

    Hi,

    Thanks for your patience getting ytd2 running from source!!
    I deleted your first post.

    Sourceforge.net provides this svn url. I cannot see how to change it.
    My eclipse is able to browse the svn repo from "svn://svn.code.sf.net/p/ytd2/code/ytd2" and "http://svn.code.sf.net/p/ytd2/code/ytd2".

    regarding this "bug"
    Google lately changed their html source code. there are two sections within java script which are important. one is a list with web urls to mpeg, webm, flv videos. they work fine with ytd2 for several months (years?)
    the second list contains urls to MP4 videos (even ultra HD ones) BUT google seperated video from audio.

    You can rename an "octed-stream" file to mp4 an play it. it is just MPEG4 (ISO .. something, http://en.wikipedia.org/wiki/Mpeg4). but audio is missing.
    ytd2 names all files after the actual mime type from the http stream.

    example:
    http://www.youtube.com/watch?v=Kt4Mw1v2c4U

    knoedel@section60:~/YouTube Downloads/nfs> file 'Vergleichstest | KTM 1190 Adventure vs Adventure R | 2013.octet-stream'
    Vergleichstest | KTM 1190 Adventure vs Adventure R | 2013.octet-stream: ISO Media

    knoedel@section60:~/YouTube Downloads/nfs> mplayer -gui 'Vergleichstest | KTM 1190 Adventure vs Adventure R | 2013.octet-stream'
    The -gui option will only work as the first command line argument.
    MPlayer -4.8 (C) 2000-2013 MPlayer Team
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    G_FILENAME_ENCODING=@locale or G_BROKEN_FILENAMES isn't supported,
    encoding must be explicitly specified in G_FILENAME_ENCODING.
    Icon 'mplayer' (size 16) not found or unsupported format.
    Icon 'mplayer' (size 32) not found or unsupported format.
    Icon 'mplayer' (size 48) not found or unsupported format.

    Playing /home/knoedel/YouTube Downloads/nfs/Vergleichstest | KTM 1190 Adventure vs Adventure R | 2013.octet-stream.
    libavformat version 55.19.104 (internal)
    libavformat file format detected.
    [lavf] stream 0: video (h264), -vid 0
    VIDEO: [H264] 854x480 24bpp 25.000 fps 830.4 kbps (101.4 kbyte/s)
    ^C

    You see?
    I updated my openSUSE to 13.1 which was some kind of mistake, because everything works well except VLC, which cannot play MP4 anymore. this is (as you can imagine) very annoying as VLC can show encoding information about video and audio.
    This slows down development a bit.

    What is also bad is that ytd2 would now have to download two streams (if its an mpeg4 video) and mix them back together. This could be a big challange.

    Maybe someone is able to support ytd2. I always wanted to provide a maven or ant build file and implement other features but google always change things for whatever reason. I mean, ytd2 saves upload resources from google ... ;-)

    Best Regards
    Thanks for reading, sorry for my not so good english.

    Stefan

     
  • StefanKaerst

    StefanKaerst - 2014-03-06
    • status: open --> accepted
     
  • Anonymous

    Anonymous - 2014-03-06

    wow, thanks for your fast reply! :D
    yes, after renaming it to .flv or .mp4, the video plays just fine (using media player classic, as you've suggested because vlc media player can't play it) and yes, there's no sound.

    and I've tried using the released v20131210 and it still works just fine! :) no more octet-stream extension (maybe it's useful to know if you haven't noticed it :) )

    oh, and your english is just fine, dont worry :) (I think mine is not that good ^^;)

    Thanks again for your fast reply :)

     
  • StefanKaerst

    StefanKaerst - 2015-06-09
    • status: accepted --> closed
     

Anonymous
Anonymous

Add attachments
Cancel