Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: Pitivi won't encode to h.264 MP4. . .

  1. #11
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,280
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Pitivi won't encode to h.264 MP4. . .

    well, i just issued ffmpeg -formats and I see this:
    DE h264 raw H.264 video format
    D means decode and E means encode doesn't it? I did compile ffmpeg myself awhile back. version is this:

    FFmpeg version SVN-r23034, Copyright (c) 2000-2010 the FFmpeg developers
    built on May 6 2010 10:55:53 with gcc 4.4.3
    configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab

    Anyway, my point is that i have tried to use the settings in Pitivi and it says x264, not h264 so my render in pitivi just sits there and doesn't move, and also cpu doesn't move so I am not sure how to use pitivi to encode a raw dv file into a h264 file for youtube. any help please? I have tried handbrake (don't think it accepts dv files from kino), i have tried kdenlive and i don't see an option to export a h264 or x264 from kino, only xvid i think? i am trying to capture xbox 360 game play through firewire (analog from thru a dazzle hollywood dv bridge) and then trying to edit and add animation in linux tools, then export for upload to youtube. I was doing this is iMovie HD and everything was so easy but my dad took his powerbook g4 back. DAMN IT. Anyone, pelase help.

  2. #12
    Join Date
    Sep 2009
    Beans
    2,333

    Re: Pitivi won't encode to h.264 MP4. . .

    seen the h264 install as i installed smplayer

    hope this helps

  3. #13
    Join Date
    Jun 2005
    Beans
    1,056
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Pitivi won't encode to h.264 MP4. . .

    Pitivi doesn't work for me in Lucid (did in Karmic) though Avidemux does, so maybe try Avidemux.

  4. #14
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,280
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Pitivi won't encode to h.264 MP4. . .

    h264enc is the package name, i just found it and installed it but when I run this command:
    Code:
    ffmpeg -f dv -i capture008.dv -acodec aac -vcodec h264 -s 720x480 -aspect 4:3 capture008.mp4
    it still says unknown encoder h264, tried h264enc, failed, tried x264, failed.

  5. #15
    Join Date
    Sep 2009
    Beans
    2,333

    Re: Pitivi won't encode to h.264 MP4. . .

    try a diff size like 640x480
    this does not look right 720x480

    hope that helps

  6. #16
    Join Date
    Mar 2008
    Location
    Ireland
    Beans
    838
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: Pitivi won't encode to h.264 MP4. . .

    I had this exact same problem... seems like its not available for some reason.
    Projects - PhotoFlare Image Editor | Xwii | URT-2D | BHR
    Hardware - System 76 - Galago UltraPro

  7. #17
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,280
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Pitivi won't encode to h.264 MP4. . .

    Quote Originally Posted by no2498 View Post
    try a diff size like 640x480
    this does not look right 720x480

    hope that helps
    Quote Originally Posted by no2498 View Post
    try a diff size like 640x480
    this does not look right 720x480

    hope that helps
    size wouldn't have anything to do with codec. it turns out it's written like this

    Code:
    ffmpeg -i INPUT -acodec libfaac -ab 128k -ac 2 -f mp4 -vcodec libx264 -vpre slow -crf 25 -s 480x360 -deinterlace -threads 0 OUTPUT.mp4
    notice the libx264, not h264 or x264.
    we'll see how it turns out. im trying to find the best settings for decent amount of time for encoding and good quality for youtube.

  8. #18
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,280
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Pitivi won't encode to h.264 MP4. . .

    ok. for some reason i can't export in pitivi using anything that uses libx264, i ahve tried in a avi container, a mp4 container, i have tried ac3 audio, mp3 audio to no avail. it just sits there at the render progress and it never moves. any thoughts? i ahve compiled ffmpeg against svn and git as well as x264. i couldn't get --enable-shared to work so i just compiled it static. any thoughts why i can't export from pitivi using x264? i have tried openshot and I don't think that works either, only xvid. here is my ffmpeg info

    ffmpeg -version
    FFmpeg version SVN-r23789, Copyright (c) 2000-2010 the FFmpeg developers
    built on Jun 25 2010 14:15:02 with gcc 4.4.3
    configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab
    libavutil 50.19. 0 / 50.19. 0
    libavcodec 52.78. 0 / 52.78. 0
    libavformat 52.71. 0 / 52.71. 0
    libavdevice 52. 2. 0 / 52. 2. 0
    libavfilter 1.20. 0 / 1.20. 0
    libswscale 0.11. 0 / 0.11. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    FFmpeg SVN-r23789
    libavutil 50.19. 0 / 50.19. 0
    libavcodec 52.78. 0 / 52.78. 0
    libavformat 52.71. 0 / 52.71. 0
    libavdevice 52. 2. 0 / 52. 2. 0
    libavfilter 1.20. 0 / 1.20. 0
    libswscale 0.11. 0 / 0.11. 0
    libpostproc 51. 2. 0 / 51. 2. 0

  9. #19
    Join Date
    Mar 2006
    Location
    The Internet
    Beans
    1,817
    Distro
    Ubuntu

    Re: Pitivi won't encode to h.264 MP4. . .

    See this: http://ubuntuforums.org/showthread.php?t=1117283

    tl;dr - you need medibuntu
    Last edited by stmiller; June 26th, 2010 at 09:53 PM. Reason: .

  10. #20
    Join Date
    Oct 2007
    Beans
    18

    Re: Pitivi won't encode to h.264 MP4. . .

    I have the same problem. I can "Render" in Pitivi with other codecs, but not "x264enc".

    I tried Medibuntu, and although that listed libx264 as supporting encoding, I still cannot render in Pitivi.

    I tried compiling x264 and ffmpeg from source following the link posted here, and although that also lists libx264 as supporting encoding, I still cannot render in Pitivi.

    Is this because Pitivi is trying to use x264enc, not libx264? Command `ffmpeg -codecs` results:

    "D V D h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    EV libx264 libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10"

    It sounds like one needs to specify "libx264" when using ffmpeg to encode h.264, not "x264" or "h264". Does Pitivi just not know this?

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •