Re: [FFmpeg-user] How to reassemble raw packet data back into a new MP4 file?

2024-09-22 Thread Alan Chen via ffmpeg-user
Thank you but it produces the same result as before. I have tried the following commands ffmpeg -err_detect ignore_err -i old.mp4 -c copy new.mp4 ffmpeg -i old.mp4 -map 0:v -c copy video_only.mp4 ffmpeg -i old.mp4 -map 0:a -c copy audio_only.aac ffmpeg -i old.mp4 -fflags +genpts -c copy new.mp

Re: [FFmpeg-user] How to reassemble raw packet data back into a new MP4 file?

2024-09-22 Thread Alan Chen via ffmpeg-user
, if possible. Alan ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to reassemble raw packet data back into a new MP4 file?

2024-09-22 Thread Alan Chen via ffmpeg-user
Hi, Vincent, Thank you for your suggestion. Let me explain the real case: I have many MP4 files which lost some data in the tail, which make them not playable. I analyze these files manually and find the ftyp and moov boxes and their child boxes are all OK. But part of the data in mdat box are lo

Re: [FFmpeg-user] How to reassemble raw packet data back into a new MP4

2024-09-21 Thread Alan Chen via ffmpeg-user
> > > > > So, how to reassemble the raw packet data back to a new MP4 file? > > That's not possible in general, because your raw packets do not > contain sufficient information to create an MP4 file. > > I suggest that you explain why you are actually doing all of that. > What is the purpose, what

Re: [FFmpeg-user] How to reassemble raw packet data back into a new MP4 file?

2024-09-21 Thread Alan Chen via ffmpeg-user
Thank you. In that case, what are some video editor software does with the videos? They can cut some frames from the original video and create a new MP4 file. Are these software just decode and uncompress everything, then remove some frames, then re-encode and re-compress the remaining video? ___

Re: [FFmpeg-user] How to reassemble raw packet data back into a new MP4 file?

2024-09-21 Thread Alan Chen via ffmpeg-user
What I remove is the last video and audio packet in each stream. All the meta data are still there, together with all remaining packet data as separate files. But I don't know how to utilize them in the commandline to reassemble the packets. ___ ffmpeg-us

Re: [FFmpeg-user] How to reassemble raw packet data back into a new MP4 file?

2024-09-21 Thread Alan Chen via ffmpeg-user
I try on another MP4 file with H264 codec video, but still get the same result. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org

[FFmpeg-user] How to reassemble raw packet data back into a new MP4 file?

2024-09-20 Thread Alan Chen via ffmpeg-user
I am using ffmpeg. I use the following command to get all packet info: ffprobe -print_format json -show_packets -show_streams -show_entries packet=pts,duration,size,codec_type,pos test.mp4 > test.mp4.info Then based on each packet info, such as the one below: { "codec_type":

Re: [FFmpeg-user] wanting to convert ripped DVD movies and TV shows to MP4 for Plex

2023-12-22 Thread Alan Malmberg
g to convert ripped DVD movies and TV shows to MP4 for Plex On Thu, Dec 21, 2023 at 12:48 PM Alan Malmberg < alanmalm-at-hotmail@ffmpeg.org> wrote: > I have hundreds of ripped DVDs in vob format that I want to BATCH JOB to > single mp4 files WITH SURROUND SOUND for use with Plex serv

[FFmpeg-user] wanting to convert ripped DVD movies and TV shows to MP4 for Plex

2023-12-21 Thread Alan Malmberg
then multiple disks per season. How best to do that? I think I may have got the movie side almost done, but would still like pointers. The main issue now is the episodic TV shows that have been ripped. Thanks, Alan ___ ffmpeg-user mailing list ffmpeg

[FFmpeg-user] Quality

2022-05-23 Thread Alan Clifford
lp in preventing the quality of the videos being degraded between the original .media files and the final file. Alan -- ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link ab

Re: [FFmpeg-user] FFmpeg pipeline debugging

2022-03-08 Thread Alan
dump or log that so that I can use it with the graph tool? > On Mar 8, 2022, at 3:02 PM, Carl Zwanzig wrote: > > On 3/8/2022 11:50 AM, Alan Petrus wrote: >> If so, can someone please point me in the right direction to look up >> documentation or examples of this case

[FFmpeg-user] FFmpeg pipeline debugging

2022-03-08 Thread Alan Petrus
Hello, I am trying to figure out how FFmpeg command line tool chains commands and runs them behind the scene and I'm wondering if it has concept of pipeline and pipeline graphs much like Gstreamer has; For example, https://gstreamer.freedesktop.org/documentation/tutorials/basic/images/playbin.png

[FFmpeg-user] hardware encoder h264_v4l2m2m doesn't produce valid dash

2022-02-27 Thread Alan
Hello, I'm capturing video from a usb capture (hdmi to usb) and converting it to dash via ffmpeg and then serving it via nginx. The FFmpeg 4.3.3 command line I'm using on Raspberry Pi 3: sudo ffmpeg -y -f v4l2 -input_format yuyv422 -video_size 1920x1080 -framerate 5 -i /dev/video0 -vcodec h264_v

Re: [FFmpeg-user] Converting wma to mp3, avoiding joint stereo

2021-04-18 Thread Alan Corey
cs on the piano, one at the bass end and one at the treble. Classical, think 2 mics in an open grand piano. Thank you. On 4/18/21, Moritz Barsnick wrote: > On Sat, Apr 17, 2021 at 13:42:02 -0400, Alan Corey wrote: >> can deal with. So I did the basic >> ffmpeg -i somefile.wma so

[FFmpeg-user] Converting wma to mp3, avoiding joint stereo

2021-04-17 Thread Alan Corey
to get into channel mapping? Joint stereo I remember from the early days of fm stereo that had to also be playable on mono radios. Better than mono but not as good as true stereo. Alan -- - Education is contagious. ___ ffmpeg-user mail

[FFmpeg-user] Ffmpeg list camera capabilities

2020-12-10 Thread Alan White
get this info, but initially looking to scrape the answers from ffmpeg output. Thanks Alan Alan White a...@whitemail.net ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link

Re: [FFmpeg-user] FFMPEG's MXF container support for DNxHR with Avid MC?

2017-12-21 Thread Alan Moore
Ah! Thanks! I'll bow out and head over to libav-user now... Not sure how I got that wrong. :-\ Alan On Thu, Dec 21, 2017 at 4:33 PM, Lou Logan wrote: > On Thu, Dec 21, 2017, at 3:07 PM, Alan Moore wrote: > > On a separate note, is this the right place to ask questions about the

Re: [FFmpeg-user] FFMPEG's MXF container support for DNxHR with Avid MC?

2017-12-21 Thread Alan Moore
Carl, On Sun, Dec 10, 2017 at 5:56 AM, Carl Eugen Hoyos wrote: > 2017-12-08 22:28 GMT+01:00 Alan Moore : > > > What should I expect in terms of being able to record or playback > > DNxHR in MXF containers using FFMPEG and the compatibility > > of those clips in major N

Re: [FFmpeg-user] FFMPEG's MXF container support for DNxHR with Avid MC?

2017-12-21 Thread Alan Moore
ut am still no closer to an answer as to why it doesn't work... combined with the fact that MC give me no error message whatsoever, that curse sure has worked it's horror on me pretty badly by this point. Not sure how much more I can take. Alan > > Carl Eugen > __

Re: [FFmpeg-user] FFMPEG's MXF container support for DNxHR with Avid MC?

2017-12-21 Thread Alan Moore
Hi Erik, Thanks for you reply. I'm sorry for my late response but a surgery has kept me away from this task for some time. Responses inline below. On Sat, Dec 9, 2017 at 12:56 AM, Erik Dobberkau wrote: > Hi Alan, > > What should I expect in terms of being able to record or pla

[FFmpeg-user] FFMPEG's MXF container support for DNxHR with Avid MC?

2017-12-08 Thread Alan Moore
error message saying it cannot link but no console log entry saying exactly what it doesn't parse/like about the file. I just need to know what works and what doesn't. Thanks! Alan -- *"Whatever you can do, or dream you can do, begin it. Boldness has genius, powe

[FFmpeg-user] Can't configure libtheora on latest ffmpeg from git

2017-11-22 Thread Alan Peevers
After installing theora using: brew install theora I tried: ./configure --prefix=/usr/local --enable-gpl --enable-nonfree --enable-libtheora ERROR: libtheora not found As requested, I have attached config.log Thanks, Alan

Re: [FFmpeg-user] Using the flags -movflags +faststart

2017-02-24 Thread Alan Corey
See http://ab1jx.1apps.com/video/pballsm.html where it's online. On 2/24/17, Alan Corey wrote: > The only time I've done that I used -movflags faststart (no + before > faststart): > > ffmpeg -f image2 -framerate 25 -i balls__%04d.png -movflags > faststart -c:v libv

Re: [FFmpeg-user] Using the flags -movflags +faststart

2017-02-24 Thread Alan Corey
The only time I've done that I used -movflags faststart (no + before faststart): ffmpeg -f image2 -framerate 25 -i balls__%04d.png -movflags faststart -c:v libvpx -b:v 1M -c:a libvorbis bballs.webm This was for making a video playable under HTML5. I don't have the docs handy. Plays OK in Fi

Re: [FFmpeg-user] For single images, could use a generic ASCII order

2017-02-13 Thread Alan Corey
On 2/13/17, Carl Eugen Hoyos wrote: > 2017-02-14 0:09 GMT+01:00 Alan Corey : > >> This kind of sequence doesn't work: >> 2017-02-12_01-30.005.gif >> 2017-02-12_01-30.006.gif >> 2017-02-12_01-30.007.gif >> 2017-02-12_02-00.005.gif >> 2017-02-12_02-

[FFmpeg-user] For single images, could use a generic ASCII order

2017-02-13 Thread Alan Corey
-12_02-00.005.gif 2017-02-12_02-00.006.gif 2017-02-12_02-00.007.gif Alan Corey -- - No, I won't call it "climate change", do you have a "reality problem"? - AB1JX Impeach Impeach Impeach Impeach Impeach Impeach Impeach Impeach __