Questions tagged [h264]

H.264 (MPEG-4 AVC) is a video codec standard which can achieve high quality video in relatively low bitrates.

H.264 is a new video codec standard which can achieve high quality video in relatively low bitrates. You can think it as the "successor" of the existing formats (MPEG2, MPEG-4, DivX, XviD, etc.) as it aims in offering similar video quality in half the size of the formats mentioned before. Also known as AVC (Advanced Video Coding, MPEG-4 Part 10), H.264 is actually defined in an identical pair of standards maintained by different organizations, together known as the Joint Video Team (JVT).

Encoding to H.264 is possible under Ubuntu Linux by using the Free Software encoder x264, either directly via the command-line or indirectly by using it through vlc or avconv.

Source:xDVD

x264

35 questions
146
votes
7 answers

How to install the MPEG-4 AAC decoder and the H.264 decoder?

Where do I get the MPEG-4 AAC decoder, and the H.264 decoder. How to install them and play the multimedia?
Balram Jamale
  • 1,561
  • 2
  • 10
  • 3
38
votes
3 answers

Batch convert H.265 mkv to H.264 with ffmpeg to make files compatible for re-encoding

I have H.265 encoded files that are so resource intensive they don't play well and my conversion software (mencoder) doesn't (currently) support the H.265 format. Can I convert them to H.264 in a command line batch file to rapidly convert the files…
30
votes
9 answers

How to install h.264 decoder?

I tried playing videos in movie player but only the audio could be heard. I tried playing the video with dragon player but here also only the audio could be heard. A message box appeared showing the following message: Python (v2.7) requires to…
sonakshi
  • 313
17
votes
3 answers

How can I convert .264 file to .mp4

I want to convert an elementary stream(.264) to container format(.mp4). Can someone please help me on this? How can I use ffmpeg to do this task? What are all the other methods that could accomplish the same task?
5
votes
1 answer

ffmpeg h264_nvenc, "No NVENC capable devices found"

I'm trying to get hardware encoding working on ffmpeg. I'm using Ubuntu 18.04 with its default kernel (4.15.0-50.54), ffmpeg package (3.4.6-0ubuntu0.18.04.1) and Nvidia drivers (390.116-0ubuntu0.18.04.1) My hardware is a Lenovo Thinkpad P40 Yoga…
Tobia
  • 685
5
votes
4 answers

Cannot play *.mp4 - files in Ubuntu 18.10

I had several tutorial videos stored on my computer, I could run them all, while Ubuntu 16.04.was installed. Since I have installed Ubuntu 18.10, it is not possible to play any video. I always get the message: File cannot be played, H264-Decoder is…
5
votes
1 answer

How to re-encode video into H.264 when ffmpeg Unknown decoder 'libx264' despite --enable-libx264

I'm trying to re-encode a video into H.264 with ffmpeg. I'm using Ubuntu Studio 17.10. I also installed libavcodec-extra, libav-tools was already installed, I installed ubuntu-restricted-extras. ffmpeg is compiled with libx264 enabled: $ ffmpeg -c:v…
Csaba Toth
  • 1,498
3
votes
3 answers

How to convert video along with audio in h264 ffmpeg?

ffmpeg ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4) configuration: --enable-libmfx --enable-nonfree libavutil 55. 28.100 / 55. 28.100 libavcodec 57. 48.101…
Vanns
  • 351
3
votes
5 answers

yt won't work after the ubuntu upgrade

So I upgraded to the beautiful Ubuntu 15.10 Wily Werewolf and the only probem I found is that YT videos doesn't work anymore and it changes the new video interface with the old one to work somehow. So I get the error "An error occurred. Please try…
123
  • 551
3
votes
1 answer

Unable to convert to x264 mkv

I want to convert an mp4 file to mkv with the video format as x264 and audio as libmp3lame Mediainfo for the file gives: General Complete name : file_in.mp4 Format : MPEG-4 Format profile…
3l4ng
  • 926
  • 2
  • 9
  • 26
3
votes
1 answer

Is it possible to upgrade Gstreamer and libx264 on Ubuntu 18.04?

Ubuntu 18.04 has 1.14 Gstreamer installed and libx264-152. Is it possible to upgrade it to 1.16 or 1.18 as well as some dependent libraries like: libx264-155 and libx265? Whether some PPA exists or need to build from sources?
3
votes
1 answer

How to use hardware encoding in ffmpeg (h264_omx) on Raspberry Pi 4 running Ubuntu

I'm nearly finished migrating my RPi4 4GB to Ubuntu 19.10 with Gnome - it is running better than I thought it would. I've got one remaining hurdle for the moment: using the h264_omx hardware encoder with ffmpeg (currently does work with the h264…
2
votes
1 answer

How to install `gstreamer0.1-ffmpeg` on ubuntu (17.10) artful?

I get the following message whenever i want to play a .mp4* movie using a movie player I've written by Qt 5.9.1 and QtMultimedia module: Warning: "No decoder available for type 'video/x-h264, level=(string)4, profile= According to offical Qt form…
pouya
  • 143
2
votes
1 answer

Upgrade to 103-generic Broke Opera Videos

Currently running Opera 49.0.2725.39 with ffmpeg 2.8.11-0ubuntu0.16.04.1 on Ubuntu 16.04. When I updated Ubuntu from 4.4.0.101-generic to 4.4.103-generic it broke the video playback in Opera. Now I get a message install flash or H.264 decoder to…
Flash
  • 59
2
votes
0 answers

Transcoding/ Converting mpeg to h264 using ffmpeg h264_nvenc

I'm trying to transcode a video rendered by Davinci Resolve, using ffmpeg from mpeg4 to h264, on Ubuntu, using the following command. ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i input.mov -c:a copy -c:v h264_nvenc -b:v 8M -preset…
Mustafa
  • 121
1
2 3