Play MP4 or AVI

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #986
    the_witness
    Participant

    Hello all,

    I have the firefly server (1463) installed on a linux box. I can play mp3 files without any problems, from iTunes on my Windows machine.

    When I click on mp4 files, I can “hear” the audio, but I cannot see the video.

    Also, if I add .avi files, is there a way that I can watch them as well??

    Thanks

    #8416
    rpedde
    Participant

    @the_witness wrote:

    When I click on mp4 files, I can “hear” the audio, but I cannot see the video.

    If you change it to “.mov”, or “m4v”, then it should work okay.

    Also, if I add .avi files, is there a way that I can watch them as well??

    No. Something we’ve discussed a bit was transcoding to a format that iTunes wouldn’t mind, but I’m not sure about how possible or likely that is.

    — Ron

    #8417
    the_witness
    Participant

    Thanks, changing it to .m4v worked for me.

    But will mp4 be supported natively?

    Keep me posted!

    #8418
    rpedde
    Participant

    @the_witness wrote:

    Thanks, changing it to .m4v worked for me.

    But will mp4 be supported natively?

    Keep me posted!

    Yup. I need to work on the tag parsers to be able to tell if a file has a movie element or just music, but it’s something I want to get finished before iTV comes out.

    #8419
    the_witness
    Participant

    I was thinking the same thing!! 😉

    #8420
    jphastings
    Guest

    AVI files can be supported (I think) Maybe this will help?
    On my Mac, I can use Quicktime (you may need the PRO version) to create a ‘Reference Movie’ (creates the atomic references that iTunes expects in it’s media) and – provided you have a Quicktime compatable decoder for the codecs used in the avi – it will decode in iTunes.

    There are two major problems with this:
    1. Creating the Reference Movies is a *serious* pain in the ass. I’ve hunted in vain for command line pograms that will create them, automator actions and the file structure so I might be able to build them myself.
    2. Even streaming from the same computer as watching I can’t get a steady stream. Maybe this is because firefly is optimised for m4v streaming? (Using this method and putting the video directly into the iTunes library allows proper watching)

    Has there been any advance on the possibility of an on-the-fly transcode? I’d love to be able to use this to serve my media to an appleTV, without having to transcode *everything* beforehand. (There are similar things for Windows computers that transcode for the xbox360 – surely the processing power is there on modern computers?)

    Keep up the good work!

    #8421
    Anonymous
    Inactive

    @jphastings wrote:

    I’ve hunted in vain for command line pograms that will create them, automator actions and the file structure so I might be able to build them myself.

    I’m currently doing this (even though I think it’s a lousy idea) on my Linux server. The command line I’m using is:

    ffmpeg -i .avi .mov && mv .mov .m4v

    .
    I would really like to have this built in! I do not want to convert all my files (1.3Tb) and risk loosing information or compability with my other players (XBMC do read QuickTime movies, but…)

    #8422
    rpedde
    Participant

    @turbo wrote:

    @jphastings wrote:

    I’ve hunted in vain for command line pograms that will create them, automator actions and the file structure so I might be able to build them myself.

    I’m currently doing this (even though I think it’s a lousy idea) on my Linux server. The command line I’m using is:

    ffmpeg -i .avi .mov && mv .mov .m4v

    .
    I would really like to have this built in! I do not want to convert all my files (1.3Tb) and risk loosing information or compability with my other players (XBMC do read QuickTime movies, but…)

    It will probably happen, at least a script-based version. But not until after I get the music part of it working well. 🙂

    – Ron

    #8423
    Anonymous
    Inactive

    @rpedde wrote:

    It will probably happen, at least a script-based version. But not until after I get the music part of it working well. 🙂

    Good. Then you can start right away! It works (almost? – can’t see any problems with it 🙂 perfect already. If there’s any bugs/problems, they are so minor.
    I’ve seen quite a lot of posts regarding Movie support, so get coding :).

    I’ll see if I can find the time to look it over and maybe help, but as everyone else, I’m busy with my own projects 🙂

    #8424
    eladrrats
    Guest

    MT-DAAPD has been terrific so far, but I would absolutely love to see streaming video support. I have an apple tv and it can’t play videos from daapd so it leaves me between a rock and a hard place. I love daapd, but in order to play my movies, I’d have to hack the apple tv or switch to a “native” iTunes source. Does anyone have any clues on when streaming video formats might be supported in daapd? I saw a suggestion posted on another page that related to this project about a streaming plugin: http://mpeg4ip.sourceforge.net/faq/index.php#Project

    thanks so much

    #8425
    Anonymous
    Inactive

    @eladrrats wrote:

    Does anyone have any clues on when streaming video formats might be supported in daapd?

    Have a look (and vote! 🙂 at http://forums.fireflymediaserver.org/viewtopic.php?t=7028.

    I’m basically in the same position as you, hence I voted ‘Critical’ :). I don’t care much about the MP3 part (I don’t have much of that and I rarly listen to music – if I do, it’s usually radio).

    #8426
    rpedde
    Participant

    @eladrrats wrote:

    MT-DAAPD has been terrific so far, but I would absolutely love to see streaming video support. I have an apple tv and it can’t play videos from daapd so it leaves me between a rock and a hard place. I love daapd, but in order to play my movies, I’d have to hack the apple tv or switch to a “native” iTunes source. Does anyone have any clues on when streaming video formats might be supported in daapd? I saw a suggestion posted on another page that related to this project about a streaming plugin: http://mpeg4ip.sourceforge.net/faq/index.php#Project

    thanks so much

    I don’t believe anything will ever support streaming to appletv. The handshake between the appletv and a media source requires a private x.509 certificate. Even if someone were to dig it out of iTunes, then apple would generate a new certificate and break it the next version of iTunes.

    — Ron

    #8427
    Anonymous
    Inactive

    Hi – Is there anyway Firefly could default to see .MP4 as video? I would think that most people have more video than audio with .MP4 extensions.

    Thanks

    #8428
    Anonymous
    Inactive

    @alchemist wrote:

    Hi – Is there anyway Firefly could default to see .MP4 as video? I would think that most people have more video than audio with .MP4 extensions.

    Works for me… I had to hack the DB though 🙂

    celia:~# sqlite3 -column -header /var/cache/mt-daapd-test/songs3.db
    SQLite version 3.3.8
    Enter ".help" for instructions
    sqlite> update songs set has_video=1,type='m4v',codectype='mp4v' where path like '%.mp4';
    sqlite> select id,title,type,codectype,has_video from songs where path like '%.mp4';
    id title type codectype has_video




    4 Filename1 (mpg-mp4).mp4 m4v mp4v 1
    9 Filename2 (avi-mp4).mp4 m4v mp4v 1
    10 Filename3 (mp4-mp4).mp4 m4v mp4v 1

    Of these, only the file with id=10 is actually playing. It’s the only file that is actually an MP4 file! The other ones are MPEG (?) and AVI files and this ‘hack’ don’t work for them. The id=9 is something I’m still working on…

    Ok, so that isn’t by default but any way. It DO work… 🙂

    Oh, iTunes have to be disconnected from the server and the server needs to be restarted for it to work/show up…

    #8429
    Anonymous
    Inactive

    Thanks turbo – I’ll try that workaround – I guess I can cron the sqlite db change

Viewing 15 posts - 1 through 15 (of 15 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.