Questions tagged [h.264]
Also known as MPEG-4/AVC, an advanced video encoding standard, widely used in Blu-ray and streaming video.
296
questions
1
vote
0
answers
2k
views
Converting H265 to H264 causes artifacts in dark areas
I'm not sure if this is the right place to ask this, but I'll try anyways. I'm trying to convert a lot of HEVC (H265) videos to AVC (H264) and I'm getting all these nasty artifacts in dark areas. Does ...
0
votes
1
answer
68
views
MP4 video working on desktop, not on mobile
I embedded a video in the following URL: https://www.speurtochten.nl/over-ons/ I made it with Premiere Pro CC, exported it as H.264.
The code I use in WordPress: [video src="https://speurtochten.nl/...
0
votes
1
answer
1k
views
ffmpeg encoding options to maximise Windows 7 compatibility?
I'd like to encode a few short (e.g. 30 seconds-ish) video clips with a goal of maximising their out-of-the-box compatibility with Windows 7.
Specifically, what ffmpeg encoding parameters should I ...
4
votes
4
answers
13k
views
How can I import h.264 encoded MOV files into windows movie maker?
I have a couple of digital camcorders that output .MOV files encoded in h.264 video/AAC audio. They won't load into Windows Movie Maker or Windows Media Player - I guess I need to install some codecs. ...
3
votes
0
answers
921
views
Why is the first frame timestamp 0.066667 and not 0?
I have a stream of TGA files created on disk and I programmaticaly build a h264 video using the x264vfw codec. Options CRT 23, medium preset, Fast Decode, keyint 30 (video is 60 fps), no cut scenes, ...
1
vote
2
answers
400
views
What application and codec can I use to encode raw HD video from Fraps?
I have large (4 GB each) HD video files (.avi) recorded using Fraps.
What application and codec (freeware) can I use to encode these videos and make them smaller?
I'd like my videos to be watchable ...
27
votes
8
answers
128k
views
Converting or playing a .264 video file?
I recently bought a Chinese brand DVR (to record security cams). The DVR exports the video files with a ".264" extension. This is my first time ever dealing with this video format.
Anyhow I've been ...
6
votes
2
answers
4k
views
In which format to store home made videos
TL;DR: my home videos are taking up too much space and are impractical to backup on Dropbox. Which format do you advice to convert them to?
Long version:
One year ago I bought a new compact camera (...
4
votes
1
answer
4k
views
FFMPEG HLS - Create playlist only or predict segment times before encoding
I'm using ffmpeg to create a video transcoding on demand system that serves the media through the HLS format.
Right now I can transcode the video and serve them as they are encoded, but I can't use ...
0
votes
2
answers
719
views
How to change audio track order on a .ts video
When watching a .ts file, by default, video players like ᴠʟᴄ or Windows media use the first audio channel as the the default audio channel.
In my case, I want to switch the default channel to my ...
1
vote
1
answer
5k
views
ffmpeg stops streaming after 900 seconds from Axis Camera to FLV RTMP
Audio and video works for 900 seconds and then, ffmpeg stops with:
video:1889kB audio:1825kB global headers:0kB muxing overhead 2.162866%
I stream from an AXIS IP camera through ffmpeg over nginx.
...
2
votes
1
answer
2k
views
Can ffmpeg losslessly downgrade H.264 level from 4.1 to 4?
I have some .mkv files with h.264 video streams. When I performed the original encoding I limited the decoder level to 4.1 for compatibility with a Samsung SmartTV. Now I'm having issues with a ...
1
vote
0
answers
809
views
Why a MP4 H.264 video looks fuzzy on Google Chrome but sharp on Firefox?
This is the file I am trying to open directly into Chrome (It happens on websites but it seems the problem is with the rendering engine)
http://wikisend.com/download/914020/pipe-handbreak.mp4
It ...
0
votes
1
answer
3k
views
Decrypt or decode ultraviolet videos [closed]
I was on Vudu because I have some Ultraviolet movies in my collection and I saw you could download them from their site for offline usage.
The files on the computer from that download are an h264-...
1
vote
1
answer
258
views
Reduce h264 mp4 video size without recoding (like dvdshrink used to do this for DVDs)
I have a large bunch of MP4 files which I need to reduce in size to roughly half. I can recode them all of course, but I remember having used dvdshrink quite some time ago which had an option to ...
-1
votes
1
answer
3k
views
Does Windows 7 Windows Media Player support H.264 mp4 files with variable frame rate?
I think the title says it all.
I have a .flv file I am transcoding to h.264 mp4 file. The source uses a variable framerate.
Transcoding the file to an .mp4 file with constant framerate generates a ...
2
votes
0
answers
325
views
How to smooth out jaggy lines with AviSynth?
I have a quite crappy quality video in 480p, I then transcode it with AviSynth and MeGUI. I use a few scripts to enhance the quality, as well as upscaling the video to 720p. As you can see in the ...
1
vote
1
answer
5k
views
What is the FFmpeg parameters for encode video which looks like the specifications?
Is there anyway to encode video by these specifications? (Main & level 3.1 & ReFrames: 3 frames & Chroma subsampling: 4:2:0 , ... )
FFmpeg:
Stream #0:0: Video: h264 (Main), yuv420p(...
0
votes
0
answers
1k
views
Sony Vegas: Will re-rendering a video with identical video encoding reduce quality?
I have edited and exported a video in Sony Vegas Pro 13 using the preset 1920x1080-30p video template (mp4, AVC, 16 Mbps). However, I need to reedit the audio of the video, and would like to know if ...
0
votes
1
answer
482
views
How can I create a graphic representation of frames in an encoded video?
ffprobe is great but I couldn't get it to show a 1-liner info of each frame, let alone a graphic representation.
Is there some software that can either take the json output of ffprobe and show it ...
3
votes
1
answer
7k
views
Video cut with missing frames in FFmpeg
I have tried every possible command to cut a portion (1-3 mins) of an H.264 mp4 video but it comes out good & bad. My video is 29.97 FPS, 1080p, ~80 minutes, ~3.5 GB, and at ~6200 KB/s bitrate. ...
3
votes
2
answers
5k
views
ffmpeg-transcoded H.264 video does not play in Chrome
I am trying to transcode videos using ffmpeg. Following is the sample command.
ffmpeg.exe -i 534.mp4 -vcodec libx264 -level 3.1 -b:v 396k -ar 48000 -ab 32k -s 100x100 -force_key_frames expr:gte(t,...
0
votes
0
answers
430
views
Unable to extract h264 video from MKV
I'm asking this here because I was unable to find a better StackExchange site for it. Correct me if I'm wrong.
The problem I'm facing is with a particular MKV file. It has a video stream (h264) that ...
1
vote
0
answers
957
views
How to play .h264 file from IP Camera?
My security camera https://www.aliexpress.com/item/High-Quality-HD-720P-Wireless-IP-Camera-Wifi-Night-Vision-Camera-IP-Network-Camera-CCTV-WIFI/32270499536.html?spm=2114.13010608.0.0.0ptGKR stores ...
2
votes
1
answer
5k
views
How can I use Avidemux to recompress H264 videos with similar quality?
I have a bunch of videos taken with my phone, and they're pretty massive given their length (eg. a 3 min video at 1920×1080 is over 400MB).
I presume this is because the phone favours battery life ...
0
votes
0
answers
668
views
Firefox doesn't support H.264 on Windows 7
Something is not right with my Firefox and Windows 7 combo because reportedly, it should work, but Youtube's test page says otherwise:
The problem I'm having is on certain videos Youtube gives me ...
2
votes
1
answer
1k
views
Capture and view PAL-B raw video and stereo ALSA sound from EasyCAP STK1160 with ffmpeg and encode to x264
I would like to digitalize old VHS casettes with EasyCAP STK1160 under linux. The composite video input is /dev/video1, and hw:2,0 is for its the USB ALSA composite two-channel audio.
For capturing ...
1
vote
0
answers
806
views
Media Encoder - H.264 with CRF setting?
I have recently started using Adobe After Effects and use Adobe Media Encoder to render my H.264 videos (with Quicktime installed).
I am familiar with ffmpeg and have always been using CRF based ...
4
votes
0
answers
3k
views
optimise FFMPEG live stream THUMBNAIL
After testing many possibilities, I have a perfect command line for creating thumbnails from a live stream:
ffmpeg -i rtmp://srvIp/h264.stream -r 1 -an -updatefirst 1 -y thumbnail.jpg
It refreshes a ...
0
votes
1
answer
998
views
Cannot play MPEG-TS from webcam using ExoPlayer on Android or Quicktime on Mac
I'm trying to use FFmpeg to stream my webcam to an Android device based on the HttpLiveStreaming(HLS). In order to play the MPEG-TS on Android, I use ExoPlayer.
FFmpeg streaming command: ffmpeg -f ...
21
votes
1
answer
12k
views
FFmpeg/avidemux: fix packed B-frames
I'm transcoding some of my old mpeg4 videos (in avi containers) to h.264 with FFmpeg. Basically
ffmpeg -i input.avi -c:v libx264 [x264 settings] -c:a libfdk_aac [aac settings] output.mp4
When doing ...
0
votes
1
answer
1k
views
Does using preset=placebo or veryslow option also decrease decode time?
When using h.264 I use preset=placebo option. It increases encoding efficiency, but I don't know I feel like it is also increasing decoding time. Is it right or it doesn't affect decoding time at all?
0
votes
1
answer
5k
views
ffmpeg: packaging H264@MPEGTS into Smooth Streaming
I have a (quite large) set of files that is all H264 in an MPEG TS container. Due to time constraints I need to repackage this content into smooth streaming without transcoding it (transcoding would ...
0
votes
1
answer
864
views
avconv: Converting from .ts to H264, with high quality screenshots
I am using avconv to convert MPEG Transport Streams to H264. My main goal is to capture high-quality screenshots from the source video files.
The TS files are interlaced, so I am first converting to ...
0
votes
1
answer
2k
views
Cutting and merging camera's H264 video results in corrupt file
I am not sure is the problem with the specific video or incorrect commands. I have tested with the latest ffmpeg 4/4/2016 build and older v2.8.6.
The Sample.avi is recorded by a PTZ camera.
To cut and ...
0
votes
1
answer
2k
views
Shadowplay vs. NVenc?
I would like to understand the difference bitween NVidia Shadowplay and NVenc. Both allow you to encode videos in h.264 on the fly, but I understood that the first one use a h.264 dedicated chip ...
12
votes
2
answers
16k
views
What parameters should I be looking at to reduce the size of a .MOV file?
My Canon 60D creates .MOV files when recording video and I've found out that the .MOV container has an H264 video stream and a PCM audio stream.
I've used ffmpeg and GSpot to look at some of my ...
0
votes
1
answer
847
views
VLC shows distorted video when seeking
I have Fedora 23 installed with VLC 2.2.2-0.1.fc23. When I open any H.264 video in VLC, when seeking it does not seem to synchronize to I-Frame. The video is distorted for a few seconds.
It works ...
0
votes
1
answer
1k
views
Analyzing h264 100GB video stream
I have a big file, an h264 stream video of a CCTV.
I analyze this file with ffprobe and the result is this:
[h264 @ 0000000002d24480] no frame!
[h264 @ 0000000002d24480] non-existing PPS 0 referenced ...
0
votes
1
answer
3k
views
Efficient re-encoding of MPEG-2 cartoon animation
I have some cartoon animation stored in MPEG-2 video that I would like to convert to MPEG-4/h264.
The MPEG-2 video compression is rather bad, with both "small" JPEG artefacts around details in the ...
1
vote
2
answers
13k
views
H.264 multi-pass encoding with FFmpeg
I would like to encode a video in H.264 with multi-pass. I tried :
ffmpeg -y -ss 00:00:12.0 -i "c:\vid\example.mkv" -vframes 420 -vcodec libx264 -preset veryslow -refs 8 -b:v 1200k -an -...
1
vote
0
answers
330
views
MS Expression Studio Fails to Detect MP4 Video
I have imported a H.264 MP4 video file into Microsoft Expression Encoder 4, however when I convert the video to the IIS Smooth Streaming VC-1 format, it only has audio with a green screen. How do I ...
0
votes
0
answers
406
views
create AVC_Intra from uncompressed in best quality
I have some 720p uncompressed YUV video and I need to transcode this video into an AVC-Intra using the best possible quality.
The best possible Quality is needed, because the video probably will be ...
4
votes
1
answer
1k
views
mix audio with h264 mp4 video with ffmpeg
I have 2 files :
Input #0, wav, from '105426_1.wav':
Duration: 00:00:09.98, bitrate: 1312 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 41000 Hz, stereo, s16, 1312 kb/s
and:
...
3
votes
3
answers
20k
views
HLS video segmenting complications. How to create a transport stream with ffmpeg
I have h264 videos, and currently we're using Apple's HTTP Video Streaming tools and mediafilesegmenter to segment these files.
What I need to do is to switch to alternative segmenter based on this ...
2
votes
0
answers
759
views
Does h.264 levels affect the quality of the output?
According to Wikipedia, the example for high resolution of level 4.0 is 2048x1024@30fps. But the resolution of the video ready to encode is 1280x960, which is about level 3.2. Is it better to set the ...
1
vote
1
answer
6k
views
Keeping the original bitrate while encoding to H.264
Is there any ways to use the original bitrate of the input file? The purpose I do this is because I don't know whether keeping the original bitrate while encoding will shorten the conversion time. If ...
0
votes
0
answers
2k
views
Unable to trim piped video stream with FFmpeg
Trying to trim a video file that gets piped from the standard input, it only works when the start duration is greater than 2.0s for some videos (fails for ones captured from an Android phone to be ...
0
votes
0
answers
714
views
FFMPEG / x264: can I use pass 1 from one encoding session as pass 2 for another?
Question:
Is it legal to use a "pass 1" encoding of a source video at one resolution/bitrate as the input to a "pass 2" encoding of the same source at a different resolution/bitrate? I tried it and ...
1
vote
0
answers
1k
views
Which audio codec is preferable to use for mp4 video?
I use standart codec for encoding and i don't like the quality of audio even if there is larger audio bitrate.
ffmpeg -y -i input.avi -i watermark.png -filter_complex \"scale=-2:'min(360,ih)',overlay=...